UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

51 lines (50 loc) 1.49 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. */ /** * * @export * @interface PriceTierParams */ export interface PriceTierParams { /** * * @type {number} * @memberof PriceTierParams */ flatAmountAtom?: number | null; /** * The price for the unit in the smallest denomination.It is in atomic units (in USD this is cents). * @type {number} * @memberof PriceTierParams */ unitAmountAtom: number; /** * The starting unit for the price tier. * @type {number} * @memberof PriceTierParams */ unitsFrom: number; /** * * @type {number} * @memberof PriceTierParams */ unitsUpto?: number | null; } /** * Check if a given object implements the PriceTierParams interface. */ export declare function instanceOfPriceTierParams(value: object): value is PriceTierParams; export declare function PriceTierParamsFromJSON(json: any): PriceTierParams; export declare function PriceTierParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PriceTierParams; export declare function PriceTierParamsToJSON(json: any): PriceTierParams; export declare function PriceTierParamsToJSONTyped(value?: PriceTierParams | null, ignoreDiscriminator?: boolean): any;