Class: Stripe::PaymentIntentCreateParams::PaymentMethodData::Payto

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



2182
2183
2184
2185
2186
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2182

def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
  @account_number = 
  @bsb_number = bsb_number
  @pay_id = pay_id
end

Instance Attribute Details

#account_numberObject

The account number for the bank account.



2176
2177
2178
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2176

def 
  @account_number
end

#bsb_numberObject

Bank-State-Branch number of the bank account.



2178
2179
2180
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2178

def bsb_number
  @bsb_number
end

#pay_idObject

The PayID alias for the bank account.



2180
2181
2182
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2180

def pay_id
  @pay_id
end