Class: CheckoutSdk::Sessions::NetworkTokenSource

Inherits:
SessionSource show all
Defined in:
lib/checkout_sdk/sessions/source/network_token_source.rb

Instance Attribute Summary collapse

Attributes inherited from SessionSource

#billing_address, #email, #home_phone, #mobile_phone, #scheme, #type, #work_phone

Instance Method Summary collapse

Constructor Details

#initializeNetworkTokenSource

Returns a new instance of NetworkTokenSource.



22
23
24
# File 'lib/checkout_sdk/sessions/source/network_token_source.rb', line 22

def initialize
  super SessionSourceType::NETWORK_TOKEN
end

Instance Attribute Details

#expiry_monthInteger

Returns:

  • (Integer)


15
16
17
18
19
20
21
22
23
24
25
# File 'lib/checkout_sdk/sessions/source/network_token_source.rb', line 15

class NetworkTokenSource < SessionSource
  attr_accessor :token,
                :expiry_month,
                :expiry_year,
                :name,
                :stored

  def initialize
    super SessionSourceType::NETWORK_TOKEN
  end
end

#expiry_yearInteger

Returns:

  • (Integer)


15
16
17
18
19
20
21
22
23
24
25
# File 'lib/checkout_sdk/sessions/source/network_token_source.rb', line 15

class NetworkTokenSource < SessionSource
  attr_accessor :token,
                :expiry_month,
                :expiry_year,
                :name,
                :stored

  def initialize
    super SessionSourceType::NETWORK_TOKEN
  end
end

#nameString

Returns:

  • (String)


15
16
17
18
19
20
21
22
23
24
25
# File 'lib/checkout_sdk/sessions/source/network_token_source.rb', line 15

class NetworkTokenSource < SessionSource
  attr_accessor :token,
                :expiry_month,
                :expiry_year,
                :name,
                :stored

  def initialize
    super SessionSourceType::NETWORK_TOKEN
  end
end

#storedTrueClass, FalseClass

Returns:

  • (TrueClass, FalseClass)


15
16
17
18
19
20
21
22
23
24
25
# File 'lib/checkout_sdk/sessions/source/network_token_source.rb', line 15

class NetworkTokenSource < SessionSource
  attr_accessor :token,
                :expiry_month,
                :expiry_year,
                :name,
                :stored

  def initialize
    super SessionSourceType::NETWORK_TOKEN
  end
end

#tokenString

Returns:

  • (String)


15
16
17
18
19
20
21
22
23
24
25
# File 'lib/checkout_sdk/sessions/source/network_token_source.rb', line 15

class NetworkTokenSource < SessionSource
  attr_accessor :token,
                :expiry_month,
                :expiry_year,
                :name,
                :stored

  def initialize
    super SessionSourceType::NETWORK_TOKEN
  end
end