Class: Stripe::CustomerCreateFundingInstructionsParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/customer_create_funding_instructions_params.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) ⇒ CustomerCreateFundingInstructionsParams

Returns a new instance of CustomerCreateFundingInstructionsParams.



39
40
41
42
43
44
# File 'lib/stripe/params/customer_create_funding_instructions_params.rb', line 39

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



31
32
33
# File 'lib/stripe/params/customer_create_funding_instructions_params.rb', line 31

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



33
34
35
# File 'lib/stripe/params/customer_create_funding_instructions_params.rb', line 33

def currency
  @currency
end

#expandObject

Specifies which fields in the response should be expanded.



35
36
37
# File 'lib/stripe/params/customer_create_funding_instructions_params.rb', line 35

def expand
  @expand
end

#funding_typeObject

The ‘funding_type` to get the instructions for.



37
38
39
# File 'lib/stripe/params/customer_create_funding_instructions_params.rb', line 37

def funding_type
  @funding_type
end