/** * NOTE: This file is auto generated by Xendit. * Do not edit the class manually. * Improvements? Share your ideas at https://github.com/xendit/xendit-node */ /** * Card Information * @export * @interface CardInformation */ export interface CardInformation { /** * * @type {string} * @memberof CardInformation */ tokenId?: string; /** * 1st 6 and last 4 digits of the card * @type {string} * @memberof CardInformation */ maskedCardNumber?: string; /** * Card expiry month in MM format * @type {string} * @memberof CardInformation */ expiryMonth?: string; /** * Card expiry month in YY format * @type {string} * @memberof CardInformation */ expiryYear?: string; /** * Cardholder name * @type {string} * @memberof CardInformation */ cardholderName?: string | null; /** * * @type {string} * @memberof CardInformation */ fingerprint?: string; /** * * @type {string} * @memberof CardInformation */ type?: string; /** * * @type {string} * @memberof CardInformation */ network?: CardInformationNetworkEnum; /** * * @type {string} * @memberof CardInformation */ country?: string; /** * * @type {string} * @memberof CardInformation */ issuer?: string; /** * * @type {string} * @memberof CardInformation */ cardNumber?: string; /** * * @type {string} * @memberof CardInformation */ oneTimeToken?: string; } /** * @export */ export declare const CardInformationNetworkEnum: { readonly Visa: "VISA"; readonly Mastercard: "MASTERCARD"; readonly Jcb: "JCB"; readonly Amex: "AMEX"; readonly Discover: "DISCOVER"; }; export type CardInformationNetworkEnum = typeof CardInformationNetworkEnum[keyof typeof CardInformationNetworkEnum]; /** * Check if a given object implements the CardInformation interface. */ export declare function instanceOfCardInformation(value: object): boolean; export declare function CardInformationFromJSON(json: any): CardInformation; export declare function CardInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): CardInformation; export declare function CardInformationToJSON(value?: CardInformation | null): any;