UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

102 lines (101 loc) 3.07 kB
/** * OpenPay API * super charge your subscription management. * * The version of the OpenAPI document: 1.2.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { CustomerBalanceTransactionType } from './CustomerBalanceTransactionType'; import type { CurrencyEnum } from './CurrencyEnum'; import type { ObjectName } from './ObjectName'; /** * * @export * @interface CustomerBalanceTransactionExternal */ export interface CustomerBalanceTransactionExternal { /** * * @type {number} * @memberof CustomerBalanceTransactionExternal */ amountAtom: number; /** * DateTime at which the object was created, in 'ISO 8601' format. * @type {Date} * @memberof CustomerBalanceTransactionExternal */ createdAt: Date; /** * * @type {string} * @memberof CustomerBalanceTransactionExternal */ creditNoteId: string | null; /** * * @type {CurrencyEnum} * @memberof CustomerBalanceTransactionExternal */ currency: CurrencyEnum; /** * * @type {string} * @memberof CustomerBalanceTransactionExternal */ description: string | null; /** * * @type {number} * @memberof CustomerBalanceTransactionExternal */ endingBalanceAmountAtom: number; /** * * @type {string} * @memberof CustomerBalanceTransactionExternal */ id: string; /** * * @type {string} * @memberof CustomerBalanceTransactionExternal */ invoiceId: string | null; /** * If true, indicates that this object has been deleted * @type {boolean} * @memberof CustomerBalanceTransactionExternal */ isDeleted?: boolean; /** * * @type {ObjectName} * @memberof CustomerBalanceTransactionExternal */ object?: ObjectName; /** * * @type {CustomerBalanceTransactionType} * @memberof CustomerBalanceTransactionExternal */ type: CustomerBalanceTransactionType; /** * DateTime at which the object was updated, in 'ISO 8601' format. * @type {Date} * @memberof CustomerBalanceTransactionExternal */ updatedAt: Date; } /** * Check if a given object implements the CustomerBalanceTransactionExternal interface. */ export declare function instanceOfCustomerBalanceTransactionExternal(value: object): value is CustomerBalanceTransactionExternal; export declare function CustomerBalanceTransactionExternalFromJSON(json: any): CustomerBalanceTransactionExternal; export declare function CustomerBalanceTransactionExternalFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerBalanceTransactionExternal; export declare function CustomerBalanceTransactionExternalToJSON(json: any): CustomerBalanceTransactionExternal; export declare function CustomerBalanceTransactionExternalToJSONTyped(value?: CustomerBalanceTransactionExternal | null, ignoreDiscriminator?: boolean): any;