import type { AddressCreate } from './AddressCreate'; import type { LineItemCreate } from './LineItemCreate'; import type { TokenizationMode } from './TokenizationMode'; import type { TransactionCompletionBehavior } from './TransactionCompletionBehavior'; /** * * @export * @interface TransactionPending */ export interface TransactionPending { /** * The customer's email address. * @type {string} * @memberof TransactionPending */ customerEmailAddress?: string; /** * The name of the shipping method used to ship the products. * @type {string} * @memberof TransactionPending */ shippingMethod?: string; /** * The merchant's reference used to identify the invoice. * @type {string} * @memberof TransactionPending */ invoiceMerchantReference?: string; /** * The URL to redirect the customer back to after they successfully authenticated their payment. * @type {string} * @memberof TransactionPending */ successUrl?: string; /** * The customer's time zone, which affects how dates and times are formatted when communicating with the customer. * @type {string} * @memberof TransactionPending */ timeZone?: string; /** * The language that is linked to the object. * @type {string} * @memberof TransactionPending */ language?: string; /** * * @type {TokenizationMode} * @memberof TransactionPending */ tokenizationMode?: TokenizationMode; /** * The payment method brands that can be used to authorize the transaction. * @type {Array} * @memberof TransactionPending */ allowedPaymentMethodBrands?: Array; /** * * @type {TransactionCompletionBehavior} * @memberof TransactionPending */ completionBehavior?: TransactionCompletionBehavior; /** * The payment token that should be used to charge the customer. * @type {number} * @memberof TransactionPending */ token?: number; /** * The line items purchased by the customer. * @type {Array} * @memberof TransactionPending */ lineItems?: Array; /** * Allow to store additional information about the object. * @type {{ [key: string]: string; }} * @memberof TransactionPending */ metaData?: { [key: string]: string; }; /** * The unique identifier of the customer in the external system. * @type {string} * @memberof TransactionPending */ customerId?: string; /** * * @type {AddressCreate} * @memberof TransactionPending */ shippingAddress?: AddressCreate; /** * The three-letter code (ISO 4217 format) of the transaction's currency. * @type {string} * @memberof TransactionPending */ currency?: string; /** * * @type {AddressCreate} * @memberof TransactionPending */ billingAddress?: AddressCreate; /** * The merchant's reference used to identify the transaction. * @type {string} * @memberof TransactionPending */ merchantReference?: string; /** * The payment method configurations that can be used to authorize the transaction. * @type {Array} * @memberof TransactionPending */ allowedPaymentMethodConfigurations?: Array; /** * The URL to redirect the customer back to after they canceled or failed to authenticated their payment. * @type {string} * @memberof TransactionPending */ failedUrl?: string; /** * The version number indicates the version of the entity. The version is incremented whenever the entity is changed. * @type {number} * @memberof TransactionPending */ version: number; } /** * Check if a given object implements the TransactionPending interface. */ export declare function instanceOfTransactionPending(value: object): value is TransactionPending; export declare function TransactionPendingFromJSON(json: any): TransactionPending; export declare function TransactionPendingFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionPending; export declare function TransactionPendingToJSON(json: any): TransactionPending; export declare function TransactionPendingToJSONTyped(value?: TransactionPending | null, ignoreDiscriminator?: boolean): any;