Class: Stripe::Customer::CreateFundingInstructionsParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/customer.rb

Defined Under Namespace

Classes: BankTransfer

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(bank_transfer: nil, currency: nil, expand: nil, funding_type: nil) ⇒ CreateFundingInstructionsParams

Returns a new instance of CreateFundingInstructionsParams.



750
751
752
753
754
755
# File 'lib/stripe/resources/customer.rb', line 750

def initialize(bank_transfer: nil, currency: nil, expand: nil, funding_type: nil)
  @bank_transfer = bank_transfer
  @currency = currency
  @expand = expand
  @funding_type = funding_type
end

Instance Attribute Details

#bank_transferObject

Additional parameters for ‘bank_transfer` funding types



742
743
744
# File 'lib/stripe/resources/customer.rb', line 742

def bank_transfer
  @bank_transfer
end

#currencyObject

Three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](stripe.com/docs/currencies).



744
745
746
# File 'lib/stripe/resources/customer.rb', line 744

def currency
  @currency
end

#expandObject

Specifies which fields in the response should be expanded.



746
747
748
# File 'lib/stripe/resources/customer.rb', line 746

def expand
  @expand
end

#funding_typeObject

The ‘funding_type` to get the instructions for.



748
749
750
# File 'lib/stripe/resources/customer.rb', line 748

def funding_type
  @funding_type
end