/// <summary>
 /// Initializes a new instance of the PaymentRequestUpdate class.
 /// </summary>
 /// <param name="id">ID for the payment request to update</param>
 /// <param name="details">Update payment details</param>
 /// <param name="shippingAddress">Updated shipping address</param>
 /// <param name="shippingOption">Updated shipping options</param>
 public PaymentRequestUpdate(string id = default(string), PaymentDetails details = default(PaymentDetails), PaymentAddress shippingAddress = default(PaymentAddress), string shippingOption = default(string))
 {
     Id              = id;
     Details         = details;
     ShippingAddress = shippingAddress;
     ShippingOption  = shippingOption;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the PaymentRequest class.
 /// </summary>
 /// <param name="id">ID of this payment request</param>
 /// <param name="methodData">Allowed payment methods for this
 /// request</param>
 /// <param name="details">Details for this request</param>
 /// <param name="options">Provides information about the options
 /// desired for the payment request</param>
 /// <param name="expires">Expiration for this request, in ISO 8601
 /// duration format (e.g., 'P1D')</param>
 public PaymentRequest(string id = default(string), IList <PaymentMethodData> methodData = default(IList <PaymentMethodData>), PaymentDetails details = default(PaymentDetails), PaymentOptions options = default(PaymentOptions), string expires = default(string))
 {
     Id         = id;
     MethodData = methodData;
     Details    = details;
     Options    = options;
     Expires    = expires;
     CustomInit();
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the PaymentRequestUpdateResult class.
 /// </summary>
 /// <param name="details">Update payment details</param>
 public PaymentRequestUpdateResult(PaymentDetails details = default(PaymentDetails))
 {
     Details = details;
     CustomInit();
 }