@@ -7,60 +7,60 @@ discard block |
||
7 | 7 | class PaymentLink extends ResultObject |
8 | 8 | { |
9 | 9 | /** |
10 | - * @type string ID of the payment link. |
|
11 | - * Value assigned by Cardinity. |
|
12 | - */ |
|
10 | + * @type string ID of the payment link. |
|
11 | + * Value assigned by Cardinity. |
|
12 | + */ |
|
13 | 13 | private $id; |
14 | 14 | |
15 | 15 | /** @type string URL of the payment link. |
16 | - * Value assigned by Cardinity. |
|
17 | - */ |
|
16 | + * Value assigned by Cardinity. |
|
17 | + */ |
|
18 | 18 | private $url; |
19 | 19 | |
20 | 20 | /** |
21 | - * @type float Amount charged shown in #0.00 format. |
|
22 | - */ |
|
21 | + * @type float Amount charged shown in #0.00 format. |
|
22 | + */ |
|
23 | 23 | private $amount; |
24 | 24 | |
25 | 25 | /** |
26 | - * @type string Three-letter ISO currency code representing the currency in |
|
27 | - * which the charge was made. |
|
28 | - * Supported currencies: EUR, USD. |
|
29 | - */ |
|
26 | + * @type string Three-letter ISO currency code representing the currency in |
|
27 | + * which the charge was made. |
|
28 | + * Supported currencies: EUR, USD. |
|
29 | + */ |
|
30 | 30 | private $currency; |
31 | 31 | |
32 | 32 | /** |
33 | - * @type string Country of a customer provided by a merchant. |
|
34 | - * ISO 3166-1 alpha-2 country code. |
|
35 | - */ |
|
33 | + * @type string Country of a customer provided by a merchant. |
|
34 | + * ISO 3166-1 alpha-2 country code. |
|
35 | + */ |
|
36 | 36 | private $country; |
37 | 37 | |
38 | 38 | /** |
39 | - * @type string Payment Link description provided by a merchant. |
|
40 | - * Maximum length 255 characters. |
|
41 | - */ |
|
39 | + * @type string Payment Link description provided by a merchant. |
|
40 | + * Maximum length 255 characters. |
|
41 | + */ |
|
42 | 42 | private $description; |
43 | 43 | |
44 | 44 | /** |
45 | - * @type string Payment Link Expiration datetime as defined in RFC 3339 Section 5.6. |
|
46 | - * UTC timezone. |
|
47 | - * optional, if not defined default will be 7 days from now |
|
48 | - */ |
|
45 | + * @type string Payment Link Expiration datetime as defined in RFC 3339 Section 5.6. |
|
46 | + * UTC timezone. |
|
47 | + * optional, if not defined default will be 7 days from now |
|
48 | + */ |
|
49 | 49 | private $expiration_date; |
50 | 50 | |
51 | 51 | /** |
52 | - * @type boolean Indicates whether the payment link can be used more than once |
|
53 | - * mode. |
|
54 | - * Value assigned by Cardinity. |
|
55 | - * Default value is false |
|
56 | - */ |
|
52 | + * @type boolean Indicates whether the payment link can be used more than once |
|
53 | + * mode. |
|
54 | + * Value assigned by Cardinity. |
|
55 | + * Default value is false |
|
56 | + */ |
|
57 | 57 | private $multiple_use; |
58 | 58 | |
59 | 59 | /** |
60 | - * @type boolean Indicates whether the payment link is enabled |
|
61 | - * mode. |
|
62 | - * Value assigned by Cardinity. |
|
63 | - */ |
|
60 | + * @type boolean Indicates whether the payment link is enabled |
|
61 | + * mode. |
|
62 | + * Value assigned by Cardinity. |
|
63 | + */ |
|
64 | 64 | private $enabled; |
65 | 65 | |
66 | 66 | |
@@ -170,11 +170,11 @@ discard block |
||
170 | 170 | return $this->expiration_date; |
171 | 171 | } |
172 | 172 | |
173 | - /** |
|
174 | - * Sets the value of expiration_date. |
|
175 | - * @param mixed $expiration_date the expiration_date |
|
176 | - * @return void |
|
177 | - */ |
|
173 | + /** |
|
174 | + * Sets the value of expiration_date. |
|
175 | + * @param mixed $expiration_date the expiration_date |
|
176 | + * @return void |
|
177 | + */ |
|
178 | 178 | public function setExpirationDate($expiration_date) |
179 | 179 | { |
180 | 180 | $this->expiration_date = $expiration_date; |