Class: Stripe::V2::TestHelpers::MoneyManagementRecipientVerificationsParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::TestHelpers::MoneyManagementRecipientVerificationsParams
- Defined in:
- lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb
Instance Attribute Summary collapse
-
#match_result ⇒ Object
Expected match level of the RecipientVerification to be created: ‘match`, `close_match`, `no_match`, `unavailable`.
-
#payout_method ⇒ Object
ID of the payout method.
-
#recipient ⇒ Object
ID of the recipient account.
Instance Method Summary collapse
-
#initialize(match_result: nil, payout_method: nil, recipient: nil) ⇒ MoneyManagementRecipientVerificationsParams
constructor
A new instance of MoneyManagementRecipientVerificationsParams.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #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_result ⇒ Object
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_method ⇒ Object
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 |
#recipient ⇒ Object
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 |