Class: Stripe::V2::TestHelpers::MoneyManagementRecipientVerificationsParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(match_result: nil, payout_method: nil, recipient: nil) ⇒ MoneyManagementRecipientVerificationsParams

Returns a new instance of MoneyManagementRecipientVerificationsParams.



16
17
18
19
20
# File 'lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb', line 16

def initialize(match_result: nil, payout_method: nil, recipient: nil)
  @match_result = match_result
  @payout_method = payout_method
  @recipient = recipient
end

Instance Attribute Details

#match_resultObject

Expected match level of the RecipientVerification to be created: ‘match`, `close_match`, `no_match`, `unavailable`. For `close_match`, the simulated response appends “close_match” to the provided name in match_result_details.matched_name.



10
11
12
# File 'lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb', line 10

def match_result
  @match_result
end

#payout_methodObject

ID of the payout method.



12
13
14
# File 'lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb', line 12

def payout_method
  @payout_method
end

#recipientObject

ID of the recipient account. Required if the recipient distinct from the sender. Leave empty if the recipient and sender are the same entity (i.e. for me-to-me payouts).



14
15
16
# File 'lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb', line 14

def recipient
  @recipient
end