Class: Stripe::SetupIntentVerifyMicrodepositsParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/setup_intent_verify_microdeposits_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(amounts: nil, descriptor_code: nil, expand: nil) ⇒ SetupIntentVerifyMicrodepositsParams

Returns a new instance of SetupIntentVerifyMicrodepositsParams.



13
14
15
16
17
# File 'lib/stripe/params/setup_intent_verify_microdeposits_params.rb', line 13

def initialize(amounts: nil, descriptor_code: nil, expand: nil)
  @amounts = amounts
  @descriptor_code = descriptor_code
  @expand = expand
end

Instance Attribute Details

#amountsObject

Two positive integers, in cents, equal to the values of the microdeposits sent to the bank account.



7
8
9
# File 'lib/stripe/params/setup_intent_verify_microdeposits_params.rb', line 7

def amounts
  @amounts
end

#descriptor_codeObject

A six-character code starting with SM present in the microdeposit sent to the bank account.



9
10
11
# File 'lib/stripe/params/setup_intent_verify_microdeposits_params.rb', line 9

def descriptor_code
  @descriptor_code
end

#expandObject

Specifies which fields in the response should be expanded.



11
12
13
# File 'lib/stripe/params/setup_intent_verify_microdeposits_params.rb', line 11

def expand
  @expand
end