Class: CheckoutSdk::Sessions::Installment
- Inherits:
-
Object
- Object
- CheckoutSdk::Sessions::Installment
- Defined in:
- lib/checkout_sdk/sessions/installment.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(days_between_payments: 1, expiry: '99991231') ⇒ Installment
constructor
A new instance of Installment.
Constructor Details
#initialize(days_between_payments: 1, expiry: '99991231') ⇒ Installment
Returns a new instance of Installment.
16 17 18 19 |
# File 'lib/checkout_sdk/sessions/installment.rb', line 16 def initialize(days_between_payments: 1, expiry: '99991231') @days_between_payments = days_between_payments @expiry = expiry end |
Instance Attribute Details
#days_between_payments ⇒ Integer
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/checkout_sdk/sessions/installment.rb', line 11 class Installment attr_accessor :number_of_payments, :days_between_payments, :expiry def initialize(days_between_payments: 1, expiry: '99991231') @days_between_payments = days_between_payments @expiry = expiry end end |
#expiry ⇒ String
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/checkout_sdk/sessions/installment.rb', line 11 class Installment attr_accessor :number_of_payments, :days_between_payments, :expiry def initialize(days_between_payments: 1, expiry: '99991231') @days_between_payments = days_between_payments @expiry = expiry end end |
#number_of_payments ⇒ Integer
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/checkout_sdk/sessions/installment.rb', line 11 class Installment attr_accessor :number_of_payments, :days_between_payments, :expiry def initialize(days_between_payments: 1, expiry: '99991231') @days_between_payments = days_between_payments @expiry = expiry end end |