wallee
Version:
TypeScript/JavaScript client for wallee
58 lines (57 loc) • 1.93 kB
TypeScript
/**
*
* @export
* @interface TokenUpdate
*/
export interface TokenUpdate {
/**
* Whether the token is enabled for one-click payments, which simplify the payment process for the customer. One-click tokens are linked to customers via the customer ID.
* @type {boolean}
* @memberof TokenUpdate
*/
enabledForOneClickPayment?: boolean;
/**
* The customer's email address.
* @type {string}
* @memberof TokenUpdate
*/
customerEmailAddress?: string;
/**
* The reference used to identify the payment token (e.g. the customer's ID or email address).
* @type {string}
* @memberof TokenUpdate
*/
tokenReference?: string;
/**
* The unique identifier of the customer in the external system.
* @type {string}
* @memberof TokenUpdate
*/
customerId?: string;
/**
* The customer's time zone, which affects how dates and times are formatted when communicating with the customer.
* @type {string}
* @memberof TokenUpdate
*/
timeZone?: string;
/**
* The language that is linked to the object.
* @type {string}
* @memberof TokenUpdate
*/
language?: string;
/**
* The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
* @type {number}
* @memberof TokenUpdate
*/
version: number;
}
/**
* Check if a given object implements the TokenUpdate interface.
*/
export declare function instanceOfTokenUpdate(value: object): value is TokenUpdate;
export declare function TokenUpdateFromJSON(json: any): TokenUpdate;
export declare function TokenUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenUpdate;
export declare function TokenUpdateToJSON(json: any): TokenUpdate;
export declare function TokenUpdateToJSONTyped(value?: TokenUpdate | null, ignoreDiscriminator?: boolean): any;