UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

46 lines (45 loc) 1.66 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 { ObjectName } from './ObjectName'; /** * * @export * @interface InvoiceDiscountAmountsExternal */ export interface InvoiceDiscountAmountsExternal { /** * Amount in units of atom (for usd that is cents, e.g. 1200 for $12) * @type {number} * @memberof InvoiceDiscountAmountsExternal */ amountAtom: number; /** * Id of the discount that was applied to get this discount amount. * @type {string} * @memberof InvoiceDiscountAmountsExternal */ discountId: string; /** * * @type {ObjectName} * @memberof InvoiceDiscountAmountsExternal */ object?: ObjectName; } /** * Check if a given object implements the InvoiceDiscountAmountsExternal interface. */ export declare function instanceOfInvoiceDiscountAmountsExternal(value: object): value is InvoiceDiscountAmountsExternal; export declare function InvoiceDiscountAmountsExternalFromJSON(json: any): InvoiceDiscountAmountsExternal; export declare function InvoiceDiscountAmountsExternalFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceDiscountAmountsExternal; export declare function InvoiceDiscountAmountsExternalToJSON(json: any): InvoiceDiscountAmountsExternal; export declare function InvoiceDiscountAmountsExternalToJSONTyped(value?: InvoiceDiscountAmountsExternal | null, ignoreDiscriminator?: boolean): any;