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