Class: CheckoutSdk::Risk::TokenSource
- Inherits:
-
RiskPaymentSource
- Object
- RiskPaymentSource
- CheckoutSdk::Risk::TokenSource
- Defined in:
- lib/checkout_sdk/risk/source/token_source.rb
Instance Attribute Summary collapse
- #billing_address ⇒ CheckoutSdk::Common::Address
- #phone ⇒ CheckoutSdk::Common::Phone
- #store_for_future_use ⇒ TrueClass, FalseClass
- #token ⇒ String
Attributes inherited from RiskPaymentSource
Instance Method Summary collapse
-
#initialize ⇒ TokenSource
constructor
A new instance of TokenSource.
Constructor Details
#initialize ⇒ TokenSource
Returns a new instance of TokenSource.
19 20 21 |
# File 'lib/checkout_sdk/risk/source/token_source.rb', line 19 def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end |
Instance Attribute Details
#billing_address ⇒ CheckoutSdk::Common::Address
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/checkout_sdk/risk/source/token_source.rb', line 13 class TokenSource < RiskPaymentSource attr_accessor :token, :billing_address, :phone, :store_for_future_use def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |
#phone ⇒ CheckoutSdk::Common::Phone
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/checkout_sdk/risk/source/token_source.rb', line 13 class TokenSource < RiskPaymentSource attr_accessor :token, :billing_address, :phone, :store_for_future_use def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |
#store_for_future_use ⇒ TrueClass, FalseClass
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/checkout_sdk/risk/source/token_source.rb', line 13 class TokenSource < RiskPaymentSource attr_accessor :token, :billing_address, :phone, :store_for_future_use def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |
#token ⇒ String
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/checkout_sdk/risk/source/token_source.rb', line 13 class TokenSource < RiskPaymentSource attr_accessor :token, :billing_address, :phone, :store_for_future_use def initialize super CheckoutSdk::Common::PaymentSourceType::TOKEN end end |