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.



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

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



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

def match_result
  @match_result
end

#payout_methodObject

ID of the payout method.



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

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



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

def recipient
  @recipient
end