Class: CheckoutSdk::Payments::CardSource
- Inherits:
-
PaymentSource
- Object
- PaymentSource
- CheckoutSdk::Payments::CardSource
- Defined in:
- lib/checkout_sdk/payments/source/card_source.rb
Instance Attribute Summary collapse
- #account_holder ⇒ CheckoutSdk::Common::AccountHolder
- #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.
37 38 39 |
# File 'lib/checkout_sdk/payments/source/card_source.rb', line 37 def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end |
Instance Attribute Details
#account_holder ⇒ CheckoutSdk::Common::AccountHolder
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/checkout_sdk/payments/source/card_source.rb', line 25 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#billing_address ⇒ CheckoutSdk::Common::Address
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/checkout_sdk/payments/source/card_source.rb', line 25 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#cvv ⇒ String
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/checkout_sdk/payments/source/card_source.rb', line 25 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#expiry_month ⇒ Integer
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/checkout_sdk/payments/source/card_source.rb', line 25 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#expiry_year ⇒ Integer
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/checkout_sdk/payments/source/card_source.rb', line 25 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#name ⇒ String
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/checkout_sdk/payments/source/card_source.rb', line 25 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#number ⇒ String
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/checkout_sdk/payments/source/card_source.rb', line 25 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#phone ⇒ CheckoutSdk::Common::Phone
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/checkout_sdk/payments/source/card_source.rb', line 25 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#store_for_future_use ⇒ TrueClass, FalseClass
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/checkout_sdk/payments/source/card_source.rb', line 25 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |
#stored ⇒ TrueClass, FalseClass
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/checkout_sdk/payments/source/card_source.rb', line 25 class CardSource < PaymentSource attr_accessor :number, :expiry_month, :expiry_year, :name, :cvv, :stored, :store_for_future_use, :billing_address, :phone, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::CARD end end |