@circle-fin/circle-sdk
Version:
Node.js SDK for Circle API
63 lines (57 loc) • 1.65 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 { CancelRefundReversalStatus } from "./cancel-refund-reversal-status";
/**
* Status information of the related cancel. This property is only present on canceled payment or refund items.
* @export
* @interface PaymentInfoCancel
*/
export interface PaymentInfoCancel {
/**
* Unique system generated identifier for the entity.
* @type {string}
* @memberof PaymentInfoCancel
*/
id?: string;
/**
* Type of the payment object.
* @type {string}
* @memberof PaymentInfoCancel
*/
type?: PaymentInfoCancelTypeEnum;
/**
* Enumerated description of the payment item.
* @type {string}
* @memberof PaymentInfoCancel
*/
description?: PaymentInfoCancelDescriptionEnum;
/**
*
* @type {CancelRefundReversalStatus}
* @memberof PaymentInfoCancel
*/
status?: CancelRefundReversalStatus;
/**
* ISO-8601 UTC date/time format.
* @type {string}
* @memberof PaymentInfoCancel
*/
createDate?: string;
}
export const PaymentInfoCancelTypeEnum = {
Cancel: "cancel"
} as const;
export type PaymentInfoCancelTypeEnum =
typeof PaymentInfoCancelTypeEnum[keyof typeof PaymentInfoCancelTypeEnum];
export const PaymentInfoCancelDescriptionEnum = {
Payment: "Payment"
} as const;
export type PaymentInfoCancelDescriptionEnum =
typeof PaymentInfoCancelDescriptionEnum[keyof typeof PaymentInfoCancelDescriptionEnum];