Class: CheckoutSdk::Sessions::NetworkTokenSource
- Inherits:
-
SessionSource
- Object
- SessionSource
- CheckoutSdk::Sessions::NetworkTokenSource
- Defined in:
- lib/checkout_sdk/sessions/source/network_token_source.rb
Instance Attribute Summary collapse
- #expiry_month ⇒ Integer
- #expiry_year ⇒ Integer
- #name ⇒ String
- #stored ⇒ TrueClass, FalseClass
- #token ⇒ String
Attributes inherited from SessionSource
#billing_address, #email, #home_phone, #mobile_phone, #scheme, #type, #work_phone
Instance Method Summary collapse
-
#initialize ⇒ NetworkTokenSource
constructor
A new instance of NetworkTokenSource.
Constructor Details
#initialize ⇒ NetworkTokenSource
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_month ⇒ 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_year ⇒ 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 |
#name ⇒ 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 |
#stored ⇒ 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 |
#token ⇒ 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 |