forked from LiveCarta/PayPal-PHP-SDK
Initial commit
This commit is contained in:
57
lib/PayPal/Api/Amount.php
Normal file
57
lib/PayPal/Api/Amount.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Api;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class Amount extends Resource {
|
||||
|
||||
|
||||
/**
|
||||
* Setter for total
|
||||
* @param string $total
|
||||
*/
|
||||
public function setTotal($total) {
|
||||
$this->total = $total;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for total
|
||||
*/
|
||||
public function getTotal() {
|
||||
return $this->total;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for currency
|
||||
* @param string $currency
|
||||
*/
|
||||
public function setCurrency($currency) {
|
||||
$this->currency = $currency;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for currency
|
||||
*/
|
||||
public function getCurrency() {
|
||||
return $this->currency;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for details
|
||||
* @param PayPal\Api\AmountDetails $details
|
||||
*/
|
||||
public function setDetails($details) {
|
||||
$this->details = $details;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for details
|
||||
*/
|
||||
public function getDetails() {
|
||||
return $this->details;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user