UNPKG

wallee

Version:
134 lines (133 loc) 3.26 kB
import { FailureReason } from "./FailureReason"; import { Label } from "./Label"; import { LineItem } from "./LineItem"; import { TransactionAwareEntity } from "./TransactionAwareEntity"; import { TransactionCompletionMode } from "./TransactionCompletionMode"; import { TransactionCompletionState } from "./TransactionCompletionState"; import { TransactionLineItemVersion } from "./TransactionLineItemVersion"; declare class TransactionCompletion extends TransactionAwareEntity { /** * The amount which is captured. The amount represents sum of line items including taxes. */ 'amount'?: number; /** * The base line items on which the completion is applied on. */ 'baseLineItems'?: Array<LineItem>; /** * */ 'createdBy'?: number; /** * The date and time when the object was created. */ 'createdOn'?: Date; /** * The external ID helps to identify the entity and a subsequent creation of an entity with the same ID will not create a new entity. */ 'externalId'?: string; /** * */ 'failedOn'?: Date; /** * */ 'failureReason'?: FailureReason; /** * */ 'invoiceMerchantReference'?: string; /** * The labels providing additional information about the object. */ 'labels'?: Array<Label>; /** * The language that is linked to the object. */ 'language'?: string; /** * Indicates if this is the last completion. After the last completion is created the transaction cannot be completed anymore. */ 'lastCompletion'?: boolean; /** * */ 'lineItemVersion'?: TransactionLineItemVersion; /** * The line items which are captured. */ 'lineItems'?: Array<LineItem>; /** * */ 'mode'?: TransactionCompletionMode; /** * */ 'nextUpdateOn'?: Date; /** * */ 'paymentInformation'?: 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; /** * */ 'processingOn'?: Date; /** * */ 'processorReference'?: string; /** * */ 'remainingLineItems'?: Array<LineItem>; /** * The ID of the space view this object is linked to. */ 'spaceViewId'?: number; /** * The object's current state. */ 'state'?: TransactionCompletionState; /** * The statement descriptor explain charges or payments on bank statements. */ 'statementDescriptor'?: string; /** * */ 'succeededOn'?: Date; /** * The total sum of all taxes of line items. */ 'taxAmount'?: number; /** * */ 'timeZone'?: string; /** * */ 'timeoutOn'?: Date; /** * 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 { TransactionCompletion };