@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
55 lines (54 loc) • 2.31 kB
TypeScript
export declare class Recurring {
/**
* The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). * `EXTERNAL` - Use this when you store payment details and send the raw card number or network token directly in your API request.
*/
"contract"?: Recurring.ContractEnum;
/**
* A descriptive name for this detail.
*/
"recurringDetailName"?: string;
/**
* Date after which no further authorisations shall be performed. Only for 3D Secure 2.
*/
"recurringExpiry"?: Date;
/**
* Minimum number of days between authorisations. Only for 3D Secure 2.
*/
"recurringFrequency"?: string;
/**
* The name of the token service.
*/
"tokenService"?: Recurring.TokenServiceEnum;
static readonly discriminator: string | undefined;
static readonly mapping: {
[index: string]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
export declare namespace Recurring {
enum ContractEnum {
Oneclick = "ONECLICK",
Oneclickrecurring = "ONECLICK,RECURRING",
Recurring = "RECURRING",
Payout = "PAYOUT",
External = "EXTERNAL"
}
enum TokenServiceEnum {
Visatokenservice = "VISATOKENSERVICE",
Mctokenservice = "MCTOKENSERVICE",
Amextokenservice = "AMEXTOKENSERVICE",
TokenSharing = "TOKEN_SHARING"
}
}