13430ddca3e497a5fcd9036b9a919ae6d3fcf8f8
[WP-Plugins/glm-member-db.git] /
1 <?php
2 namespace PayPal\Api;
3
4 use PayPal\Common\PPModel;
5
6 class CreditCardToken extends PPModel {
7         /**
8          * ID of a previously saved Credit Card resource using /vault/credit-card API.
9          * @param string $credit_card_id
10          */
11         public function setCreditCardId($credit_card_id) {
12                 $this->credit_card_id = $credit_card_id;
13                 return $this;
14         }
15
16         /**
17          * ID of a previously saved Credit Card resource using /vault/credit-card API.
18          * @return string
19          */
20         public function getCreditCardId() {
21                 return $this->credit_card_id;
22         }
23
24         /**
25          * ID of a previously saved Credit Card resource using /vault/credit-card API.
26          * @param string $credit_card_id
27          * @deprecated. Instead use setCreditCardId
28          */
29         public function setCredit_card_id($credit_card_id) {
30                 $this->credit_card_id = $credit_card_id;
31                 return $this;
32         }
33         /**
34          * ID of a previously saved Credit Card resource using /vault/credit-card API.
35          * @return string
36          * @deprecated. Instead use getCreditCardId
37          */
38         public function getCredit_card_id() {
39                 return $this->credit_card_id;
40         }
41
42         /**
43          * The unique identifier of the payer used when saving this credit card using /vault/credit-card API.
44          * @param string $payer_id
45          */
46         public function setPayerId($payer_id) {
47                 $this->payer_id = $payer_id;
48                 return $this;
49         }
50
51         /**
52          * The unique identifier of the payer used when saving this credit card using /vault/credit-card API.
53          * @return string
54          */
55         public function getPayerId() {
56                 return $this->payer_id;
57         }
58
59         /**
60          * The unique identifier of the payer used when saving this credit card using /vault/credit-card API.
61          * @param string $payer_id
62          * @deprecated. Instead use setPayerId
63          */
64         public function setPayer_id($payer_id) {
65                 $this->payer_id = $payer_id;
66                 return $this;
67         }
68         /**
69          * The unique identifier of the payer used when saving this credit card using /vault/credit-card API.
70          * @return string
71          * @deprecated. Instead use getPayerId
72          */
73         public function getPayer_id() {
74                 return $this->payer_id;
75         }
76
77         /**
78          * Last 4 digits of the card number from the saved card.
79          * @param string $last4
80          */
81         public function setLast4($last4) {
82                 $this->last4 = $last4;
83                 return $this;
84         }
85
86         /**
87          * Last 4 digits of the card number from the saved card.
88          * @return string
89          */
90         public function getLast4() {
91                 return $this->last4;
92         }
93
94
95         /**
96          * Type of the Card (eg. visa, mastercard, etc.) from the saved card. Please note that the values are always in lowercase and not meant to be used directly for display.
97          * @param string $type
98          */
99         public function setType($type) {
100                 $this->type = $type;
101                 return $this;
102         }
103
104         /**
105          * Type of the Card (eg. visa, mastercard, etc.) from the saved card. Please note that the values are always in lowercase and not meant to be used directly for display.
106          * @return string
107          */
108         public function getType() {
109                 return $this->type;
110         }
111
112
113         /**
114          * card expiry month from the saved card with value 1 - 12
115          * @param integer $expire_month
116          */
117         public function setExpireMonth($expire_month) {
118                 $this->expire_month = $expire_month;
119                 return $this;
120         }
121
122         /**
123          * card expiry month from the saved card with value 1 - 12
124          * @return integer
125          */
126         public function getExpireMonth() {
127                 return $this->expire_month;
128         }
129
130         /**
131          * card expiry month from the saved card with value 1 - 12
132          * @param integer $expire_month
133          * @deprecated. Instead use setExpireMonth
134          */
135         public function setExpire_month($expire_month) {
136                 $this->expire_month = $expire_month;
137                 return $this;
138         }
139         /**
140          * card expiry month from the saved card with value 1 - 12
141          * @return integer
142          * @deprecated. Instead use getExpireMonth
143          */
144         public function getExpire_month() {
145                 return $this->expire_month;
146         }
147
148         /**
149          * 4 digit card expiry year from the saved card
150          * @param integer $expire_year
151          */
152         public function setExpireYear($expire_year) {
153                 $this->expire_year = $expire_year;
154                 return $this;
155         }
156
157         /**
158          * 4 digit card expiry year from the saved card
159          * @return integer
160          */
161         public function getExpireYear() {
162                 return $this->expire_year;
163         }
164
165         /**
166          * 4 digit card expiry year from the saved card
167          * @param integer $expire_year
168          * @deprecated. Instead use setExpireYear
169          */
170         public function setExpire_year($expire_year) {
171                 $this->expire_year = $expire_year;
172                 return $this;
173         }
174         /**
175          * 4 digit card expiry year from the saved card
176          * @return integer
177          * @deprecated. Instead use getExpireYear
178          */
179         public function getExpire_year() {
180                 return $this->expire_year;
181         }
182
183 }