UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

40 lines (39 loc) 1.33 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 { CurrencyEnum } from './CurrencyEnum'; /** * * @export * @interface CustomerTotalAmount */ export interface CustomerTotalAmount { /** * The total refunds/spent of the customer. * @type {number} * @memberof CustomerTotalAmount */ amountAtom?: number; /** * The currency of the total amount. * @type {CurrencyEnum} * @memberof CustomerTotalAmount */ currency: CurrencyEnum; } /** * Check if a given object implements the CustomerTotalAmount interface. */ export declare function instanceOfCustomerTotalAmount(value: object): value is CustomerTotalAmount; export declare function CustomerTotalAmountFromJSON(json: any): CustomerTotalAmount; export declare function CustomerTotalAmountFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerTotalAmount; export declare function CustomerTotalAmountToJSON(json: any): CustomerTotalAmount; export declare function CustomerTotalAmountToJSONTyped(value?: CustomerTotalAmount | null, ignoreDiscriminator?: boolean): any;