Class: Stripe::PaymentIntentService::CreateParams::PaymentMethodData::Fpx

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/payment_intent_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.



961
962
963
964
# File 'lib/stripe/services/payment_intent_service.rb', line 961

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



957
958
959
# File 'lib/stripe/services/payment_intent_service.rb', line 957

def 
  @account_holder_type
end

#bankObject

The customer’s bank.



959
960
961
# File 'lib/stripe/services/payment_intent_service.rb', line 959

def bank
  @bank
end