Esempio n. 1
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();
 }
Esempio n. 2
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");
 }