export default VoucherBalance; /** * The VoucherBalance model module. * @module model/VoucherBalance */ declare class VoucherBalance { /** * Initializes the fields of this object. * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). * Only for internal use. */ static initialize(obj: any): void; /** * Constructs a VoucherBalance from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @param {VoucherBalance} [obj] Optional instance to populate. * @returns {VoucherBalance} The populated VoucherBalance instance. */ static constructFromObject(data: Partial, obj?: VoucherBalance): VoucherBalance; /** * Validates the JSON data with respect to VoucherBalance. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @returns {boolean} to indicate whether the JSON data is valid with respect to VoucherBalance. */ static validateJSON(data: Partial): boolean; type: (keyof typeof VoucherBalance.TypeEnum) | undefined; total: number | undefined; object: (keyof typeof VoucherBalance.ObjectEnum) | undefined; amount: number | undefined; points: number | undefined; balance: number | undefined; operation_type: (keyof typeof VoucherBalance.OperationTypeEnum) | undefined; related_object: VoucherBalanceRelatedObject | undefined; } declare namespace VoucherBalance { namespace TypeEnum { let loyalty_card: string; let gift_voucher: string; } namespace ObjectEnum { let balance: string; } namespace OperationTypeEnum { let MANUAL: string; let AUTOMATIC: string; } } import VoucherBalanceRelatedObject from './VoucherBalanceRelatedObject';