Class: CheckoutSdk::Risk::CardSource
- Inherits:
-
RiskPaymentSource
- Object
- RiskPaymentSource
- CheckoutSdk::Risk::CardSource
- Defined in:
- lib/checkout_sdk/risk/source/card_source.rb
Instance Attribute Summary collapse
- #billing_address ⇒ CheckoutSdk::Common::Address
- #expiry_month ⇒ Integer
- #expiry_year ⇒ Integer
- #name ⇒ String
- #number ⇒ String
- #phone ⇒ CheckoutSdk::Common::Phone
Attributes inherited from RiskPaymentSource
Instance Method Summary collapse
-
#initialize ⇒ CardSource
constructor
A new instance of CardSource.
Constructor Details
#initialize ⇒ CardSource
Returns a new instance of CardSource.
25 26 27 |
# File 'lib/checkout_sdk/risk/source/card_source.rb', line 25 def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end |
Instance Attribute Details
#billing_address ⇒ CheckoutSdk::Common::Address
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/risk/source/card_source.rb', line 17 class CardSource < RiskPaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#expiry_month ⇒ Integer
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/risk/source/card_source.rb', line 17 class CardSource < RiskPaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#expiry_year ⇒ Integer
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/risk/source/card_source.rb', line 17 class CardSource < RiskPaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#name ⇒ String
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/risk/source/card_source.rb', line 17 class CardSource < RiskPaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#number ⇒ String
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/risk/source/card_source.rb', line 17 class CardSource < RiskPaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#phone ⇒ CheckoutSdk::Common::Phone
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/risk/source/card_source.rb', line 17 class CardSource < RiskPaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |