export default MemberActivityDataRedemptionVoucher; /** * The MemberActivityDataRedemptionVoucher model module. * @module model/MemberActivityDataRedemptionVoucher */ declare class MemberActivityDataRedemptionVoucher { /** * 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 MemberActivityDataRedemptionVoucher 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 {MemberActivityDataRedemptionVoucher} [obj] Optional instance to populate. * @returns {MemberActivityDataRedemptionVoucher} The populated MemberActivityDataRedemptionVoucher instance. */ static constructFromObject(data: Partial, obj?: MemberActivityDataRedemptionVoucher): MemberActivityDataRedemptionVoucher; /** * Validates the JSON data with respect to MemberActivityDataRedemptionVoucher. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @returns {boolean} to indicate whether the JSON data is valid with respect to MemberActivityDataRedemptionVoucher. */ static validateJSON(data: Partial): boolean; id: string | undefined; code: string | undefined; gift: MemberActivityDataRedemptionVoucherGift | undefined; discount: Discount | undefined; loyalty_card: MemberActivityDataRedemptionVoucherLoyaltyCard | undefined; type: (keyof typeof MemberActivityDataRedemptionVoucher.TypeEnum) | undefined; campaign: string | undefined; campaign_id: string | undefined; is_referral_code: boolean | undefined; holder_id: string | undefined; referrer_id: string | undefined; category_id: string | undefined; categories: Array | undefined; active: boolean | undefined; created_at: string | undefined; updated_at: string | undefined; redemption: MemberActivityDataRedemptionVoucherRedemption | undefined; start_date: string | undefined; expiration_date: Date | undefined; metadata: any | undefined; object: string | undefined; category: string | undefined; validity_timeframe: ValidityTimeframe | undefined; validity_day_of_week: (Array) | undefined; validity_hours: ValidityHours | undefined; additional_info: string | undefined; assets: VoucherAssets | undefined; publish: MemberActivityDataRedemptionVoucherPublish | undefined; validation_rules_assignments: ValidationRulesAssignmentsList | undefined; holder: SimpleCustomer | undefined; } declare namespace MemberActivityDataRedemptionVoucher { namespace TypeEnum { let DISCOUNT_VOUCHER: string; let LOYALTY_CARD: string; let GIFT_VOUCHER: string; } let ValidityDayOfWeekEnum: { /** * value: 0 * @constant */ "0": number; /** * value: 1 * @constant */ "1": number; /** * value: 2 * @constant */ "2": number; /** * value: 3 * @constant */ "3": number; /** * value: 4 * @constant */ "4": number; /** * value: 5 * @constant */ "5": number; /** * value: 6 * @constant */ "6": number; }; } import MemberActivityDataRedemptionVoucherGift from './MemberActivityDataRedemptionVoucherGift'; import Discount from './Discount'; import MemberActivityDataRedemptionVoucherLoyaltyCard from './MemberActivityDataRedemptionVoucherLoyaltyCard'; import Category from './Category'; import MemberActivityDataRedemptionVoucherRedemption from './MemberActivityDataRedemptionVoucherRedemption'; import ValidityTimeframe from './ValidityTimeframe'; import ValidityHours from './ValidityHours'; import VoucherAssets from './VoucherAssets'; import MemberActivityDataRedemptionVoucherPublish from './MemberActivityDataRedemptionVoucherPublish'; import ValidationRulesAssignmentsList from './ValidationRulesAssignmentsList'; import SimpleCustomer from './SimpleCustomer';