コード例 #1
0
 public CheckoutController(
     AddressViewModelConverter addressViewModelConverter,
     IEnumerable <IAppliedPaymentMethodCleanup> appliedPaymentMethodCleanupProviders,
     ICachedShoppingCartProvider cachedShoppingCartProvider,
     ICartContextProvider cartContextProvider,
     ICheckoutConfigurationProvider checkoutConfigurationProvider,
     CheckoutEngine checkoutEngine,
     ICheckoutSelectionProvider checkoutSelectionProvider,
     NoticeProvider noticeProvider,
     IPaymentMethodInfoProvider paymentMethodInfoProvider,
     IPaymentOptionProvider paymentOptionProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider)
 {
     AddressViewModelConverter            = addressViewModelConverter;
     AppliedPaymentMethodCleanupProviders = appliedPaymentMethodCleanupProviders;
     CachedShoppingCartProvider           = cachedShoppingCartProvider;
     CartContextProvider           = cartContextProvider;
     CheckoutConfigurationProvider = checkoutConfigurationProvider;
     CheckoutEngine                   = checkoutEngine;
     CheckoutSelectionProvider        = checkoutSelectionProvider;
     NoticeProvider                   = noticeProvider;
     PaymentMethodInfoProvider        = paymentMethodInfoProvider;
     PaymentOptionProvider            = paymentOptionProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
 }
コード例 #2
0
 public TwoCheckoutController(
     ICachedShoppingCartProvider cachedShoppingCartProvider,
     NoticeProvider noticeProvider)
 {
     CachedShoppingCartProvider = cachedShoppingCartProvider;
     NoticeProvider             = noticeProvider;
 }
コード例 #3
0
        public DownloadsController(NoticeProvider noticeProvider)
        {
            NoticeProvider = noticeProvider;

            ShowRelatedProducts  = AppLogic.AppConfigBool("Download.ShowRelatedProducts");
            StreamFiles          = AppLogic.AppConfigBool("Download.StreamFile");
            InventoryFilterLevel = AppLogic.AppConfigNativeInt("HideProductsWithLessThanThisInventoryLevel");
        }
コード例 #4
0
 public CheckoutMicroPayController(
     NoticeProvider noticeProvider,
     IPaymentOptionProvider paymentOptionProvider,
     ICachedShoppingCartProvider cachedShoppingCartProvider)
 {
     NoticeProvider             = noticeProvider;
     PaymentOptionProvider      = paymentOptionProvider;
     CachedShoppingCartProvider = cachedShoppingCartProvider;
 }
コード例 #5
0
 public CheckoutCartController(
     NoticeProvider noticeProvider,
     ICachedShoppingCartProvider cachedShoppingCartProvider,
     CartActionProvider cartActionProvider)
 {
     NoticeProvider             = noticeProvider;
     CachedShoppingCartProvider = cachedShoppingCartProvider;
     CartActionProvider         = cartActionProvider;
 }
コード例 #6
0
 public BraintreeController(
     NoticeProvider noticeProvider,
     IPaymentOptionProvider paymentOptionProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider)
 {
     NoticeProvider                   = noticeProvider;
     PaymentOptionProvider            = paymentOptionProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
 }
コード例 #7
0
 public CheckoutPurchaseOrderController(
     NoticeProvider noticeProvider,
     IPaymentOptionProvider paymentOptionProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider)
 {
     NoticeProvider                   = noticeProvider;
     PaymentOptionProvider            = paymentOptionProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
 }
コード例 #8
0
 public CheckoutConfirmationController(
     ICheckoutAccountStatusProvider checkoutAccountStatusProvider,
     NoticeProvider noticeProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider)
 {
     CheckoutAccountStatusProvider = checkoutAccountStatusProvider;
     NoticeProvider = noticeProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
 }
コード例 #9
0
ファイル: ThreeDSecureController.cs プロジェクト: giagiigi/WE
 public ThreeDSecureController(
     ICachedShoppingCartProvider cachedShoppingCartProvider,
     NoticeProvider noticeProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider)
 {
     CachedShoppingCartProvider       = cachedShoppingCartProvider;
     NoticeProvider                   = noticeProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
 }
コード例 #10
0
 public ContactUsController(NoticeProvider noticeProvider,
                            IStringResourceProvider stringResourceProvider,
                            CaptchaVerificationProvider captchaVerificationProvider)
 {
     NoticeProvider              = noticeProvider;
     StringResourceProvider      = stringResourceProvider;
     CaptchaVerificationProvider = captchaVerificationProvider;
     Settings        = new ContactUsSettings();
     CaptchaSettings = new CaptchaSettings();
 }
コード例 #11
0
 public WalletController(
     IWalletProvider walletProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider,
     NoticeProvider noticeProvider,
     ISkinProvider skinProvider)
 {
     WalletProvider = walletProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
     NoticeProvider = noticeProvider;
     SkinProvider   = skinProvider;
 }
コード例 #12
0
 public CheckoutAmazonPaymentsController(
     AmazonPaymentsApiProvider amazonPaymentsApiProvider,
     NoticeProvider noticeProvider,
     IPaymentOptionProvider paymentOptionProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider)
 {
     AmazonPaymentsApiProvider        = amazonPaymentsApiProvider;
     NoticeProvider                   = noticeProvider;
     PaymentOptionProvider            = paymentOptionProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
 }
コード例 #13
0
 public CheckoutAddressController(
     NoticeProvider noticeProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider,
     IAddressValidationProviderFactory addressValidationProviderFactory,
     AddressControllerHelper addressControllerHelper)
 {
     NoticeProvider = noticeProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
     AddressValidationProviderFactory = addressValidationProviderFactory;
     AddressControllerHelper          = addressControllerHelper;
 }
コード例 #14
0
 public PayPalExpressController(
     ICachedShoppingCartProvider cachedShoppingCartProvider,
     NoticeProvider noticeProvider,
     IPaymentOptionProvider paymentOptionProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider)
 {
     CachedShoppingCartProvider       = cachedShoppingCartProvider;
     NoticeProvider                   = noticeProvider;
     PaymentOptionProvider            = paymentOptionProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
 }
コード例 #15
0
 public RequestCatalogController(
     AddressHeaderProvider addressHeaderProvider,
     AddressSelectListBuilder addressSelectListBuilder,
     NoticeProvider noticeProvider,
     IPostalCodeLookupProvider postalCodeLookupProvider)
 {
     AddressHeaderProvider    = addressHeaderProvider;
     AddressSelectListBuilder = addressSelectListBuilder;
     NoticeProvider           = noticeProvider;
     PostalCodeLookupProvider = postalCodeLookupProvider;
     AddressSettings          = new AddressSettings();
 }
コード例 #16
0
 public ThreeDSecureController(
     ICachedShoppingCartProvider cachedShoppingCartProvider,
     NoticeProvider noticeProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider,
     IStringResourceProvider stringResourceProvider,
     AppConfigProvider appConfigProvider)
 {
     CachedShoppingCartProvider       = cachedShoppingCartProvider;
     NoticeProvider                   = noticeProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
     StringResourceProvider           = stringResourceProvider;
     AppConfigProvider                = appConfigProvider;
 }
コード例 #17
0
 public CheckoutECheckController(
     ICachedShoppingCartProvider cachedShoppingCartProvider,
     ECheckAccountTypeProvider eCheckAccountTypeProvider,
     NoticeProvider noticeProvider,
     IPaymentOptionProvider paymentOptionProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider)
 {
     CachedShoppingCartProvider       = cachedShoppingCartProvider;
     ECheckAccountTypeProvider        = eCheckAccountTypeProvider;
     NoticeProvider                   = noticeProvider;
     PaymentOptionProvider            = paymentOptionProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
 }
コード例 #18
0
 public SagePayPiController(
     NoticeProvider noticeProvider,
     IPaymentOptionProvider paymentOptionProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider,
     IStringResourceProvider stringResourceProvider,
     AppConfigProvider appConfigProvider)
 {
     NoticeProvider                   = noticeProvider;
     PaymentOptionProvider            = paymentOptionProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
     StringResourceProvider           = stringResourceProvider;
     AppConfigProvider                = appConfigProvider;
 }
コード例 #19
0
ファイル: AccountController.cs プロジェクト: giagiigi/WE
 public AccountController(NoticeProvider noticeProvider,
                          IClaimsIdentityProvider claimsIdentityProvider,
                          CaptchaStorageService captchaStorageService,
                          SendWelcomeEmailProvider sendWelcomeEmailProvider,
                          AppConfigProvider appConfigProvider)
 {
     Settings                 = new AccountSettings();
     ControllerHelper         = new AccountControllerHelper(Settings);
     NoticeProvider           = noticeProvider;
     ClaimsIdentityProvider   = claimsIdentityProvider;
     CaptchaStorageService    = captchaStorageService;
     SendWelcomeEmailProvider = sendWelcomeEmailProvider;
     AppConfigProvider        = appConfigProvider;
 }
コード例 #20
0
 public RecurringOrderController(
     AddressHeaderProvider addressHeaderProvider,
     AddressSelectListBuilder addressSelectListBuilder,
     CreditCardSelectListBuilder creditCardSelectListBuilder,
     NoticeProvider noticeProvider,
     IPostalCodeLookupProvider postalCodeLookupProvider)
 {
     AddressHeaderProvider       = addressHeaderProvider;
     ControllerHelper            = new RecurringOrderControllerHelper(creditCardSelectListBuilder);
     AddressSelectListBuilder    = addressSelectListBuilder;
     CreditCardSelectListBuilder = creditCardSelectListBuilder;
     NoticeProvider           = noticeProvider;
     PostalCodeLookupProvider = postalCodeLookupProvider;
     AddressSettings          = new AddressSettings();
 }
コード例 #21
0
ファイル: ShoppingCartController.cs プロジェクト: giagiigi/WE
 public ShoppingCartController(
     NoticeProvider noticeProvider,
     CartActionProvider cartActionProvider,
     ICachedShoppingCartProvider cachedShoppingCartProvider,
     UrlHelper urlHelper,
     ModelBuilder modelBuilder,
     RestrictedQuantityProvider restrictedQuantityProvider)
 {
     NoticeProvider             = noticeProvider;
     CartActionProvider         = cartActionProvider;
     CachedShoppingCartProvider = cachedShoppingCartProvider;
     UrlHelper    = urlHelper;
     ModelBuilder = modelBuilder;
     RestrictedQuantityProvider = restrictedQuantityProvider;
 }
コード例 #22
0
 public RequestCatalogController(
     AddressHeaderProvider addressHeaderProvider,
     AddressSelectListBuilder addressSelectListBuilder,
     NoticeProvider noticeProvider,
     IPostalCodeLookupProvider postalCodeLookupProvider,
     AddressViewModelConverter addressViewModelConverter)
 {
     AddressHeaderProvider     = addressHeaderProvider;
     AddressSelectListBuilder  = addressSelectListBuilder;
     NoticeProvider            = noticeProvider;
     PostalCodeLookupProvider  = postalCodeLookupProvider;
     AddressViewModelConverter = addressViewModelConverter;
     ShowCompanyField          = AppLogic.AppConfigBool("Address.CollectCompany");
     ShowNickName = AppLogic.AppConfigBool("Address.CollectNickName");
 }
コード例 #23
0
 public CheckoutCreditCardController(
     CreditCardTypeProvider creditCardTypeProvider,
     ICreditCardValidationProvider creditCardValidationProvider,
     NoticeProvider noticeProvider,
     IPaymentOptionProvider paymentOptionProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider,
     IWalletProvider walletProvider)
 {
     CreditCardTypeProvider       = creditCardTypeProvider;
     CreditCardValidationProvider = creditCardValidationProvider;
     NoticeProvider                   = noticeProvider;
     PaymentOptionProvider            = paymentOptionProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
     WalletProvider                   = walletProvider;
 }
コード例 #24
0
 public AddressController(IAddressValidationProviderFactory addressValidationProviderFactory,
                          AddressControllerHelper helper,
                          AddressHeaderProvider addressHeaderProvider,
                          AddressSelectListBuilder selectListBuilder,
                          NoticeProvider noticeProvider,
                          IPostalCodeLookupProvider postalCodeLookupProvider)
 {
     AddressValidationProviderFactory = addressValidationProviderFactory;
     ControllerHelper         = helper;
     AddressHeaderProvider    = addressHeaderProvider;
     SelectListBuilder        = selectListBuilder;
     NoticeProvider           = noticeProvider;
     PostalCodeLookupProvider = postalCodeLookupProvider;
     AddressSettings          = new AddressSettings();
 }
コード例 #25
0
 public CheckoutShippingMethodController(
     ICachedShippingMethodCollectionProvider cachedShippingMethodCollectionProvider,
     ICachedShoppingCartProvider cachedShoppingCartProvider,
     IEffectiveShippingAddressProvider effectiveShippingAddressProvider,
     NoticeProvider noticeProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider,
     IShippingMethodCartItemApplicator shippingMethodCartItemApplicator)
 {
     CachedShippingMethodCollectionProvider = cachedShippingMethodCollectionProvider;
     CachedShoppingCartProvider             = cachedShoppingCartProvider;
     EffectiveShippingAddressProvider       = effectiveShippingAddressProvider;
     NoticeProvider = noticeProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
     ShippingMethodCartItemApplicator = shippingMethodCartItemApplicator;
 }
コード例 #26
0
 public CheckoutAccountController(
     AccountControllerHelper accountControllerHelper,
     CaptchaStorageService captchaStorageService,
     ICheckoutAccountStatusProvider checkoutAccountStatusProvider,
     IClaimsIdentityProvider claimsIdentityProvider,
     NoticeProvider noticeProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider,
     SendWelcomeEmailProvider sendWelcomeEmailProvider)
 {
     AccountControllerHelper       = accountControllerHelper;
     CaptchaStorageService         = captchaStorageService;
     CheckoutAccountStatusProvider = checkoutAccountStatusProvider;
     ClaimsIdentityProvider        = claimsIdentityProvider;
     NoticeProvider = noticeProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
     SendWelcomeEmailProvider         = sendWelcomeEmailProvider;
 }
コード例 #27
0
 public RecurringOrderController(
     AddressHeaderProvider addressHeaderProvider,
     AddressSelectListBuilder addressSelectListBuilder,
     CreditCardSelectListBuilder creditCardSelectListBuilder,
     NoticeProvider noticeProvider,
     IPostalCodeLookupProvider postalCodeLookupProvider,
     AddressViewModelConverter addressViewModelConverter)
 {
     AddressHeaderProvider       = addressHeaderProvider;
     ControllerHelper            = new RecurringOrderControllerHelper(creditCardSelectListBuilder);
     AddressSelectListBuilder    = addressSelectListBuilder;
     CreditCardSelectListBuilder = creditCardSelectListBuilder;
     NoticeProvider            = noticeProvider;
     PostalCodeLookupProvider  = postalCodeLookupProvider;
     AddressViewModelConverter = addressViewModelConverter;
     ShowCompanyField          = AppLogic.AppConfigBool("Address.CollectCompany");
     ShowNickName = AppLogic.AppConfigBool("Address.CollectNickName");
 }
コード例 #28
0
ファイル: AddressController.cs プロジェクト: giagiigi/WE
 public AddressController(IAddressValidationProviderFactory addressValidationProviderFactory,
                          AddressControllerHelper helper,
                          AddressHeaderProvider addressHeaderProvider,
                          AddressSelectListBuilder selectListBuilder,
                          NoticeProvider noticeProvider,
                          IPostalCodeLookupProvider postalCodeLookupProvider,
                          AddressViewModelConverter addressViewModelConverter)
 {
     AddressValidationProviderFactory = addressValidationProviderFactory;
     ControllerHelper          = helper;
     AddressHeaderProvider     = addressHeaderProvider;
     SelectListBuilder         = selectListBuilder;
     NoticeProvider            = noticeProvider;
     PostalCodeLookupProvider  = postalCodeLookupProvider;
     AddressViewModelConverter = addressViewModelConverter;
     AllowDifferentShipTo      = true;
     ShowCompanyField          = true;
     ShowNickName = true;
 }
コード例 #29
0
 public AccountController(NoticeProvider noticeProvider,
                          IClaimsIdentityProvider claimsIdentityProvider,
                          SendWelcomeEmailProvider sendWelcomeEmailProvider,
                          AppConfigProvider appConfigProvider,
                          CartActionProvider cartActionProvider,
                          IDataRetentionService dataRetentionService,
                          IStringResourceProvider stringResourceProvider,
                          CaptchaVerificationProvider captchaVerificationProvider)
 {
     Settings                    = new AccountSettings();
     CaptchaSettings             = new CaptchaSettings();
     ControllerHelper            = new AccountControllerHelper(Settings);
     NoticeProvider              = noticeProvider;
     ClaimsIdentityProvider      = claimsIdentityProvider;
     SendWelcomeEmailProvider    = sendWelcomeEmailProvider;
     AppConfigProvider           = appConfigProvider;
     CartActionProvider          = cartActionProvider;
     DataRetentionService        = dataRetentionService;
     StringResourceProvider      = stringResourceProvider;
     CaptchaVerificationProvider = captchaVerificationProvider;
 }
コード例 #30
0
 public CheckoutAccountController(
     AccountControllerHelper accountControllerHelper,
     AppConfigProvider appConfigProvider,
     ICheckoutAccountStatusProvider checkoutAccountStatusProvider,
     IClaimsIdentityProvider claimsIdentityProvider,
     NoticeProvider noticeProvider,
     IPersistedCheckoutContextProvider persistedCheckoutContextProvider,
     SendWelcomeEmailProvider sendWelcomeEmailProvider,
     CartActionProvider cartActionProvider,
     CaptchaVerificationProvider captchaVerificationProvider)
 {
     AccountControllerHelper       = accountControllerHelper;
     AppConfigProvider             = appConfigProvider;
     CheckoutAccountStatusProvider = checkoutAccountStatusProvider;
     ClaimsIdentityProvider        = claimsIdentityProvider;
     NoticeProvider = noticeProvider;
     PersistedCheckoutContextProvider = persistedCheckoutContextProvider;
     SendWelcomeEmailProvider         = sendWelcomeEmailProvider;
     CartActionProvider          = cartActionProvider;
     CaptchaVerificationProvider = captchaVerificationProvider;
     CaptchaSettings             = new CaptchaSettings();
 }