/// <summary>
 /// Initializes a new instance of the <see cref="CreateGiftCardActivityRequest"/> class.
 /// </summary>
 /// <param name="idempotencyKey">idempotency_key.</param>
 /// <param name="giftCardActivity">gift_card_activity.</param>
 public CreateGiftCardActivityRequest(
     string idempotencyKey,
     Models.GiftCardActivity giftCardActivity)
 {
     this.IdempotencyKey   = idempotencyKey;
     this.GiftCardActivity = giftCardActivity;
 }
 public Builder(
     string idempotencyKey,
     Models.GiftCardActivity giftCardActivity)
 {
     this.idempotencyKey   = idempotencyKey;
     this.giftCardActivity = giftCardActivity;
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateGiftCardActivityResponse"/> class.
 /// </summary>
 /// <param name="errors">errors.</param>
 /// <param name="giftCardActivity">gift_card_activity.</param>
 public CreateGiftCardActivityResponse(
     IList <Models.Error> errors = null,
     Models.GiftCardActivity giftCardActivity = null)
 {
     this.Errors           = errors;
     this.GiftCardActivity = giftCardActivity;
 }
 /// <summary>
 /// GiftCardActivity.
 /// </summary>
 /// <param name="giftCardActivity"> giftCardActivity. </param>
 /// <returns> Builder. </returns>
 public Builder GiftCardActivity(Models.GiftCardActivity giftCardActivity)
 {
     this.giftCardActivity = giftCardActivity;
     return(this);
 }