Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetTerminalCheckoutResponse"/> class.
 /// </summary>
 /// <param name="errors">errors.</param>
 /// <param name="checkout">checkout.</param>
 public GetTerminalCheckoutResponse(
     IList <Models.Error> errors      = null,
     Models.TerminalCheckout checkout = null)
 {
     this.Errors   = errors;
     this.Checkout = checkout;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateTerminalCheckoutRequest"/> class.
 /// </summary>
 /// <param name="idempotencyKey">idempotency_key.</param>
 /// <param name="checkout">checkout.</param>
 public CreateTerminalCheckoutRequest(
     string idempotencyKey,
     Models.TerminalCheckout checkout)
 {
     this.IdempotencyKey = idempotencyKey;
     this.Checkout       = checkout;
 }
Пример #3
0
 public Builder(
     string idempotencyKey,
     Models.TerminalCheckout checkout)
 {
     this.idempotencyKey = idempotencyKey;
     this.checkout       = checkout;
 }
 public Builder Checkout(Models.TerminalCheckout value)
 {
     checkout = value;
     return(this);
 }
 public CancelTerminalCheckoutResponse(IList <Models.Error> errors      = null,
                                       Models.TerminalCheckout checkout = null)
 {
     Errors   = errors;
     Checkout = checkout;
 }
 public Builder Checkout(Models.TerminalCheckout checkout)
 {
     this.checkout = checkout;
     return(this);
 }