@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
52 lines (51 loc) • 1.35 kB
TypeScript
import { Amount } from "./amount";
import { Fee } from "./fee";
import { Repayment } from "./repayment";
export declare class GrantOffer {
/**
* The identifier of the account holder to which the grant is offered.
*/
"accountHolderId": string;
"amount"?: Amount | null;
/**
* The contract type of the grant offer. Possible value: **cashAdvance**, **loan**.
*/
"contractType"?: GrantOffer.ContractTypeEnum;
/**
* The end date of the grant offer validity period.
*/
"expiresAt"?: Date;
"fee"?: Fee | null;
/**
* The unique identifier of the grant offer.
*/
"id"?: string;
"repayment"?: Repayment | null;
/**
* The starting date of the grant offer validity period.
*/
"startsAt"?: Date;
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 GrantOffer {
enum ContractTypeEnum {
CashAdvance = "cashAdvance",
Loan = "loan"
}
}