export default SimpleCampaignVoucher;
/**
* The SimpleCampaignVoucher model module.
* @module model/SimpleCampaignVoucher
*/
declare class SimpleCampaignVoucher {
/**
* 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, codeConfig: any): void;
/**
* Constructs a SimpleCampaignVoucher 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 {SimpleCampaignVoucher} [obj] Optional instance to populate.
* @returns {SimpleCampaignVoucher} The populated SimpleCampaignVoucher instance.
*/
static constructFromObject(data: Partial, obj?: SimpleCampaignVoucher): SimpleCampaignVoucher;
/**
* Validates the JSON data with respect to SimpleCampaignVoucher.
* @param {Partial} data The plain JavaScript object bearing properties of interest.
* @returns {boolean} to indicate whether the JSON data is valid with respect to SimpleCampaignVoucher.
*/
static validateJSON(data: Partial): boolean;
/**
* Constructs a new SimpleCampaignVoucher.
* Simplified campaign voucher data.
* @alias SimpleCampaignVoucher
* @param {CodeConfig} codeConfig
*/
constructor(codeConfig: CodeConfig);
type: (keyof typeof SimpleCampaignVoucher.TypeEnum) | undefined;
discount: Discount | undefined;
gift: Gift | undefined;
loyalty_card: CampaignLoyaltyCard | undefined;
redemption: SimpleCampaignVoucherRedemption | undefined;
code_config: CodeConfig;
}
declare namespace SimpleCampaignVoucher {
let RequiredProperties: string[];
namespace TypeEnum {
let DISCOUNT_VOUCHER: string;
let LOYALTY_CARD: string;
let GIFT_VOUCHER: string;
}
}
import Discount from './Discount';
import Gift from './Gift';
import CampaignLoyaltyCard from './CampaignLoyaltyCard';
import SimpleCampaignVoucherRedemption from './SimpleCampaignVoucherRedemption';
import CodeConfig from './CodeConfig';