Esempio n. 1
0
 /// <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;
 }
Esempio n. 2
0
 public Builder(
     Models.LoyaltyReward reward,
     string idempotencyKey)
 {
     this.reward         = reward;
     this.idempotencyKey = idempotencyKey;
 }
Esempio n. 3
0
 /// <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);
 }
Esempio n. 5
0
 /// <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;
 }