export default V2LoyaltiesRewardsGetResponseBody; /** * The V2LoyaltiesRewardsGetResponseBody model module. * @module model/V2LoyaltiesRewardsGetResponseBody */ declare class V2LoyaltiesRewardsGetResponseBody { /** * 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, validityHours: any, refunds: any, purchaseLimits: any): void; /** * Constructs a V2LoyaltiesRewardsGetResponseBody 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 {V2LoyaltiesRewardsGetResponseBody} [obj] Optional instance to populate. * @returns {V2LoyaltiesRewardsGetResponseBody} The populated V2LoyaltiesRewardsGetResponseBody instance. */ static constructFromObject(data: Partial, obj?: V2LoyaltiesRewardsGetResponseBody): V2LoyaltiesRewardsGetResponseBody; /** * Validates the JSON data with respect to V2LoyaltiesRewardsGetResponseBody. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @returns {boolean} to indicate whether the JSON data is valid with respect to V2LoyaltiesRewardsGetResponseBody. */ static validateJSON(data: Partial): boolean; /** * Constructs a new V2LoyaltiesRewardsGetResponseBody. * Response body schema for **GET** `/v2/loyalties/rewards/{rewardId}`. * @alias V2LoyaltiesRewardsGetResponseBody * @param {RewardValidityHoursResponse} validityHours * @param {LoyaltyV2ActivityRewardRefunds} refunds * @param {RewardPurchaseLimits} purchaseLimits */ constructor(validityHours: RewardValidityHoursResponse, refunds: LoyaltyV2ActivityRewardRefunds, purchaseLimits: RewardPurchaseLimits); id: string | undefined; name: string | undefined; type: (keyof typeof V2LoyaltiesRewardsGetResponseBody.TypeEnum) | undefined; status: (keyof typeof V2LoyaltiesRewardsGetResponseBody.StatusEnum) | undefined; start_date: Date | undefined; end_date: Date | undefined; validity_hours: RewardValidityHoursResponse; material: RewardMaterialResponse | undefined; digital: RewardDigitalResponse | undefined; refunds: LoyaltyV2ActivityRewardRefunds; costs: Array | undefined; purchase_limits: RewardPurchaseLimits; metadata: any | undefined; created_at: Date | undefined; updated_at: Date | undefined; object: (keyof typeof V2LoyaltiesRewardsGetResponseBody.ObjectEnum) | undefined; } declare namespace V2LoyaltiesRewardsGetResponseBody { let RequiredProperties: string[]; namespace TypeEnum { let MATERIAL: string; let DIGITAL: string; } namespace StatusEnum { let ACTIVE: string; let DRAFT: string; let INACTIVE: string; let DELETED: string; } namespace ObjectEnum { let reward: string; } } import RewardValidityHoursResponse from './RewardValidityHoursResponse'; import RewardMaterialResponse from './RewardMaterialResponse'; import RewardDigitalResponse from './RewardDigitalResponse'; import LoyaltyV2ActivityRewardRefunds from './LoyaltyV2ActivityRewardRefunds'; import RewardCostResponse from './RewardCostResponse'; import RewardPurchaseLimits from './RewardPurchaseLimits';