You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Adyen/Model/Transfers/Address.php
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -259,7 +259,7 @@ public function getModelName()
259
259
* @param mixed[] $data Associated array of property values
260
260
* initializing the model
261
261
*/
262
-
publicfunction__construct(array$data = null)
262
+
publicfunction__construct(?array$data = null)
263
263
{
264
264
$this->setIfExists('city', $data ?? [], null);
265
265
$this->setIfExists('country', $data ?? [], null);
@@ -327,7 +327,7 @@ public function getCity()
327
327
/**
328
328
* Sets city
329
329
*
330
-
* @param string|null $city The name of the city. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space.
330
+
* @param string|null $city The name of the city. Supported characters: **[a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ |** and Space. > Required when the `category` is **card**.
331
331
*
332
332
* @return self
333
333
*/
@@ -375,7 +375,7 @@ public function getLine1()
375
375
/**
376
376
* Sets line1
377
377
*
378
-
* @param string|null $line1 First line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space.
378
+
* @param string|null $line1 The first line of the street address. Supported characters: **[a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ |** and Space. > Required when the `category` is **card**.
379
379
*
380
380
* @return self
381
381
*/
@@ -399,7 +399,7 @@ public function getLine2()
399
399
/**
400
400
* Sets line2
401
401
*
402
-
* @param string|null $line2 Second line of the street address. Supported characters: [a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ | and Space.
402
+
* @param string|null $line2 The second line of the street address. Supported characters: **[a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ |** and Space. > Required when the `category` is **card**.
403
403
*
404
404
* @return self
405
405
*/
@@ -423,7 +423,7 @@ public function getPostalCode()
423
423
/**
424
424
* Sets postalCode
425
425
*
426
-
* @param string|null $postalCode The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: [a-z] [A-Z] [0-9] and Space.
426
+
* @param string|null $postalCode The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: **[a-z] [A-Z] [0-9]** and Space. > Required for addresses in the US.
427
427
*
428
428
* @return self
429
429
*/
@@ -447,7 +447,7 @@ public function getStateOrProvince()
447
447
/**
448
448
* Sets stateOrProvince
449
449
*
450
-
* @param string|null $stateOrProvince The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.
450
+
* @param string|null $stateOrProvince The two-letter ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.
0 commit comments