@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
50 lines (49 loc) • 1.6 kB
TypeScript
export declare class InstallmentOption {
/**
* The maximum number of installments offered for this payment method.
*/
"maxValue"?: number;
/**
* Defines the type of installment plan. If not set, defaults to **regular**. Possible values: * **regular** * **revolving**
*/
"plans"?: Array<InstallmentOption.PlansEnum>;
/**
* Preselected number of installments offered for this payment method.
*/
"preselectedValue"?: number;
/**
* 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 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 InstallmentOption {
enum PlansEnum {
Bonus = "bonus",
BuynowPaylater = "buynow_paylater",
InteresRefundPrctg = "interes_refund_prctg",
InterestBonus = "interest_bonus",
NointeresRefundPrctg = "nointeres_refund_prctg",
NointerestBonus = "nointerest_bonus",
RefundPrctg = "refund_prctg",
Regular = "regular",
Revolving = "revolving",
WithInterest = "with_interest"
}
}