Class: BillingIntegration::ConektaGateway::MonthlyPayment

Inherits:
Gateway
  • Object
show all
Defined in:
app/models/spree/billing_integration/conekta_gateway/monthly_payment.rb

Instance Method Summary collapse

Instance Method Details

#auto_capture?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'app/models/spree/billing_integration/conekta_gateway/monthly_payment.rb', line 23

def auto_capture?
  true
end

#card?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'app/models/spree/billing_integration/conekta_gateway/monthly_payment.rb', line 19

def card?
  true
end

#method_typeObject



31
32
33
# File 'app/models/spree/billing_integration/conekta_gateway/monthly_payment.rb', line 31

def method_type
  'conekta_card'
end

#payment_source_classObject



15
16
17
# File 'app/models/spree/billing_integration/conekta_gateway/monthly_payment.rb', line 15

def payment_source_class
  CreditCard
end

#provider_classObject



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

Returns:

  • (Boolean)


27
28
29
# File 'app/models/spree/billing_integration/conekta_gateway/monthly_payment.rb', line 27

def with_installments?
  true
end