4a40632c36684b174dfd017d516cfe91920eefef
[WP-Plugins/glm-member-db.git] /
1 <?php
2 namespace PayPal\Api;
3
4 use PayPal\Common\PPModel;
5
6 class Item extends PPModel {
7         /**
8          * Number of items.
9          * @param string $quantity
10          */
11         public function setQuantity($quantity) {
12                 $this->quantity = $quantity;
13                 return $this;
14         }
15
16         /**
17          * Number of items.
18          * @return string
19          */
20         public function getQuantity() {
21                 return $this->quantity;
22         }
23
24
25         /**
26          * Name of the item.
27          * @param string $name
28          */
29         public function setName($name) {
30                 $this->name = $name;
31                 return $this;
32         }
33
34         /**
35          * Name of the item.
36          * @return string
37          */
38         public function getName() {
39                 return $this->name;
40         }
41
42
43         /**
44          * Cost of the item.
45          * @param string $price
46          */
47         public function setPrice($price) {
48                 $this->price = $price;
49                 return $this;
50         }
51
52         /**
53          * Cost of the item.
54          * @return string
55          */
56         public function getPrice() {
57                 return $this->price;
58         }
59
60
61         /**
62          * 3-letter Currency Code
63          * @param string $currency
64          */
65         public function setCurrency($currency) {
66                 $this->currency = $currency;
67                 return $this;
68         }
69
70         /**
71          * 3-letter Currency Code
72          * @return string
73          */
74         public function getCurrency() {
75                 return $this->currency;
76         }
77
78
79         /**
80          * Number or code to identify the item in your catalog/records.
81          * @param string $sku
82          */
83         public function setSku($sku) {
84                 $this->sku = $sku;
85                 return $this;
86         }
87
88         /**
89          * Number or code to identify the item in your catalog/records.
90          * @return string
91          */
92         public function getSku() {
93                 return $this->sku;
94         }
95
96
97 }