Class: CheckoutSdk::Previous::Payments::TokenSource
- Inherits:
-
PaymentSource
- Object
- PaymentSource
- CheckoutSdk::Previous::Payments::TokenSource
- Defined in:
- lib/checkout_sdk/payments/previous/source/token_source.rb
Instance Attribute Summary collapse
- #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.
23 24 25 |
# File 'lib/checkout_sdk/payments/previous/source/token_source.rb', line 23 def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end |
Instance Attribute Details
#billing_address ⇒ CheckoutSdk::Common::Address
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/payments/previous/source/token_source.rb', line 16 class TokenSource < PaymentSource attr_accessor :token, :billing_address, :phone, :stored, :store_for_future_use def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |
#phone ⇒ CheckoutSdk::Common::Phone
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/payments/previous/source/token_source.rb', line 16 class TokenSource < PaymentSource attr_accessor :token, :billing_address, :phone, :stored, :store_for_future_use def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |
#store_for_future_use ⇒ TrueClass, FalseClass
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/payments/previous/source/token_source.rb', line 16 class TokenSource < PaymentSource attr_accessor :token, :billing_address, :phone, :stored, :store_for_future_use def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |
#stored ⇒ TrueClass, FalseClass
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/payments/previous/source/token_source.rb', line 16 class TokenSource < PaymentSource attr_accessor :token, :billing_address, :phone, :stored, :store_for_future_use def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |
#token ⇒ String
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/checkout_sdk/payments/previous/source/token_source.rb', line 16 class TokenSource < PaymentSource attr_accessor :token, :billing_address, :phone, :stored, :store_for_future_use def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |