Class: CheckoutSdk::Payments::TokenSource
- Inherits:
-
PaymentSource
- Object
- PaymentSource
- CheckoutSdk::Payments::TokenSource
- Defined in:
- lib/checkout_sdk/payments/source/token_source.rb
Instance Attribute Summary collapse
- #account_holder ⇒ CheckoutSdk::Common::AccountHolder
- #billing_address ⇒ CheckoutSdk::Common::Address
- #phone ⇒ CheckoutSdk::Common::Phone
- #store_for_future_use ⇒ TrueClass, FalseClass
- #stored ⇒ TrueClass, FalseClass
- #token ⇒ String
Attributes inherited from PaymentSource
Instance Method Summary collapse
-
#initialize ⇒ TokenSource
constructor
A new instance of TokenSource.
Constructor Details
#initialize ⇒ TokenSource
Returns a new instance of TokenSource.
25 26 27 |
# File 'lib/checkout_sdk/payments/source/token_source.rb', line 25 def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end |
Instance Attribute Details
#account_holder ⇒ CheckoutSdk::Common::AccountHolder
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/payments/source/token_source.rb', line 17 class TokenSource < PaymentSource attr_accessor :token, :billing_address, :phone, :stored, :store_for_future_use, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |
#billing_address ⇒ CheckoutSdk::Common::Address
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/payments/source/token_source.rb', line 17 class TokenSource < PaymentSource attr_accessor :token, :billing_address, :phone, :stored, :store_for_future_use, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |
#phone ⇒ CheckoutSdk::Common::Phone
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/payments/source/token_source.rb', line 17 class TokenSource < PaymentSource attr_accessor :token, :billing_address, :phone, :stored, :store_for_future_use, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |
#store_for_future_use ⇒ TrueClass, FalseClass
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/payments/source/token_source.rb', line 17 class TokenSource < PaymentSource attr_accessor :token, :billing_address, :phone, :stored, :store_for_future_use, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |
#stored ⇒ TrueClass, FalseClass
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/payments/source/token_source.rb', line 17 class TokenSource < PaymentSource attr_accessor :token, :billing_address, :phone, :stored, :store_for_future_use, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |
#token ⇒ String
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/payments/source/token_source.rb', line 17 class TokenSource < PaymentSource attr_accessor :token, :billing_address, :phone, :stored, :store_for_future_use, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |