forked from LiveCarta/PayPal-PHP-SDK
60 lines
851 B
PHP
60 lines
851 B
PHP
<?php
|
|
|
|
namespace PayPal\Api;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
class Amount extends Resource {
|
|
|
|
|
|
/**
|
|
* 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
|
|
* @param string $currency
|
|
*/
|
|
public function setCurrency($currency) {
|
|
$this->currency = $currency;
|
|
}
|
|
|
|
/**
|
|
* Getter for currency
|
|
* @return string
|
|
*/
|
|
public function getCurrency() {
|
|
return $this->currency;
|
|
}
|
|
|
|
/**
|
|
* Setter for details
|
|
* @param PayPal\Api\AmountDetails $details
|
|
*/
|
|
public function setDetails($details) {
|
|
$this->details = $details;
|
|
}
|
|
|
|
/**
|
|
* Getter for details
|
|
* @return PayPal\Api\AmountDetails
|
|
*/
|
|
public function getDetails() {
|
|
return $this->details;
|
|
}
|
|
|
|
|
|
} |