wallee
Version:
TypeScript/JavaScript client for wallee
65 lines (64 loc) • 2.19 kB
TypeScript
import type { CreationEntityState } from './CreationEntityState';
/**
*
* @export
* @interface TokenCreate
*/
export interface TokenCreate {
/**
* 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 TokenCreate
*/
enabledForOneClickPayment?: boolean;
/**
* The customer's email address.
* @type {string}
* @memberof TokenCreate
*/
customerEmailAddress?: string;
/**
* The reference used to identify the payment token (e.g. the customer's ID or email address).
* @type {string}
* @memberof TokenCreate
*/
tokenReference?: string;
/**
* The unique identifier of the customer in the external system.
* @type {string}
* @memberof TokenCreate
*/
customerId?: string;
/**
* The customer's time zone, which affects how dates and times are formatted when communicating with the customer.
* @type {string}
* @memberof TokenCreate
*/
timeZone?: string;
/**
* The language that is linked to the object.
* @type {string}
* @memberof TokenCreate
*/
language?: string;
/**
* A client-generated nonce which uniquely identifies some action to be executed. Subsequent requests with the same external ID do not execute the action again, but return the original result.
* @type {string}
* @memberof TokenCreate
*/
externalId: string;
/**
*
* @type {CreationEntityState}
* @memberof TokenCreate
*/
state?: CreationEntityState;
}
/**
* Check if a given object implements the TokenCreate interface.
*/
export declare function instanceOfTokenCreate(value: object): value is TokenCreate;
export declare function TokenCreateFromJSON(json: any): TokenCreate;
export declare function TokenCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenCreate;
export declare function TokenCreateToJSON(json: any): TokenCreate;
export declare function TokenCreateToJSONTyped(value?: TokenCreate | null, ignoreDiscriminator?: boolean): any;