コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateLoyaltyAccountResponse"/> class.
 /// </summary>
 /// <param name="errors">errors.</param>
 /// <param name="loyaltyAccount">loyalty_account.</param>
 public CreateLoyaltyAccountResponse(
     IList <Models.Error> errors          = null,
     Models.LoyaltyAccount loyaltyAccount = null)
 {
     this.Errors         = errors;
     this.LoyaltyAccount = loyaltyAccount;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateLoyaltyAccountRequest"/> class.
 /// </summary>
 /// <param name="loyaltyAccount">loyalty_account.</param>
 /// <param name="idempotencyKey">idempotency_key.</param>
 public CreateLoyaltyAccountRequest(
     Models.LoyaltyAccount loyaltyAccount,
     string idempotencyKey)
 {
     this.LoyaltyAccount = loyaltyAccount;
     this.IdempotencyKey = idempotencyKey;
 }
コード例 #3
0
 public Builder(
     Models.LoyaltyAccount loyaltyAccount,
     string idempotencyKey)
 {
     this.loyaltyAccount = loyaltyAccount;
     this.idempotencyKey = idempotencyKey;
 }
コード例 #4
0
 public Builder LoyaltyAccount(Models.LoyaltyAccount value)
 {
     loyaltyAccount = value;
     return(this);
 }
コード例 #5
0
 public Builder LoyaltyAccount(Models.LoyaltyAccount loyaltyAccount)
 {
     this.loyaltyAccount = loyaltyAccount;
     return(this);
 }
コード例 #6
0
 public RetrieveLoyaltyAccountResponse(IList <Models.Error> errors          = null,
                                       Models.LoyaltyAccount loyaltyAccount = null)
 {
     Errors         = errors;
     LoyaltyAccount = loyaltyAccount;
 }