UNPKG

wallee

Version:
132 lines (131 loc) 3.23 kB
import { Charge } from "./Charge"; import { ChargeAttemptEnvironment } from "./ChargeAttemptEnvironment"; import { ChargeAttemptState } from "./ChargeAttemptState"; import { ConnectorInvocation } from "./ConnectorInvocation"; import { CustomersPresence } from "./CustomersPresence"; import { FailureReason } from "./FailureReason"; import { Label } from "./Label"; import { PaymentConnectorConfiguration } from "./PaymentConnectorConfiguration"; import { PaymentTerminal } from "./PaymentTerminal"; import { TokenVersion } from "./TokenVersion"; import { TransactionAwareEntity } from "./TransactionAwareEntity"; import { TransactionCompletionBehavior } from "./TransactionCompletionBehavior"; import { WalletType } from "./WalletType"; declare class ChargeAttempt extends TransactionAwareEntity { /** * */ 'charge'?: Charge; /** * */ 'completionBehavior'?: TransactionCompletionBehavior; /** * */ 'connectorConfiguration'?: PaymentConnectorConfiguration; /** * The date and time when the object was created. */ 'createdOn'?: Date; /** * The customer's presence indicates which kind of customer interaction was used during the charge attempt. */ 'customersPresence'?: CustomersPresence; /** * */ 'environment'?: ChargeAttemptEnvironment; /** * */ 'failedOn'?: Date; /** * */ 'failureReason'?: FailureReason; /** * */ 'initializingTokenVersion'?: boolean; /** * */ 'invocation'?: ConnectorInvocation; /** * The labels providing additional information about the object. */ 'labels'?: Array<Label>; /** * The language that is linked to the object. */ 'language'?: string; /** * */ 'nextUpdateOn'?: Date; /** * 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; /** * */ 'redirectionUrl'?: string; /** * */ 'salesChannel'?: number; /** * The ID of the space view this object is linked to. */ 'spaceViewId'?: number; /** * The object's current state. */ 'state'?: ChargeAttemptState; /** * */ 'succeededOn'?: Date; /** * */ 'terminal'?: PaymentTerminal; /** * */ 'timeZone'?: string; /** * */ 'timeoutOn'?: Date; /** * */ 'tokenVersion'?: TokenVersion; /** * The user failure message contains the message for the user in case the attempt failed. The message is localized into the language specified on the transaction. */ 'userFailureMessage'?: string; /** * The version is used for optimistic locking and incremented whenever the object is updated. */ 'version'?: number; /** * */ 'wallet'?: WalletType; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export { ChargeAttempt };