/** * 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 { CoinbaseOnrampFee } from './CoinbaseOnrampFee'; import { CoinbaseOnrampOrderPaymentMethod } from './CoinbaseOnrampOrderPaymentMethod'; import { CoinbaseOnrampOrderStatus } from './CoinbaseOnrampOrderStatus'; /** * * @export * @interface CoinbaseOnrampOrder */ export interface CoinbaseOnrampOrder { /** * * @type {string} * @memberof CoinbaseOnrampOrder */ orderId: string; /** * Digits with optional decimal part * @type {string} * @memberof CoinbaseOnrampOrder */ paymentTotal: string; /** * Digits with optional decimal part * @type {string} * @memberof CoinbaseOnrampOrder */ paymentSubtotal: string; /** * * @type {string} * @memberof CoinbaseOnrampOrder */ paymentCurrency: string; /** * * @type {CoinbaseOnrampOrderPaymentMethod} * @memberof CoinbaseOnrampOrder */ paymentMethod: CoinbaseOnrampOrderPaymentMethod; /** * Digits with optional decimal part * @type {string} * @memberof CoinbaseOnrampOrder */ purchaseAmount: string; /** * * @type {string} * @memberof CoinbaseOnrampOrder */ purchaseCurrency: string; /** * The fees associated with the order. * @type {Array} * @memberof CoinbaseOnrampOrder */ fees: Array; /** * Digits with optional decimal part * @type {string} * @memberof CoinbaseOnrampOrder */ exchangeRate: string; /** * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight) * @type {string} * @memberof CoinbaseOnrampOrder */ destinationAddress: string; /** * * @type {string} * @memberof CoinbaseOnrampOrder */ destinationNetwork: string; /** * * @type {CoinbaseOnrampOrderStatus} * @memberof CoinbaseOnrampOrder */ status: CoinbaseOnrampOrderStatus; /** * The date and time the order was created. * @type {Date} * @memberof CoinbaseOnrampOrder */ createdAt: Date; /** * The date and time the order was last updated. * @type {Date} * @memberof CoinbaseOnrampOrder */ updatedAt: Date; /** * A string with a max length of 4096 characters * @type {string} * @memberof CoinbaseOnrampOrder */ txHash?: string; /** * * @type {string} * @memberof CoinbaseOnrampOrder */ partnerUserRef?: string; } export declare function CoinbaseOnrampOrderFromJSON(json: any): CoinbaseOnrampOrder; export declare function CoinbaseOnrampOrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoinbaseOnrampOrder; export declare function CoinbaseOnrampOrderToJSON(value?: CoinbaseOnrampOrder | null): any;