export default ReferralProgram;
/**
* The ReferralProgram model module.
* @module model/ReferralProgram
*/
declare class ReferralProgram {
/**
* 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 ReferralProgram 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 {ReferralProgram} [obj] Optional instance to populate.
* @returns {ReferralProgram} The populated ReferralProgram instance.
*/
static constructFromObject(data: Partial, obj?: ReferralProgram): ReferralProgram;
/**
* Validates the JSON data with respect to ReferralProgram.
* @param {Partial} data The plain JavaScript object bearing properties of interest.
* @returns {boolean} to indicate whether the JSON data is valid with respect to ReferralProgram.
*/
static validateJSON(data: Partial): boolean;
conversion_event_type: (keyof typeof ReferralProgram.ConversionEventTypeEnum) | undefined;
custom_event: ReferralProgramCustomEvent | undefined;
referee_reward: ReferralProgramRefereeReward | undefined;
}
declare namespace ReferralProgram {
namespace ConversionEventTypeEnum {
let redemption: string;
let custom_event: string;
}
}
import ReferralProgramCustomEvent from './ReferralProgramCustomEvent';
import ReferralProgramRefereeReward from './ReferralProgramRefereeReward';