@getopenpay/client
Version:
OpenPay API TypeScript SDK
76 lines (75 loc) • 2.05 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 PriceTierExternal
*/
export interface PriceTierExternal {
/**
* DateTime at which the object was created, in 'ISO 8601' format.
* @type {Date}
* @memberof PriceTierExternal
*/
createdAt: Date;
/**
*
* @type {number}
* @memberof PriceTierExternal
*/
flatAmountAtom: number;
/**
* Unique identifier for the object.
* @type {string}
* @memberof PriceTierExternal
*/
id: string;
/**
* If true, indicates that this object has been deleted
* @type {boolean}
* @memberof PriceTierExternal
*/
isDeleted?: boolean;
/**
*
* @type {ObjectName}
* @memberof PriceTierExternal
*/
object?: ObjectName;
/**
*
* @type {number}
* @memberof PriceTierExternal
*/
unitAmountAtom: number;
/**
*
* @type {number}
* @memberof PriceTierExternal
*/
unitsUpto?: number | null;
/**
* DateTime at which the object was updated, in 'ISO 8601' format.
* @type {Date}
* @memberof PriceTierExternal
*/
updatedAt: Date;
}
/**
* Check if a given object implements the PriceTierExternal interface.
*/
export declare function instanceOfPriceTierExternal(value: object): value is PriceTierExternal;
export declare function PriceTierExternalFromJSON(json: any): PriceTierExternal;
export declare function PriceTierExternalFromJSONTyped(json: any, ignoreDiscriminator: boolean): PriceTierExternal;
export declare function PriceTierExternalToJSON(json: any): PriceTierExternal;
export declare function PriceTierExternalToJSONTyped(value?: PriceTierExternal | null, ignoreDiscriminator?: boolean): any;