Class: Stripe::PaymentIntentCreateParams::PaymentMethodData::Payto
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentMethodData::Payto
- Defined in:
- lib/stripe/params/payment_intent_create_params.rb
Instance Attribute Summary collapse
-
#account_number ⇒ Object
The account number for the bank account.
-
#bsb_number ⇒ Object
Bank-State-Branch number of the bank account.
-
#pay_id ⇒ Object
The PayID alias for the bank account.
Instance Method Summary collapse
-
#initialize(account_number: nil, bsb_number: nil, pay_id: nil) ⇒ Payto
constructor
A new instance of Payto.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(account_number: nil, bsb_number: nil, pay_id: nil) ⇒ Payto
Returns a new instance of Payto.
2212 2213 2214 2215 2216 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2212 def initialize(account_number: nil, bsb_number: nil, pay_id: nil) @account_number = account_number @bsb_number = bsb_number @pay_id = pay_id end |
Instance Attribute Details
#account_number ⇒ Object
The account number for the bank account.
2206 2207 2208 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2206 def account_number @account_number end |
#bsb_number ⇒ Object
Bank-State-Branch number of the bank account.
2208 2209 2210 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2208 def bsb_number @bsb_number end |
#pay_id ⇒ Object
The PayID alias for the bank account.
2210 2211 2212 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2210 def pay_id @pay_id end |