Class: CheckoutSdk::Previous::Instruments::Instrument
- Inherits:
-
Object
- Object
- CheckoutSdk::Previous::Instruments::Instrument
- Defined in:
- lib/checkout_sdk/instruments/previous/create/instrument.rb
Instance Attribute Summary collapse
- #account_holder ⇒ CheckoutSdk::Common::AccountHolder
- #customer ⇒ CheckoutSdk::Common::CustomerRequest
- #token ⇒ String
- #type ⇒ String
Instance Method Summary collapse
-
#initialize ⇒ Instrument
constructor
A new instance of Instrument.
Constructor Details
#initialize ⇒ Instrument
Returns a new instance of Instrument.
20 21 22 |
# File 'lib/checkout_sdk/instruments/previous/create/instrument.rb', line 20 def initialize @type = CheckoutSdk::Common::InstrumentType::TOKEN end |
Instance Attribute Details
#account_holder ⇒ CheckoutSdk::Common::AccountHolder
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/checkout_sdk/instruments/previous/create/instrument.rb', line 14 class Instrument attr_accessor :type, :token, :account_holder, :customer def initialize @type = CheckoutSdk::Common::InstrumentType::TOKEN end end |
#customer ⇒ CheckoutSdk::Common::CustomerRequest
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/checkout_sdk/instruments/previous/create/instrument.rb', line 14 class Instrument attr_accessor :type, :token, :account_holder, :customer def initialize @type = CheckoutSdk::Common::InstrumentType::TOKEN end end |
#token ⇒ String
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/checkout_sdk/instruments/previous/create/instrument.rb', line 14 class Instrument attr_accessor :type, :token, :account_holder, :customer def initialize @type = CheckoutSdk::Common::InstrumentType::TOKEN end end |
#type ⇒ String
Returns Common::InstrumentType.
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/checkout_sdk/instruments/previous/create/instrument.rb', line 14 class Instrument attr_accessor :type, :token, :account_holder, :customer def initialize @type = CheckoutSdk::Common::InstrumentType::TOKEN end end |