/// <summary>
 /// Initializes a new instance of the CreateCheckoutSessionRequest class.
 /// </summary>
 /// <param name="checkoutReviewReturnUrl">Checkout review URL provided by the merchant. Amazon Pay will redirect to this URL after the buyer selects their preferred payment instrument and shipping address.</param>
 /// <param name="storeId">Store ID as defined in Seller Central.</param>
 public CreateCheckoutSessionRequest(string checkoutReviewReturnUrl, string storeId) : base()
 {
     WebCheckoutDetails.CheckoutReviewReturnUrl = checkoutReviewReturnUrl;
     StoreId = storeId;
     DeliverySpecifications = new DeliverySpecifications();
     AddressDetails         = new AddressDetails();
 }
Exemple #2
0
        /// <summary>
        /// Initializes a new instance of the CreateCheckoutSessionRequest class.
        /// </summary>
        /// <param name="checkoutReviewReturnUrl">Checkout review URL provided by the merchant. Amazon Pay will redirect to this URL after the buyer selects their preferred payment instrument and shipping address.</param>
        /// <param name="storeId">Store ID as defined in Seller Central.</param>
        public CreateCheckoutSessionRequest(string checkoutReviewReturnUrl, string storeId)
        {
            WebCheckoutDetails     = new WebCheckoutDetails();
            DeliverySpecifications = new DeliverySpecifications();
            PaymentDetails         = new PaymentDetails();
            MerchantMetadata       = new MerchantMetadata();
            ProviderMetadata       = new ProviderMetadata();

            WebCheckoutDetails.CheckoutReviewReturnUrl = checkoutReviewReturnUrl;
            StoreId = storeId;
        }
 /// <summary>
 /// Initializes a new instance of the CreateCheckoutSessionRequest class.
 /// </summary>
 public CreateCheckoutSessionRequest() : base()
 {
     DeliverySpecifications = new DeliverySpecifications();
     AddressDetails         = new AddressDetails();
 }