Class: Stripe::CustomerFundingInstructionsService::CreateParams

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

Returns a new instance of CreateParams.



40
41
42
43
44
45
# File 'lib/stripe/services/customer_funding_instructions_service.rb', line 40

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



32
33
34
# File 'lib/stripe/services/customer_funding_instructions_service.rb', line 32

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



34
35
36
# File 'lib/stripe/services/customer_funding_instructions_service.rb', line 34

def currency
  @currency
end

#expandObject

Specifies which fields in the response should be expanded.



36
37
38
# File 'lib/stripe/services/customer_funding_instructions_service.rb', line 36

def expand
  @expand
end

#funding_typeObject

The ‘funding_type` to get the instructions for.



38
39
40
# File 'lib/stripe/services/customer_funding_instructions_service.rb', line 38

def funding_type
  @funding_type
end