UNPKG

@circle-fin/circle-sdk

Version:
129 lines (123 loc) 3.02 kB
/* tslint:disable */ /* eslint-disable */ /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import { CancelRefundReversalStatus } from "./cancel-refund-reversal-status"; // May contain unused imports in some cases // @ts-ignore import { FiatMoneyUsd } from "./fiat-money-usd"; // May contain unused imports in some cases // @ts-ignore import { PaymentInfoCancel } from "./payment-info-cancel"; // May contain unused imports in some cases // @ts-ignore import { PaymentInfoPaymentAndRefund } from "./payment-info-payment-and-refund"; // May contain unused imports in some cases // @ts-ignore import { SourceResponse } from "./source-response"; /** * * @export * @interface FiatRefund */ export interface FiatRefund { /** * Unique system generated identifier for the entity. * @type {string} * @memberof FiatRefund */ id: string; /** * Type of the payment object. * @type {string} * @memberof FiatRefund */ type: FiatRefundTypeEnum; /** * Unique system generated identifier for the merchant. * @type {string} * @memberof FiatRefund */ merchantId: string; /** * Unique system generated identifier for the wallet of the merchant. * @type {string} * @memberof FiatRefund */ merchantWalletId?: string; /** * * @type {FiatMoneyUsd} * @memberof FiatRefund */ amount: FiatMoneyUsd; /** * * @type {SourceResponse} * @memberof FiatRefund */ source: SourceResponse; /** * Enumerated description of the payment. * @type {string} * @memberof FiatRefund */ description?: FiatRefundDescriptionEnum; /** * * @type {CancelRefundReversalStatus} * @memberof FiatRefund */ status: CancelRefundReversalStatus; /** * * @type {PaymentInfoPaymentAndRefund} * @memberof FiatRefund */ originalPayment?: PaymentInfoPaymentAndRefund; /** * * @type {PaymentInfoCancel} * @memberof FiatRefund */ cancel?: PaymentInfoCancel | null; /** * * @type {FiatMoneyUsd} * @memberof FiatRefund */ fees?: FiatMoneyUsd; /** * The channel identifier that can be set for the payment. When not provided, the default channel is used. * @type {string} * @memberof FiatRefund */ channel?: string; /** * ISO-8601 UTC date/time format. * @type {string} * @memberof FiatRefund */ createDate?: string; /** * ISO-8601 UTC date/time format. * @type {string} * @memberof FiatRefund */ updateDate?: string; } export const FiatRefundTypeEnum = { Refund: "refund" } as const; export type FiatRefundTypeEnum = typeof FiatRefundTypeEnum[keyof typeof FiatRefundTypeEnum]; export const FiatRefundDescriptionEnum = { Payment: "Payment" } as const; export type FiatRefundDescriptionEnum = typeof FiatRefundDescriptionEnum[keyof typeof FiatRefundDescriptionEnum];