Class: CheckoutSdk::Instruments::InstrumentToken

Inherits:
Instrument
  • Object
show all
Defined in:
lib/checkout_sdk/instruments/create/instrument_token.rb

Instance Attribute Summary collapse

Attributes inherited from Instrument

#type

Instance Method Summary collapse

Constructor Details

#initializeInstrumentToken

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_holderCheckoutSdk::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

#customerCheckoutSdk::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

#tokenString

Returns:

  • (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