4 use PayPal\Common\PPModel;
6 class Amount extends PPModel {
8 * 3 letter currency code
9 * @param string $currency
11 public function setCurrency($currency) {
12 $this->currency = $currency;
17 * 3 letter currency code
20 public function getCurrency() {
21 return $this->currency;
26 * 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.
27 * @param string $total
29 public function setTotal($total) {
30 $this->total = $total;
35 * 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.
38 public function getTotal() {
44 * Additional details of the payment amount.
45 * @param PayPal\Api\Details $details
47 public function setDetails($details) {
48 $this->details = $details;
53 * Additional details of the payment amount.
54 * @return PayPal\Api\Details
56 public function getDetails() {
57 return $this->details;