UNPKG

wallee

Version:
68 lines (67 loc) 1.73 kB
import { ChargeState } from "./ChargeState"; import { ChargeType } from "./ChargeType"; import { FailureReason } from "./FailureReason"; import { Transaction } from "./Transaction"; import { TransactionAwareEntity } from "./TransactionAwareEntity"; declare class Charge extends TransactionAwareEntity { /** * The date on which the charge was created on. */ 'createdOn'?: Date; /** * */ 'failureReason'?: FailureReason; /** * The language that is linked to the object. */ 'language'?: string; /** * 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 ID of the space view this object is linked to. */ 'spaceViewId'?: number; /** * The object's current state. */ 'state'?: ChargeState; /** * */ 'timeZone'?: string; /** * */ 'timeoutOn'?: Date; /** * */ 'transaction'?: Transaction; /** * */ 'type'?: ChargeType; /** * The failure message describes for an end user why the charge is failed in the language of the user. This is only provided when the charge is marked as failed. */ 'userFailureMessage'?: 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 { Charge };