Class: CheckoutSdk::Payments::BankAccountSource
- Inherits:
-
PaymentSource
- Object
- PaymentSource
- CheckoutSdk::Payments::BankAccountSource
- Defined in:
- lib/checkout_sdk/payments/source/bank_account_source.rb
Instance Attribute Summary collapse
- #account_holder ⇒ CheckoutSdk::Common::AccountHolder
- #account_number ⇒ String
- #account_type ⇒ String
- #bank_code ⇒ String
- #country ⇒ String
- #payment_method ⇒ String
Attributes inherited from PaymentSource
Instance Method Summary collapse
-
#initialize ⇒ BankAccountSource
constructor
A new instance of BankAccountSource.
Constructor Details
#initialize ⇒ BankAccountSource
Returns a new instance of BankAccountSource.
25 26 27 |
# File 'lib/checkout_sdk/payments/source/bank_account_source.rb', line 25 def initialize super CheckoutSdk::Common::PaymentSourceType::BANK_ACCOUNT end |
Instance Attribute Details
#account_holder ⇒ CheckoutSdk::Common::AccountHolder
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/payments/source/bank_account_source.rb', line 17 class BankAccountSource < PaymentSource attr_accessor :payment_method, :account_type, :country, :account_number, :bank_code, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::BANK_ACCOUNT end end |
#account_number ⇒ String
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/payments/source/bank_account_source.rb', line 17 class BankAccountSource < PaymentSource attr_accessor :payment_method, :account_type, :country, :account_number, :bank_code, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::BANK_ACCOUNT end end |
#account_type ⇒ String
Returns Common::AccountType.
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/payments/source/bank_account_source.rb', line 17 class BankAccountSource < PaymentSource attr_accessor :payment_method, :account_type, :country, :account_number, :bank_code, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::BANK_ACCOUNT end end |
#bank_code ⇒ String
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/payments/source/bank_account_source.rb', line 17 class BankAccountSource < PaymentSource attr_accessor :payment_method, :account_type, :country, :account_number, :bank_code, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::BANK_ACCOUNT end end |
#country ⇒ String
Returns Common::Country.
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/payments/source/bank_account_source.rb', line 17 class BankAccountSource < PaymentSource attr_accessor :payment_method, :account_type, :country, :account_number, :bank_code, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::BANK_ACCOUNT end end |
#payment_method ⇒ String
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/checkout_sdk/payments/source/bank_account_source.rb', line 17 class BankAccountSource < PaymentSource attr_accessor :payment_method, :account_type, :country, :account_number, :bank_code, :account_holder def initialize super CheckoutSdk::Common::PaymentSourceType::BANK_ACCOUNT end end |