@getopenpay/client
Version:
OpenPay API TypeScript SDK
45 lines (44 loc) • 1.61 kB
TypeScript
/**
* 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.
*/
/**
*
* @export
* @interface InvoiceItemDiscountAmountsPublic
*/
export interface InvoiceItemDiscountAmountsPublic {
/**
* The amount_atom of the discount.
* @type {number}
* @memberof InvoiceItemDiscountAmountsPublic
*/
amountAtom: number;
/**
*
* @type {string}
* @memberof InvoiceItemDiscountAmountsPublic
*/
couponDescription?: string | null;
/**
* Name of the coupon that was applied to get this discount.
* @type {string}
* @memberof InvoiceItemDiscountAmountsPublic
*/
couponName: string;
}
/**
* Check if a given object implements the InvoiceItemDiscountAmountsPublic interface.
*/
export declare function instanceOfInvoiceItemDiscountAmountsPublic(value: object): value is InvoiceItemDiscountAmountsPublic;
export declare function InvoiceItemDiscountAmountsPublicFromJSON(json: any): InvoiceItemDiscountAmountsPublic;
export declare function InvoiceItemDiscountAmountsPublicFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceItemDiscountAmountsPublic;
export declare function InvoiceItemDiscountAmountsPublicToJSON(json: any): InvoiceItemDiscountAmountsPublic;
export declare function InvoiceItemDiscountAmountsPublicToJSONTyped(value?: InvoiceItemDiscountAmountsPublic | null, ignoreDiscriminator?: boolean): any;