Class: BillingIntegration::ConektaGateway::MonthlyPayment
- Inherits:
-
Gateway
- Object
- Gateway
- BillingIntegration::ConektaGateway::MonthlyPayment
- Defined in:
- app/models/spree/billing_integration/conekta_gateway/monthly_payment.rb
Instance Method Summary collapse
- #auto_capture? ⇒ Boolean
- #card? ⇒ Boolean
- #method_type ⇒ Object
- #payment_source_class ⇒ Object
- #provider_class ⇒ Object
- #with_installments? ⇒ Boolean
Instance Method Details
#auto_capture? ⇒ Boolean
23 24 25 |
# File 'app/models/spree/billing_integration/conekta_gateway/monthly_payment.rb', line 23 def auto_capture? true end |
#card? ⇒ Boolean
19 20 21 |
# File 'app/models/spree/billing_integration/conekta_gateway/monthly_payment.rb', line 19 def card? true end |
#method_type ⇒ Object
31 32 33 |
# File 'app/models/spree/billing_integration/conekta_gateway/monthly_payment.rb', line 31 def method_type 'conekta_card' end |
#payment_source_class ⇒ Object
15 16 17 |
# File 'app/models/spree/billing_integration/conekta_gateway/monthly_payment.rb', line 15 def payment_source_class CreditCard end |
#provider_class ⇒ Object
11 12 13 |
# File 'app/models/spree/billing_integration/conekta_gateway/monthly_payment.rb', line 11 def provider_class Spree::Conekta::Provider end |
#with_installments? ⇒ Boolean
27 28 29 |
# File 'app/models/spree/billing_integration/conekta_gateway/monthly_payment.rb', line 27 def with_installments? true end |