Class: Stripe::PaymentMethodService::CreateParams::Fpx

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/payment_method_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(account_holder_type: nil, bank: nil) ⇒ Fpx

Returns a new instance of Fpx.



221
222
223
224
# File 'lib/stripe/services/payment_method_service.rb', line 221

def initialize(account_holder_type: nil, bank: nil)
  @account_holder_type = 
  @bank = bank
end

Instance Attribute Details

#account_holder_typeObject

Account holder type for FPX transaction



217
218
219
# File 'lib/stripe/services/payment_method_service.rb', line 217

def 
  @account_holder_type
end

#bankObject

The customer’s bank.



219
220
221
# File 'lib/stripe/services/payment_method_service.rb', line 219

def bank
  @bank
end