@getopenpay/client
Version:
OpenPay API TypeScript SDK
46 lines (45 loc) • 1.69 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.
*/
import type { ObjectName } from './ObjectName';
/**
*
* @export
* @interface InvoiceItemDiscountAmountsExternal
*/
export interface InvoiceItemDiscountAmountsExternal {
/**
* The amount_atom, of the discount.
* @type {number}
* @memberof InvoiceItemDiscountAmountsExternal
*/
amountAtom: number;
/**
* Id of the discount that was applied to get this discount amount.
* @type {string}
* @memberof InvoiceItemDiscountAmountsExternal
*/
discountId: string;
/**
*
* @type {ObjectName}
* @memberof InvoiceItemDiscountAmountsExternal
*/
object?: ObjectName;
}
/**
* Check if a given object implements the InvoiceItemDiscountAmountsExternal interface.
*/
export declare function instanceOfInvoiceItemDiscountAmountsExternal(value: object): value is InvoiceItemDiscountAmountsExternal;
export declare function InvoiceItemDiscountAmountsExternalFromJSON(json: any): InvoiceItemDiscountAmountsExternal;
export declare function InvoiceItemDiscountAmountsExternalFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceItemDiscountAmountsExternal;
export declare function InvoiceItemDiscountAmountsExternalToJSON(json: any): InvoiceItemDiscountAmountsExternal;
export declare function InvoiceItemDiscountAmountsExternalToJSONTyped(value?: InvoiceItemDiscountAmountsExternal | null, ignoreDiscriminator?: boolean): any;