wallee
Version:
TypeScript/JavaScript client for wallee
68 lines (67 loc) • 2.11 kB
TypeScript
import { CreationEntityState } from "./CreationEntityState";
declare class Token {
/**
* The date and time when the object was created.
*/
'createdOn'?: Date;
/**
* The customer's email address.
*/
'customerEmailAddress'?: string;
/**
* The unique identifier of the customer in the external system.
*/
'customerId'?: string;
/**
* 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.
*/
'enabledForOneClickPayment'?: boolean;
/**
* A client generated nonce which identifies the entity to be created. Subsequent creation requests with the same external ID will not create new entities but return the initially created entity instead.
*/
'externalId'?: string;
/**
* A unique identifier for the object.
*/
'id'?: number;
/**
* The language that is linked to the object.
*/
'language'?: string;
/**
* The ID of the space this object belongs to.
*/
'linkedSpaceId'?: number;
/**
* The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed.
*/
'plannedPurgeDate'?: Date;
/**
* The object's current state.
*/
'state'?: CreationEntityState;
/**
* The customer's time zone, which affects how dates and times are formatted when communicating with the customer.
*/
'timeZone'?: string;
/**
* The reference used to identify the payment token (e.g. the customer's ID or email address).
*/
'tokenReference'?: string;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
*/
'version'?: number;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}
export { Token };