/// <summary> /// Initializes a new instance of the <see cref="CreateLoyaltyRewardRequest"/> class. /// </summary> /// <param name="reward">reward.</param> /// <param name="idempotencyKey">idempotency_key.</param> public CreateLoyaltyRewardRequest( Models.LoyaltyReward reward, string idempotencyKey) { this.Reward = reward; this.IdempotencyKey = idempotencyKey; }
public Builder( Models.LoyaltyReward reward, string idempotencyKey) { this.reward = reward; this.idempotencyKey = idempotencyKey; }
/// <summary> /// Initializes a new instance of the <see cref="CreateLoyaltyRewardResponse"/> class. /// </summary> /// <param name="errors">errors.</param> /// <param name="reward">reward.</param> public CreateLoyaltyRewardResponse( IList <Models.Error> errors = null, Models.LoyaltyReward reward = null) { this.Errors = errors; this.Reward = reward; }
public Builder Reward(Models.LoyaltyReward value) { reward = value; return(this); }
/// <summary> /// Reward. /// </summary> /// <param name="reward"> reward. </param> /// <returns> Builder. </returns> public Builder Reward(Models.LoyaltyReward reward) { this.reward = reward; return(this); }
public RetrieveLoyaltyRewardResponse(IList <Models.Error> errors = null, Models.LoyaltyReward reward = null) { Errors = errors; Reward = reward; }