public PersistedCheckoutContext(
     CreditCardDetails creditCard,
     ECheckDetails eCheck,
     PayPalExpressDetails payPalExpress,
     PurchaseOrderDetails purchaseOrder,
     AcceptJsDetailsCreditCard acceptJsDetailsCreditCard,
     AcceptJsDetailsECheck acceptJsDetailsECheck,
     BraintreeDetails braintree,
     SagePayPiDetails sagePayPi,
     AmazonPaymentsDetails amazonPayments,
     bool termsAndConditionsAccepted,
     bool over13Checked,
     ShippingEstimateDetails shippingEstimate,
     int?offsiteRequiredBillingAddressId,
     int?offsiteRequiredShippingAddressId,
     string email,
     int?selectedShippingMethodId)
 {
     CreditCard                       = creditCard;
     ECheck                           = eCheck;
     PayPalExpress                    = payPalExpress;
     PurchaseOrder                    = purchaseOrder;
     AcceptJsDetailsCreditCard        = acceptJsDetailsCreditCard;
     AcceptJsDetailsECheck            = acceptJsDetailsECheck;
     Braintree                        = braintree;
     SagePayPi                        = sagePayPi;
     AmazonPayments                   = amazonPayments;
     TermsAndConditionsAccepted       = termsAndConditionsAccepted;
     Over13Checked                    = over13Checked;
     ShippingEstimate                 = shippingEstimate;
     OffsiteRequiredBillingAddressId  = offsiteRequiredBillingAddressId;
     OffsiteRequiredShippingAddressId = offsiteRequiredShippingAddressId;
     Email = email;
     SelectedShippingMethodId = selectedShippingMethodId;
 }
Ejemplo n.º 2
0
 public CheckoutSelectionContext(
     PaymentMethodInfo selectedPaymentMethod,
     Address selectedBillingAddress,
     Address selectedShippingAddress,
     int?selectedShippingMethodId,
     CreditCardDetails creditCard,
     ECheckDetails eCheck,
     PayPalExpressDetails payPalExpress,
     AmazonPaymentsDetails amazonPayments,
     PurchaseOrderDetails purchaseOrder,
     AcceptJsDetailsCreditCard acceptJsDetailsCreditCard,
     BraintreeDetails braintree,
     SagePayPiDetails sagePayPi,
     bool termsAndConditionsAccepted,
     bool over13Checked,
     string email)
 {
     SelectedPaymentMethod    = selectedPaymentMethod;
     SelectedBillingAddress   = selectedBillingAddress;
     SelectedShippingAddress  = selectedShippingAddress;
     SelectedShippingMethodId = selectedShippingMethodId;
     CreditCard                 = creditCard;
     ECheck                     = eCheck;
     PayPalExpress              = payPalExpress;
     AmazonPayments             = amazonPayments;
     PurchaseOrder              = purchaseOrder;
     AcceptJsDetailsCreditCard  = acceptJsDetailsCreditCard;
     Braintree                  = braintree;
     SagePayPi                  = sagePayPi;
     TermsAndConditionsAccepted = termsAndConditionsAccepted;
     Over13Checked              = over13Checked;
     Email = email;
 }