@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
64 lines (63 loc) • 2.23 kB
TypeScript
import { Amount } from "./amount";
export declare class PixRecurring {
/**
* The date on which the shopper\'s payment method will be charged, in YYYY-MM-DD format.
*/
"billingDate"?: string;
/**
* Flag used to define whether liquidation can happen only on business days
*/
"businessDayOnly"?: boolean;
/**
* End date of the billing plan, in YYYY-MM-DD format. The end date must align with the frequency and the start date of the billing plan. If left blank, the subscription will continue indefinitely unless it is cancelled by the shopper.
*/
"endsAt"?: string;
/**
* The frequency at which the shopper will be charged.
*/
"frequency"?: PixRecurring.FrequencyEnum;
"minAmount"?: Amount | null;
/**
* The pspReference for the failed recurring payment. Find this in AUTHORISATION webhook you received after the billing date.
*/
"originalPspReference"?: string;
"recurringAmount"?: Amount | null;
/**
* The text that that will be shown on the shopper\'s bank statement for the recurring payments. We recommend to add a descriptive text about the subscription to let your shoppers recognize your recurring payments. Maximum length: 35 characters.
*/
"recurringStatement"?: string;
/**
* When set to true, you can retry for failed recurring payments. The default value is true.
*/
"retryPolicy"?: boolean;
/**
* Start date of the billing plan, in YYYY-MM-DD format. The default value is the transaction date.
*/
"startsAt"?: string;
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 PixRecurring {
enum FrequencyEnum {
Weekly = "weekly",
Monthly = "monthly",
Quarterly = "quarterly",
HalfYearly = "half-yearly",
Yearly = "yearly"
}
}