Class: CheckoutSdk::Instruments::InstrumentToken
- Inherits:
-
Instrument
- Object
- Instrument
- CheckoutSdk::Instruments::InstrumentToken
- Defined in:
- lib/checkout_sdk/instruments/create/instrument_token.rb
Instance Attribute Summary collapse
- #account_holder ⇒ CheckoutSdk::Common::AccountHolder
- #customer ⇒ CheckoutSdk::Common::CustomerRequest
- #token ⇒ String
Attributes inherited from Instrument
Instance Method Summary collapse
-
#initialize ⇒ InstrumentToken
constructor
A new instance of InstrumentToken.
Constructor Details
#initialize ⇒ InstrumentToken
Returns a new instance of InstrumentToken.
16 17 18 |
# File 'lib/checkout_sdk/instruments/create/instrument_token.rb', line 16 def initialize super CheckoutSdk::Common::InstrumentType::TOKEN end |
Instance Attribute Details
#account_holder ⇒ CheckoutSdk::Common::AccountHolder
11 12 13 14 15 16 17 18 19 |
# File 'lib/checkout_sdk/instruments/create/instrument_token.rb', line 11 class InstrumentToken < Instrument attr_accessor :token, :account_holder, :customer def initialize super CheckoutSdk::Common::InstrumentType::TOKEN end end |
#customer ⇒ CheckoutSdk::Common::CustomerRequest
11 12 13 14 15 16 17 18 19 |
# File 'lib/checkout_sdk/instruments/create/instrument_token.rb', line 11 class InstrumentToken < Instrument attr_accessor :token, :account_holder, :customer def initialize super CheckoutSdk::Common::InstrumentType::TOKEN end end |
#token ⇒ String
11 12 13 14 15 16 17 18 19 |
# File 'lib/checkout_sdk/instruments/create/instrument_token.rb', line 11 class InstrumentToken < Instrument attr_accessor :token, :account_holder, :customer def initialize super CheckoutSdk::Common::InstrumentType::TOKEN end end |