Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 93 additions & 0 deletions src/Adyen/Model/ConfigurationWebhooks/BulkAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ class BulkAddress implements ModelInterface, ArrayAccess, \JsonSerializable
'country' => 'string',
'email' => 'string',
'houseNumberOrName' => 'string',
'line1' => 'string',
'line2' => 'string',
'line3' => 'string',
'mobile' => 'string',
'postalCode' => 'string',
'stateOrProvince' => 'string',
Expand All @@ -65,6 +68,9 @@ class BulkAddress implements ModelInterface, ArrayAccess, \JsonSerializable
'country' => null,
'email' => null,
'houseNumberOrName' => null,
'line1' => null,
'line2' => null,
'line3' => null,
'mobile' => null,
'postalCode' => null,
'stateOrProvince' => null,
Expand All @@ -82,6 +88,9 @@ class BulkAddress implements ModelInterface, ArrayAccess, \JsonSerializable
'country' => false,
'email' => false,
'houseNumberOrName' => false,
'line1' => false,
'line2' => false,
'line3' => false,
'mobile' => false,
'postalCode' => false,
'stateOrProvince' => false,
Expand Down Expand Up @@ -179,6 +188,9 @@ public function isNullableSetToNull(string $property): bool
'country' => 'country',
'email' => 'email',
'houseNumberOrName' => 'houseNumberOrName',
'line1' => 'line1',
'line2' => 'line2',
'line3' => 'line3',
'mobile' => 'mobile',
'postalCode' => 'postalCode',
'stateOrProvince' => 'stateOrProvince',
Expand All @@ -196,6 +208,9 @@ public function isNullableSetToNull(string $property): bool
'country' => 'setCountry',
'email' => 'setEmail',
'houseNumberOrName' => 'setHouseNumberOrName',
'line1' => 'setLine1',
'line2' => 'setLine2',
'line3' => 'setLine3',
'mobile' => 'setMobile',
'postalCode' => 'setPostalCode',
'stateOrProvince' => 'setStateOrProvince',
Expand All @@ -213,6 +228,9 @@ public function isNullableSetToNull(string $property): bool
'country' => 'getCountry',
'email' => 'getEmail',
'houseNumberOrName' => 'getHouseNumberOrName',
'line1' => 'getLine1',
'line2' => 'getLine2',
'line3' => 'getLine3',
'mobile' => 'getMobile',
'postalCode' => 'getPostalCode',
'stateOrProvince' => 'getStateOrProvince',
Expand Down Expand Up @@ -281,6 +299,9 @@ public function __construct(?array $data = null)
$this->setIfExists('country', $data ?? [], null);
$this->setIfExists('email', $data ?? [], null);
$this->setIfExists('houseNumberOrName', $data ?? [], null);
$this->setIfExists('line1', $data ?? [], null);
$this->setIfExists('line2', $data ?? [], null);
$this->setIfExists('line3', $data ?? [], null);
$this->setIfExists('mobile', $data ?? [], null);
$this->setIfExists('postalCode', $data ?? [], null);
$this->setIfExists('stateOrProvince', $data ?? [], null);
Expand Down Expand Up @@ -452,6 +473,78 @@ public function setHouseNumberOrName($houseNumberOrName)
return $this;
}

/**
* Gets line1
*
* @return string|null
*/
public function getLine1()
{
return $this->container['line1'];
}

/**
* Sets line1
*
* @param string|null $line1 The name of the street and the number of the building. For example: **Simon Carmiggeltstraat 6-50**.
*
* @return self
*/
public function setLine1($line1)
{
$this->container['line1'] = $line1;

return $this;
}

/**
* Gets line2
*
* @return string|null
*/
public function getLine2()
{
return $this->container['line2'];
}

/**
* Sets line2
*
* @param string|null $line2 Additional information about the delivery address. For example, an apartment number.
*
* @return self
*/
public function setLine2($line2)
{
$this->container['line2'] = $line2;

return $this;
}

/**
* Gets line3
*
* @return string|null
*/
public function getLine3()
{
return $this->container['line3'];
}

/**
* Sets line3
*
* @param string|null $line3 Additional information about the delivery address.
*
* @return self
*/
public function setLine3($line3)
{
$this->container['line3'] = $line3;

return $this;
}

/**
* Gets mobile
*
Expand Down
31 changes: 31 additions & 0 deletions src/Adyen/Model/ConfigurationWebhooks/Device.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class Device implements ModelInterface, ArrayAccess, \JsonSerializable
* @var string[]
*/
protected static $openAPITypes = [
'deviceId' => 'string',
'formFactor' => 'string',
'osName' => 'string'
];
Expand All @@ -53,6 +54,7 @@ class Device implements ModelInterface, ArrayAccess, \JsonSerializable
* @psalm-var array<string, string|null>
*/
protected static $openAPIFormats = [
'deviceId' => null,
'formFactor' => null,
'osName' => null
];
Expand All @@ -63,6 +65,7 @@ class Device implements ModelInterface, ArrayAccess, \JsonSerializable
* @var boolean[]
*/
protected static $openAPINullables = [
'deviceId' => false,
'formFactor' => false,
'osName' => false
];
Expand Down Expand Up @@ -153,6 +156,7 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $attributeMap = [
'deviceId' => 'deviceId',
'formFactor' => 'formFactor',
'osName' => 'osName'
];
Expand All @@ -163,6 +167,7 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $setters = [
'deviceId' => 'setDeviceId',
'formFactor' => 'setFormFactor',
'osName' => 'setOsName'
];
Expand All @@ -173,6 +178,7 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $getters = [
'deviceId' => 'getDeviceId',
'formFactor' => 'getFormFactor',
'osName' => 'getOsName'
];
Expand Down Expand Up @@ -234,6 +240,7 @@ public function getModelName()
*/
public function __construct(?array $data = null)
{
$this->setIfExists('deviceId', $data ?? [], null);
$this->setIfExists('formFactor', $data ?? [], null);
$this->setIfExists('osName', $data ?? [], null);
}
Expand Down Expand Up @@ -280,6 +287,30 @@ public function valid()
}


/**
* Gets deviceId
*
* @return string|null
*/
public function getDeviceId()
{
return $this->container['deviceId'];
}

/**
* Sets deviceId
*
* @param string|null $deviceId The unique identifier of the device used for provisioning the network token.
*
* @return self
*/
public function setDeviceId($deviceId)
{
$this->container['deviceId'] = $deviceId;

return $this;
}

/**
* Gets formFactor
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class NetworkTokenNotificationDataV2 implements ModelInterface, ArrayAccess, \Js
'decision' => 'string',
'id' => 'string',
'paymentInstrumentId' => 'string',
'schemeRiskScore' => 'string',
'status' => 'string',
'tokenLastFour' => 'string',
'tokenRequestor' => '\Adyen\Model\ConfigurationWebhooks\NetworkTokenRequestor',
Expand All @@ -70,6 +71,7 @@ class NetworkTokenNotificationDataV2 implements ModelInterface, ArrayAccess, \Js
'decision' => null,
'id' => null,
'paymentInstrumentId' => null,
'schemeRiskScore' => null,
'status' => null,
'tokenLastFour' => null,
'tokenRequestor' => null,
Expand All @@ -91,6 +93,7 @@ class NetworkTokenNotificationDataV2 implements ModelInterface, ArrayAccess, \Js
'decision' => false,
'id' => false,
'paymentInstrumentId' => false,
'schemeRiskScore' => false,
'status' => false,
'tokenLastFour' => false,
'tokenRequestor' => false,
Expand Down Expand Up @@ -192,6 +195,7 @@ public function isNullableSetToNull(string $property): bool
'decision' => 'decision',
'id' => 'id',
'paymentInstrumentId' => 'paymentInstrumentId',
'schemeRiskScore' => 'schemeRiskScore',
'status' => 'status',
'tokenLastFour' => 'tokenLastFour',
'tokenRequestor' => 'tokenRequestor',
Expand All @@ -213,6 +217,7 @@ public function isNullableSetToNull(string $property): bool
'decision' => 'setDecision',
'id' => 'setId',
'paymentInstrumentId' => 'setPaymentInstrumentId',
'schemeRiskScore' => 'setSchemeRiskScore',
'status' => 'setStatus',
'tokenLastFour' => 'setTokenLastFour',
'tokenRequestor' => 'setTokenRequestor',
Expand All @@ -234,6 +239,7 @@ public function isNullableSetToNull(string $property): bool
'decision' => 'getDecision',
'id' => 'getId',
'paymentInstrumentId' => 'getPaymentInstrumentId',
'schemeRiskScore' => 'getSchemeRiskScore',
'status' => 'getStatus',
'tokenLastFour' => 'getTokenLastFour',
'tokenRequestor' => 'getTokenRequestor',
Expand Down Expand Up @@ -306,6 +312,7 @@ public function __construct(?array $data = null)
$this->setIfExists('decision', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('paymentInstrumentId', $data ?? [], null);
$this->setIfExists('schemeRiskScore', $data ?? [], null);
$this->setIfExists('status', $data ?? [], null);
$this->setIfExists('tokenLastFour', $data ?? [], null);
$this->setIfExists('tokenRequestor', $data ?? [], null);
Expand Down Expand Up @@ -501,6 +508,30 @@ public function setPaymentInstrumentId($paymentInstrumentId)
return $this;
}

/**
* Gets schemeRiskScore
*
* @return string|null
*/
public function getSchemeRiskScore()
{
return $this->container['schemeRiskScore'];
}

/**
* Sets schemeRiskScore
*
* @param string|null $schemeRiskScore The confidence score of scheme, indicating the degree of risk associated with a token. A high score indicates a high level of risk. A low score indicates a low level of risk. Possible values for visa : **00** to **99**, a value of 00 signifies no score was provided by visa
*
* @return self
*/
public function setSchemeRiskScore($schemeRiskScore)
{
$this->container['schemeRiskScore'] = $schemeRiskScore;

return $this;
}

/**
* Gets status
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ public function getModelName()
public const CAPABILITIES_WITHDRAW_FROM_ATM_IN_RESTRICTED_COUNTRIES_COMMERCIAL = 'withdrawFromAtmInRestrictedCountriesCommercial';
public const CAPABILITIES_WITHDRAW_FROM_ATM_IN_RESTRICTED_COUNTRIES_CONSUMER = 'withdrawFromAtmInRestrictedCountriesConsumer';
public const TYPE_DATA_MISSING = 'dataMissing';
public const TYPE_DATA_REVIEW = 'dataReview';
public const TYPE_INVALID_INPUT = 'invalidInput';
public const TYPE_PENDING_STATUS = 'pendingStatus';

Expand Down Expand Up @@ -375,6 +376,7 @@ public function getTypeAllowableValues()
{
return [
self::TYPE_DATA_MISSING,
self::TYPE_DATA_REVIEW,
self::TYPE_INVALID_INPUT,
self::TYPE_PENDING_STATUS,
];
Expand Down Expand Up @@ -595,7 +597,7 @@ public function getType()
/**
* Sets type
*
* @param string|null $type The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus**
* @param string|null $type The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **dataReview**
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ public function getModelName()
public const CAPABILITIES_WITHDRAW_FROM_ATM_IN_RESTRICTED_COUNTRIES_COMMERCIAL = 'withdrawFromAtmInRestrictedCountriesCommercial';
public const CAPABILITIES_WITHDRAW_FROM_ATM_IN_RESTRICTED_COUNTRIES_CONSUMER = 'withdrawFromAtmInRestrictedCountriesConsumer';
public const TYPE_DATA_MISSING = 'dataMissing';
public const TYPE_DATA_REVIEW = 'dataReview';
public const TYPE_INVALID_INPUT = 'invalidInput';
public const TYPE_PENDING_STATUS = 'pendingStatus';

Expand Down Expand Up @@ -369,6 +370,7 @@ public function getTypeAllowableValues()
{
return [
self::TYPE_DATA_MISSING,
self::TYPE_DATA_REVIEW,
self::TYPE_INVALID_INPUT,
self::TYPE_PENDING_STATUS,
];
Expand Down Expand Up @@ -540,7 +542,7 @@ public function getType()
/**
* Sets type
*
* @param string|null $type The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus**
* @param string|null $type The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **dataReview**
*
* @return self
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ public function getNotificationResponse()
/**
* Sets notificationResponse
*
* @param string|null $notificationResponse Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
* @param string|null $notificationResponse Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks).
*
* @return self
*/
Expand Down
Loading