Class: CheckoutSdk::Previous::Payments::CardSource
- Inherits:
-
PaymentSource
- Object
- PaymentSource
- CheckoutSdk::Previous::Payments::CardSource
- Defined in:
- lib/checkout_sdk/payments/previous/source/card_source.rb
Instance Attribute Summary collapse
- #billing_address ⇒ CheckoutSdk::Common::Address
- #cvv ⇒ String
- #expiry_month ⇒ Integer
- #expiry_year ⇒ Integer
- #name ⇒ String
- #number ⇒ String
- #phone ⇒ CheckoutSdk::Common::Phone
- #store_for_future_use ⇒ TrueClass, FalseClass
- #stored ⇒ TrueClass, FalseClass
Attributes inherited from PaymentSource
Instance Method Summary collapse
-
#initialize ⇒ CardSource
constructor
A new instance of CardSource.
Constructor Details
#initialize ⇒ CardSource
Returns a new instance of CardSource.
35 36 37 |
# File 'lib/checkout_sdk/payments/previous/source/card_source.rb', line 35 def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end |
Instance Attribute Details
#billing_address ⇒ CheckoutSdk::Common::Address
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/checkout_sdk/payments/previous/source/card_source.rb', line 24 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#cvv ⇒ String
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/checkout_sdk/payments/previous/source/card_source.rb', line 24 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#expiry_month ⇒ Integer
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/checkout_sdk/payments/previous/source/card_source.rb', line 24 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#expiry_year ⇒ Integer
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/checkout_sdk/payments/previous/source/card_source.rb', line 24 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#name ⇒ String
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/checkout_sdk/payments/previous/source/card_source.rb', line 24 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#number ⇒ String
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/checkout_sdk/payments/previous/source/card_source.rb', line 24 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#phone ⇒ CheckoutSdk::Common::Phone
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/checkout_sdk/payments/previous/source/card_source.rb', line 24 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#store_for_future_use ⇒ TrueClass, FalseClass
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/checkout_sdk/payments/previous/source/card_source.rb', line 24 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#stored ⇒ TrueClass, FalseClass
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/checkout_sdk/payments/previous/source/card_source.rb', line 24 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |