public static stripe.TokenCreateOptions CreateTokenOptions(this ProcessPaymentRequest processPaymentRequest, Core.Domain.Customers.Customer customer, StripeCurrency stripeCurrency) { return(new stripe.TokenCreateOptions() { Card = processPaymentRequest.CreateCreditCardOptions(customer, stripeCurrency) }); }
public static stripe.TokenCreateOptions CreateTokenOptions(this ProcessPaymentRequest processPaymentRequest, ICustomerService customerService, IStateProvinceService stateProvinceService, ICountryService countryService, StripeCurrency stripeCurrency) { return(new stripe.TokenCreateOptions() { Card = processPaymentRequest.CreateCreditCardOptions(customerService, stateProvinceService, countryService, stripeCurrency) }); }