Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code generation: update services and models #734

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
2 changes: 2 additions & 0 deletions src/Adyen/Model/Checkout/Split.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ public function getModelName()
public const TYPE_SCHEME_FEE = 'SchemeFee';
public const TYPE_SURCHARGE = 'Surcharge';
public const TYPE_TIP = 'Tip';
public const TYPE_TOP_UP = 'TopUp';
public const TYPE_VAT = 'VAT';

/**
Expand All @@ -277,6 +278,7 @@ public function getTypeAllowableValues()
self::TYPE_SCHEME_FEE,
self::TYPE_SURCHARGE,
self::TYPE_TIP,
self::TYPE_TOP_UP,
self::TYPE_VAT,
];
}
Expand Down
28 changes: 14 additions & 14 deletions src/Adyen/Model/Payments/AdditionalDataAirline.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class AdditionalDataAirline implements ModelInterface, ArrayAccess, \JsonSeriali
'airlinePassengerDateOfBirth' => 'string',
'airlinePassengerFirstName' => 'string',
'airlinePassengerLastName' => 'string',
'airlinePassengerTelephoneNumber' => 'string',
'airlinePassengerPhoneNumber' => 'string',
'airlinePassengerTravellerType' => 'string',
'airlinePassengerName' => 'string',
'airlineTicketIssueAddress' => 'string',
Expand Down Expand Up @@ -105,7 +105,7 @@ class AdditionalDataAirline implements ModelInterface, ArrayAccess, \JsonSeriali
'airlinePassengerDateOfBirth' => null,
'airlinePassengerFirstName' => null,
'airlinePassengerLastName' => null,
'airlinePassengerTelephoneNumber' => null,
'airlinePassengerPhoneNumber' => null,
'airlinePassengerTravellerType' => null,
'airlinePassengerName' => null,
'airlineTicketIssueAddress' => null,
Expand Down Expand Up @@ -142,7 +142,7 @@ class AdditionalDataAirline implements ModelInterface, ArrayAccess, \JsonSeriali
'airlinePassengerDateOfBirth' => false,
'airlinePassengerFirstName' => false,
'airlinePassengerLastName' => false,
'airlinePassengerTelephoneNumber' => false,
'airlinePassengerPhoneNumber' => false,
'airlinePassengerTravellerType' => false,
'airlinePassengerName' => false,
'airlineTicketIssueAddress' => false,
Expand Down Expand Up @@ -259,7 +259,7 @@ public function isNullableSetToNull(string $property): bool
'airlinePassengerDateOfBirth' => 'airline.passenger.date_of_birth',
'airlinePassengerFirstName' => 'airline.passenger.first_name',
'airlinePassengerLastName' => 'airline.passenger.last_name',
'airlinePassengerTelephoneNumber' => 'airline.passenger.telephone_number',
'airlinePassengerPhoneNumber' => 'airline.passenger.phone_number',
'airlinePassengerTravellerType' => 'airline.passenger.traveller_type',
'airlinePassengerName' => 'airline.passenger_name',
'airlineTicketIssueAddress' => 'airline.ticket_issue_address',
Expand Down Expand Up @@ -296,7 +296,7 @@ public function isNullableSetToNull(string $property): bool
'airlinePassengerDateOfBirth' => 'setAirlinePassengerDateOfBirth',
'airlinePassengerFirstName' => 'setAirlinePassengerFirstName',
'airlinePassengerLastName' => 'setAirlinePassengerLastName',
'airlinePassengerTelephoneNumber' => 'setAirlinePassengerTelephoneNumber',
'airlinePassengerPhoneNumber' => 'setAirlinePassengerPhoneNumber',
'airlinePassengerTravellerType' => 'setAirlinePassengerTravellerType',
'airlinePassengerName' => 'setAirlinePassengerName',
'airlineTicketIssueAddress' => 'setAirlineTicketIssueAddress',
Expand Down Expand Up @@ -333,7 +333,7 @@ public function isNullableSetToNull(string $property): bool
'airlinePassengerDateOfBirth' => 'getAirlinePassengerDateOfBirth',
'airlinePassengerFirstName' => 'getAirlinePassengerFirstName',
'airlinePassengerLastName' => 'getAirlinePassengerLastName',
'airlinePassengerTelephoneNumber' => 'getAirlinePassengerTelephoneNumber',
'airlinePassengerPhoneNumber' => 'getAirlinePassengerPhoneNumber',
'airlinePassengerTravellerType' => 'getAirlinePassengerTravellerType',
'airlinePassengerName' => 'getAirlinePassengerName',
'airlineTicketIssueAddress' => 'getAirlineTicketIssueAddress',
Expand Down Expand Up @@ -421,7 +421,7 @@ public function __construct(array $data = null)
$this->setIfExists('airlinePassengerDateOfBirth', $data ?? [], null);
$this->setIfExists('airlinePassengerFirstName', $data ?? [], null);
$this->setIfExists('airlinePassengerLastName', $data ?? [], null);
$this->setIfExists('airlinePassengerTelephoneNumber', $data ?? [], null);
$this->setIfExists('airlinePassengerPhoneNumber', $data ?? [], null);
$this->setIfExists('airlinePassengerTravellerType', $data ?? [], null);
$this->setIfExists('airlinePassengerName', $data ?? [], null);
$this->setIfExists('airlineTicketIssueAddress', $data ?? [], null);
Expand Down Expand Up @@ -1004,25 +1004,25 @@ public function setAirlinePassengerLastName($airlinePassengerLastName)
}

/**
* Gets airlinePassengerTelephoneNumber
* Gets airlinePassengerPhoneNumber
*
* @return string|null
*/
public function getAirlinePassengerTelephoneNumber()
public function getAirlinePassengerPhoneNumber()
{
return $this->container['airlinePassengerTelephoneNumber'];
return $this->container['airlinePassengerPhoneNumber'];
}

/**
* Sets airlinePassengerTelephoneNumber
* Sets airlinePassengerPhoneNumber
*
* @param string|null $airlinePassengerTelephoneNumber The passenger's telephone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters
* @param string|null $airlinePassengerPhoneNumber The passenger's phone number, including country code. This is an alphanumeric field that can include the '+' and '-' signs. * Encoding: ASCII * minLength: 3 characters * maxLength: 30 characters
*
* @return self
*/
public function setAirlinePassengerTelephoneNumber($airlinePassengerTelephoneNumber)
public function setAirlinePassengerPhoneNumber($airlinePassengerPhoneNumber)
{
$this->container['airlinePassengerTelephoneNumber'] = $airlinePassengerTelephoneNumber;
$this->container['airlinePassengerPhoneNumber'] = $airlinePassengerPhoneNumber;

return $this;
}
Expand Down
Loading