Class: CheckoutSdk::Previous::Instruments::Instrument

Inherits:
Object
  • Object
show all
Defined in:
lib/checkout_sdk/instruments/previous/create/instrument.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeInstrument

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

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

#tokenString

Returns:

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

#typeString

Returns:



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