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