@circle-fin/circle-sdk
Version:
Node.js SDK for Circle API
88 lines (82 loc) • 2.34 kB
text/typescript
/* 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 { FiatMoneyUsd } from "./fiat-money-usd";
// May contain unused imports in some cases
// @ts-ignore
import { PaymentStatus } from "./payment-status";
// May contain unused imports in some cases
// @ts-ignore
import { RequiredAction } from "./required-action";
/**
* Status information of the related payment. This property is only present on refund or cancel items.
* @export
* @interface PaymentInfoPaymentAndRefund
*/
export interface PaymentInfoPaymentAndRefund {
/**
* Unique system generated identifier for the entity.
* @type {string}
* @memberof PaymentInfoPaymentAndRefund
*/
id?: string;
/**
* Type of the payment object.
* @type {string}
* @memberof PaymentInfoPaymentAndRefund
*/
type?: PaymentInfoPaymentAndRefundTypeEnum;
/**
*
* @type {FiatMoneyUsd}
* @memberof PaymentInfoPaymentAndRefund
*/
amount?: FiatMoneyUsd;
/**
* Enumerated description of the payment item.
* @type {string}
* @memberof PaymentInfoPaymentAndRefund
*/
description?: PaymentInfoPaymentAndRefundDescriptionEnum;
/**
*
* @type {PaymentStatus}
* @memberof PaymentInfoPaymentAndRefund
*/
status?: PaymentStatus;
/**
*
* @type {RequiredAction}
* @memberof PaymentInfoPaymentAndRefund
*/
requiredAction?: RequiredAction;
/**
*
* @type {FiatMoneyUsd}
* @memberof PaymentInfoPaymentAndRefund
*/
fees?: FiatMoneyUsd;
/**
* ISO-8601 UTC date/time format.
* @type {string}
* @memberof PaymentInfoPaymentAndRefund
*/
createDate?: string;
}
export const PaymentInfoPaymentAndRefundTypeEnum = {
Payment: "payment",
Refund: "refund"
} as const;
export type PaymentInfoPaymentAndRefundTypeEnum =
typeof PaymentInfoPaymentAndRefundTypeEnum[keyof typeof PaymentInfoPaymentAndRefundTypeEnum];
export const PaymentInfoPaymentAndRefundDescriptionEnum = {
Payment: "Payment"
} as const;
export type PaymentInfoPaymentAndRefundDescriptionEnum =
typeof PaymentInfoPaymentAndRefundDescriptionEnum[keyof typeof PaymentInfoPaymentAndRefundDescriptionEnum];