Skip to content

Commit 10a3710

Browse files
[configurationwebhooks] Automated update from Adyen/adyen-openapi@0a007ce
1 parent aac0147 commit 10a3710

File tree

9 files changed

+210
-21
lines changed

9 files changed

+210
-21
lines changed

src/Adyen/Model/ConfigurationWebhooks/Amount.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public function getCurrency()
299299
/**
300300
* Sets currency
301301
*
302-
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
302+
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the amount.
303303
*
304304
* @return self
305305
*/
@@ -323,7 +323,7 @@ public function getValue()
323323
/**
324324
* Sets value
325325
*
326-
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
326+
* @param int $value The numeric value of the amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
327327
*
328328
* @return self
329329
*/

src/Adyen/Model/ConfigurationWebhooks/BulkAddress.php

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ class BulkAddress implements ModelInterface, ArrayAccess, \JsonSerializable
4646
'country' => 'string',
4747
'email' => 'string',
4848
'houseNumberOrName' => 'string',
49+
'line1' => 'string',
50+
'line2' => 'string',
51+
'line3' => 'string',
4952
'mobile' => 'string',
53+
'name' => 'string',
5054
'postalCode' => 'string',
5155
'stateOrProvince' => 'string',
5256
'street' => 'string'
@@ -65,7 +69,11 @@ class BulkAddress implements ModelInterface, ArrayAccess, \JsonSerializable
6569
'country' => null,
6670
'email' => null,
6771
'houseNumberOrName' => null,
72+
'line1' => null,
73+
'line2' => null,
74+
'line3' => null,
6875
'mobile' => null,
76+
'name' => null,
6977
'postalCode' => null,
7078
'stateOrProvince' => null,
7179
'street' => null
@@ -82,7 +90,11 @@ class BulkAddress implements ModelInterface, ArrayAccess, \JsonSerializable
8290
'country' => false,
8391
'email' => false,
8492
'houseNumberOrName' => false,
93+
'line1' => false,
94+
'line2' => false,
95+
'line3' => false,
8596
'mobile' => false,
97+
'name' => false,
8698
'postalCode' => false,
8799
'stateOrProvince' => false,
88100
'street' => false
@@ -179,7 +191,11 @@ public function isNullableSetToNull(string $property): bool
179191
'country' => 'country',
180192
'email' => 'email',
181193
'houseNumberOrName' => 'houseNumberOrName',
194+
'line1' => 'line1',
195+
'line2' => 'line2',
196+
'line3' => 'line3',
182197
'mobile' => 'mobile',
198+
'name' => 'name',
183199
'postalCode' => 'postalCode',
184200
'stateOrProvince' => 'stateOrProvince',
185201
'street' => 'street'
@@ -196,7 +212,11 @@ public function isNullableSetToNull(string $property): bool
196212
'country' => 'setCountry',
197213
'email' => 'setEmail',
198214
'houseNumberOrName' => 'setHouseNumberOrName',
215+
'line1' => 'setLine1',
216+
'line2' => 'setLine2',
217+
'line3' => 'setLine3',
199218
'mobile' => 'setMobile',
219+
'name' => 'setName',
200220
'postalCode' => 'setPostalCode',
201221
'stateOrProvince' => 'setStateOrProvince',
202222
'street' => 'setStreet'
@@ -213,7 +233,11 @@ public function isNullableSetToNull(string $property): bool
213233
'country' => 'getCountry',
214234
'email' => 'getEmail',
215235
'houseNumberOrName' => 'getHouseNumberOrName',
236+
'line1' => 'getLine1',
237+
'line2' => 'getLine2',
238+
'line3' => 'getLine3',
216239
'mobile' => 'getMobile',
240+
'name' => 'getName',
217241
'postalCode' => 'getPostalCode',
218242
'stateOrProvince' => 'getStateOrProvince',
219243
'street' => 'getStreet'
@@ -281,7 +305,11 @@ public function __construct(?array $data = null)
281305
$this->setIfExists('country', $data ?? [], null);
282306
$this->setIfExists('email', $data ?? [], null);
283307
$this->setIfExists('houseNumberOrName', $data ?? [], null);
308+
$this->setIfExists('line1', $data ?? [], null);
309+
$this->setIfExists('line2', $data ?? [], null);
310+
$this->setIfExists('line3', $data ?? [], null);
284311
$this->setIfExists('mobile', $data ?? [], null);
312+
$this->setIfExists('name', $data ?? [], null);
285313
$this->setIfExists('postalCode', $data ?? [], null);
286314
$this->setIfExists('stateOrProvince', $data ?? [], null);
287315
$this->setIfExists('street', $data ?? [], null);
@@ -452,6 +480,78 @@ public function setHouseNumberOrName($houseNumberOrName)
452480
return $this;
453481
}
454482

483+
/**
484+
* Gets line1
485+
*
486+
* @return string|null
487+
*/
488+
public function getLine1()
489+
{
490+
return $this->container['line1'];
491+
}
492+
493+
/**
494+
* Sets line1
495+
*
496+
* @param string|null $line1 The name of the street and the number of the building. For example: **Simon Carmiggeltstraat 6-50**.
497+
*
498+
* @return self
499+
*/
500+
public function setLine1($line1)
501+
{
502+
$this->container['line1'] = $line1;
503+
504+
return $this;
505+
}
506+
507+
/**
508+
* Gets line2
509+
*
510+
* @return string|null
511+
*/
512+
public function getLine2()
513+
{
514+
return $this->container['line2'];
515+
}
516+
517+
/**
518+
* Sets line2
519+
*
520+
* @param string|null $line2 Additional information about the delivery address. For example, an apartment number.
521+
*
522+
* @return self
523+
*/
524+
public function setLine2($line2)
525+
{
526+
$this->container['line2'] = $line2;
527+
528+
return $this;
529+
}
530+
531+
/**
532+
* Gets line3
533+
*
534+
* @return string|null
535+
*/
536+
public function getLine3()
537+
{
538+
return $this->container['line3'];
539+
}
540+
541+
/**
542+
* Sets line3
543+
*
544+
* @param string|null $line3 Additional information about the delivery address.
545+
*
546+
* @return self
547+
*/
548+
public function setLine3($line3)
549+
{
550+
$this->container['line3'] = $line3;
551+
552+
return $this;
553+
}
554+
455555
/**
456556
* Gets mobile
457557
*
@@ -476,6 +576,30 @@ public function setMobile($mobile)
476576
return $this;
477577
}
478578

579+
/**
580+
* Gets name
581+
*
582+
* @return string|null
583+
*/
584+
public function getName()
585+
{
586+
return $this->container['name'];
587+
}
588+
589+
/**
590+
* Sets name
591+
*
592+
* @param string|null $name The recipient’s name (person or contact), for example ‘John Doe’.
593+
*
594+
* @return self
595+
*/
596+
public function setName($name)
597+
{
598+
$this->container['name'] = $name;
599+
600+
return $this;
601+
}
602+
479603
/**
480604
* Gets postalCode
481605
*

src/Adyen/Model/ConfigurationWebhooks/Card.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,6 @@ public function listInvalidProperties()
386386
);
387387
}
388388

389-
if ($this->container['number'] === null) {
390-
$invalidProperties[] = "'number' can't be null";
391-
}
392389
return $invalidProperties;
393390
}
394391

@@ -681,7 +678,7 @@ public function setLastFour($lastFour)
681678
/**
682679
* Gets number
683680
*
684-
* @return string
681+
* @return string|null
685682
*/
686683
public function getNumber()
687684
{
@@ -691,7 +688,7 @@ public function getNumber()
691688
/**
692689
* Sets number
693690
*
694-
* @param string $number The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards.
691+
* @param string|null $number The primary account number (PAN) of the card. > The PAN is masked by default and returned only for single-use virtual cards.
695692
*
696693
* @return self
697694
*/

src/Adyen/Model/ConfigurationWebhooks/CardConfiguration.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ public function getActivation()
380380
/**
381381
* Sets activation
382382
*
383-
* @param string|null $activation Overrides the activation label design ID defined in the `configurationProfileId`. The activation label is attached to the card and contains the activation instructions.
383+
* @param string|null $activation The activation label attached to the card that contains the activation instructions. This field overrides the activation label design ID defined in the card configuration profile.
384384
*
385385
* @return self
386386
*/
@@ -452,7 +452,7 @@ public function getCardImageId()
452452
/**
453453
* Sets cardImageId
454454
*
455-
* @param string|null $cardImageId The ID of the card image. This is the image that will be printed on the full front of the card.
455+
* @param string|null $cardImageId The unique identifier of the card image. This image is printed on the full front of the card.
456456
*
457457
* @return self
458458
*/
@@ -476,7 +476,7 @@ public function getCarrier()
476476
/**
477477
* Sets carrier
478478
*
479-
* @param string|null $carrier Overrides the carrier design ID defined in the `configurationProfileId`. The carrier is the letter or packaging to which the card is attached.
479+
* @param string|null $carrier The letter or packaging to which the card is attached. This field overrides the carrier design ID defined in the card configuration profile.
480480
*
481481
* @return self
482482
*/
@@ -500,7 +500,7 @@ public function getCarrierImageId()
500500
/**
501501
* Sets carrierImageId
502502
*
503-
* @param string|null $carrierImageId The ID of the carrier image. This is the image that will printed on the letter to which the card is attached.
503+
* @param string|null $carrierImageId The unique identifier of the carrier image. This image is printed on the letter to which the card is attached.
504504
*
505505
* @return self
506506
*/
@@ -524,7 +524,7 @@ public function getConfigurationProfileId()
524524
/**
525525
* Sets configurationProfileId
526526
*
527-
* @param string $configurationProfileId The ID of the card configuration profile that contains the settings of the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. All the settings in the profile are applied to the card, unless you provide other fields to override them. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile.
527+
* @param string $configurationProfileId The unique identifier of the card configuration profile that contains the settings that are applied to the card. For example, the envelope and PIN mailer designs or the logistics company handling the shipment. You can override some of the existing settings in the configuration profile by providing the corresponding fields in the `configuration` object. For example, send the `shipmentMethod` to override the logistics company defined in the card configuration profile.
528528
*
529529
* @return self
530530
*/
@@ -548,7 +548,7 @@ public function getCurrency()
548548
/**
549549
* Sets currency
550550
*
551-
* @param string|null $currency The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**.
551+
* @param string|null $currency The three-letter [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the card. For example, **EUR**. This field overrides the existing currency setting on the card configuration profile.
552552
*
553553
* @return self
554554
*/
@@ -572,7 +572,7 @@ public function getEnvelope()
572572
/**
573573
* Sets envelope
574574
*
575-
* @param string|null $envelope Overrides the envelope design ID defined in the `configurationProfileId`.
575+
* @param string|null $envelope Overrides the envelope design ID defined in the card configuration profile.
576576
*
577577
* @return self
578578
*/
@@ -596,7 +596,7 @@ public function getInsert()
596596
/**
597597
* Sets insert
598598
*
599-
* @param string|null $insert Overrides the insert design ID defined in the `configurationProfileId`. An insert is any additional material, such as marketing materials, that are shipped together with the card.
599+
* @param string|null $insert Any additional material, such as marketing material, that is shipped together with the card. This field overrides the insert design ID defined in the card configuration profile.
600600
*
601601
* @return self
602602
*/
@@ -644,7 +644,7 @@ public function getLogoImageId()
644644
/**
645645
* Sets logoImageId
646646
*
647-
* @param string|null $logoImageId The ID of the logo image. This is the image that will be printed on the partial front of the card, such as a logo on the upper right corner.
647+
* @param string|null $logoImageId The unique identifier of the logo image. This image is printed on the partial front of the card, for example, a logo on the upper right corner.
648648
*
649649
* @return self
650650
*/
@@ -668,7 +668,7 @@ public function getPinMailer()
668668
/**
669669
* Sets pinMailer
670670
*
671-
* @param string|null $pinMailer Overrides the PIN mailer design ID defined in the `configurationProfileId`. The PIN mailer is the letter on which the PIN is printed.
671+
* @param string|null $pinMailer The letter on which the PIN of the card is printed. This field overrides the PIN mailer design ID defined in the card configuration profile.
672672
*
673673
* @return self
674674
*/
@@ -692,7 +692,7 @@ public function getShipmentMethod()
692692
/**
693693
* Sets shipmentMethod
694694
*
695-
* @param string|null $shipmentMethod Overrides the logistics company defined in the `configurationProfileId`.
695+
* @param string|null $shipmentMethod The logistics company that ships the card. This field overrides the logistics company defined in the card configuration profile.
696696
*
697697
* @return self
698698
*/

0 commit comments

Comments
 (0)