Merge branch 'develop' into dependabot/npm_and_yarn/types/jest-27.5.0

This commit is contained in:
Zaid Dreakh
2022-06-13 11:09:26 +02:00
committed by GitHub
183 changed files with 1827 additions and 11425 deletions

7
.github/stale.yml vendored
View File

@@ -3,6 +3,13 @@ daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Label to use when marking an issue as stale
# Issues with these labels will never be considered stale
exemptLabels:
- Validating request
- Bug report
- Bug
- Enhancement
- feature
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >

View File

@@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
node-version: [10.x, 12.x, 13.x]
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2

View File

@@ -79,7 +79,7 @@ describe("Bin Lookup", function (): void {
try {
await binLookup.get3dsAvailability(threeDSAvailabilityRequest as unknown as IBinLookup.ThreeDSAvailabilityRequest);
fail("Expected request to fail");
} catch (e) {
} catch (e: any) {
expect(e instanceof HttpClientException).toBeTruthy();
}
});

View File

@@ -41,7 +41,7 @@ import {
CheckoutUtilityRequest,
CreatePaymentLinkRequest,
DetailsRequest,
PaymentLinkResource,
PaymentLinkResponse,
PaymentMethodsRequest,
PaymentRequest,
PaymentResponse,
@@ -65,8 +65,8 @@ function createAmountObject(currency: string, value: number): Amount {
function createPaymentsDetailsRequest(): DetailsRequest {
return {
details: {
MD: "mdValue",
PaRes: "paResValue",
mD: "mdValue",
paRes: "paResValue",
},
paymentData: "Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...",
};
@@ -103,15 +103,15 @@ function createPaymentSessionRequest(): PaymentSetupRequest {
sdkVersion: "3.7.0"
};
}
function getPaymentLinkSuccess(expiresAt: string): PaymentLinkResource {
function getPaymentLinkSuccess(expiresAt: string): PaymentLinkResponse {
return {
amount: createAmountObject("USD", 1000),
expiresAt,
reference,
url: "paymentLinkResponse.url",
url: "PaymentLinkResponse.url",
id: "mocked_id",
merchantAccount,
status: PaymentLinkResource.StatusEnum.Active
status: PaymentLinkResponse.StatusEnum.Active
};
}
@@ -190,7 +190,7 @@ describe("Checkout", (): void => {
const paymentsRequest: PaymentRequest = createPaymentsCheckoutRequest();
await checkout.payments(paymentsRequest);
} catch (e) {
} catch (e: any) {
expect(e instanceof HttpClientException).toBeTruthy();
}
});
@@ -213,7 +213,7 @@ describe("Checkout", (): void => {
test.each([false, true])("should have valid payment link, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
const expiresAt = "2019-12-17T10:05:29Z";
const paymentLinkSuccess: PaymentLinkResource = getPaymentLinkSuccess(expiresAt);
const paymentLinkSuccess: PaymentLinkResponse = getPaymentLinkSuccess(expiresAt);
scope.post("/paymentLinks").reply(200, paymentLinkSuccess);
@@ -224,7 +224,7 @@ describe("Checkout", (): void => {
test.each([isCI, true])("should get payment link, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
const expiresAt = "2019-12-17T10:05:29Z";
const paymentLinkSuccess: PaymentLinkResource = getPaymentLinkSuccess(expiresAt);
const paymentLinkSuccess: PaymentLinkResponse = getPaymentLinkSuccess(expiresAt);
scope.post("/paymentLinks").reply(200, paymentLinkSuccess);
@@ -238,7 +238,7 @@ describe("Checkout", (): void => {
test.each([isCI, true])("should patch payment link, isMock: %p", async (isMock): Promise<void> => {
!isMock && nock.restore();
const expiresAt = "2019-12-17T10:05:29Z";
const paymentLinkSuccess: PaymentLinkResource = getPaymentLinkSuccess(expiresAt);
const paymentLinkSuccess: PaymentLinkResponse = getPaymentLinkSuccess(expiresAt);
scope.post("/paymentLinks").reply(200, paymentLinkSuccess);
@@ -285,7 +285,7 @@ describe("Checkout", (): void => {
new Checkout(client);
fail();
} catch (e: any) {
expect(e.message).toEqual("Please provide your unique live url prefix on the setEnvironment() call on the Client or provide checkoutEndpoint in your config object.");
expect(e.message).toEqual("Please provide your unique live url prefix on the setEnvironment() call on the Client or provide checkoutEndpoint in your config object.");
}
});

View File

@@ -197,7 +197,7 @@ describe("Modification", (): void => {
const result = await modification.amountUpdates(paymentPspReference, request);
expect(result).toBeTruthy();
} catch (e: any) {
fail(e.message);
if(e.message) fail(e.message);
}
});
@@ -278,8 +278,8 @@ describe("Modification", (): void => {
try {
await modification.captures(invalidPaymentPspReference, request);
} catch (e: any) {
expect(e.statusCode).toBe(422);
expect(e.message).toContain("Original pspReference required for this operation");
if(e.statusCode) expect(e.statusCode).toBe(422);
if(e.message) expect(e.message).toContain("Original pspReference required for this operation");
}
});
@@ -292,7 +292,7 @@ describe("Modification", (): void => {
const result = await modification.refunds(paymentPspReference, request);
expect(result).toBeTruthy();
} catch (e: any) {
fail(e.message);
if(e.message) fail(e.message);
}
});
@@ -305,7 +305,7 @@ describe("Modification", (): void => {
try {
await modification.refunds(invalidPaymentPspReference, request);
} catch (e: any) {
expect(e.statusCode).toBe(422);
if(e.statusCode) expect(e.statusCode).toBe(422);
expect(e.message).toContain("Original pspReference required for this operation");
}
});
@@ -332,7 +332,7 @@ describe("Modification", (): void => {
try {
await modification.reversals(invalidPaymentPspReference, request);
} catch (e: any) {
expect(e.statusCode).toBe(422);
if(e.statusCode) expect(e.statusCode).toBe(422);
expect(e.message).toContain("Original pspReference required for this operation");
}
});

View File

@@ -52,7 +52,7 @@ class Client {
public static HPP_LIVE = "https://live.adyen.com/hpp";
public static MARKETPAY_ENDPOINT_TEST = "https://cal-test.adyen.com/cal/services";
public static MARKETPAY_ENDPOINT_LIVE = "https://cal-live.adyen.com/cal/services";
public static CHECKOUT_API_VERSION = "v68";
public static CHECKOUT_API_VERSION = "v69";
public static API_VERSION = "v64";
public static RECURRING_API_VERSION = "v49";
public static MARKETPAY_ACCOUNT_API_VERSION = "v6";

View File

@@ -34,7 +34,7 @@ import {
PaymentResponse,
PaymentMethodsRequest,
PaymentMethodsResponse,
PaymentLinkResource,
PaymentLinkResponse,
CreatePaymentLinkRequest,
DetailsRequest,
PaymentSetupRequest,
@@ -109,25 +109,25 @@ class Checkout extends ApiKeyAuthenticatedService {
);
}
public paymentLinks(paymentLinkRequest: CreatePaymentLinkRequest): Promise<PaymentLinkResource> {
return getJsonResponse<CreatePaymentLinkRequest, PaymentLinkResource>(
public paymentLinks(paymentLinkRequest: CreatePaymentLinkRequest): Promise<PaymentLinkResponse> {
return getJsonResponse<CreatePaymentLinkRequest, PaymentLinkResponse>(
this._paymentLinks,
paymentLinkRequest
);
}
public getPaymentLinks(linkId: string): Promise<PaymentLinkResource> {
public getPaymentLinks(linkId: string): Promise<PaymentLinkResponse> {
this._paymentLinksId.id = linkId;
return getJsonResponse<Record<string, never>, PaymentLinkResource>(
return getJsonResponse<Record<string, never>, PaymentLinkResponse>(
this._paymentLinksId,
{},
{ method: "GET" }
);
}
public updatePaymentLinks(linkId: string, status: "expired"): Promise<PaymentLinkResource> {
public updatePaymentLinks(linkId: string, status: "expired"): Promise<PaymentLinkResponse> {
this._paymentLinksId.id = linkId;
return getJsonResponse<Record<string, unknown>, PaymentLinkResource>(
return getJsonResponse<Record<string, unknown>, PaymentLinkResponse>(
this._paymentLinksId,
{ status },
{ method: "PATCH" }

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class AccountInfo {
/**
* Indicator for the length of time since this shopper account was created in the merchant\'s environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days
@@ -108,109 +103,6 @@ export class AccountInfo {
* Shopper\'s work phone number (including the country code).
*/
'workPhone'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "accountAgeIndicator",
"baseName": "accountAgeIndicator",
"type": "AccountInfo.AccountAgeIndicatorEnum"
},
{
"name": "accountChangeDate",
"baseName": "accountChangeDate",
"type": "Date"
},
{
"name": "accountChangeIndicator",
"baseName": "accountChangeIndicator",
"type": "AccountInfo.AccountChangeIndicatorEnum"
},
{
"name": "accountCreationDate",
"baseName": "accountCreationDate",
"type": "Date"
},
{
"name": "accountType",
"baseName": "accountType",
"type": "AccountInfo.AccountTypeEnum"
},
{
"name": "addCardAttemptsDay",
"baseName": "addCardAttemptsDay",
"type": "number"
},
{
"name": "deliveryAddressUsageDate",
"baseName": "deliveryAddressUsageDate",
"type": "Date"
},
{
"name": "deliveryAddressUsageIndicator",
"baseName": "deliveryAddressUsageIndicator",
"type": "AccountInfo.DeliveryAddressUsageIndicatorEnum"
},
{
"name": "homePhone",
"baseName": "homePhone",
"type": "string"
},
{
"name": "mobilePhone",
"baseName": "mobilePhone",
"type": "string"
},
{
"name": "passwordChangeDate",
"baseName": "passwordChangeDate",
"type": "Date"
},
{
"name": "passwordChangeIndicator",
"baseName": "passwordChangeIndicator",
"type": "AccountInfo.PasswordChangeIndicatorEnum"
},
{
"name": "pastTransactionsDay",
"baseName": "pastTransactionsDay",
"type": "number"
},
{
"name": "pastTransactionsYear",
"baseName": "pastTransactionsYear",
"type": "number"
},
{
"name": "paymentAccountAge",
"baseName": "paymentAccountAge",
"type": "Date"
},
{
"name": "paymentAccountIndicator",
"baseName": "paymentAccountIndicator",
"type": "AccountInfo.PaymentAccountIndicatorEnum"
},
{
"name": "purchasesLast6Months",
"baseName": "purchasesLast6Months",
"type": "number"
},
{
"name": "suspiciousActivity",
"baseName": "suspiciousActivity",
"type": "boolean"
},
{
"name": "workPhone",
"baseName": "workPhone",
"type": "string"
} ];
static getAttributeTypeMap() {
return AccountInfo.attributeTypeMap;
}
}
export namespace AccountInfo {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,160 +26,113 @@
* Do not edit the class manually.
*/
export class AcctInfo {
/**
* Length of time that the cardholder has had the account with the 3DS Requestor.
* Length of time that the cardholder has had the account with the 3DS Requestor. Allowed values: * **01** — No account * **02** — Created during this transaction * **03** — Less than 30 days * **04** — 3060 days * **05** — More than 60 days
*/
'chAccAgeInd'?: string;
'chAccAgeInd'?: AcctInfo.ChAccAgeIndEnum;
/**
* String that the cardholders account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added.
* Date that the cardholders account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Format: **YYYYMMDD**
*/
'chAccChange'?: string;
/**
* Length of time since the cardholders account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added.
* Length of time since the cardholders account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Allowed values: * **01** — Changed during this transaction * **02** — Less than 30 days * **03** — 3060 days * **04** — More than 60 days
*/
'chAccChangeInd'?: string;
'chAccChangeInd'?: AcctInfo.ChAccChangeIndEnum;
/**
* String that cardholders account with the 3DS Requestor had a password change or account reset.
* Date that cardholders account with the 3DS Requestor had a password change or account reset. Format: **YYYYMMDD**
*/
'chAccPwChange'?: string;
/**
* Indicates the length of time since the cardholders account with the 3DS Requestor had a password change or account reset.
* Indicates the length of time since the cardholders account with the 3DS Requestor had a password change or account reset. Allowed values: * **01** — No change * **02** — Changed during this transaction * **03** — Less than 30 days * **04** — 3060 days * **05** — More than 60 days
*/
'chAccPwChangeInd'?: string;
'chAccPwChangeInd'?: AcctInfo.ChAccPwChangeIndEnum;
/**
* String that the cardholder opened the account with the 3DS Requestor.
* Date that the cardholder opened the account with the 3DS Requestor. Format: **YYYYMMDD**
*/
'chAccString'?: string;
/**
* Number of purchases with this cardholder account during the previous six months.
* Number of purchases with this cardholder account during the previous six months. Max length: 4 characters.
*/
'nbPurchaseAccount'?: string;
/**
* String that the payment account was enrolled in the cardholders account with the 3DS Requestor.
* String that the payment account was enrolled in the cardholders account with the 3DS Requestor. Format: **YYYYMMDD**
*/
'paymentAccAge'?: string;
/**
* Indicates the length of time that the payment account was enrolled in the cardholders account with the 3DS Requestor.
* Indicates the length of time that the payment account was enrolled in the cardholders account with the 3DS Requestor. Allowed values: * **01** — No account (guest checkout) * **02** — During this transaction * **03** — Less than 30 days * **04** — 3060 days * **05** — More than 60 days
*/
'paymentAccInd'?: string;
'paymentAccInd'?: AcctInfo.PaymentAccIndEnum;
/**
* Number of Add Card attempts in the last 24 hours.
* Number of Add Card attempts in the last 24 hours. Max length: 3 characters.
*/
'provisionAttemptsDay'?: string;
/**
* String when the shipping address used for this transaction was first used with the 3DS Requestor.
* String when the shipping address used for this transaction was first used with the 3DS Requestor. Format: **YYYYMMDD**
*/
'shipAddressUsage'?: string;
/**
* Indicates when the shipping address used for this transaction was first used with the 3DS Requestor.
* Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Allowed values: * **01** — This transaction * **02** — Less than 30 days * **03** — 3060 days * **04** — More than 60 days
*/
'shipAddressUsageInd'?: string;
'shipAddressUsageInd'?: AcctInfo.ShipAddressUsageIndEnum;
/**
* Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction.
* Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. Allowed values: * **01** — Account Name identical to shipping Name * **02** — Account Name different to shipping Name
*/
'shipNameIndicator'?: string;
'shipNameIndicator'?: AcctInfo.ShipNameIndicatorEnum;
/**
* Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account.
* Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. Allowed values: * **01** — No suspicious activity has been observed * **02** — Suspicious activity has been observed
*/
'suspiciousAccActivity'?: string;
'suspiciousAccActivity'?: AcctInfo.SuspiciousAccActivityEnum;
/**
* Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours.
* Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. Max length: 3 characters.
*/
'txnActivityDay'?: string;
/**
* Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year.
* Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. Max length: 3 characters.
*/
'txnActivityYear'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "chAccAgeInd",
"baseName": "chAccAgeInd",
"type": "string"
},
{
"name": "chAccChange",
"baseName": "chAccChange",
"type": "string"
},
{
"name": "chAccChangeInd",
"baseName": "chAccChangeInd",
"type": "string"
},
{
"name": "chAccPwChange",
"baseName": "chAccPwChange",
"type": "string"
},
{
"name": "chAccPwChangeInd",
"baseName": "chAccPwChangeInd",
"type": "string"
},
{
"name": "chAccString",
"baseName": "chAccString",
"type": "string"
},
{
"name": "nbPurchaseAccount",
"baseName": "nbPurchaseAccount",
"type": "string"
},
{
"name": "paymentAccAge",
"baseName": "paymentAccAge",
"type": "string"
},
{
"name": "paymentAccInd",
"baseName": "paymentAccInd",
"type": "string"
},
{
"name": "provisionAttemptsDay",
"baseName": "provisionAttemptsDay",
"type": "string"
},
{
"name": "shipAddressUsage",
"baseName": "shipAddressUsage",
"type": "string"
},
{
"name": "shipAddressUsageInd",
"baseName": "shipAddressUsageInd",
"type": "string"
},
{
"name": "shipNameIndicator",
"baseName": "shipNameIndicator",
"type": "string"
},
{
"name": "suspiciousAccActivity",
"baseName": "suspiciousAccActivity",
"type": "string"
},
{
"name": "txnActivityDay",
"baseName": "txnActivityDay",
"type": "string"
},
{
"name": "txnActivityYear",
"baseName": "txnActivityYear",
"type": "string"
} ];
static getAttributeTypeMap() {
return AcctInfo.attributeTypeMap;
}
}
export namespace AcctInfo {
export enum ChAccAgeIndEnum {
_01 = <any> '01',
_02 = <any> '02',
_03 = <any> '03',
_04 = <any> '04',
_05 = <any> '05'
}
export enum ChAccChangeIndEnum {
_01 = <any> '01',
_02 = <any> '02',
_03 = <any> '03',
_04 = <any> '04'
}
export enum ChAccPwChangeIndEnum {
_01 = <any> '01',
_02 = <any> '02',
_03 = <any> '03',
_04 = <any> '04',
_05 = <any> '05'
}
export enum PaymentAccIndEnum {
_01 = <any> '01',
_02 = <any> '02',
_03 = <any> '03',
_04 = <any> '04',
_05 = <any> '05'
}
export enum ShipAddressUsageIndEnum {
_01 = <any> '01',
_02 = <any> '02',
_03 = <any> '03',
_04 = <any> '04'
}
export enum ShipNameIndicatorEnum {
_01 = <any> '01',
_02 = <any> '02'
}
export enum SuspiciousAccActivityEnum {
_01 = <any> '01',
_02 = <any> '02'
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class AchDetails {
/**
* The bank account number (without separators).
@@ -64,54 +59,6 @@ export class AchDetails {
* **ach**
*/
'type'?: AchDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "bankAccountNumber",
"baseName": "bankAccountNumber",
"type": "string"
},
{
"name": "bankLocationId",
"baseName": "bankLocationId",
"type": "string"
},
{
"name": "encryptedBankAccountNumber",
"baseName": "encryptedBankAccountNumber",
"type": "string"
},
{
"name": "encryptedBankLocationId",
"baseName": "encryptedBankLocationId",
"type": "string"
},
{
"name": "ownerName",
"baseName": "ownerName",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",
"type": "string"
},
{
"name": "storedPaymentMethodId",
"baseName": "storedPaymentMethodId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "AchDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return AchDetails.attributeTypeMap;
}
}
export namespace AchDetails {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class AdditionalData3DSecure {
/**
* Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen still selects the version of 3D Secure based on configuration to optimize authorisation rates and improve the shopper\'s experience. * **false** Not ready to support native 3D Secure 2 authentication. Adyen will not offer 3D Secure 2 to your shopper regardless of your configuration.
@@ -52,38 +47,5 @@ export class AdditionalData3DSecure {
* Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen\'s Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error.
*/
'threeDSVersion'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "allow3DS2",
"baseName": "allow3DS2",
"type": "string"
},
{
"name": "executeThreeD",
"baseName": "executeThreeD",
"type": "string"
},
{
"name": "mpiImplementationType",
"baseName": "mpiImplementationType",
"type": "string"
},
{
"name": "scaExemption",
"baseName": "scaExemption",
"type": "string"
},
{
"name": "threeDSVersion",
"baseName": "threeDSVersion",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalData3DSecure.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,268 +26,118 @@
* Do not edit the class manually.
*/
export class AdditionalDataAirline {
/**
* Reference number for the invoice, issued by the agency. * minLength: 1 * maxLength: 6
*/
'airline_agency_invoice_number'?: string;
'airlineAgencyInvoiceNumber'?: string;
/**
* 2-letter agency plan identifier; alphabetical. * minLength: 2 * maxLength: 2
*/
'airline_agency_plan_name'?: string;
'airlineAgencyPlanName'?: string;
/**
* [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX); numeric. It identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 * maxLength: 3
*/
'airline_airline_code'?: string;
'airlineAirlineCode'?: string;
/**
* [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX); alphabetical. It identifies the carrier. * Format: [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter airline code * Example: KLM = KL * minLength: 2 * maxLength: 2
*/
'airline_airline_designator_code'?: string;
'airlineAirlineDesignatorCode'?: string;
/**
* Chargeable amount for boarding the plane. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). * minLength: 1 * maxLength: 18
*/
'airline_boarding_fee'?: string;
'airlineBoardingFee'?: string;
/**
* The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Format: alphanumeric. * minLength: 4 * maxLength: 4
*/
'airline_computerized_reservation_system'?: string;
'airlineComputerizedReservationSystem'?: string;
/**
* Reference number; alphanumeric. * minLength: 0 * maxLength: 20
*/
'airline_customer_reference_number'?: string;
'airlineCustomerReferenceNumber'?: string;
/**
* Optional 2-digit code; alphanumeric. It identifies the type of product of the transaction. The description of the code may appear on credit card statements. * Format: 2-digit code * Example: Passenger ticket = 01 * minLength: 2 * maxLength: 2
*/
'airline_document_type'?: string;
'airlineDocumentType'?: string;
/**
* Flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 * maxLength: 16
*/
'airline_flight_date'?: string;
'airlineFlightDate'?: string;
/**
* [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX); alphabetical. It identifies the carrier. This field is required/mandatory if the airline data includes leg details. * Format: IATA 2-letter airline code * Example: KLM = KL * minLength: 2 * maxLength: 2
*/
'airline_leg_carrier_code'?: string;
'airlineLegCarrierCode'?: string;
/**
* 1-letter travel class identifier; alphabetical. There is no standard; however, the following codes are used rather consistently: * F: first class * J: business class * Y: economy class * W: premium economy Limitations: * minLength: 1 * maxLength: 1
*/
'airline_leg_class_of_travel'?: string;
'airlineLegClassOfTravel'?: string;
/**
* Date and time of travel. [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-compliant. * Format: `yyyy-MM-dd HH:mm` * minLength: 16 * maxLength: 16
*/
'airline_leg_date_of_travel'?: string;
'airlineLegDateOfTravel'?: string;
/**
* Alphabetical identifier of the departure airport. This field is required if the airline data includes leg details. * Format: [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code. * Example: Amsterdam = AMS * minLength: 3 * maxLength: 3
*/
'airline_leg_depart_airport'?: string;
'airlineLegDepartAirport'?: string;
/**
* [Departure tax](https://en.wikipedia.org/wiki/Departure_tax). Amount charged by a country to an individual upon their leaving. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). * minLength: 1 * maxLength: 12
*/
'airline_leg_depart_tax'?: string;
'airlineLegDepartTax'?: string;
/**
* Alphabetical identifier of the destination/arrival airport. This field is required/mandatory if the airline data includes leg details. * Format: [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code. * Example: Amsterdam = AMS * minLength: 3 * maxLength: 3
*/
'airline_leg_destination_code'?: string;
'airlineLegDestinationCode'?: string;
/**
* [Fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code); alphanumeric. * minLength: 1 * maxLength: 7
*/
'airline_leg_fare_base_code'?: string;
'airlineLegFareBaseCode'?: string;
/**
* The flight identifier. * minLength: 1 * maxLength: 5
*/
'airline_leg_flight_number'?: string;
'airlineLegFlightNumber'?: string;
/**
* 1-letter code that indicates whether the passenger is entitled to make a stopover. Only two types of characters are allowed: * O: Stopover allowed * X: Stopover not allowed Limitations: * minLength: 1 * maxLength: 1
*/
'airline_leg_stop_over_code'?: string;
'airlineLegStopOverCode'?: string;
/**
* Date of birth of the passenger. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10
*/
'airline_passenger_date_of_birth'?: string;
'airlinePassengerDateOfBirth'?: string;
/**
* Passenger first name/given name. > This field is required/mandatory if the airline data includes passenger details or leg details.
*/
'airline_passenger_first_name'?: string;
'airlinePassengerFirstName'?: string;
/**
* Passenger last name/family name. > This field is required/mandatory if the airline data includes passenger details or leg details.
*/
'airline_passenger_last_name'?: string;
'airlinePassengerLastName'?: string;
/**
* Telephone number of the passenger, including country code. This is an alphanumeric field that can include the \'+\' and \'-\' signs. * minLength: 3 * maxLength: 30
*/
'airline_passenger_telephone_number'?: string;
'airlinePassengerTelephoneNumber'?: string;
/**
* Passenger type code (PTC). IATA PTC values are 3-letter alphabetical. Example: ADT, SRC, CNN, INS. However, several carriers use non-standard codes that can be up to 5 alphanumeric characters. * minLength: 3 * maxLength: 6
*/
'airline_passenger_traveller_type'?: string;
'airlinePassengerTravellerType'?: string;
/**
* Passenger name, initials, and a title. * Format: last name + first name or initials + title. * Example: *FLYER / MARY MS*. * minLength: 1 * maxLength: 49
*/
'airline_passenger_name': string;
'airlinePassengerName': string;
/**
* Address of the place/agency that issued the ticket. * minLength: 0 * maxLength: 16
*/
'airline_ticket_issue_address'?: string;
'airlineTicketIssueAddress'?: string;
/**
* The ticket\'s unique identifier. * minLength: 1 * maxLength: 150
*/
'airline_ticket_number'?: string;
'airlineTicketNumber'?: string;
/**
* IATA number, also ARC number or ARC/IATA number. Unique identifier number for travel agencies. * minLength: 1 * maxLength: 8
*/
'airline_travel_agency_code'?: string;
'airlineTravelAgencyCode'?: string;
/**
* The name of the travel agency. * minLength: 1 * maxLength: 25
*/
'airline_travel_agency_name'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "airline_agency_invoice_number",
"baseName": "airline.agency_invoice_number",
"type": "string"
},
{
"name": "airline_agency_plan_name",
"baseName": "airline.agency_plan_name",
"type": "string"
},
{
"name": "airline_airline_code",
"baseName": "airline.airline_code",
"type": "string"
},
{
"name": "airline_airline_designator_code",
"baseName": "airline.airline_designator_code",
"type": "string"
},
{
"name": "airline_boarding_fee",
"baseName": "airline.boarding_fee",
"type": "string"
},
{
"name": "airline_computerized_reservation_system",
"baseName": "airline.computerized_reservation_system",
"type": "string"
},
{
"name": "airline_customer_reference_number",
"baseName": "airline.customer_reference_number",
"type": "string"
},
{
"name": "airline_document_type",
"baseName": "airline.document_type",
"type": "string"
},
{
"name": "airline_flight_date",
"baseName": "airline.flight_date",
"type": "string"
},
{
"name": "airline_leg_carrier_code",
"baseName": "airline.leg.carrier_code",
"type": "string"
},
{
"name": "airline_leg_class_of_travel",
"baseName": "airline.leg.class_of_travel",
"type": "string"
},
{
"name": "airline_leg_date_of_travel",
"baseName": "airline.leg.date_of_travel",
"type": "string"
},
{
"name": "airline_leg_depart_airport",
"baseName": "airline.leg.depart_airport",
"type": "string"
},
{
"name": "airline_leg_depart_tax",
"baseName": "airline.leg.depart_tax",
"type": "string"
},
{
"name": "airline_leg_destination_code",
"baseName": "airline.leg.destination_code",
"type": "string"
},
{
"name": "airline_leg_fare_base_code",
"baseName": "airline.leg.fare_base_code",
"type": "string"
},
{
"name": "airline_leg_flight_number",
"baseName": "airline.leg.flight_number",
"type": "string"
},
{
"name": "airline_leg_stop_over_code",
"baseName": "airline.leg.stop_over_code",
"type": "string"
},
{
"name": "airline_passenger_date_of_birth",
"baseName": "airline.passenger.date_of_birth",
"type": "string"
},
{
"name": "airline_passenger_first_name",
"baseName": "airline.passenger.first_name",
"type": "string"
},
{
"name": "airline_passenger_last_name",
"baseName": "airline.passenger.last_name",
"type": "string"
},
{
"name": "airline_passenger_telephone_number",
"baseName": "airline.passenger.telephone_number",
"type": "string"
},
{
"name": "airline_passenger_traveller_type",
"baseName": "airline.passenger.traveller_type",
"type": "string"
},
{
"name": "airline_passenger_name",
"baseName": "airline.passenger_name",
"type": "string"
},
{
"name": "airline_ticket_issue_address",
"baseName": "airline.ticket_issue_address",
"type": "string"
},
{
"name": "airline_ticket_number",
"baseName": "airline.ticket_number",
"type": "string"
},
{
"name": "airline_travel_agency_code",
"baseName": "airline.travel_agency_code",
"type": "string"
},
{
"name": "airline_travel_agency_name",
"baseName": "airline.travel_agency_name",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalDataAirline.attributeTypeMap;
}
'airlineTravelAgencyName'?: string;
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,223 +26,98 @@
* Do not edit the class manually.
*/
export class AdditionalDataCarRental {
/**
* Pick-up date. * Date format: `yyyyMMdd`
*/
'carRental_checkOutDate'?: string;
'carRentalCheckOutDate'?: string;
/**
* The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17
*/
'carRental_customerServiceTollFreeNumber'?: string;
'carRentalCustomerServiceTollFreeNumber'?: string;
/**
* Number of days for which the car is being rented. * Format: Numeric * maxLength: 19
*/
'carRental_daysRented'?: string;
'carRentalDaysRented'?: string;
/**
* Any fuel charges associated with the rental. * Format: Numeric * maxLength: 12
*/
'carRental_fuelCharges'?: string;
'carRentalFuelCharges'?: string;
/**
* Any insurance charges associated with the rental. * Format: Numeric * maxLength: 12
*/
'carRental_insuranceCharges'?: string;
'carRentalInsuranceCharges'?: string;
/**
* The city from which the car is rented. * Format: Alphanumeric * maxLength: 18
*/
'carRental_locationCity'?: string;
'carRentalLocationCity'?: string;
/**
* The country from which the car is rented. * Format: Alphanumeric * maxLength: 2
*/
'carRental_locationCountry'?: string;
'carRentalLocationCountry'?: string;
/**
* The state or province from where the car is rented. * Format: Alphanumeric * maxLength: 3
*/
'carRental_locationStateProvince'?: string;
'carRentalLocationStateProvince'?: string;
/**
* Indicates if the customer was a \"no-show\" (neither keeps nor cancels their booking). * Y - Customer was a no show. * N - Not applicable.
*/
'carRental_noShowIndicator'?: string;
'carRentalNoShowIndicator'?: string;
/**
* Charge associated with not returning a vehicle to the original rental location.
*/
'carRental_oneWayDropOffCharges'?: string;
'carRentalOneWayDropOffCharges'?: string;
/**
* Daily rental rate. * Format: Alphanumeric * maxLength: 12
*/
'carRental_rate'?: string;
'carRentalRate'?: string;
/**
* Specifies whether the given rate is applied daily or weekly. * D - Daily rate. * W - Weekly rate.
*/
'carRental_rateIndicator'?: string;
'carRentalRateIndicator'?: string;
/**
* The rental agreement number associated with this car rental. * Format: Alphanumeric * maxLength: 9
*/
'carRental_rentalAgreementNumber'?: string;
'carRentalRentalAgreementNumber'?: string;
/**
* Daily rental rate. * Format: Alphanumeric * maxLength: 12
*/
'carRental_rentalClassId'?: string;
'carRentalRentalClassId'?: string;
/**
* The name of the person renting the car. * Format: Alphanumeric * maxLength: 26
*/
'carRental_renterName'?: string;
'carRentalRenterName'?: string;
/**
* The city where the car must be returned. * Format: Alphanumeric * maxLength: 18
*/
'carRental_returnCity'?: string;
'carRentalReturnCity'?: string;
/**
* The country where the car must be returned. * Format: Alphanumeric * maxLength: 2
*/
'carRental_returnCountry'?: string;
'carRentalReturnCountry'?: string;
/**
* The last date to return the car by. * Date format: `yyyyMMdd`
*/
'carRental_returnDate'?: string;
'carRentalReturnDate'?: string;
/**
* Agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10
*/
'carRental_returnLocationId'?: string;
'carRentalReturnLocationId'?: string;
/**
* The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3
*/
'carRental_returnStateProvince'?: string;
'carRentalReturnStateProvince'?: string;
/**
* Indicates whether the goods or services were tax-exempt, or tax was not collected. Values: * Y - Goods or services were tax exempt * N - Tax was not collected
*/
'carRental_taxExemptIndicator'?: string;
'carRentalTaxExemptIndicator'?: string;
/**
* Number of nights. This should be included in the auth message. * Format: Numeric * maxLength: 2
*/
'travelEntertainmentAuthData_duration'?: string;
'travelEntertainmentAuthDataDuration'?: string;
/**
* Indicates what market-specific dataset will be submitted or is being submitted. Value should be \"A\" for Car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1
*/
'travelEntertainmentAuthData_market'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "carRental_checkOutDate",
"baseName": "carRental.checkOutDate",
"type": "string"
},
{
"name": "carRental_customerServiceTollFreeNumber",
"baseName": "carRental.customerServiceTollFreeNumber",
"type": "string"
},
{
"name": "carRental_daysRented",
"baseName": "carRental.daysRented",
"type": "string"
},
{
"name": "carRental_fuelCharges",
"baseName": "carRental.fuelCharges",
"type": "string"
},
{
"name": "carRental_insuranceCharges",
"baseName": "carRental.insuranceCharges",
"type": "string"
},
{
"name": "carRental_locationCity",
"baseName": "carRental.locationCity",
"type": "string"
},
{
"name": "carRental_locationCountry",
"baseName": "carRental.locationCountry",
"type": "string"
},
{
"name": "carRental_locationStateProvince",
"baseName": "carRental.locationStateProvince",
"type": "string"
},
{
"name": "carRental_noShowIndicator",
"baseName": "carRental.noShowIndicator",
"type": "string"
},
{
"name": "carRental_oneWayDropOffCharges",
"baseName": "carRental.oneWayDropOffCharges",
"type": "string"
},
{
"name": "carRental_rate",
"baseName": "carRental.rate",
"type": "string"
},
{
"name": "carRental_rateIndicator",
"baseName": "carRental.rateIndicator",
"type": "string"
},
{
"name": "carRental_rentalAgreementNumber",
"baseName": "carRental.rentalAgreementNumber",
"type": "string"
},
{
"name": "carRental_rentalClassId",
"baseName": "carRental.rentalClassId",
"type": "string"
},
{
"name": "carRental_renterName",
"baseName": "carRental.renterName",
"type": "string"
},
{
"name": "carRental_returnCity",
"baseName": "carRental.returnCity",
"type": "string"
},
{
"name": "carRental_returnCountry",
"baseName": "carRental.returnCountry",
"type": "string"
},
{
"name": "carRental_returnDate",
"baseName": "carRental.returnDate",
"type": "string"
},
{
"name": "carRental_returnLocationId",
"baseName": "carRental.returnLocationId",
"type": "string"
},
{
"name": "carRental_returnStateProvince",
"baseName": "carRental.returnStateProvince",
"type": "string"
},
{
"name": "carRental_taxExemptIndicator",
"baseName": "carRental.taxExemptIndicator",
"type": "string"
},
{
"name": "travelEntertainmentAuthData_duration",
"baseName": "travelEntertainmentAuthData.duration",
"type": "string"
},
{
"name": "travelEntertainmentAuthData_market",
"baseName": "travelEntertainmentAuthData.market",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalDataCarRental.attributeTypeMap;
}
'travelEntertainmentAuthDataMarket'?: string;
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,13 +26,11 @@
* Do not edit the class manually.
*/
export class AdditionalDataCommon {
/**
* Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** There wasn\'t a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response.
*/
'RequestedTestErrorResponseCode'?: string;
'requestedTestErrorResponseCode'?: string;
/**
* Flags a card payment request for either pre-authorisation or final authorisation. For more information, refer to [Authorisation types](https://docs.adyen.com/online-payments/adjust-authorisation#authorisation-types). Allowed values: * **PreAuth** flags the payment request to be handled as a pre-authorisation. * **FinalAuth** flags the payment request to be handled as a final authorisation.
*/
@@ -88,84 +83,6 @@ export class AdditionalDataCommon {
* This field is required if the transaction is performed by a registered payment facilitator. This field must contain the tax ID of the actual merchant. * Format: alpha-numeric. * Fixed length: 11 or 14 characters.
*/
'subMerchantTaxId'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "RequestedTestErrorResponseCode",
"baseName": "RequestedTestErrorResponseCode",
"type": "string"
},
{
"name": "authorisationType",
"baseName": "authorisationType",
"type": "string"
},
{
"name": "customRoutingFlag",
"baseName": "customRoutingFlag",
"type": "string"
},
{
"name": "industryUsage",
"baseName": "industryUsage",
"type": "AdditionalDataCommon.IndustryUsageEnum"
},
{
"name": "networkTxReference",
"baseName": "networkTxReference",
"type": "string"
},
{
"name": "overwriteBrand",
"baseName": "overwriteBrand",
"type": "string"
},
{
"name": "subMerchantCity",
"baseName": "subMerchantCity",
"type": "string"
},
{
"name": "subMerchantCountry",
"baseName": "subMerchantCountry",
"type": "string"
},
{
"name": "subMerchantID",
"baseName": "subMerchantID",
"type": "string"
},
{
"name": "subMerchantName",
"baseName": "subMerchantName",
"type": "string"
},
{
"name": "subMerchantPostalCode",
"baseName": "subMerchantPostalCode",
"type": "string"
},
{
"name": "subMerchantState",
"baseName": "subMerchantState",
"type": "string"
},
{
"name": "subMerchantStreet",
"baseName": "subMerchantStreet",
"type": "string"
},
{
"name": "subMerchantTaxId",
"baseName": "subMerchantTaxId",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalDataCommon.attributeTypeMap;
}
}
export namespace AdditionalDataCommon {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,169 +26,74 @@
* Do not edit the class manually.
*/
export class AdditionalDataLevel23 {
/**
* Customer code, if supplied by a customer. Encoding: ASCII. Max length: 25 characters. > Required for Level 2 and Level 3 data.
*/
'enhancedSchemeData_customerReference'?: string;
'enhancedSchemeDataCustomerReference'?: string;
/**
* Destination country code. Encoding: ASCII. Max length: 3 characters.
*/
'enhancedSchemeData_destinationCountryCode'?: string;
'enhancedSchemeDataDestinationCountryCode'?: string;
/**
* The postal code of a destination address. Encoding: ASCII. Max length: 10 characters. > Required for American Express.
*/
'enhancedSchemeData_destinationPostalCode'?: string;
'enhancedSchemeDataDestinationPostalCode'?: string;
/**
* Destination state or province code. Encoding: ASCII.Max length: 3 characters.
*/
'enhancedSchemeData_destinationStateProvinceCode'?: string;
'enhancedSchemeDataDestinationStateProvinceCode'?: string;
/**
* Duty amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters.
*/
'enhancedSchemeData_dutyAmount'?: string;
'enhancedSchemeDataDutyAmount'?: string;
/**
* Shipping amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters.
*/
'enhancedSchemeData_freightAmount'?: string;
'enhancedSchemeDataFreightAmount'?: string;
/**
* Item commodity code. Encoding: ASCII. Max length: 12 characters.
*/
'enhancedSchemeData_itemDetailLine_itemNr_commodityCode'?: string;
'enhancedSchemeDataItemDetailLineItemNrCommodityCode'?: string;
/**
* Item description. Encoding: ASCII. Max length: 26 characters.
*/
'enhancedSchemeData_itemDetailLine_itemNr_description'?: string;
'enhancedSchemeDataItemDetailLineItemNrDescription'?: string;
/**
* Discount amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters.
*/
'enhancedSchemeData_itemDetailLine_itemNr_discountAmount'?: string;
'enhancedSchemeDataItemDetailLineItemNrDiscountAmount'?: string;
/**
* Product code. Encoding: ASCII. Max length: 12 characters.
*/
'enhancedSchemeData_itemDetailLine_itemNr_productCode'?: string;
'enhancedSchemeDataItemDetailLineItemNrProductCode'?: string;
/**
* Quantity, specified as an integer value. Value must be greater than 0. Max length: 12 characters.
*/
'enhancedSchemeData_itemDetailLine_itemNr_quantity'?: string;
'enhancedSchemeDataItemDetailLineItemNrQuantity'?: string;
/**
* Total amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters.
*/
'enhancedSchemeData_itemDetailLine_itemNr_totalAmount'?: string;
'enhancedSchemeDataItemDetailLineItemNrTotalAmount'?: string;
/**
* Item unit of measurement. Encoding: ASCII. Max length: 3 characters.
*/
'enhancedSchemeData_itemDetailLine_itemNr_unitOfMeasure'?: string;
'enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure'?: string;
/**
* Unit price, specified in [minor units](https://docs.adyen.com/development-resources/currency-codes). Max length: 12 characters.
*/
'enhancedSchemeData_itemDetailLine_itemNr_unitPrice'?: string;
'enhancedSchemeDataItemDetailLineItemNrUnitPrice'?: string;
/**
* Order date. * Format: `ddMMyy` Encoding: ASCII. Max length: 6 characters.
*/
'enhancedSchemeData_orderDate'?: string;
'enhancedSchemeDataOrderDate'?: string;
/**
* The postal code of a \"ship-from\" address. Encoding: ASCII. Max length: 10 characters.
*/
'enhancedSchemeData_shipFromPostalCode'?: string;
'enhancedSchemeDataShipFromPostalCode'?: string;
/**
* Total tax amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters. > Required for Level 2 and Level 3 data.
*/
'enhancedSchemeData_totalTaxAmount'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "enhancedSchemeData_customerReference",
"baseName": "enhancedSchemeData.customerReference",
"type": "string"
},
{
"name": "enhancedSchemeData_destinationCountryCode",
"baseName": "enhancedSchemeData.destinationCountryCode",
"type": "string"
},
{
"name": "enhancedSchemeData_destinationPostalCode",
"baseName": "enhancedSchemeData.destinationPostalCode",
"type": "string"
},
{
"name": "enhancedSchemeData_destinationStateProvinceCode",
"baseName": "enhancedSchemeData.destinationStateProvinceCode",
"type": "string"
},
{
"name": "enhancedSchemeData_dutyAmount",
"baseName": "enhancedSchemeData.dutyAmount",
"type": "string"
},
{
"name": "enhancedSchemeData_freightAmount",
"baseName": "enhancedSchemeData.freightAmount",
"type": "string"
},
{
"name": "enhancedSchemeData_itemDetailLine_itemNr_commodityCode",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].commodityCode",
"type": "string"
},
{
"name": "enhancedSchemeData_itemDetailLine_itemNr_description",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].description",
"type": "string"
},
{
"name": "enhancedSchemeData_itemDetailLine_itemNr_discountAmount",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].discountAmount",
"type": "string"
},
{
"name": "enhancedSchemeData_itemDetailLine_itemNr_productCode",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].productCode",
"type": "string"
},
{
"name": "enhancedSchemeData_itemDetailLine_itemNr_quantity",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].quantity",
"type": "string"
},
{
"name": "enhancedSchemeData_itemDetailLine_itemNr_totalAmount",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].totalAmount",
"type": "string"
},
{
"name": "enhancedSchemeData_itemDetailLine_itemNr_unitOfMeasure",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].unitOfMeasure",
"type": "string"
},
{
"name": "enhancedSchemeData_itemDetailLine_itemNr_unitPrice",
"baseName": "enhancedSchemeData.itemDetailLine[itemNr].unitPrice",
"type": "string"
},
{
"name": "enhancedSchemeData_orderDate",
"baseName": "enhancedSchemeData.orderDate",
"type": "string"
},
{
"name": "enhancedSchemeData_shipFromPostalCode",
"baseName": "enhancedSchemeData.shipFromPostalCode",
"type": "string"
},
{
"name": "enhancedSchemeData_totalTaxAmount",
"baseName": "enhancedSchemeData.totalTaxAmount",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalDataLevel23.attributeTypeMap;
}
'enhancedSchemeDataTotalTaxAmount'?: string;
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,169 +26,74 @@
* Do not edit the class manually.
*/
export class AdditionalDataLodging {
/**
* The arrival date. * Date format: `yyyyMMdd`
*/
'lodging_checkInDate'?: string;
'lodgingCheckInDate'?: string;
/**
* The departure date. * Date format: `yyyyMMdd`
*/
'lodging_checkOutDate'?: string;
'lodgingCheckOutDate'?: string;
/**
* The toll free phone number for the hotel/lodgings. * Format: Alphanumeric * maxLength: 17
*/
'lodging_customerServiceTollFreeNumber'?: string;
'lodgingCustomerServiceTollFreeNumber'?: string;
/**
* Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Values can be: \'Y\' or \'N\'. * Format: Alphabetic * maxLength: 1
*/
'lodging_fireSafetyActIndicator'?: string;
'lodgingFireSafetyActIndicator'?: string;
/**
* The folio cash advances. * Format: Numeric * maxLength: 12
*/
'lodging_folioCashAdvances'?: string;
'lodgingFolioCashAdvances'?: string;
/**
* Card acceptors internal invoice or billing ID reference number. * Format: Alphanumeric * maxLength: 25
*/
'lodging_folioNumber'?: string;
'lodgingFolioNumber'?: string;
/**
* Any charges for food and beverages associated with the booking. * Format: Numeric * maxLength: 12
*/
'lodging_foodBeverageCharges'?: string;
'lodgingFoodBeverageCharges'?: string;
/**
* Indicates if the customer was a \"no-show\" (neither keeps nor cancels their booking). Value should be Y or N. * Format: Numeric * maxLength: 1
*/
'lodging_noShowIndicator'?: string;
'lodgingNoShowIndicator'?: string;
/**
* Prepaid expenses for the booking. * Format: Numeric * maxLength: 12
*/
'lodging_prepaidExpenses'?: string;
'lodgingPrepaidExpenses'?: string;
/**
* Identifies specific lodging property location by its local phone number. * Format: Alphanumeric * maxLength: 17
*/
'lodging_propertyPhoneNumber'?: string;
'lodgingPropertyPhoneNumber'?: string;
/**
* Total number of nights the room will be rented. * Format: Numeric * maxLength: 4
*/
'lodging_room1_numberOfNights'?: string;
'lodgingRoom1NumberOfNights'?: string;
/**
* The rate of the room. * Format: Numeric * maxLength: 12
*/
'lodging_room1_rate'?: string;
'lodgingRoom1Rate'?: string;
/**
* The total amount of tax to be paid. * Format: Numeric * maxLength: 12
*/
'lodging_room1_tax'?: string;
'lodgingRoom1Tax'?: string;
/**
* Total room tax amount. * Format: Numeric * maxLength: 12
*/
'lodging_totalRoomTax'?: string;
'lodgingTotalRoomTax'?: string;
/**
* Total tax amount. * Format: Numeric * maxLength: 12
*/
'lodging_totalTax'?: string;
'lodgingTotalTax'?: string;
/**
* Number of nights. This should be included in the auth message. * Format: Numeric * maxLength: 2
*/
'travelEntertainmentAuthData_duration'?: string;
'travelEntertainmentAuthDataDuration'?: string;
/**
* Indicates what market-specific dataset will be submitted or is being submitted. Value should be \"H\" for Hotel. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1
*/
'travelEntertainmentAuthData_market'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "lodging_checkInDate",
"baseName": "lodging.checkInDate",
"type": "string"
},
{
"name": "lodging_checkOutDate",
"baseName": "lodging.checkOutDate",
"type": "string"
},
{
"name": "lodging_customerServiceTollFreeNumber",
"baseName": "lodging.customerServiceTollFreeNumber",
"type": "string"
},
{
"name": "lodging_fireSafetyActIndicator",
"baseName": "lodging.fireSafetyActIndicator",
"type": "string"
},
{
"name": "lodging_folioCashAdvances",
"baseName": "lodging.folioCashAdvances",
"type": "string"
},
{
"name": "lodging_folioNumber",
"baseName": "lodging.folioNumber",
"type": "string"
},
{
"name": "lodging_foodBeverageCharges",
"baseName": "lodging.foodBeverageCharges",
"type": "string"
},
{
"name": "lodging_noShowIndicator",
"baseName": "lodging.noShowIndicator",
"type": "string"
},
{
"name": "lodging_prepaidExpenses",
"baseName": "lodging.prepaidExpenses",
"type": "string"
},
{
"name": "lodging_propertyPhoneNumber",
"baseName": "lodging.propertyPhoneNumber",
"type": "string"
},
{
"name": "lodging_room1_numberOfNights",
"baseName": "lodging.room1.numberOfNights",
"type": "string"
},
{
"name": "lodging_room1_rate",
"baseName": "lodging.room1.rate",
"type": "string"
},
{
"name": "lodging_room1_tax",
"baseName": "lodging.room1.tax",
"type": "string"
},
{
"name": "lodging_totalRoomTax",
"baseName": "lodging.totalRoomTax",
"type": "string"
},
{
"name": "lodging_totalTax",
"baseName": "lodging.totalTax",
"type": "string"
},
{
"name": "travelEntertainmentAuthData_duration",
"baseName": "travelEntertainmentAuthData.duration",
"type": "string"
},
{
"name": "travelEntertainmentAuthData_market",
"baseName": "travelEntertainmentAuthData.market",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalDataLodging.attributeTypeMap;
}
'travelEntertainmentAuthDataMarket'?: string;
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,160 +26,70 @@
* Do not edit the class manually.
*/
export class AdditionalDataOpenInvoice {
/**
* Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it\'s not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string.
*/
'openinvoicedata_merchantData'?: string;
'openinvoicedataMerchantData'?: string;
/**
* The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1.
*/
'openinvoicedata_numberOfLines'?: string;
'openinvoicedataNumberOfLines'?: string;
/**
* The three-character ISO currency code.
*/
'openinvoicedataLine_itemNr_currencyCode'?: string;
'openinvoicedataLineItemNrCurrencyCode'?: string;
/**
* A text description of the product the invoice line refers to.
*/
'openinvoicedataLine_itemNr_description'?: string;
'openinvoicedataLineItemNrDescription'?: string;
/**
* The price for one item in the invoice line, represented in minor units. The due amount for the item, VAT excluded.
*/
'openinvoicedataLine_itemNr_itemAmount'?: string;
'openinvoicedataLineItemNrItemAmount'?: string;
/**
* A unique id for this item. Required for RatePay if the description of each item is not unique.
*/
'openinvoicedataLine_itemNr_itemId'?: string;
'openinvoicedataLineItemNrItemId'?: string;
/**
* The VAT due for one item in the invoice line, represented in minor units.
*/
'openinvoicedataLine_itemNr_itemVatAmount'?: string;
'openinvoicedataLineItemNrItemVatAmount'?: string;
/**
* The VAT percentage for one item in the invoice line, represented in minor units. For example, 19% VAT is specified as 1900.
*/
'openinvoicedataLine_itemNr_itemVatPercentage'?: string;
'openinvoicedataLineItemNrItemVatPercentage'?: string;
/**
* The number of units purchased of a specific product.
*/
'openinvoicedataLine_itemNr_numberOfItems'?: string;
'openinvoicedataLineItemNrNumberOfItems'?: string;
/**
* Name of the shipping company handling the the return shipment.
*/
'openinvoicedataLine_itemNr_returnShippingCompany'?: string;
'openinvoicedataLineItemNrReturnShippingCompany'?: string;
/**
* The tracking number for the return of the shipment.
*/
'openinvoicedataLine_itemNr_returnTrackingNumber'?: string;
'openinvoicedataLineItemNrReturnTrackingNumber'?: string;
/**
* URI where the customer can track the return of their shipment.
*/
'openinvoicedataLine_itemNr_returnTrackingUri'?: string;
'openinvoicedataLineItemNrReturnTrackingUri'?: string;
/**
* Name of the shipping company handling the delivery.
*/
'openinvoicedataLine_itemNr_shippingCompany'?: string;
'openinvoicedataLineItemNrShippingCompany'?: string;
/**
* Shipping method.
*/
'openinvoicedataLine_itemNr_shippingMethod'?: string;
'openinvoicedataLineItemNrShippingMethod'?: string;
/**
* The tracking number for the shipment.
*/
'openinvoicedataLine_itemNr_trackingNumber'?: string;
'openinvoicedataLineItemNrTrackingNumber'?: string;
/**
* URI where the customer can track their shipment.
*/
'openinvoicedataLine_itemNr_trackingUri'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "openinvoicedata_merchantData",
"baseName": "openinvoicedata.merchantData",
"type": "string"
},
{
"name": "openinvoicedata_numberOfLines",
"baseName": "openinvoicedata.numberOfLines",
"type": "string"
},
{
"name": "openinvoicedataLine_itemNr_currencyCode",
"baseName": "openinvoicedataLine[itemNr].currencyCode",
"type": "string"
},
{
"name": "openinvoicedataLine_itemNr_description",
"baseName": "openinvoicedataLine[itemNr].description",
"type": "string"
},
{
"name": "openinvoicedataLine_itemNr_itemAmount",
"baseName": "openinvoicedataLine[itemNr].itemAmount",
"type": "string"
},
{
"name": "openinvoicedataLine_itemNr_itemId",
"baseName": "openinvoicedataLine[itemNr].itemId",
"type": "string"
},
{
"name": "openinvoicedataLine_itemNr_itemVatAmount",
"baseName": "openinvoicedataLine[itemNr].itemVatAmount",
"type": "string"
},
{
"name": "openinvoicedataLine_itemNr_itemVatPercentage",
"baseName": "openinvoicedataLine[itemNr].itemVatPercentage",
"type": "string"
},
{
"name": "openinvoicedataLine_itemNr_numberOfItems",
"baseName": "openinvoicedataLine[itemNr].numberOfItems",
"type": "string"
},
{
"name": "openinvoicedataLine_itemNr_returnShippingCompany",
"baseName": "openinvoicedataLine[itemNr].returnShippingCompany",
"type": "string"
},
{
"name": "openinvoicedataLine_itemNr_returnTrackingNumber",
"baseName": "openinvoicedataLine[itemNr].returnTrackingNumber",
"type": "string"
},
{
"name": "openinvoicedataLine_itemNr_returnTrackingUri",
"baseName": "openinvoicedataLine[itemNr].returnTrackingUri",
"type": "string"
},
{
"name": "openinvoicedataLine_itemNr_shippingCompany",
"baseName": "openinvoicedataLine[itemNr].shippingCompany",
"type": "string"
},
{
"name": "openinvoicedataLine_itemNr_shippingMethod",
"baseName": "openinvoicedataLine[itemNr].shippingMethod",
"type": "string"
},
{
"name": "openinvoicedataLine_itemNr_trackingNumber",
"baseName": "openinvoicedataLine[itemNr].trackingNumber",
"type": "string"
},
{
"name": "openinvoicedataLine_itemNr_trackingUri",
"baseName": "openinvoicedataLine[itemNr].trackingUri",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalDataOpenInvoice.attributeTypeMap;
}
'openinvoicedataLineItemNrTrackingUri'?: string;
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,25 +26,10 @@
* Do not edit the class manually.
*/
export class AdditionalDataOpi {
/**
* Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce).
*/
'opi_includeTransToken'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "opi_includeTransToken",
"baseName": "opi.includeTransToken",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalDataOpi.attributeTypeMap;
}
'opiIncludeTransToken'?: string;
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,88 +26,38 @@
* Do not edit the class manually.
*/
export class AdditionalDataRatepay {
/**
* Amount the customer has to pay each month.
*/
'ratepay_installmentAmount'?: string;
'ratepayInstallmentAmount'?: string;
/**
* Interest rate of this installment.
*/
'ratepay_interestRate'?: string;
'ratepayInterestRate'?: string;
/**
* Amount of the last installment.
*/
'ratepay_lastInstallmentAmount'?: string;
'ratepayLastInstallmentAmount'?: string;
/**
* Calendar day of the first payment.
*/
'ratepay_paymentFirstday'?: string;
'ratepayPaymentFirstday'?: string;
/**
* Date the merchant delivered the goods to the customer.
*/
'ratepaydata_deliveryDate'?: string;
'ratepaydataDeliveryDate'?: string;
/**
* Date by which the customer must settle the payment.
*/
'ratepaydata_dueDate'?: string;
'ratepaydataDueDate'?: string;
/**
* Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date.
*/
'ratepaydata_invoiceDate'?: string;
'ratepaydataInvoiceDate'?: string;
/**
* Identification name or number for the invoice, defined by the merchant.
*/
'ratepaydata_invoiceId'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "ratepay_installmentAmount",
"baseName": "ratepay.installmentAmount",
"type": "string"
},
{
"name": "ratepay_interestRate",
"baseName": "ratepay.interestRate",
"type": "string"
},
{
"name": "ratepay_lastInstallmentAmount",
"baseName": "ratepay.lastInstallmentAmount",
"type": "string"
},
{
"name": "ratepay_paymentFirstday",
"baseName": "ratepay.paymentFirstday",
"type": "string"
},
{
"name": "ratepaydata_deliveryDate",
"baseName": "ratepaydata.deliveryDate",
"type": "string"
},
{
"name": "ratepaydata_dueDate",
"baseName": "ratepaydata.dueDate",
"type": "string"
},
{
"name": "ratepaydata_invoiceDate",
"baseName": "ratepaydata.invoiceDate",
"type": "string"
},
{
"name": "ratepaydata_invoiceId",
"baseName": "ratepaydata.invoiceId",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalDataRatepay.attributeTypeMap;
}
'ratepaydataInvoiceId'?: string;
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,43 +26,18 @@
* Do not edit the class manually.
*/
export class AdditionalDataRetry {
/**
* The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
*/
'retry_chainAttemptNumber'?: string;
'retryChainAttemptNumber'?: string;
/**
* The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
*/
'retry_orderAttemptNumber'?: string;
'retryOrderAttemptNumber'?: string;
/**
* The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together.
*/
'retry_skipRetry'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "retry_chainAttemptNumber",
"baseName": "retry.chainAttemptNumber",
"type": "string"
},
{
"name": "retry_orderAttemptNumber",
"baseName": "retry.orderAttemptNumber",
"type": "string"
},
{
"name": "retry_skipRetry",
"baseName": "retry.skipRetry",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalDataRetry.attributeTypeMap;
}
'retrySkipRetry'?: string;
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,205 +26,90 @@
* Do not edit the class manually.
*/
export class AdditionalDataRisk {
/**
* The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields).
*/
'riskdata__customFieldName'?: string;
'riskdataCustomFieldName'?: string;
/**
* The price of item in the basket, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes).
*/
'riskdata_basket_item_itemNr_amountPerItem'?: string;
'riskdataBasketItemItemNrAmountPerItem'?: string;
/**
* Brand of the item.
*/
'riskdata_basket_item_itemNr_brand'?: string;
'riskdataBasketItemItemNrBrand'?: string;
/**
* Category of the item.
*/
'riskdata_basket_item_itemNr_category'?: string;
'riskdataBasketItemItemNrCategory'?: string;
/**
* Color of the item.
*/
'riskdata_basket_item_itemNr_color'?: string;
'riskdataBasketItemItemNrColor'?: string;
/**
* The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).
*/
'riskdata_basket_item_itemNr_currency'?: string;
'riskdataBasketItemItemNrCurrency'?: string;
/**
* ID of the item.
*/
'riskdata_basket_item_itemNr_itemID'?: string;
'riskdataBasketItemItemNrItemID'?: string;
/**
* Manufacturer of the item.
*/
'riskdata_basket_item_itemNr_manufacturer'?: string;
'riskdataBasketItemItemNrManufacturer'?: string;
/**
* A text description of the product the invoice line refers to.
*/
'riskdata_basket_item_itemNr_productTitle'?: string;
'riskdataBasketItemItemNrProductTitle'?: string;
/**
* Quantity of the item purchased.
*/
'riskdata_basket_item_itemNr_quantity'?: string;
'riskdataBasketItemItemNrQuantity'?: string;
/**
* Email associated with the given product in the basket (usually in electronic gift cards).
*/
'riskdata_basket_item_itemNr_receiverEmail'?: string;
'riskdataBasketItemItemNrReceiverEmail'?: string;
/**
* Size of the item.
*/
'riskdata_basket_item_itemNr_size'?: string;
'riskdataBasketItemItemNrSize'?: string;
/**
* [Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit).
*/
'riskdata_basket_item_itemNr_sku'?: string;
'riskdataBasketItemItemNrSku'?: string;
/**
* [Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code).
*/
'riskdata_basket_item_itemNr_upc'?: string;
'riskdataBasketItemItemNrUpc'?: string;
/**
* Code of the promotion.
*/
'riskdata_promotions_promotion_itemNr_promotionCode'?: string;
'riskdataPromotionsPromotionItemNrPromotionCode'?: string;
/**
* The discount amount of the promotion, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes).
*/
'riskdata_promotions_promotion_itemNr_promotionDiscountAmount'?: string;
'riskdataPromotionsPromotionItemNrPromotionDiscountAmount'?: string;
/**
* The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217).
*/
'riskdata_promotions_promotion_itemNr_promotionDiscountCurrency'?: string;
'riskdataPromotionsPromotionItemNrPromotionDiscountCurrency'?: string;
/**
* Promotion\'s percentage discount. It is represented in percentage value and there is no need to include the \'%\' sign. e.g. for a promotion discount of 30%, the value of the field should be 30.
*/
'riskdata_promotions_promotion_itemNr_promotionDiscountPercentage'?: string;
'riskdataPromotionsPromotionItemNrPromotionDiscountPercentage'?: string;
/**
* Name of the promotion.
*/
'riskdata_promotions_promotion_itemNr_promotionName'?: string;
'riskdataPromotionsPromotionItemNrPromotionName'?: string;
/**
* Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account\'s default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment).
*/
'riskdata_riskProfileReference'?: string;
'riskdataRiskProfileReference'?: string;
/**
* If this parameter is provided with the value **true**, risk checks for the payment request are skipped and the transaction will not get a risk score.
*/
'riskdata_skipRisk'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "riskdata__customFieldName",
"baseName": "riskdata.[customFieldName]",
"type": "string"
},
{
"name": "riskdata_basket_item_itemNr_amountPerItem",
"baseName": "riskdata.basket.item[itemNr].amountPerItem",
"type": "string"
},
{
"name": "riskdata_basket_item_itemNr_brand",
"baseName": "riskdata.basket.item[itemNr].brand",
"type": "string"
},
{
"name": "riskdata_basket_item_itemNr_category",
"baseName": "riskdata.basket.item[itemNr].category",
"type": "string"
},
{
"name": "riskdata_basket_item_itemNr_color",
"baseName": "riskdata.basket.item[itemNr].color",
"type": "string"
},
{
"name": "riskdata_basket_item_itemNr_currency",
"baseName": "riskdata.basket.item[itemNr].currency",
"type": "string"
},
{
"name": "riskdata_basket_item_itemNr_itemID",
"baseName": "riskdata.basket.item[itemNr].itemID",
"type": "string"
},
{
"name": "riskdata_basket_item_itemNr_manufacturer",
"baseName": "riskdata.basket.item[itemNr].manufacturer",
"type": "string"
},
{
"name": "riskdata_basket_item_itemNr_productTitle",
"baseName": "riskdata.basket.item[itemNr].productTitle",
"type": "string"
},
{
"name": "riskdata_basket_item_itemNr_quantity",
"baseName": "riskdata.basket.item[itemNr].quantity",
"type": "string"
},
{
"name": "riskdata_basket_item_itemNr_receiverEmail",
"baseName": "riskdata.basket.item[itemNr].receiverEmail",
"type": "string"
},
{
"name": "riskdata_basket_item_itemNr_size",
"baseName": "riskdata.basket.item[itemNr].size",
"type": "string"
},
{
"name": "riskdata_basket_item_itemNr_sku",
"baseName": "riskdata.basket.item[itemNr].sku",
"type": "string"
},
{
"name": "riskdata_basket_item_itemNr_upc",
"baseName": "riskdata.basket.item[itemNr].upc",
"type": "string"
},
{
"name": "riskdata_promotions_promotion_itemNr_promotionCode",
"baseName": "riskdata.promotions.promotion[itemNr].promotionCode",
"type": "string"
},
{
"name": "riskdata_promotions_promotion_itemNr_promotionDiscountAmount",
"baseName": "riskdata.promotions.promotion[itemNr].promotionDiscountAmount",
"type": "string"
},
{
"name": "riskdata_promotions_promotion_itemNr_promotionDiscountCurrency",
"baseName": "riskdata.promotions.promotion[itemNr].promotionDiscountCurrency",
"type": "string"
},
{
"name": "riskdata_promotions_promotion_itemNr_promotionDiscountPercentage",
"baseName": "riskdata.promotions.promotion[itemNr].promotionDiscountPercentage",
"type": "string"
},
{
"name": "riskdata_promotions_promotion_itemNr_promotionName",
"baseName": "riskdata.promotions.promotion[itemNr].promotionName",
"type": "string"
},
{
"name": "riskdata_riskProfileReference",
"baseName": "riskdata.riskProfileReference",
"type": "string"
},
{
"name": "riskdata_skipRisk",
"baseName": "riskdata.skipRisk",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalDataRisk.attributeTypeMap;
}
'riskdataSkipRisk'?: string;
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,41 +26,39 @@
* Do not edit the class manually.
*/
export class AdditionalDataRiskStandalone {
/**
* Shopper\'s country of residence in the form of ISO standard 3166 2-character country codes.
*/
'PayPal_CountryCode'?: string;
'payPalCountryCode'?: string;
/**
* Shopper\'s email.
*/
'PayPal_EmailId'?: string;
'payPalEmailId'?: string;
/**
* Shopper\'s first name.
*/
'PayPal_FirstName'?: string;
'payPalFirstName'?: string;
/**
* Shopper\'s last name.
*/
'PayPal_LastName'?: string;
'payPalLastName'?: string;
/**
* Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters.
*/
'PayPal_PayerId'?: string;
'payPalPayerId'?: string;
/**
* Shopper\'s phone number.
*/
'PayPal_Phone'?: string;
'payPalPhone'?: string;
/**
* Allowed values: * **Eligible** — Merchant is protected by PayPal\'s Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal\'s Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy.
*/
'PayPal_ProtectionEligibility'?: string;
'payPalProtectionEligibility'?: string;
/**
* Unique transaction ID of the payment.
*/
'PayPal_TransactionId'?: string;
'payPalTransactionId'?: string;
/**
* Raw AVS result received from the acquirer, where available. Example: D
*/
@@ -92,88 +87,5 @@ export class AdditionalDataRiskStandalone {
* Required for PayPal payments only. The only supported value is: **paypal**.
*/
'tokenDataType'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "PayPal_CountryCode",
"baseName": "PayPal.CountryCode",
"type": "string"
},
{
"name": "PayPal_EmailId",
"baseName": "PayPal.EmailId",
"type": "string"
},
{
"name": "PayPal_FirstName",
"baseName": "PayPal.FirstName",
"type": "string"
},
{
"name": "PayPal_LastName",
"baseName": "PayPal.LastName",
"type": "string"
},
{
"name": "PayPal_PayerId",
"baseName": "PayPal.PayerId",
"type": "string"
},
{
"name": "PayPal_Phone",
"baseName": "PayPal.Phone",
"type": "string"
},
{
"name": "PayPal_ProtectionEligibility",
"baseName": "PayPal.ProtectionEligibility",
"type": "string"
},
{
"name": "PayPal_TransactionId",
"baseName": "PayPal.TransactionId",
"type": "string"
},
{
"name": "avsResultRaw",
"baseName": "avsResultRaw",
"type": "string"
},
{
"name": "bin",
"baseName": "bin",
"type": "string"
},
{
"name": "cvcResultRaw",
"baseName": "cvcResultRaw",
"type": "string"
},
{
"name": "riskToken",
"baseName": "riskToken",
"type": "string"
},
{
"name": "threeDAuthenticated",
"baseName": "threeDAuthenticated",
"type": "string"
},
{
"name": "threeDOffered",
"baseName": "threeDOffered",
"type": "string"
},
{
"name": "tokenDataType",
"baseName": "tokenDataType",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalDataRiskStandalone.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,106 +26,46 @@
* Do not edit the class manually.
*/
export class AdditionalDataSubMerchant {
/**
* Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**.
*/
'subMerchant_numberOfSubSellers'?: string;
'subMerchantNumberOfSubSellers'?: string;
/**
* Required for transactions performed by registered payment facilitators. The city of the sub-merchant\'s address. * Format: Alphanumeric * Maximum length: 13 characters
*/
'subMerchant_subSeller_subSellerNr_city'?: string;
'subMerchantSubSellerSubSellerNrCity'?: string;
/**
* Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant\'s address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters
*/
'subMerchant_subSeller_subSellerNr_country'?: string;
'subMerchantSubSellerSubSellerNrCountry'?: string;
/**
* Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters
*/
'subMerchant_subSeller_subSellerNr_id'?: string;
'subMerchantSubSellerSubSellerNrId'?: string;
/**
* Required for transactions performed by registered payment facilitators. The sub-merchant\'s 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits
*/
'subMerchant_subSeller_subSellerNr_mcc'?: string;
'subMerchantSubSellerSubSellerNrMcc'?: string;
/**
* Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters
*/
'subMerchant_subSeller_subSellerNr_name'?: string;
'subMerchantSubSellerSubSellerNrName'?: string;
/**
* Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant\'s address, without dashes. * Format: Numeric * Fixed length: 8 digits
*/
'subMerchant_subSeller_subSellerNr_postalCode'?: string;
'subMerchantSubSellerSubSellerNrPostalCode'?: string;
/**
* Required for transactions performed by registered payment facilitators. The state code of the sub-merchant\'s address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters
*/
'subMerchant_subSeller_subSellerNr_state'?: string;
'subMerchantSubSellerSubSellerNrState'?: string;
/**
* Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant\'s address. * Format: Alphanumeric * Maximum length: 60 characters
*/
'subMerchant_subSeller_subSellerNr_street'?: string;
'subMerchantSubSellerSubSellerNrStreet'?: string;
/**
* Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ
*/
'subMerchant_subSeller_subSellerNr_taxId'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "subMerchant_numberOfSubSellers",
"baseName": "subMerchant.numberOfSubSellers",
"type": "string"
},
{
"name": "subMerchant_subSeller_subSellerNr_city",
"baseName": "subMerchant.subSeller[subSellerNr].city",
"type": "string"
},
{
"name": "subMerchant_subSeller_subSellerNr_country",
"baseName": "subMerchant.subSeller[subSellerNr].country",
"type": "string"
},
{
"name": "subMerchant_subSeller_subSellerNr_id",
"baseName": "subMerchant.subSeller[subSellerNr].id",
"type": "string"
},
{
"name": "subMerchant_subSeller_subSellerNr_mcc",
"baseName": "subMerchant.subSeller[subSellerNr].mcc",
"type": "string"
},
{
"name": "subMerchant_subSeller_subSellerNr_name",
"baseName": "subMerchant.subSeller[subSellerNr].name",
"type": "string"
},
{
"name": "subMerchant_subSeller_subSellerNr_postalCode",
"baseName": "subMerchant.subSeller[subSellerNr].postalCode",
"type": "string"
},
{
"name": "subMerchant_subSeller_subSellerNr_state",
"baseName": "subMerchant.subSeller[subSellerNr].state",
"type": "string"
},
{
"name": "subMerchant_subSeller_subSellerNr_street",
"baseName": "subMerchant.subSeller[subSellerNr].street",
"type": "string"
},
{
"name": "subMerchant_subSeller_subSellerNr_taxId",
"baseName": "subMerchant.subSeller[subSellerNr].taxId",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalDataSubMerchant.attributeTypeMap;
}
'subMerchantSubSellerSubSellerNrTaxId'?: string;
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,97 +26,42 @@
* Do not edit the class manually.
*/
export class AdditionalDataTemporaryServices {
/**
* Customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25
*/
'enhancedSchemeData_customerReference'?: string;
'enhancedSchemeDataCustomerReference'?: string;
/**
* Name or ID associated with the individual working in a temporary capacity. * maxLength: 40
*/
'enhancedSchemeData_employeeName'?: string;
'enhancedSchemeDataEmployeeName'?: string;
/**
* Description of the job or task of the individual working in a temporary capacity. * maxLength: 40
*/
'enhancedSchemeData_jobDescription'?: string;
'enhancedSchemeDataJobDescription'?: string;
/**
* Amount paid per regular hours worked, minor units. * maxLength: 7
*/
'enhancedSchemeData_regularHoursRate'?: string;
'enhancedSchemeDataRegularHoursRate'?: string;
/**
* Amount of time worked during a normal operation for the task or job. * maxLength: 7
*/
'enhancedSchemeData_regularHoursWorked'?: string;
'enhancedSchemeDataRegularHoursWorked'?: string;
/**
* Name of the individual requesting temporary services. * maxLength: 40
*/
'enhancedSchemeData_requestName'?: string;
'enhancedSchemeDataRequestName'?: string;
/**
* Date for the beginning of the pay period. * Format: ddMMyy * maxLength: 6
*/
'enhancedSchemeData_tempStartDate'?: string;
'enhancedSchemeDataTempStartDate'?: string;
/**
* Date of the end of the billing cycle. * Format: ddMMyy * maxLength: 6
*/
'enhancedSchemeData_tempWeekEnding'?: string;
'enhancedSchemeDataTempWeekEnding'?: string;
/**
* Total tax amount, in minor units. For example, 2000 means USD 20.00 * maxLength: 12
*/
'enhancedSchemeData_totalTaxAmount'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "enhancedSchemeData_customerReference",
"baseName": "enhancedSchemeData.customerReference",
"type": "string"
},
{
"name": "enhancedSchemeData_employeeName",
"baseName": "enhancedSchemeData.employeeName",
"type": "string"
},
{
"name": "enhancedSchemeData_jobDescription",
"baseName": "enhancedSchemeData.jobDescription",
"type": "string"
},
{
"name": "enhancedSchemeData_regularHoursRate",
"baseName": "enhancedSchemeData.regularHoursRate",
"type": "string"
},
{
"name": "enhancedSchemeData_regularHoursWorked",
"baseName": "enhancedSchemeData.regularHoursWorked",
"type": "string"
},
{
"name": "enhancedSchemeData_requestName",
"baseName": "enhancedSchemeData.requestName",
"type": "string"
},
{
"name": "enhancedSchemeData_tempStartDate",
"baseName": "enhancedSchemeData.tempStartDate",
"type": "string"
},
{
"name": "enhancedSchemeData_tempWeekEnding",
"baseName": "enhancedSchemeData.tempWeekEnding",
"type": "string"
},
{
"name": "enhancedSchemeData_totalTaxAmount",
"baseName": "enhancedSchemeData.totalTaxAmount",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalDataTemporaryServices.attributeTypeMap;
}
'enhancedSchemeDataTotalTaxAmount'?: string;
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,70 +26,30 @@
* Do not edit the class manually.
*/
export class AdditionalDataWallets {
/**
* The Android Pay token retrieved from the SDK.
*/
'androidpay_token'?: string;
'androidpayToken'?: string;
/**
* The Mastercard Masterpass Transaction ID retrieved from the SDK.
*/
'masterpass_transactionId'?: string;
'masterpassTransactionId'?: string;
/**
* The Apple Pay token retrieved from the SDK.
*/
'payment_token'?: string;
'paymentToken'?: string;
/**
* The Google Pay token retrieved from the SDK.
*/
'paywithgoogle_token'?: string;
'paywithgoogleToken'?: string;
/**
* The Samsung Pay token retrieved from the SDK.
*/
'samsungpay_token'?: string;
'samsungpayToken'?: string;
/**
* The Visa Checkout Call ID retrieved from the SDK.
*/
'visacheckout_callId'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "androidpay_token",
"baseName": "androidpay.token",
"type": "string"
},
{
"name": "masterpass_transactionId",
"baseName": "masterpass.transactionId",
"type": "string"
},
{
"name": "payment_token",
"baseName": "payment.token",
"type": "string"
},
{
"name": "paywithgoogle_token",
"baseName": "paywithgoogle.token",
"type": "string"
},
{
"name": "samsungpay_token",
"baseName": "samsungpay.token",
"type": "string"
},
{
"name": "visacheckout_callId",
"baseName": "visacheckout.callId",
"type": "string"
} ];
static getAttributeTypeMap() {
return AdditionalDataWallets.attributeTypeMap;
}
'visacheckoutCallId'?: string;
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,15 +26,13 @@
* Do not edit the class manually.
*/
export class Address {
/**
* The name of the city. Maximum length: 3000 characters.
*/
'city': string;
/**
* The two-character country code as defined in ISO-3166-1 alpha-2. For example, **US**. > If you don\'t know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.
* The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don\'t know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.
*/
'country': string;
/**
@@ -49,50 +44,12 @@ export class Address {
*/
'postalCode': string;
/**
* State or province codes as defined in ISO 3166-2. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.
* The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.
*/
'stateOrProvince'?: string;
/**
* The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.
*/
'street': string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "city",
"baseName": "city",
"type": "string"
},
{
"name": "country",
"baseName": "country",
"type": "string"
},
{
"name": "houseNumberOrName",
"baseName": "houseNumberOrName",
"type": "string"
},
{
"name": "postalCode",
"baseName": "postalCode",
"type": "string"
},
{
"name": "stateOrProvince",
"baseName": "stateOrProvince",
"type": "string"
},
{
"name": "street",
"baseName": "street",
"type": "string"
} ];
static getAttributeTypeMap() {
return Address.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class AfterpayDetails {
/**
* The address where to send the invoice.
@@ -56,44 +51,6 @@ export class AfterpayDetails {
* **afterpay_default**
*/
'type': AfterpayDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "billingAddress",
"baseName": "billingAddress",
"type": "string"
},
{
"name": "deliveryAddress",
"baseName": "deliveryAddress",
"type": "string"
},
{
"name": "personalDetails",
"baseName": "personalDetails",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",
"type": "string"
},
{
"name": "storedPaymentMethodId",
"baseName": "storedPaymentMethodId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "AfterpayDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return AfterpayDetails.attributeTypeMap;
}
}
export namespace AfterpayDetails {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class AmazonPayDetails {
/**
* This is the `amazonPayToken` that you obtained from the [Get Checkout Session](https://amazon-pay-acquirer-guide.s3-eu-west-1.amazonaws.com/v1/amazon-pay-api-v2/checkout-session.html#get-checkout-session) response.
@@ -40,24 +35,6 @@ export class AmazonPayDetails {
* **amazonpay**
*/
'type'?: AmazonPayDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "amazonPayToken",
"baseName": "amazonPayToken",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "AmazonPayDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return AmazonPayDetails.attributeTypeMap;
}
}
export namespace AmazonPayDetails {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class Amount {
/**
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
@@ -40,23 +35,5 @@ export class Amount {
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
*/
'value': number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "currency",
"baseName": "currency",
"type": "string"
},
{
"name": "value",
"baseName": "value",
"type": "number"
} ];
static getAttributeTypeMap() {
return Amount.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,26 +26,11 @@
* Do not edit the class manually.
*/
export class AndroidPayDetails {
/**
* **androidpay**
*/
'type'?: AndroidPayDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "type",
"baseName": "type",
"type": "AndroidPayDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return AndroidPayDetails.attributeTypeMap;
}
}
export namespace AndroidPayDetails {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class ApplePayDetails {
/**
* The stringified and base64 encoded `paymentData` you retrieved from the Apple framework.
@@ -52,39 +47,6 @@ export class ApplePayDetails {
* **applepay**
*/
'type'?: ApplePayDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "applePayToken",
"baseName": "applePayToken",
"type": "string"
},
{
"name": "fundingSource",
"baseName": "fundingSource",
"type": "ApplePayDetails.FundingSourceEnum"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",
"type": "string"
},
{
"name": "storedPaymentMethodId",
"baseName": "storedPaymentMethodId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "ApplePayDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return ApplePayDetails.attributeTypeMap;
}
}
export namespace ApplePayDetails {

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CommonField } from './commonField';
import { ExternalPlatform } from './externalPlatform';
import { MerchantDevice } from './merchantDevice';
@@ -42,43 +37,5 @@ export class ApplicationInfo {
'merchantApplication'?: CommonField;
'merchantDevice'?: MerchantDevice;
'shopperInteractionDevice'?: ShopperInteractionDevice;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "adyenLibrary",
"baseName": "adyenLibrary",
"type": "CommonField"
},
{
"name": "adyenPaymentSource",
"baseName": "adyenPaymentSource",
"type": "CommonField"
},
{
"name": "externalPlatform",
"baseName": "externalPlatform",
"type": "ExternalPlatform"
},
{
"name": "merchantApplication",
"baseName": "merchantApplication",
"type": "CommonField"
},
{
"name": "merchantDevice",
"baseName": "merchantDevice",
"type": "MerchantDevice"
},
{
"name": "shopperInteractionDevice",
"baseName": "shopperInteractionDevice",
"type": "ShopperInteractionDevice"
} ];
static getAttributeTypeMap() {
return ApplicationInfo.attributeTypeMap;
}
}

View File

@@ -0,0 +1,48 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { ThreeDSRequestData } from './threeDSRequestData';
export class AuthenticationData {
/**
* Indicates when 3D Secure authentication should be attempted. This overrides all other rules, including [Dynamic 3D Secure settings](https://docs.adyen.com/risk-management/dynamic-3d-secure). Possible values: * **always**: Perform 3D Secure authentication. * **never**: Don\'t perform 3D Secure authentication. If PSD2 SCA or other national regulations require authentication, the transaction gets declined. * **preferNo**: Do not perform 3D Secure authentication if not required by PSD2 SCA or other national regulations.
*/
'attemptAuthentication'?: AuthenticationData.AttemptAuthenticationEnum;
/**
* If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: *false**.
*/
'authenticationOnly'?: boolean;
'threeDSRequestData'?: ThreeDSRequestData;
}
export namespace AuthenticationData {
export enum AttemptAuthenticationEnum {
Always = <any> 'always',
Never = <any> 'never',
PreferNo = <any> 'preferNo'
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class Avs {
/**
* Indicates whether the shopper is allowed to modify the billing address for the current payment request.
@@ -40,24 +35,6 @@ export class Avs {
* Specifies whether the shopper should enter their billing address during checkout. Allowed values: * yes — Perform AVS checks for every card payment. * automatic — Perform AVS checks only when required to optimize the conversion rate. * no — Do not perform AVS checks.
*/
'enabled'?: Avs.EnabledEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "addressEditable",
"baseName": "addressEditable",
"type": "boolean"
},
{
"name": "enabled",
"baseName": "enabled",
"type": "Avs.EnabledEnum"
} ];
static getAttributeTypeMap() {
return Avs.attributeTypeMap;
}
}
export namespace Avs {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class BacsDirectDebitDetails {
/**
* The bank account number (without separators).
@@ -56,48 +51,10 @@ export class BacsDirectDebitDetails {
* **directdebit_GB**
*/
'type'?: BacsDirectDebitDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "bankAccountNumber",
"baseName": "bankAccountNumber",
"type": "string"
},
{
"name": "bankLocationId",
"baseName": "bankLocationId",
"type": "string"
},
{
"name": "holderName",
"baseName": "holderName",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",
"type": "string"
},
{
"name": "storedPaymentMethodId",
"baseName": "storedPaymentMethodId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "BacsDirectDebitDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return BacsDirectDebitDetails.attributeTypeMap;
}
}
export namespace BacsDirectDebitDetails {
export enum TypeEnum {
DirectdebitGb = <any> 'directdebit_GB'
DirectdebitGB = <any> 'directdebit_GB'
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class BankAccount {
/**
* The bank account number (without separators).
@@ -68,58 +63,5 @@ export class BankAccount {
* The bank account holder\'s tax ID.
*/
'taxId'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "bankAccountNumber",
"baseName": "bankAccountNumber",
"type": "string"
},
{
"name": "bankCity",
"baseName": "bankCity",
"type": "string"
},
{
"name": "bankLocationId",
"baseName": "bankLocationId",
"type": "string"
},
{
"name": "bankName",
"baseName": "bankName",
"type": "string"
},
{
"name": "bic",
"baseName": "bic",
"type": "string"
},
{
"name": "countryCode",
"baseName": "countryCode",
"type": "string"
},
{
"name": "iban",
"baseName": "iban",
"type": "string"
},
{
"name": "ownerName",
"baseName": "ownerName",
"type": "string"
},
{
"name": "taxId",
"baseName": "taxId",
"type": "string"
} ];
static getAttributeTypeMap() {
return BankAccount.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class BillDeskDetails {
/**
* The issuer id of the shopper\'s selected bank.
@@ -40,31 +35,13 @@ export class BillDeskDetails {
* **billdesk**
*/
'type': BillDeskDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "issuer",
"baseName": "issuer",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "BillDeskDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return BillDeskDetails.attributeTypeMap;
}
}
export namespace BillDeskDetails {
export enum TypeEnum {
BilldeskOnline = <any> 'billdesk_online',
BilldeskWallet = <any> 'billdesk_wallet',
OnlinebankingIn = <any> 'onlinebanking_IN',
WalletIn = <any> 'wallet_IN'
OnlinebankingIN = <any> 'onlinebanking_IN',
WalletIN = <any> 'wallet_IN'
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class BlikDetails {
/**
* BLIK code consisting of 6 digits.
@@ -48,34 +43,6 @@ export class BlikDetails {
* **blik**
*/
'type'?: BlikDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "blikCode",
"baseName": "blikCode",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",
"type": "string"
},
{
"name": "storedPaymentMethodId",
"baseName": "storedPaymentMethodId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "BlikDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return BlikDetails.attributeTypeMap;
}
}
export namespace BlikDetails {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class BrowserInfo {
/**
* The accept header value of the shopper\'s browser.
@@ -68,58 +63,5 @@ export class BrowserInfo {
* The user agent value of the shopper\'s browser.
*/
'userAgent': string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "acceptHeader",
"baseName": "acceptHeader",
"type": "string"
},
{
"name": "colorDepth",
"baseName": "colorDepth",
"type": "number"
},
{
"name": "javaEnabled",
"baseName": "javaEnabled",
"type": "boolean"
},
{
"name": "javaScriptEnabled",
"baseName": "javaScriptEnabled",
"type": "boolean"
},
{
"name": "language",
"baseName": "language",
"type": "string"
},
{
"name": "screenHeight",
"baseName": "screenHeight",
"type": "number"
},
{
"name": "screenWidth",
"baseName": "screenWidth",
"type": "number"
},
{
"name": "timeZoneOffset",
"baseName": "timeZoneOffset",
"type": "number"
},
{
"name": "userAgent",
"baseName": "userAgent",
"type": "string"
} ];
static getAttributeTypeMap() {
return BrowserInfo.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class Card {
/**
* The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 length: 3 digits * CID length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored.
@@ -64,53 +59,5 @@ export class Card {
* The year component of the start date (for some UK debit cards only).
*/
'startYear'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "cvc",
"baseName": "cvc",
"type": "string"
},
{
"name": "expiryMonth",
"baseName": "expiryMonth",
"type": "string"
},
{
"name": "expiryYear",
"baseName": "expiryYear",
"type": "string"
},
{
"name": "holderName",
"baseName": "holderName",
"type": "string"
},
{
"name": "issueNumber",
"baseName": "issueNumber",
"type": "string"
},
{
"name": "number",
"baseName": "number",
"type": "string"
},
{
"name": "startMonth",
"baseName": "startMonth",
"type": "string"
},
{
"name": "startYear",
"baseName": "startYear",
"type": "string"
} ];
static getAttributeTypeMap() {
return Card.attributeTypeMap;
}
}

View File

@@ -0,0 +1,39 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class CardBrandDetails {
/**
* Indicates if you support the card brand.
*/
'supported'?: boolean;
/**
* The name of the card brand.
*/
'type'?: string;
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,10 +26,12 @@
* Do not edit the class manually.
*/
export class CardDetails {
'cupsecureplus_smscode'?: string;
/**
* Secondary brand of the card. For example: **plastix**, **hmclub**.
*/
'brand'?: string;
'cupsecureplusSmscode'?: string;
/**
* The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
*/
@@ -70,6 +69,10 @@ export class CardDetails {
*/
'holderName'?: string;
/**
* The network token reference. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment.
*/
'networkPaymentReference'?: string;
/**
* The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
*/
'number'?: string;
@@ -93,94 +96,6 @@ export class CardDetails {
* Default payment method details. Common for scheme payment methods, and for simple payment method details.
*/
'type'?: CardDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "cupsecureplus_smscode",
"baseName": "cupsecureplus.smscode",
"type": "string"
},
{
"name": "cvc",
"baseName": "cvc",
"type": "string"
},
{
"name": "encryptedCardNumber",
"baseName": "encryptedCardNumber",
"type": "string"
},
{
"name": "encryptedExpiryMonth",
"baseName": "encryptedExpiryMonth",
"type": "string"
},
{
"name": "encryptedExpiryYear",
"baseName": "encryptedExpiryYear",
"type": "string"
},
{
"name": "encryptedSecurityCode",
"baseName": "encryptedSecurityCode",
"type": "string"
},
{
"name": "expiryMonth",
"baseName": "expiryMonth",
"type": "string"
},
{
"name": "expiryYear",
"baseName": "expiryYear",
"type": "string"
},
{
"name": "fundingSource",
"baseName": "fundingSource",
"type": "CardDetails.FundingSourceEnum"
},
{
"name": "holderName",
"baseName": "holderName",
"type": "string"
},
{
"name": "number",
"baseName": "number",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",
"type": "string"
},
{
"name": "shopperNotificationReference",
"baseName": "shopperNotificationReference",
"type": "string"
},
{
"name": "storedPaymentMethodId",
"baseName": "storedPaymentMethodId",
"type": "string"
},
{
"name": "threeDS2SdkVersion",
"baseName": "threeDS2SdkVersion",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "CardDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return CardDetails.attributeTypeMap;
}
}
export namespace CardDetails {
@@ -193,25 +108,10 @@ export namespace CardDetails {
Giftcard = <any> 'giftcard',
Alliancedata = <any> 'alliancedata',
Card = <any> 'card',
Moneybookers = <any> 'moneybookers',
Qiwiwallet = <any> 'qiwiwallet',
AlipayHk = <any> 'alipay_hk',
AlipayHkWap = <any> 'alipay_hk_wap',
AlipayHkWeb = <any> 'alipay_hk_web',
AlipayWap = <any> 'alipay_wap',
KcpNaverpay = <any> 'kcp_naverpay',
Upi = <any> 'upi',
OnlinebankingIn = <any> 'onlinebanking_IN',
WalletIn = <any> 'wallet_IN',
Entercash = <any> 'entercash',
PrimeiropayBoleto = <any> 'primeiropay_boleto',
GopayWallet = <any> 'gopay_wallet',
Poli = <any> 'poli',
Mada = <any> 'mada',
Naps = <any> 'naps',
Benefit = <any> 'benefit',
Knet = <any> 'knet',
Fawry = <any> 'fawry',
Omannet = <any> 'omannet'
LianlianpayEbankingEnterprise = <any> 'lianlianpay_ebanking_enterprise',
LianlianpayEbankingCredit = <any> 'lianlianpay_ebanking_credit',
LianlianpayEbankingDebit = <any> 'lianlianpay_ebanking_debit',
Entercash = <any> 'entercash'
}
}

View File

@@ -0,0 +1,47 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class CardDetailsRequest {
/**
* A minimum of the first 8 digits of the card number and a maximum of the full card number. 11 digits gives the best result. You must be [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide) to collect raw card data.
*/
'cardNumber': string;
/**
* The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE
*/
'countryCode'?: string;
/**
* The merchant account identifier, with which you want to process the transaction.
*/
'merchantAccount': string;
/**
* The card brands you support. This is the [`brands`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods__resParam_paymentMethods-brands) array from your [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. If not included, our API uses the ones configured for your merchant account and, if provided, the country code.
*/
'supportedBrands'?: Array<string>;
}

View File

@@ -0,0 +1,36 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CardBrandDetails } from './cardBrandDetails';
export class CardDetailsResponse {
/**
* The list of brands identified for the card.
*/
'brands'?: Array<CardBrandDetails>;
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class CellulantDetails {
/**
* The Cellulant issuer.
@@ -40,24 +35,6 @@ export class CellulantDetails {
* **Cellulant**
*/
'type'?: CellulantDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "issuer",
"baseName": "issuer",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "CellulantDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return CellulantDetails.attributeTypeMap;
}
}
export namespace CellulantDetails {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class CheckoutAwaitAction {
/**
* A value that must be submitted to the `/payments/details` endpoint to verify this payment.
@@ -48,34 +43,6 @@ export class CheckoutAwaitAction {
* Specifies the URL to redirect to.
*/
'url'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "paymentData",
"baseName": "paymentData",
"type": "string"
},
{
"name": "paymentMethodType",
"baseName": "paymentMethodType",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "CheckoutAwaitAction.TypeEnum"
},
{
"name": "url",
"baseName": "url",
"type": "string"
} ];
static getAttributeTypeMap() {
return CheckoutAwaitAction.attributeTypeMap;
}
}
export namespace CheckoutAwaitAction {

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { AccountInfo } from './accountInfo';
import { Address } from './address';
import { Amount } from './amount';
@@ -145,7 +140,7 @@ export class CheckoutBalanceCheckRequest {
*/
'shopperReference'?: string;
/**
* The text to be shown on the shopper\'s bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new). We recommend sending a maximum of 22 characters, otherwise banks might truncate the string.
* The text to be shown on the shopper\'s bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , \' _ - ? + * /_**.
*/
'shopperStatement'?: string;
/**
@@ -177,229 +172,6 @@ export class CheckoutBalanceCheckRequest {
* Set to true if the payment should be routed to a trusted MID.
*/
'trustedShopper'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "accountInfo",
"baseName": "accountInfo",
"type": "AccountInfo"
},
{
"name": "additionalAmount",
"baseName": "additionalAmount",
"type": "Amount"
},
{
"name": "additionalData",
"baseName": "additionalData",
"type": "{ [key: string]: string; }"
},
{
"name": "amount",
"baseName": "amount",
"type": "Amount"
},
{
"name": "applicationInfo",
"baseName": "applicationInfo",
"type": "ApplicationInfo"
},
{
"name": "billingAddress",
"baseName": "billingAddress",
"type": "Address"
},
{
"name": "browserInfo",
"baseName": "browserInfo",
"type": "BrowserInfo"
},
{
"name": "captureDelayHours",
"baseName": "captureDelayHours",
"type": "number"
},
{
"name": "dateOfBirth",
"baseName": "dateOfBirth",
"type": "Date"
},
{
"name": "dccQuote",
"baseName": "dccQuote",
"type": "ForexQuote"
},
{
"name": "deliveryAddress",
"baseName": "deliveryAddress",
"type": "Address"
},
{
"name": "deliveryDate",
"baseName": "deliveryDate",
"type": "Date"
},
{
"name": "deviceFingerprint",
"baseName": "deviceFingerprint",
"type": "string"
},
{
"name": "fraudOffset",
"baseName": "fraudOffset",
"type": "number"
},
{
"name": "installments",
"baseName": "installments",
"type": "Installments"
},
{
"name": "mcc",
"baseName": "mcc",
"type": "string"
},
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "merchantOrderReference",
"baseName": "merchantOrderReference",
"type": "string"
},
{
"name": "merchantRiskIndicator",
"baseName": "merchantRiskIndicator",
"type": "MerchantRiskIndicator"
},
{
"name": "metadata",
"baseName": "metadata",
"type": "{ [key: string]: string; }"
},
{
"name": "orderReference",
"baseName": "orderReference",
"type": "string"
},
{
"name": "paymentMethod",
"baseName": "paymentMethod",
"type": "{ [key: string]: string; }"
},
{
"name": "recurring",
"baseName": "recurring",
"type": "Recurring"
},
{
"name": "recurringProcessingModel",
"baseName": "recurringProcessingModel",
"type": "CheckoutBalanceCheckRequest.RecurringProcessingModelEnum"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "selectedBrand",
"baseName": "selectedBrand",
"type": "string"
},
{
"name": "selectedRecurringDetailReference",
"baseName": "selectedRecurringDetailReference",
"type": "string"
},
{
"name": "sessionId",
"baseName": "sessionId",
"type": "string"
},
{
"name": "shopperEmail",
"baseName": "shopperEmail",
"type": "string"
},
{
"name": "shopperIP",
"baseName": "shopperIP",
"type": "string"
},
{
"name": "shopperInteraction",
"baseName": "shopperInteraction",
"type": "CheckoutBalanceCheckRequest.ShopperInteractionEnum"
},
{
"name": "shopperLocale",
"baseName": "shopperLocale",
"type": "string"
},
{
"name": "shopperName",
"baseName": "shopperName",
"type": "Name"
},
{
"name": "shopperReference",
"baseName": "shopperReference",
"type": "string"
},
{
"name": "shopperStatement",
"baseName": "shopperStatement",
"type": "string"
},
{
"name": "socialSecurityNumber",
"baseName": "socialSecurityNumber",
"type": "string"
},
{
"name": "splits",
"baseName": "splits",
"type": "Array<Split>"
},
{
"name": "store",
"baseName": "store",
"type": "string"
},
{
"name": "telephoneNumber",
"baseName": "telephoneNumber",
"type": "string"
},
{
"name": "threeDS2RequestData",
"baseName": "threeDS2RequestData",
"type": "ThreeDS2RequestData"
},
{
"name": "threeDSAuthenticationOnly",
"baseName": "threeDSAuthenticationOnly",
"type": "boolean"
},
{
"name": "totalsGroup",
"baseName": "totalsGroup",
"type": "string"
},
{
"name": "trustedShopper",
"baseName": "trustedShopper",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return CheckoutBalanceCheckRequest.attributeTypeMap;
}
}
export namespace CheckoutBalanceCheckRequest {
@@ -412,6 +184,6 @@ export namespace CheckoutBalanceCheckRequest {
Ecommerce = <any> 'Ecommerce',
ContAuth = <any> 'ContAuth',
Moto = <any> 'Moto',
Pos = <any> 'POS'
POS = <any> 'POS'
}
}

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Amount } from './amount';
import { FraudResult } from './fraudResult';
@@ -53,49 +48,6 @@ export class CheckoutBalanceCheckResponse {
*/
'resultCode': CheckoutBalanceCheckResponse.ResultCodeEnum;
'transactionLimit'?: Amount;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "additionalData",
"baseName": "additionalData",
"type": "{ [key: string]: string; }"
},
{
"name": "balance",
"baseName": "balance",
"type": "Amount"
},
{
"name": "fraudResult",
"baseName": "fraudResult",
"type": "FraudResult"
},
{
"name": "pspReference",
"baseName": "pspReference",
"type": "string"
},
{
"name": "refusalReason",
"baseName": "refusalReason",
"type": "string"
},
{
"name": "resultCode",
"baseName": "resultCode",
"type": "CheckoutBalanceCheckResponse.ResultCodeEnum"
},
{
"name": "transactionLimit",
"baseName": "transactionLimit",
"type": "Amount"
} ];
static getAttributeTypeMap() {
return CheckoutBalanceCheckResponse.attributeTypeMap;
}
}
export namespace CheckoutBalanceCheckResponse {

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Amount } from './amount';
export class CheckoutBankTransferAction {
@@ -70,64 +65,6 @@ export class CheckoutBankTransferAction {
* Specifies the URL to redirect to.
*/
'url'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "beneficiary",
"baseName": "beneficiary",
"type": "string"
},
{
"name": "bic",
"baseName": "bic",
"type": "string"
},
{
"name": "downloadUrl",
"baseName": "downloadUrl",
"type": "string"
},
{
"name": "iban",
"baseName": "iban",
"type": "string"
},
{
"name": "paymentMethodType",
"baseName": "paymentMethodType",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "shopperEmail",
"baseName": "shopperEmail",
"type": "string"
},
{
"name": "totalAmount",
"baseName": "totalAmount",
"type": "Amount"
},
{
"name": "type",
"baseName": "type",
"type": "CheckoutBankTransferAction.TypeEnum"
},
{
"name": "url",
"baseName": "url",
"type": "string"
} ];
static getAttributeTypeMap() {
return CheckoutBankTransferAction.attributeTypeMap;
}
}
export namespace CheckoutBankTransferAction {

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CheckoutOrder } from './checkoutOrder';
export class CheckoutCancelOrderRequest {
@@ -38,23 +33,5 @@ export class CheckoutCancelOrderRequest {
*/
'merchantAccount': string;
'order': CheckoutOrder;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "order",
"baseName": "order",
"type": "CheckoutOrder"
} ];
static getAttributeTypeMap() {
return CheckoutCancelOrderRequest.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class CheckoutCancelOrderResponse {
/**
* A unique reference of the cancellation request.
@@ -40,24 +35,6 @@ export class CheckoutCancelOrderResponse {
* The result of the cancellation request. Possible values: * **Received** Indicates the cancellation has successfully been received by Adyen, and will be processed.
*/
'resultCode': CheckoutCancelOrderResponse.ResultCodeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "pspReference",
"baseName": "pspReference",
"type": "string"
},
{
"name": "resultCode",
"baseName": "resultCode",
"type": "CheckoutCancelOrderResponse.ResultCodeEnum"
} ];
static getAttributeTypeMap() {
return CheckoutCancelOrderResponse.attributeTypeMap;
}
}
export namespace CheckoutCancelOrderResponse {

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Amount } from './amount';
export class CheckoutCreateOrderRequest {
@@ -46,33 +41,5 @@ export class CheckoutCreateOrderRequest {
* A custom reference identifying the order.
*/
'reference': string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "amount",
"baseName": "amount",
"type": "Amount"
},
{
"name": "expiresAt",
"baseName": "expiresAt",
"type": "string"
},
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
} ];
static getAttributeTypeMap() {
return CheckoutCreateOrderRequest.attributeTypeMap;
}
}

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Amount } from './amount';
import { FraudResult } from './fraudResult';
@@ -65,64 +60,6 @@ export class CheckoutCreateOrderResponse {
* The result of the order creation request. The value is always **Success**.
*/
'resultCode': CheckoutCreateOrderResponse.ResultCodeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "additionalData",
"baseName": "additionalData",
"type": "{ [key: string]: string; }"
},
{
"name": "amount",
"baseName": "amount",
"type": "Amount"
},
{
"name": "expiresAt",
"baseName": "expiresAt",
"type": "string"
},
{
"name": "fraudResult",
"baseName": "fraudResult",
"type": "FraudResult"
},
{
"name": "orderData",
"baseName": "orderData",
"type": "string"
},
{
"name": "pspReference",
"baseName": "pspReference",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "refusalReason",
"baseName": "refusalReason",
"type": "string"
},
{
"name": "remainingAmount",
"baseName": "remainingAmount",
"type": "Amount"
},
{
"name": "resultCode",
"baseName": "resultCode",
"type": "CheckoutCreateOrderResponse.ResultCodeEnum"
} ];
static getAttributeTypeMap() {
return CheckoutCreateOrderResponse.attributeTypeMap;
}
}
export namespace CheckoutCreateOrderResponse {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class CheckoutDonationAction {
/**
* A value that must be submitted to the `/payments/details` endpoint to verify this payment.
@@ -48,34 +43,6 @@ export class CheckoutDonationAction {
* Specifies the URL to redirect to.
*/
'url'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "paymentData",
"baseName": "paymentData",
"type": "string"
},
{
"name": "paymentMethodType",
"baseName": "paymentMethodType",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "CheckoutDonationAction.TypeEnum"
},
{
"name": "url",
"baseName": "url",
"type": "string"
} ];
static getAttributeTypeMap() {
return CheckoutDonationAction.attributeTypeMap;
}
}
export namespace CheckoutDonationAction {

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Redirect } from './redirect';
export class CheckoutOneTimePasscodeAction {
@@ -62,54 +57,6 @@ export class CheckoutOneTimePasscodeAction {
* Specifies the URL to redirect to.
*/
'url'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "paymentData",
"baseName": "paymentData",
"type": "string"
},
{
"name": "paymentMethodType",
"baseName": "paymentMethodType",
"type": "string"
},
{
"name": "redirect",
"baseName": "redirect",
"type": "Redirect"
},
{
"name": "resendInterval",
"baseName": "resendInterval",
"type": "number"
},
{
"name": "resendMaxAttempts",
"baseName": "resendMaxAttempts",
"type": "number"
},
{
"name": "resendUrl",
"baseName": "resendUrl",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "CheckoutOneTimePasscodeAction.TypeEnum"
},
{
"name": "url",
"baseName": "url",
"type": "string"
} ];
static getAttributeTypeMap() {
return CheckoutOneTimePasscodeAction.attributeTypeMap;
}
}
export namespace CheckoutOneTimePasscodeAction {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class CheckoutOrder {
/**
* The encrypted order data.
@@ -40,23 +35,5 @@ export class CheckoutOrder {
* The `pspReference` that belongs to the order.
*/
'pspReference': string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "orderData",
"baseName": "orderData",
"type": "string"
},
{
"name": "pspReference",
"baseName": "pspReference",
"type": "string"
} ];
static getAttributeTypeMap() {
return CheckoutOrder.attributeTypeMap;
}
}

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Amount } from './amount';
export class CheckoutOrderResponse {
@@ -51,43 +46,5 @@ export class CheckoutOrderResponse {
*/
'reference'?: string;
'remainingAmount'?: Amount;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "amount",
"baseName": "amount",
"type": "Amount"
},
{
"name": "expiresAt",
"baseName": "expiresAt",
"type": "string"
},
{
"name": "orderData",
"baseName": "orderData",
"type": "string"
},
{
"name": "pspReference",
"baseName": "pspReference",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "remainingAmount",
"baseName": "remainingAmount",
"type": "Amount"
} ];
static getAttributeTypeMap() {
return CheckoutOrderResponse.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class CheckoutQrCodeAction {
/**
* Expiry time of the QR code.
@@ -56,44 +51,6 @@ export class CheckoutQrCodeAction {
* Specifies the URL to redirect to.
*/
'url'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "expiresAt",
"baseName": "expiresAt",
"type": "string"
},
{
"name": "paymentData",
"baseName": "paymentData",
"type": "string"
},
{
"name": "paymentMethodType",
"baseName": "paymentMethodType",
"type": "string"
},
{
"name": "qrCodeData",
"baseName": "qrCodeData",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "CheckoutQrCodeAction.TypeEnum"
},
{
"name": "url",
"baseName": "url",
"type": "string"
} ];
static getAttributeTypeMap() {
return CheckoutQrCodeAction.attributeTypeMap;
}
}
export namespace CheckoutQrCodeAction {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class CheckoutRedirectAction {
/**
* When the redirect URL must be accessed via POST, use this data to post to the redirect URL.
@@ -52,39 +47,6 @@ export class CheckoutRedirectAction {
* Specifies the URL to redirect to.
*/
'url'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "data",
"baseName": "data",
"type": "{ [key: string]: string; }"
},
{
"name": "method",
"baseName": "method",
"type": "string"
},
{
"name": "paymentMethodType",
"baseName": "paymentMethodType",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "CheckoutRedirectAction.TypeEnum"
},
{
"name": "url",
"baseName": "url",
"type": "string"
} ];
static getAttributeTypeMap() {
return CheckoutRedirectAction.attributeTypeMap;
}
}
export namespace CheckoutRedirectAction {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class CheckoutSDKAction {
/**
* A value that must be submitted to the `/payments/details` endpoint to verify this payment.
@@ -52,44 +47,11 @@ export class CheckoutSDKAction {
* Specifies the URL to redirect to.
*/
'url'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "paymentData",
"baseName": "paymentData",
"type": "string"
},
{
"name": "paymentMethodType",
"baseName": "paymentMethodType",
"type": "string"
},
{
"name": "sdkData",
"baseName": "sdkData",
"type": "{ [key: string]: string; }"
},
{
"name": "type",
"baseName": "type",
"type": "CheckoutSDKAction.TypeEnum"
},
{
"name": "url",
"baseName": "url",
"type": "string"
} ];
static getAttributeTypeMap() {
return CheckoutSDKAction.attributeTypeMap;
}
}
export namespace CheckoutSDKAction {
export enum TypeEnum {
Sdk = <any> 'sdk',
WechatpaySdk = <any> 'wechatpaySDK'
WechatpaySDK = <any> 'wechatpaySDK'
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class CheckoutThreeDS2Action {
/**
* A token needed to authorise a payment.
@@ -60,53 +55,10 @@ export class CheckoutThreeDS2Action {
* Specifies the URL to redirect to.
*/
'url'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "authorisationToken",
"baseName": "authorisationToken",
"type": "string"
},
{
"name": "paymentData",
"baseName": "paymentData",
"type": "string"
},
{
"name": "paymentMethodType",
"baseName": "paymentMethodType",
"type": "string"
},
{
"name": "subtype",
"baseName": "subtype",
"type": "string"
},
{
"name": "token",
"baseName": "token",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "CheckoutThreeDS2Action.TypeEnum"
},
{
"name": "url",
"baseName": "url",
"type": "string"
} ];
static getAttributeTypeMap() {
return CheckoutThreeDS2Action.attributeTypeMap;
}
}
export namespace CheckoutThreeDS2Action {
export enum TypeEnum {
ThreeDs2 = <any> 'threeDS2'
ThreeDS2 = <any> 'threeDS2'
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,25 +26,10 @@
* Do not edit the class manually.
*/
export class CheckoutUtilityRequest {
/**
* The list of origin domains, for which origin keys are requested.
*/
'originDomains': Array<string>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "originDomains",
"baseName": "originDomains",
"type": "Array<string>"
} ];
static getAttributeTypeMap() {
return CheckoutUtilityRequest.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,25 +26,10 @@
* Do not edit the class manually.
*/
export class CheckoutUtilityResponse {
/**
* The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key.
*/
'originKeys'?: { [key: string]: string; };
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "originKeys",
"baseName": "originKeys",
"type": "{ [key: string]: string; }"
} ];
static getAttributeTypeMap() {
return CheckoutUtilityResponse.attributeTypeMap;
}
}

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Amount } from './amount';
export class CheckoutVoucherAction {
@@ -104,114 +99,6 @@ export class CheckoutVoucherAction {
* Specifies the URL to redirect to.
*/
'url'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "alternativeReference",
"baseName": "alternativeReference",
"type": "string"
},
{
"name": "collectionInstitutionNumber",
"baseName": "collectionInstitutionNumber",
"type": "string"
},
{
"name": "downloadUrl",
"baseName": "downloadUrl",
"type": "string"
},
{
"name": "entity",
"baseName": "entity",
"type": "string"
},
{
"name": "expiresAt",
"baseName": "expiresAt",
"type": "string"
},
{
"name": "initialAmount",
"baseName": "initialAmount",
"type": "Amount"
},
{
"name": "instructionsUrl",
"baseName": "instructionsUrl",
"type": "string"
},
{
"name": "issuer",
"baseName": "issuer",
"type": "string"
},
{
"name": "maskedTelephoneNumber",
"baseName": "maskedTelephoneNumber",
"type": "string"
},
{
"name": "merchantName",
"baseName": "merchantName",
"type": "string"
},
{
"name": "merchantReference",
"baseName": "merchantReference",
"type": "string"
},
{
"name": "paymentData",
"baseName": "paymentData",
"type": "string"
},
{
"name": "paymentMethodType",
"baseName": "paymentMethodType",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "shopperEmail",
"baseName": "shopperEmail",
"type": "string"
},
{
"name": "shopperName",
"baseName": "shopperName",
"type": "string"
},
{
"name": "surcharge",
"baseName": "surcharge",
"type": "Amount"
},
{
"name": "totalAmount",
"baseName": "totalAmount",
"type": "Amount"
},
{
"name": "type",
"baseName": "type",
"type": "CheckoutVoucherAction.TypeEnum"
},
{
"name": "url",
"baseName": "url",
"type": "string"
} ];
static getAttributeTypeMap() {
return CheckoutVoucherAction.attributeTypeMap;
}
}
export namespace CheckoutVoucherAction {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class CommonField {
/**
* Name of the field. For example, Name of External Platform.
@@ -40,23 +35,5 @@ export class CommonField {
* Version of the field. For example, Version of External Platform.
*/
'version'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "version",
"baseName": "version",
"type": "string"
} ];
static getAttributeTypeMap() {
return CommonField.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class Company {
/**
* The company website\'s home page.
@@ -56,43 +51,5 @@ export class Company {
* The company type.
*/
'type'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "homepage",
"baseName": "homepage",
"type": "string"
},
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "registrationNumber",
"baseName": "registrationNumber",
"type": "string"
},
{
"name": "registryLocation",
"baseName": "registryLocation",
"type": "string"
},
{
"name": "taxId",
"baseName": "taxId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "string"
} ];
static getAttributeTypeMap() {
return Company.attributeTypeMap;
}
}

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Avs } from './avs';
import { InstallmentsNumber } from './installmentsNumber';
import { ShopperInput } from './shopperInput';
@@ -42,40 +37,12 @@ export class Configuration {
'cardHolderName'?: Configuration.CardHolderNameEnum;
'installments'?: InstallmentsNumber;
'shopperInput'?: ShopperInput;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "avs",
"baseName": "avs",
"type": "Avs"
},
{
"name": "cardHolderName",
"baseName": "cardHolderName",
"type": "Configuration.CardHolderNameEnum"
},
{
"name": "installments",
"baseName": "installments",
"type": "InstallmentsNumber"
},
{
"name": "shopperInput",
"baseName": "shopperInput",
"type": "ShopperInput"
} ];
static getAttributeTypeMap() {
return Configuration.attributeTypeMap;
}
}
export namespace Configuration {
export enum CardHolderNameEnum {
None = <any> 'NONE',
Optional = <any> 'OPTIONAL',
Required = <any> 'REQUIRED'
NONE = <any> 'NONE',
OPTIONAL = <any> 'OPTIONAL',
REQUIRED = <any> 'REQUIRED'
}
}

View File

@@ -12,28 +12,24 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { AccountInfo } from './accountInfo';
import { Address } from './address';
import { Amount } from './amount';
import { ApplicationInfo } from './applicationInfo';
import { AuthenticationData } from './authenticationData';
import { Company } from './company';
import { LineItem } from './lineItem';
import { Mandate } from './mandate';
@@ -55,6 +51,7 @@ export class CreateCheckoutSessionRequest {
'allowedPaymentMethods'?: Array<string>;
'amount': Amount;
'applicationInfo'?: ApplicationInfo;
'authenticationData'?: AuthenticationData;
'billingAddress'?: Address;
/**
* List of payment methods to be hidden from the shopper. To refer to payment methods, use their `paymentMethod.type`from [Payment methods overview](https://docs.adyen.com/payment-methods). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]`
@@ -65,7 +62,7 @@ export class CreateCheckoutSessionRequest {
*/
'captureDelayHours'?: number;
/**
* The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web
* The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web**
*/
'channel'?: CreateCheckoutSessionRequest.ChannelEnum;
'company'?: Company;
@@ -77,6 +74,10 @@ export class CreateCheckoutSessionRequest {
* The shopper\'s date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD
*/
'dateOfBirth'?: Date;
/**
* The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**.
*/
'deliverAt'?: Date;
'deliveryAddress'?: Address;
/**
* When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments.
@@ -112,7 +113,7 @@ export class CreateCheckoutSessionRequest {
*/
'merchantOrderReference'?: string;
/**
* Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request.* Maximum 20 characters per key. * Maximum 80 characters per value.
* Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. * Maximum 20 characters per key. * Maximum 80 characters per value.
*/
'metadata'?: { [key: string]: string; };
'mpiData'?: ThreeDSecureData;
@@ -167,7 +168,7 @@ export class CreateCheckoutSessionRequest {
*/
'shopperReference'?: string;
/**
* The text to be shown on the shopper\'s bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new). We recommend sending a maximum of 22 characters, otherwise banks might truncate the string.
* The text to be shown on the shopper\'s bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , \' _ - ? + * /_**.
*/
'shopperStatement'?: string;
/**
@@ -183,6 +184,10 @@ export class CreateCheckoutSessionRequest {
*/
'splits'?: Array<Split>;
/**
* The ecommerce or point-of-sale store that is processing the payment.
*/
'store'?: string;
/**
* When this is set to **true** and the `shopperReference` is provided, the payment details will be stored.
*/
'storePaymentMethod'?: boolean;
@@ -198,254 +203,11 @@ export class CreateCheckoutSessionRequest {
* Set to true if the payment should be routed to a trusted MID.
*/
'trustedShopper'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "accountInfo",
"baseName": "accountInfo",
"type": "AccountInfo"
},
{
"name": "additionalAmount",
"baseName": "additionalAmount",
"type": "Amount"
},
{
"name": "additionalData",
"baseName": "additionalData",
"type": "{ [key: string]: string; }"
},
{
"name": "allowedPaymentMethods",
"baseName": "allowedPaymentMethods",
"type": "Array<string>"
},
{
"name": "amount",
"baseName": "amount",
"type": "Amount"
},
{
"name": "applicationInfo",
"baseName": "applicationInfo",
"type": "ApplicationInfo"
},
{
"name": "billingAddress",
"baseName": "billingAddress",
"type": "Address"
},
{
"name": "blockedPaymentMethods",
"baseName": "blockedPaymentMethods",
"type": "Array<string>"
},
{
"name": "captureDelayHours",
"baseName": "captureDelayHours",
"type": "number"
},
{
"name": "channel",
"baseName": "channel",
"type": "CreateCheckoutSessionRequest.ChannelEnum"
},
{
"name": "company",
"baseName": "company",
"type": "Company"
},
{
"name": "countryCode",
"baseName": "countryCode",
"type": "string"
},
{
"name": "dateOfBirth",
"baseName": "dateOfBirth",
"type": "Date"
},
{
"name": "deliveryAddress",
"baseName": "deliveryAddress",
"type": "Address"
},
{
"name": "enableOneClick",
"baseName": "enableOneClick",
"type": "boolean"
},
{
"name": "enablePayOut",
"baseName": "enablePayOut",
"type": "boolean"
},
{
"name": "enableRecurring",
"baseName": "enableRecurring",
"type": "boolean"
},
{
"name": "expiresAt",
"baseName": "expiresAt",
"type": "Date"
},
{
"name": "lineItems",
"baseName": "lineItems",
"type": "Array<LineItem>"
},
{
"name": "mandate",
"baseName": "mandate",
"type": "Mandate"
},
{
"name": "mcc",
"baseName": "mcc",
"type": "string"
},
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "merchantOrderReference",
"baseName": "merchantOrderReference",
"type": "string"
},
{
"name": "metadata",
"baseName": "metadata",
"type": "{ [key: string]: string; }"
},
{
"name": "mpiData",
"baseName": "mpiData",
"type": "ThreeDSecureData"
},
{
"name": "recurringExpiry",
"baseName": "recurringExpiry",
"type": "string"
},
{
"name": "recurringFrequency",
"baseName": "recurringFrequency",
"type": "string"
},
{
"name": "recurringProcessingModel",
"baseName": "recurringProcessingModel",
"type": "CreateCheckoutSessionRequest.RecurringProcessingModelEnum"
},
{
"name": "redirectFromIssuerMethod",
"baseName": "redirectFromIssuerMethod",
"type": "string"
},
{
"name": "redirectToIssuerMethod",
"baseName": "redirectToIssuerMethod",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "returnUrl",
"baseName": "returnUrl",
"type": "string"
},
{
"name": "riskData",
"baseName": "riskData",
"type": "RiskData"
},
{
"name": "shopperEmail",
"baseName": "shopperEmail",
"type": "string"
},
{
"name": "shopperIP",
"baseName": "shopperIP",
"type": "string"
},
{
"name": "shopperInteraction",
"baseName": "shopperInteraction",
"type": "CreateCheckoutSessionRequest.ShopperInteractionEnum"
},
{
"name": "shopperLocale",
"baseName": "shopperLocale",
"type": "string"
},
{
"name": "shopperName",
"baseName": "shopperName",
"type": "Name"
},
{
"name": "shopperReference",
"baseName": "shopperReference",
"type": "string"
},
{
"name": "shopperStatement",
"baseName": "shopperStatement",
"type": "string"
},
{
"name": "socialSecurityNumber",
"baseName": "socialSecurityNumber",
"type": "string"
},
{
"name": "splitCardFundingSources",
"baseName": "splitCardFundingSources",
"type": "boolean"
},
{
"name": "splits",
"baseName": "splits",
"type": "Array<Split>"
},
{
"name": "storePaymentMethod",
"baseName": "storePaymentMethod",
"type": "boolean"
},
{
"name": "telephoneNumber",
"baseName": "telephoneNumber",
"type": "string"
},
{
"name": "threeDSAuthenticationOnly",
"baseName": "threeDSAuthenticationOnly",
"type": "boolean"
},
{
"name": "trustedShopper",
"baseName": "trustedShopper",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return CreateCheckoutSessionRequest.attributeTypeMap;
}
}
export namespace CreateCheckoutSessionRequest {
export enum ChannelEnum {
IOs = <any> 'iOS',
IOS = <any> 'iOS',
Android = <any> 'Android',
Web = <any> 'Web'
}
@@ -458,6 +220,6 @@ export namespace CreateCheckoutSessionRequest {
Ecommerce = <any> 'Ecommerce',
ContAuth = <any> 'ContAuth',
Moto = <any> 'Moto',
Pos = <any> 'POS'
POS = <any> 'POS'
}
}

View File

@@ -12,28 +12,24 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { AccountInfo } from './accountInfo';
import { Address } from './address';
import { Amount } from './amount';
import { ApplicationInfo } from './applicationInfo';
import { AuthenticationData } from './authenticationData';
import { Company } from './company';
import { LineItem } from './lineItem';
import { Mandate } from './mandate';
@@ -55,6 +51,7 @@ export class CreateCheckoutSessionResponse {
'allowedPaymentMethods'?: Array<string>;
'amount': Amount;
'applicationInfo'?: ApplicationInfo;
'authenticationData'?: AuthenticationData;
'billingAddress'?: Address;
/**
* List of payment methods to be hidden from the shopper. To refer to payment methods, use their `paymentMethod.type`from [Payment methods overview](https://docs.adyen.com/payment-methods). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]`
@@ -65,7 +62,7 @@ export class CreateCheckoutSessionResponse {
*/
'captureDelayHours'?: number;
/**
* The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web
* The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web**
*/
'channel'?: CreateCheckoutSessionResponse.ChannelEnum;
'company'?: Company;
@@ -77,6 +74,10 @@ export class CreateCheckoutSessionResponse {
* The shopper\'s date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD
*/
'dateOfBirth'?: Date;
/**
* The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**.
*/
'deliverAt'?: Date;
'deliveryAddress'?: Address;
/**
* When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments.
@@ -116,7 +117,7 @@ export class CreateCheckoutSessionResponse {
*/
'merchantOrderReference'?: string;
/**
* Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request.* Maximum 20 characters per key. * Maximum 80 characters per value.
* Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. * Maximum 20 characters per key. * Maximum 80 characters per value.
*/
'metadata'?: { [key: string]: string; };
'mpiData'?: ThreeDSecureData;
@@ -149,6 +150,9 @@ export class CreateCheckoutSessionResponse {
*/
'returnUrl': string;
'riskData'?: RiskData;
/**
* The payment session data you need to pass to your front end.
*/
'sessionData'?: string;
/**
* The shopper\'s email address.
@@ -172,7 +176,7 @@ export class CreateCheckoutSessionResponse {
*/
'shopperReference'?: string;
/**
* The text to be shown on the shopper\'s bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new). We recommend sending a maximum of 22 characters, otherwise banks might truncate the string.
* The text to be shown on the shopper\'s bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , \' _ - ? + * /_**.
*/
'shopperStatement'?: string;
/**
@@ -188,6 +192,10 @@ export class CreateCheckoutSessionResponse {
*/
'splits'?: Array<Split>;
/**
* The ecommerce or point-of-sale store that is processing the payment.
*/
'store'?: string;
/**
* When this is set to **true** and the `shopperReference` is provided, the payment details will be stored.
*/
'storePaymentMethod'?: boolean;
@@ -203,264 +211,11 @@ export class CreateCheckoutSessionResponse {
* Set to true if the payment should be routed to a trusted MID.
*/
'trustedShopper'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "accountInfo",
"baseName": "accountInfo",
"type": "AccountInfo"
},
{
"name": "additionalAmount",
"baseName": "additionalAmount",
"type": "Amount"
},
{
"name": "additionalData",
"baseName": "additionalData",
"type": "{ [key: string]: string; }"
},
{
"name": "allowedPaymentMethods",
"baseName": "allowedPaymentMethods",
"type": "Array<string>"
},
{
"name": "amount",
"baseName": "amount",
"type": "Amount"
},
{
"name": "applicationInfo",
"baseName": "applicationInfo",
"type": "ApplicationInfo"
},
{
"name": "billingAddress",
"baseName": "billingAddress",
"type": "Address"
},
{
"name": "blockedPaymentMethods",
"baseName": "blockedPaymentMethods",
"type": "Array<string>"
},
{
"name": "captureDelayHours",
"baseName": "captureDelayHours",
"type": "number"
},
{
"name": "channel",
"baseName": "channel",
"type": "CreateCheckoutSessionResponse.ChannelEnum"
},
{
"name": "company",
"baseName": "company",
"type": "Company"
},
{
"name": "countryCode",
"baseName": "countryCode",
"type": "string"
},
{
"name": "dateOfBirth",
"baseName": "dateOfBirth",
"type": "Date"
},
{
"name": "deliveryAddress",
"baseName": "deliveryAddress",
"type": "Address"
},
{
"name": "enableOneClick",
"baseName": "enableOneClick",
"type": "boolean"
},
{
"name": "enablePayOut",
"baseName": "enablePayOut",
"type": "boolean"
},
{
"name": "enableRecurring",
"baseName": "enableRecurring",
"type": "boolean"
},
{
"name": "expiresAt",
"baseName": "expiresAt",
"type": "Date"
},
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "lineItems",
"baseName": "lineItems",
"type": "Array<LineItem>"
},
{
"name": "mandate",
"baseName": "mandate",
"type": "Mandate"
},
{
"name": "mcc",
"baseName": "mcc",
"type": "string"
},
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "merchantOrderReference",
"baseName": "merchantOrderReference",
"type": "string"
},
{
"name": "metadata",
"baseName": "metadata",
"type": "{ [key: string]: string; }"
},
{
"name": "mpiData",
"baseName": "mpiData",
"type": "ThreeDSecureData"
},
{
"name": "recurringExpiry",
"baseName": "recurringExpiry",
"type": "string"
},
{
"name": "recurringFrequency",
"baseName": "recurringFrequency",
"type": "string"
},
{
"name": "recurringProcessingModel",
"baseName": "recurringProcessingModel",
"type": "CreateCheckoutSessionResponse.RecurringProcessingModelEnum"
},
{
"name": "redirectFromIssuerMethod",
"baseName": "redirectFromIssuerMethod",
"type": "string"
},
{
"name": "redirectToIssuerMethod",
"baseName": "redirectToIssuerMethod",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "returnUrl",
"baseName": "returnUrl",
"type": "string"
},
{
"name": "riskData",
"baseName": "riskData",
"type": "RiskData"
},
{
"name": "sessionData",
"baseName": "sessionData",
"type": "string"
},
{
"name": "shopperEmail",
"baseName": "shopperEmail",
"type": "string"
},
{
"name": "shopperIP",
"baseName": "shopperIP",
"type": "string"
},
{
"name": "shopperInteraction",
"baseName": "shopperInteraction",
"type": "CreateCheckoutSessionResponse.ShopperInteractionEnum"
},
{
"name": "shopperLocale",
"baseName": "shopperLocale",
"type": "string"
},
{
"name": "shopperName",
"baseName": "shopperName",
"type": "Name"
},
{
"name": "shopperReference",
"baseName": "shopperReference",
"type": "string"
},
{
"name": "shopperStatement",
"baseName": "shopperStatement",
"type": "string"
},
{
"name": "socialSecurityNumber",
"baseName": "socialSecurityNumber",
"type": "string"
},
{
"name": "splitCardFundingSources",
"baseName": "splitCardFundingSources",
"type": "boolean"
},
{
"name": "splits",
"baseName": "splits",
"type": "Array<Split>"
},
{
"name": "storePaymentMethod",
"baseName": "storePaymentMethod",
"type": "boolean"
},
{
"name": "telephoneNumber",
"baseName": "telephoneNumber",
"type": "string"
},
{
"name": "threeDSAuthenticationOnly",
"baseName": "threeDSAuthenticationOnly",
"type": "boolean"
},
{
"name": "trustedShopper",
"baseName": "trustedShopper",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return CreateCheckoutSessionResponse.attributeTypeMap;
}
}
export namespace CreateCheckoutSessionResponse {
export enum ChannelEnum {
IOs = <any> 'iOS',
IOS = <any> 'iOS',
Android = <any> 'Android',
Web = <any> 'Web'
}
@@ -473,6 +228,6 @@ export namespace CreateCheckoutSessionResponse {
Ecommerce = <any> 'Ecommerce',
ContAuth = <any> 'ContAuth',
Moto = <any> 'Moto',
Pos = <any> 'POS'
POS = <any> 'POS'
}
}

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Amount } from './amount';
import { Split } from './split';
@@ -51,39 +46,6 @@ export class CreatePaymentAmountUpdateRequest {
* An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information).
*/
'splits'?: Array<Split>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "amount",
"baseName": "amount",
"type": "Amount"
},
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "reason",
"baseName": "reason",
"type": "CreatePaymentAmountUpdateRequest.ReasonEnum"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "splits",
"baseName": "splits",
"type": "Array<Split>"
} ];
static getAttributeTypeMap() {
return CreatePaymentAmountUpdateRequest.attributeTypeMap;
}
}
export namespace CreatePaymentAmountUpdateRequest {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class CreatePaymentCancelRequest {
/**
* The merchant account that is used to process the payment.
@@ -40,23 +35,5 @@ export class CreatePaymentCancelRequest {
* Your reference for the cancel request. Maximum length: 80 characters.
*/
'reference'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
} ];
static getAttributeTypeMap() {
return CreatePaymentCancelRequest.attributeTypeMap;
}
}

View File

@@ -12,30 +12,30 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Amount } from './amount';
import { LineItem } from './lineItem';
import { Split } from './split';
export class CreatePaymentCaptureRequest {
'amount': Amount;
/**
* Price and product information of the captured items, required for [partial captures](https://docs.adyen.com/online-payments/capture#partial-capture). > This field is required for partial captures with 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Zip and Atome.
*/
'lineItems'?: Array<LineItem>;
/**
* The merchant account that is used to process the payment.
*/
'merchantAccount': string;
@@ -47,33 +47,5 @@ export class CreatePaymentCaptureRequest {
* An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information).
*/
'splits'?: Array<Split>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "amount",
"baseName": "amount",
"type": "Amount"
},
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "splits",
"baseName": "splits",
"type": "Array<Split>"
} ];
static getAttributeTypeMap() {
return CreatePaymentCaptureRequest.attributeTypeMap;
}
}

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Address } from './address';
import { Amount } from './amount';
import { ApplicationInfo } from './applicationInfo';
@@ -52,11 +47,19 @@ export class CreatePaymentLinkRequest {
*/
'blockedPaymentMethods'?: Array<string>;
/**
* The delay between the authorisation and scheduled auto-capture, specified in hours.
*/
'captureDelayHours'?: number;
/**
* The shopper\'s two-letter country code.
*/
'countryCode'?: string;
/**
* The date and time the purchased goods should be delivered.
* The shopper\'s date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD
*/
'dateOfBirth'?: Date;
/**
* The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**.
*/
'deliverAt'?: Date;
'deliveryAddress'?: Address;
@@ -65,7 +68,7 @@ export class CreatePaymentLinkRequest {
*/
'description'?: string;
/**
* The date that the payment link expires, in ISO 8601 format. For example `2019-11-23T12:25:28Z`, or `2020-05-27T20:25:28+08:00`. Maximum expiry date should be 70 days from when the payment link is created. If not provided, the default expiry is set to 24 hours after the payment link is created.
* The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created.
*/
'expiresAt'?: string;
/**
@@ -77,6 +80,10 @@ export class CreatePaymentLinkRequest {
*/
'lineItems'?: Array<LineItem>;
/**
* The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant.
*/
'mcc'?: string;
/**
* The merchant account identifier for which the payment link is created.
*/
'merchantAccount': string;
@@ -97,7 +104,7 @@ export class CreatePaymentLinkRequest {
*/
'reference': string;
/**
* List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/online-payments/pay-by-link/api#shopper-information). Possible values: * **billingAddress** The address where to send the invoice. * **deliveryAddress** The address where the purchased goods should be delivered. * **shopperEmail** The shopper\'s email address. * **shopperName** The shopper\'s full name. * **telephoneNumber** The shopper\'s phone number.
* List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** The address where to send the invoice. * **deliveryAddress** The address where the purchased goods should be delivered. * **shopperEmail** The shopper\'s email address. * **shopperName** The shopper\'s full name. * **telephoneNumber** The shopper\'s phone number.
*/
'requiredShopperFields'?: Array<CreatePaymentLinkRequest.RequiredShopperFieldsEnum>;
/**
@@ -123,6 +130,18 @@ export class CreatePaymentLinkRequest {
*/
'shopperReference'?: string;
/**
* The text to be shown on the shopper\'s bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , \' _ - ? + * /_**.
*/
'shopperStatement'?: string;
/**
* The shopper\'s social security number.
*/
'socialSecurityNumber'?: string;
/**
* Boolean value indicating whether the card payment method should be split into separate debit and credit options.
*/
'splitCardFundingSources'?: boolean;
/**
* An array of objects specifying how the payment should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information).
*/
'splits'?: Array<Split>;
@@ -131,7 +150,7 @@ export class CreatePaymentLinkRequest {
*/
'store'?: string;
/**
* Indicates if the details of the payment method will be stored for the shopper. Possible values:* **disabled** No details will be stored.* **askForConsent** If the `shopperReference` is provided the shopper can decide whether or not the details will be stored.* **enabled** If the `shopperReference` is provided the details will be stored without asking consent to the shopper.
* Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** No details will be stored (default). * **askForConsent** If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** If the `shopperReference` is provided, the details will be stored without asking the shopper for consent.
*/
'storePaymentMethodMode'?: CreatePaymentLinkRequest.StorePaymentMethodModeEnum;
/**
@@ -139,167 +158,9 @@ export class CreatePaymentLinkRequest {
*/
'telephoneNumber'?: string;
/**
* Use to set a theme to shopper other than default
* A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area.
*/
'themeId'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "allowedPaymentMethods",
"baseName": "allowedPaymentMethods",
"type": "Array<string>"
},
{
"name": "amount",
"baseName": "amount",
"type": "Amount"
},
{
"name": "applicationInfo",
"baseName": "applicationInfo",
"type": "ApplicationInfo"
},
{
"name": "billingAddress",
"baseName": "billingAddress",
"type": "Address"
},
{
"name": "blockedPaymentMethods",
"baseName": "blockedPaymentMethods",
"type": "Array<string>"
},
{
"name": "countryCode",
"baseName": "countryCode",
"type": "string"
},
{
"name": "deliverAt",
"baseName": "deliverAt",
"type": "Date"
},
{
"name": "deliveryAddress",
"baseName": "deliveryAddress",
"type": "Address"
},
{
"name": "description",
"baseName": "description",
"type": "string"
},
{
"name": "expiresAt",
"baseName": "expiresAt",
"type": "string"
},
{
"name": "installmentOptions",
"baseName": "installmentOptions",
"type": "{ [key: string]: InstallmentOption; }"
},
{
"name": "lineItems",
"baseName": "lineItems",
"type": "Array<LineItem>"
},
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "merchantOrderReference",
"baseName": "merchantOrderReference",
"type": "string"
},
{
"name": "metadata",
"baseName": "metadata",
"type": "{ [key: string]: string; }"
},
{
"name": "recurringProcessingModel",
"baseName": "recurringProcessingModel",
"type": "CreatePaymentLinkRequest.RecurringProcessingModelEnum"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "requiredShopperFields",
"baseName": "requiredShopperFields",
"type": "Array<CreatePaymentLinkRequest.RequiredShopperFieldsEnum>"
},
{
"name": "returnUrl",
"baseName": "returnUrl",
"type": "string"
},
{
"name": "reusable",
"baseName": "reusable",
"type": "boolean"
},
{
"name": "riskData",
"baseName": "riskData",
"type": "RiskData"
},
{
"name": "shopperEmail",
"baseName": "shopperEmail",
"type": "string"
},
{
"name": "shopperLocale",
"baseName": "shopperLocale",
"type": "string"
},
{
"name": "shopperName",
"baseName": "shopperName",
"type": "Name"
},
{
"name": "shopperReference",
"baseName": "shopperReference",
"type": "string"
},
{
"name": "splits",
"baseName": "splits",
"type": "Array<Split>"
},
{
"name": "store",
"baseName": "store",
"type": "string"
},
{
"name": "storePaymentMethodMode",
"baseName": "storePaymentMethodMode",
"type": "CreatePaymentLinkRequest.StorePaymentMethodModeEnum"
},
{
"name": "telephoneNumber",
"baseName": "telephoneNumber",
"type": "string"
},
{
"name": "themeId",
"baseName": "themeId",
"type": "string"
} ];
static getAttributeTypeMap() {
return CreatePaymentLinkRequest.attributeTypeMap;
}
}
export namespace CreatePaymentLinkRequest {

View File

@@ -12,30 +12,30 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Amount } from './amount';
import { LineItem } from './lineItem';
import { Split } from './split';
export class CreatePaymentRefundRequest {
'amount': Amount;
/**
* Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Zip and Atome.
*/
'lineItems'?: Array<LineItem>;
/**
* The merchant account that is used to process the payment.
*/
'merchantAccount': string;
@@ -47,33 +47,5 @@ export class CreatePaymentRefundRequest {
* An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information).
*/
'splits'?: Array<Split>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "amount",
"baseName": "amount",
"type": "Amount"
},
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "splits",
"baseName": "splits",
"type": "Array<Split>"
} ];
static getAttributeTypeMap() {
return CreatePaymentRefundRequest.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class CreatePaymentReversalRequest {
/**
* The merchant account that is used to process the payment.
@@ -40,23 +35,5 @@ export class CreatePaymentReversalRequest {
* Your reference for the reversal request. Maximum length: 80 characters.
*/
'reference'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
} ];
static getAttributeTypeMap() {
return CreatePaymentReversalRequest.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class CreateStandalonePaymentCancelRequest {
/**
* The merchant account that is used to process the payment.
@@ -44,28 +39,5 @@ export class CreateStandalonePaymentCancelRequest {
* Your reference for the cancel request. Maximum length: 80 characters.
*/
'reference'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "paymentReference",
"baseName": "paymentReference",
"type": "string"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
} ];
static getAttributeTypeMap() {
return CreateStandalonePaymentCancelRequest.attributeTypeMap;
}
}

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { PaymentCompletionDetails } from './paymentCompletionDetails';
export class DetailsRequest {
@@ -42,28 +37,5 @@ export class DetailsRequest {
* Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously.
*/
'threeDSAuthenticationOnly'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "details",
"baseName": "details",
"type": "PaymentCompletionDetails"
},
{
"name": "paymentData",
"baseName": "paymentData",
"type": "string"
},
{
"name": "threeDSAuthenticationOnly",
"baseName": "threeDSAuthenticationOnly",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return DetailsRequest.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class DeviceRenderOptions {
/**
* Supported SDK interface types. Allowed values: * native * html * both
@@ -40,24 +35,6 @@ export class DeviceRenderOptions {
* UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect
*/
'sdkUiType'?: Array<DeviceRenderOptions.SdkUiTypeEnum>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "sdkInterface",
"baseName": "sdkInterface",
"type": "DeviceRenderOptions.SdkInterfaceEnum"
},
{
"name": "sdkUiType",
"baseName": "sdkUiType",
"type": "Array<DeviceRenderOptions.SdkUiTypeEnum>"
} ];
static getAttributeTypeMap() {
return DeviceRenderOptions.attributeTypeMap;
}
}
export namespace DeviceRenderOptions {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class DokuDetails {
/**
* The shopper\'s first name.
@@ -48,34 +43,6 @@ export class DokuDetails {
* **doku**
*/
'type': DokuDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "firstName",
"baseName": "firstName",
"type": "string"
},
{
"name": "lastName",
"baseName": "lastName",
"type": "string"
},
{
"name": "shopperEmail",
"baseName": "shopperEmail",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "DokuDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return DokuDetails.attributeTypeMap;
}
}
export namespace DokuDetails {

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Amount } from './amount';
import { PaymentResponse } from './paymentResponse';
@@ -56,49 +51,6 @@ export class DonationResponse {
* The status of the donation transaction. Possible values: * **completed** * **pending** * **refused**
*/
'status'?: DonationResponse.StatusEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "amount",
"baseName": "amount",
"type": "Amount"
},
{
"name": "donationAccount",
"baseName": "donationAccount",
"type": "string"
},
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "merchantAccount",
"baseName": "merchantAccount",
"type": "string"
},
{
"name": "payment",
"baseName": "payment",
"type": "PaymentResponse"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "status",
"baseName": "status",
"type": "DonationResponse.StatusEnum"
} ];
static getAttributeTypeMap() {
return DonationResponse.attributeTypeMap;
}
}
export namespace DonationResponse {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class DotpayDetails {
/**
* The Dotpay issuer value of the shopper\'s selected bank. Set this to an **id** of a Dotpay issuer to preselect it.
@@ -40,24 +35,6 @@ export class DotpayDetails {
* **dotpay**
*/
'type'?: DotpayDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "issuer",
"baseName": "issuer",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "DotpayDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return DotpayDetails.attributeTypeMap;
}
}
export namespace DotpayDetails {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class DragonpayDetails {
/**
* The Dragonpay issuer value of the shopper\'s selected bank. Set this to an **id** of a Dragonpay issuer to preselect it.
@@ -44,29 +39,6 @@ export class DragonpayDetails {
* **dragonpay**
*/
'type': DragonpayDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "issuer",
"baseName": "issuer",
"type": "string"
},
{
"name": "shopperEmail",
"baseName": "shopperEmail",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "DragonpayDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return DragonpayDetails.attributeTypeMap;
}
}
export namespace DragonpayDetails {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class EcontextVoucherDetails {
/**
* The shopper\'s first name.
@@ -52,39 +47,6 @@ export class EcontextVoucherDetails {
* **econtextvoucher**
*/
'type': EcontextVoucherDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "firstName",
"baseName": "firstName",
"type": "string"
},
{
"name": "lastName",
"baseName": "lastName",
"type": "string"
},
{
"name": "shopperEmail",
"baseName": "shopperEmail",
"type": "string"
},
{
"name": "telephoneNumber",
"baseName": "telephoneNumber",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "EcontextVoucherDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return EcontextVoucherDetails.attributeTypeMap;
}
}
export namespace EcontextVoucherDetails {

View File

@@ -1,65 +0,0 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ```
*
* The version of the OpenAPI document: 67
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class EntercashDetails {
/**
* The issuer id of the shopper\'s selected bank.
*/
'issuer': string;
/**
* **entercash**
*/
'type': EntercashDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "issuer",
"baseName": "issuer",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "EntercashDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return EntercashDetails.attributeTypeMap;
}
}
export namespace EntercashDetails {
export enum TypeEnum {
Entercash = <any> 'entercash'
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class ExternalPlatform {
/**
* External platform integrator.
@@ -44,28 +39,5 @@ export class ExternalPlatform {
* Version of the field. For example, Version of External Platform.
*/
'version'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "integrator",
"baseName": "integrator",
"type": "string"
},
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "version",
"baseName": "version",
"type": "string"
} ];
static getAttributeTypeMap() {
return ExternalPlatform.attributeTypeMap;
}
}

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Amount } from './amount';
export class ForexQuote {
@@ -69,73 +64,5 @@ export class ForexQuote {
* The date until which the forex quote is valid.
*/
'validTill': Date;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "account",
"baseName": "account",
"type": "string"
},
{
"name": "accountType",
"baseName": "accountType",
"type": "string"
},
{
"name": "baseAmount",
"baseName": "baseAmount",
"type": "Amount"
},
{
"name": "basePoints",
"baseName": "basePoints",
"type": "number"
},
{
"name": "buy",
"baseName": "buy",
"type": "Amount"
},
{
"name": "interbank",
"baseName": "interbank",
"type": "Amount"
},
{
"name": "reference",
"baseName": "reference",
"type": "string"
},
{
"name": "sell",
"baseName": "sell",
"type": "Amount"
},
{
"name": "signature",
"baseName": "signature",
"type": "string"
},
{
"name": "source",
"baseName": "source",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "string"
},
{
"name": "validTill",
"baseName": "validTill",
"type": "Date"
} ];
static getAttributeTypeMap() {
return ForexQuote.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class FraudCheckResult {
/**
* The fraud score generated by the risk check.
@@ -44,28 +39,5 @@ export class FraudCheckResult {
* The name of the risk check.
*/
'name': string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "accountScore",
"baseName": "accountScore",
"type": "number"
},
{
"name": "checkId",
"baseName": "checkId",
"type": "number"
},
{
"name": "name",
"baseName": "name",
"type": "string"
} ];
static getAttributeTypeMap() {
return FraudCheckResult.attributeTypeMap;
}
}

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { FraudCheckResult } from './fraudCheckResult';
export class FraudResult {
@@ -41,23 +36,5 @@ export class FraudResult {
* The result of the individual risk checks.
*/
'results'?: Array<FraudCheckResult>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "accountScore",
"baseName": "accountScore",
"type": "number"
},
{
"name": "results",
"baseName": "results",
"type": "Array<FraudCheckResult>"
} ];
static getAttributeTypeMap() {
return FraudResult.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class GenericIssuerPaymentMethodDetails {
/**
* The issuer id of the shopper\'s selected bank.
@@ -48,38 +43,12 @@ export class GenericIssuerPaymentMethodDetails {
* **genericissuer**
*/
'type': GenericIssuerPaymentMethodDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "issuer",
"baseName": "issuer",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",
"type": "string"
},
{
"name": "storedPaymentMethodId",
"baseName": "storedPaymentMethodId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "GenericIssuerPaymentMethodDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return GenericIssuerPaymentMethodDetails.attributeTypeMap;
}
}
export namespace GenericIssuerPaymentMethodDetails {
export enum TypeEnum {
Eps = <any> 'eps'
Eps = <any> 'eps',
OnlineBankingSK = <any> 'onlineBanking_SK',
OnlineBankingCZ = <any> 'onlineBanking_CZ'
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class GiropayDetails {
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
@@ -44,29 +39,6 @@ export class GiropayDetails {
* **giropay**
*/
'type'?: GiropayDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",
"type": "string"
},
{
"name": "storedPaymentMethodId",
"baseName": "storedPaymentMethodId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "GiropayDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return GiropayDetails.attributeTypeMap;
}
}
export namespace GiropayDetails {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class GooglePayDetails {
/**
* The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
@@ -52,39 +47,6 @@ export class GooglePayDetails {
* **googlepay**, **paywithgoogle**
*/
'type'?: GooglePayDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "fundingSource",
"baseName": "fundingSource",
"type": "GooglePayDetails.FundingSourceEnum"
},
{
"name": "googlePayToken",
"baseName": "googlePayToken",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",
"type": "string"
},
{
"name": "storedPaymentMethodId",
"baseName": "storedPaymentMethodId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "GooglePayDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return GooglePayDetails.attributeTypeMap;
}
}
export namespace GooglePayDetails {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class IdealDetails {
/**
* The iDEAL issuer value of the shopper\'s selected bank. Set this to an **id** of an iDEAL issuer to preselect it.
@@ -48,34 +43,6 @@ export class IdealDetails {
* **ideal**
*/
'type'?: IdealDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "issuer",
"baseName": "issuer",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",
"type": "string"
},
{
"name": "storedPaymentMethodId",
"baseName": "storedPaymentMethodId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "IdealDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return IdealDetails.attributeTypeMap;
}
}
export namespace IdealDetails {

View File

@@ -12,24 +12,19 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Item } from './item';
import { SubInputDetail } from './subInputDetail';
@@ -70,58 +65,5 @@ export class InputDetail {
* The value can be pre-filled, if available.
*/
'value'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "configuration",
"baseName": "configuration",
"type": "{ [key: string]: string; }"
},
{
"name": "details",
"baseName": "details",
"type": "Array<SubInputDetail>"
},
{
"name": "inputDetails",
"baseName": "inputDetails",
"type": "Array<SubInputDetail>"
},
{
"name": "itemSearchUrl",
"baseName": "itemSearchUrl",
"type": "string"
},
{
"name": "items",
"baseName": "items",
"type": "Array<Item>"
},
{
"name": "key",
"baseName": "key",
"type": "string"
},
{
"name": "optional",
"baseName": "optional",
"type": "boolean"
},
{
"name": "type",
"baseName": "type",
"type": "string"
},
{
"name": "value",
"baseName": "value",
"type": "string"
} ];
static getAttributeTypeMap() {
return InputDetail.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class InstallmentOption {
/**
* The maximum number of installments offered for this payment method.
@@ -48,34 +43,6 @@ export class InstallmentOption {
* An array of the number of installments that the shopper can choose from. For example, **[2,3,5]**. This cannot be specified simultaneously with `maxValue`.
*/
'values'?: Array<number>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "maxValue",
"baseName": "maxValue",
"type": "number"
},
{
"name": "plans",
"baseName": "plans",
"type": "Array<InstallmentOption.PlansEnum>"
},
{
"name": "preselectedValue",
"baseName": "preselectedValue",
"type": "number"
},
{
"name": "values",
"baseName": "values",
"type": "Array<number>"
} ];
static getAttributeTypeMap() {
return InstallmentOption.attributeTypeMap;
}
}
export namespace InstallmentOption {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,35 +26,15 @@
* Do not edit the class manually.
*/
export class Installments {
/**
* Defines the type of installment plan. If not set, defaults to **regular**. Possible values: * **regular** * **revolving**
* The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). By default, this is set to **regular**. Possible values: * **regular** * **revolving**
*/
'plan'?: Installments.PlanEnum;
/**
* Defines the number of installments. Its value needs to be greater than zero. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary.
*/
'value': number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "plan",
"baseName": "plan",
"type": "Installments.PlanEnum"
},
{
"name": "value",
"baseName": "value",
"type": "number"
} ];
static getAttributeTypeMap() {
return Installments.attributeTypeMap;
}
}
export namespace Installments {

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,25 +26,10 @@
* Do not edit the class manually.
*/
export class InstallmentsNumber {
/**
* Maximum number of installments
*/
'maxNumberOfInstallments': number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "maxNumberOfInstallments",
"baseName": "maxNumberOfInstallments",
"type": "number"
} ];
static getAttributeTypeMap() {
return InstallmentsNumber.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class Item {
/**
* The value to provide in the result.
@@ -40,23 +35,5 @@ export class Item {
* The display name.
*/
'name'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "name",
"baseName": "name",
"type": "string"
} ];
static getAttributeTypeMap() {
return Item.attributeTypeMap;
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class KlarnaDetails {
/**
* The address where to send the invoice.
@@ -56,44 +51,6 @@ export class KlarnaDetails {
* **klarna**
*/
'type': KlarnaDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "billingAddress",
"baseName": "billingAddress",
"type": "string"
},
{
"name": "deliveryAddress",
"baseName": "deliveryAddress",
"type": "string"
},
{
"name": "personalDetails",
"baseName": "personalDetails",
"type": "string"
},
{
"name": "recurringDetailReference",
"baseName": "recurringDetailReference",
"type": "string"
},
{
"name": "storedPaymentMethodId",
"baseName": "storedPaymentMethodId",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "KlarnaDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return KlarnaDetails.attributeTypeMap;
}
}
export namespace KlarnaDetails {

View File

@@ -1,66 +0,0 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class LianLianPayDetails {
'telephoneNumber': string;
/**
* **lianlianpay**
*/
'type': LianLianPayDetails.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "telephoneNumber",
"baseName": "telephoneNumber",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "LianLianPayDetails.TypeEnum"
} ];
static getAttributeTypeMap() {
return LianLianPayDetails.attributeTypeMap;
}
}
export namespace LianLianPayDetails {
export enum TypeEnum {
Enterprise = <any> 'lianlianpay_ebanking_enterprise',
Credit = <any> 'lianlianpay_ebanking_credit',
Debit = <any> 'lianlianpay_ebanking_debit'
}
}

View File

@@ -12,16 +12,13 @@
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2021 Adyen B.V.
* Copyright (c) 2022 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Adyen Checkout API
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ```
*
* The version of the OpenAPI document: 68
* Adyen Checkout API
*
* The version of the OpenAPI document: v69
* Contact: developer-experience@adyen.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,8 +26,6 @@
* Do not edit the class manually.
*/
export class LineItem {
/**
* Item amount excluding the tax, in minor units.
@@ -72,63 +67,5 @@ export class LineItem {
* Tax percentage, in minor units.
*/
'taxPercentage'?: number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "amountExcludingTax",
"baseName": "amountExcludingTax",
"type": "number"
},
{
"name": "amountIncludingTax",
"baseName": "amountIncludingTax",
"type": "number"
},
{
"name": "description",
"baseName": "description",
"type": "string"
},
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "imageUrl",
"baseName": "imageUrl",
"type": "string"
},
{
"name": "itemCategory",
"baseName": "itemCategory",
"type": "string"
},
{
"name": "productUrl",
"baseName": "productUrl",
"type": "string"
},
{
"name": "quantity",
"baseName": "quantity",
"type": "number"
},
{
"name": "taxAmount",
"baseName": "taxAmount",
"type": "number"
},
{
"name": "taxPercentage",
"baseName": "taxPercentage",
"type": "number"
} ];
static getAttributeTypeMap() {
return LineItem.attributeTypeMap;
}
}

Some files were not shown because too many files have changed in this diff Show More