8c7cfe29634070caccbdf7919bd67e728b25cf22
[WP-Plugins/glm-member-db.git] /
1 <?php
2 namespace PayPal\Api;
3
4 use PayPal\Common\PPModel;
5
6 class Amount extends PPModel {
7         /**
8          * 3 letter currency code
9          * @param string $currency
10          */
11         public function setCurrency($currency) {
12                 $this->currency = $currency;
13                 return $this;
14         }
15
16         /**
17          * 3 letter currency code
18          * @return string
19          */
20         public function getCurrency() {
21                 return $this->currency;
22         }
23
24
25         /**
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
28          */
29         public function setTotal($total) {
30                 $this->total = $total;
31                 return $this;
32         }
33
34         /**
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.
36          * @return string
37          */
38         public function getTotal() {
39                 return $this->total;
40         }
41
42
43         /**
44          * Additional details of the payment amount.
45          * @param PayPal\Api\Details $details
46          */
47         public function setDetails($details) {
48                 $this->details = $details;
49                 return $this;
50         }
51
52         /**
53          * Additional details of the payment amount.
54          * @return PayPal\Api\Details
55          */
56         public function getDetails() {
57                 return $this->details;
58         }
59
60
61 }