/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ChainEnum } from './ChainEnum'; import { CheckoutTransactionDestinationAddress } from './CheckoutTransactionDestinationAddress'; import { FlowExchangeSource } from './FlowExchangeSource'; import { FlowExecutionStateEnum } from './FlowExecutionStateEnum'; import { FlowFailure } from './FlowFailure'; import { FlowQuote } from './FlowQuote'; import { FlowRiskStateEnum } from './FlowRiskStateEnum'; import { FlowSettlementData } from './FlowSettlementData'; import { FlowSettlementStateEnum } from './FlowSettlementStateEnum'; import { FlowSourceTypeEnum } from './FlowSourceTypeEnum'; /** * * @export * @interface CheckoutTransaction */ export interface CheckoutTransaction { /** * * @type {string} * @memberof CheckoutTransaction */ id: string; /** * * @type {string} * @memberof CheckoutTransaction */ checkoutId: string; /** * Arbitrary metadata attached to the transaction * @type {object} * @memberof CheckoutTransaction */ memo?: object; /** * * @type {string} * @memberof CheckoutTransaction */ userId?: string; /** * Payment/Deposit amount in the specified currency * @type {string} * @memberof CheckoutTransaction */ amount: string; /** * * @type {string} * @memberof CheckoutTransaction */ currency: string; /** * List of destination wallet addresses for fund delivery * @type {Array} * @memberof CheckoutTransaction */ destinationAddresses?: Array; /** * * @type {FlowExecutionStateEnum} * @memberof CheckoutTransaction */ executionState: FlowExecutionStateEnum; /** * * @type {FlowSettlementStateEnum} * @memberof CheckoutTransaction */ settlementState: FlowSettlementStateEnum; /** * * @type {FlowRiskStateEnum} * @memberof CheckoutTransaction */ riskState: FlowRiskStateEnum; /** * * @type {FlowSourceTypeEnum} * @memberof CheckoutTransaction */ sourceType?: FlowSourceTypeEnum; /** * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON) * @type {string} * @memberof CheckoutTransaction */ fromAddress?: string; /** * * @type {string} * @memberof CheckoutTransaction */ fromChainId?: string; /** * * @type {ChainEnum} * @memberof CheckoutTransaction */ fromChainName?: ChainEnum; /** * * @type {string} * @memberof CheckoutTransaction */ fromToken?: string; /** * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON) * @type {string} * @memberof CheckoutTransaction */ toAddress?: string; /** * * @type {string} * @memberof CheckoutTransaction */ toChainId?: string; /** * * @type {ChainEnum} * @memberof CheckoutTransaction */ toChainName?: ChainEnum; /** * * @type {string} * @memberof CheckoutTransaction */ toToken?: string; /** * Version number of the quote used for this transaction * @type {number} * @memberof CheckoutTransaction */ quoteVersion: number; /** * * @type {FlowQuote} * @memberof CheckoutTransaction */ quote?: FlowQuote; /** * A string with a max length of 4096 characters * @type {string} * @memberof CheckoutTransaction */ txHash?: string; /** * ISO 8601 timestamp of when the transaction was broadcast to the network * @type {Date} * @memberof CheckoutTransaction */ broadcastedAt?: Date; /** * ISO 8601 timestamp of when the source chain confirmed the transaction * @type {Date} * @memberof CheckoutTransaction */ sourceConfirmedAt?: Date; /** * Number of blockchain confirmations received * @type {number} * @memberof CheckoutTransaction */ confirmations?: number; /** * * @type {FlowSettlementData} * @memberof CheckoutTransaction */ settlement?: FlowSettlementData; /** * ISO 8601 timestamp of when the transaction was completed * @type {Date} * @memberof CheckoutTransaction */ completedAt?: Date; /** * * @type {FlowFailure} * @memberof CheckoutTransaction */ failure?: FlowFailure; /** * ISO 8601 timestamp of when the transaction expires * @type {Date} * @memberof CheckoutTransaction */ expiresAt?: Date; /** * ISO 8601 timestamp of when the transaction was created * @type {Date} * @memberof CheckoutTransaction */ createdAt: Date; /** * ISO 8601 timestamp of when the transaction was last updated * @type {Date} * @memberof CheckoutTransaction */ updatedAt: Date; /** * * @type {FlowExchangeSource} * @memberof CheckoutTransaction */ exchangeSource?: FlowExchangeSource; } export declare function CheckoutTransactionFromJSON(json: any): CheckoutTransaction; export declare function CheckoutTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutTransaction; export declare function CheckoutTransactionToJSON(value?: CheckoutTransaction | null): any;