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.



899
900
901
902
903
904
# File 'lib/stripe/resources/customer.rb', line 899

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



888
889
890
# File 'lib/stripe/resources/customer.rb', line 888

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).



891
892
893
# File 'lib/stripe/resources/customer.rb', line 891

def currency
  @currency
end

#expandObject

Specifies which fields in the response should be expanded.



894
895
896
# File 'lib/stripe/resources/customer.rb', line 894

def expand
  @expand
end

#funding_typeObject

The ‘funding_type` to get the instructions for.



897
898
899
# File 'lib/stripe/resources/customer.rb', line 897

def funding_type
  @funding_type
end