forked from LiveCarta/PayPal-PHP-SDK
updated stubs
This commit is contained in:
@@ -1,60 +1,54 @@
|
||||
<?php
|
||||
|
||||
<?php
|
||||
namespace PayPal\Api;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class Amount extends Resource {
|
||||
|
||||
|
||||
class Amount extends \PPModel {
|
||||
/**
|
||||
* Setter for total
|
||||
* @param string $total
|
||||
*/
|
||||
public function setTotal($total) {
|
||||
$this->total = $total;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for total
|
||||
* @return string
|
||||
*/
|
||||
public function getTotal() {
|
||||
return $this->total;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for currency
|
||||
* 3 letter currency code
|
||||
* @param string $currency
|
||||
*/
|
||||
*/
|
||||
public function setCurrency($currency) {
|
||||
$this->currency = $currency;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for currency
|
||||
* 3 letter currency code
|
||||
* @return string
|
||||
*/
|
||||
*/
|
||||
public function getCurrency() {
|
||||
return $this->currency;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Setter for details
|
||||
* @param PayPal\Api\AmountDetails $details
|
||||
*/
|
||||
* Total amount charged from the Payer account (or card) to Payee. In case of a refund, this is the refunded amount to the original Payer from Payee account.
|
||||
* @param string $total
|
||||
*/
|
||||
public function setTotal($total) {
|
||||
$this->total = $total;
|
||||
}
|
||||
|
||||
/**
|
||||
* Total amount charged from the Payer account (or card) to Payee. In case of a refund, this is the refunded amount to the original Payer from Payee account.
|
||||
* @return string
|
||||
*/
|
||||
public function getTotal() {
|
||||
return $this->total;
|
||||
}
|
||||
|
||||
/**
|
||||
* Additional details of the payment amount.
|
||||
* @param PayPal\Api\Details $details
|
||||
*/
|
||||
public function setDetails($details) {
|
||||
$this->details = $details;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for details
|
||||
* @return PayPal\Api\AmountDetails
|
||||
*/
|
||||
* Additional details of the payment amount.
|
||||
* @return PayPal\Api\Details
|
||||
*/
|
||||
public function getDetails() {
|
||||
return $this->details;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user