straddle 0.1.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +66 -0
- data/README.md +2 -2
- data/SECURITY.md +1 -1
- data/lib/straddle/client.rb +3 -3
- data/lib/straddle/errors.rb +25 -11
- data/lib/straddle/file_part.rb +10 -7
- data/lib/straddle/internal/page_number_schema.rb +1 -1
- data/lib/straddle/internal/transport/base_client.rb +19 -9
- data/lib/straddle/internal/transport/pooled_net_requester.rb +41 -42
- data/lib/straddle/internal/type/array_of.rb +1 -0
- data/lib/straddle/internal/type/base_model.rb +4 -9
- data/lib/straddle/internal/type/base_page.rb +1 -1
- data/lib/straddle/internal/type/converter.rb +27 -0
- data/lib/straddle/internal/type/file_input.rb +7 -4
- data/lib/straddle/internal/type/hash_of.rb +1 -0
- data/lib/straddle/internal/type/union.rb +9 -7
- data/lib/straddle/internal/util.rb +9 -8
- data/lib/straddle/models/bridge/link_bank_account_params.rb +39 -6
- data/lib/straddle/models/bridge/link_create_paykey_params.rb +39 -6
- data/lib/straddle/models/bridge/link_create_paykey_response.rb +31 -2
- data/lib/straddle/models/bridge/link_create_tan_params.rb +38 -6
- data/lib/straddle/models/bridge/link_create_tan_response.rb +31 -2
- data/lib/straddle/models/bridge/link_plaid_params.rb +37 -2
- data/lib/straddle/models/bridge_initialize_params.rb +37 -2
- data/lib/straddle/models/charge_cancel_params.rb +8 -1
- data/lib/straddle/models/charge_create_params.rb +8 -1
- data/lib/straddle/models/charge_hold_params.rb +8 -1
- data/lib/straddle/models/charge_release_params.rb +8 -1
- data/lib/straddle/models/charge_update_params.rb +8 -1
- data/lib/straddle/models/customer_create_params.rb +8 -1
- data/lib/straddle/models/customer_delete_params.rb +7 -1
- data/lib/straddle/models/customer_unmasked_v1.rb +1 -4
- data/lib/straddle/models/customer_update_params.rb +8 -1
- data/lib/straddle/models/customers/customer_review_v1.rb +15 -50
- data/lib/straddle/models/customers/review_decision_params.rb +8 -1
- data/lib/straddle/models/customers/review_refresh_review_params.rb +40 -0
- data/lib/straddle/models/embed/account_create_params.rb +8 -1
- data/lib/straddle/models/embed/account_onboard_params.rb +7 -1
- data/lib/straddle/models/embed/account_paged_v1.rb +3 -12
- data/lib/straddle/models/embed/account_simulate_params.rb +7 -1
- data/lib/straddle/models/embed/account_update_params.rb +8 -1
- data/lib/straddle/models/embed/account_v1.rb +2 -8
- data/lib/straddle/models/embed/accounts/capability_request_create_params.rb +8 -1
- data/lib/straddle/models/embed/accounts/capability_request_paged_v1.rb +3 -11
- data/lib/straddle/models/embed/linked_bank_account_cancel_params.rb +34 -0
- data/lib/straddle/models/embed/linked_bank_account_create_params.rb +51 -4
- data/lib/straddle/models/embed/linked_bank_account_list_params.rb +51 -1
- data/lib/straddle/models/embed/linked_bank_account_paged_v1.rb +33 -13
- data/lib/straddle/models/embed/linked_bank_account_unmask_v1.rb +3 -8
- data/lib/straddle/models/embed/linked_bank_account_update_params.rb +8 -1
- data/lib/straddle/models/embed/linked_bank_account_v1.rb +30 -1
- data/lib/straddle/models/embed/organization_create_params.rb +8 -1
- data/lib/straddle/models/embed/representative.rb +10 -1
- data/lib/straddle/models/embed/representative_create_params.rb +17 -1
- data/lib/straddle/models/embed/representative_paged.rb +10 -1
- data/lib/straddle/models/embed/representative_update_params.rb +17 -1
- data/lib/straddle/models/funding_event_list_params.rb +9 -1
- data/lib/straddle/models/funding_event_summary_item_v1.rb +25 -1
- data/lib/straddle/models/funding_event_summary_paged_v1.rb +25 -1
- data/lib/straddle/models/paykey_cancel_params.rb +7 -1
- data/lib/straddle/models/paykey_reveal_response.rb +31 -2
- data/lib/straddle/models/paykey_summary_paged_v1.rb +30 -2
- data/lib/straddle/models/paykey_unmasked_v1.rb +30 -2
- data/lib/straddle/models/{customer_refresh_review_params.rb → paykey_update_balance_params.rb} +9 -3
- data/lib/straddle/models/paykey_v1.rb +30 -2
- data/lib/straddle/models/paykeys/review_decision_params.rb +56 -0
- data/lib/straddle/models/paykeys/review_get_params.rb +34 -0
- data/lib/straddle/models/paykeys/review_get_response.rb +642 -0
- data/lib/straddle/models/paykeys/review_refresh_review_params.rb +40 -0
- data/lib/straddle/models/payment_summary_paged_v1.rb +9 -1
- data/lib/straddle/models/payout_cancel_params.rb +8 -1
- data/lib/straddle/models/payout_create_params.rb +8 -1
- data/lib/straddle/models/payout_hold_params.rb +8 -1
- data/lib/straddle/models/payout_release_params.rb +8 -1
- data/lib/straddle/models/payout_update_params.rb +8 -1
- data/lib/straddle/models.rb +4 -2
- data/lib/straddle/resources/bridge/link.rb +24 -4
- data/lib/straddle/resources/bridge.rb +6 -1
- data/lib/straddle/resources/charges.rb +20 -5
- data/lib/straddle/resources/customers/review.rb +41 -1
- data/lib/straddle/resources/customers.rb +12 -37
- data/lib/straddle/resources/embed/accounts/capability_requests.rb +5 -2
- data/lib/straddle/resources/embed/accounts.rb +19 -7
- data/lib/straddle/resources/embed/linked_bank_accounts.rb +66 -7
- data/lib/straddle/resources/embed/organizations.rb +5 -2
- data/lib/straddle/resources/embed/representatives.rb +14 -4
- data/lib/straddle/resources/funding_events.rb +4 -1
- data/lib/straddle/resources/paykeys/review.rb +128 -0
- data/lib/straddle/resources/paykeys.rb +44 -1
- data/lib/straddle/resources/payouts.rb +20 -5
- data/lib/straddle/version.rb +1 -1
- data/lib/straddle.rb +9 -1
- data/manifest.yaml +1 -0
- data/rbi/straddle/client.rbi +4 -4
- data/rbi/straddle/errors.rbi +31 -4
- data/rbi/straddle/file_part.rbi +1 -1
- data/rbi/straddle/internal/transport/base_client.rbi +10 -6
- data/rbi/straddle/internal/transport/pooled_net_requester.rbi +6 -2
- data/rbi/straddle/internal/type/base_model.rbi +8 -4
- data/rbi/straddle/internal/type/base_page.rbi +1 -1
- data/rbi/straddle/internal/type/converter.rbi +54 -0
- data/rbi/straddle/internal/type/union.rbi +9 -2
- data/rbi/straddle/internal/util.rbi +1 -1
- data/rbi/straddle/models/bridge/link_bank_account_params.rbi +85 -1
- data/rbi/straddle/models/bridge/link_create_paykey_params.rbi +85 -1
- data/rbi/straddle/models/bridge/link_create_paykey_response.rbi +76 -1
- data/rbi/straddle/models/bridge/link_create_tan_params.rbi +85 -1
- data/rbi/straddle/models/bridge/link_create_tan_response.rbi +76 -1
- data/rbi/straddle/models/bridge/link_plaid_params.rbi +85 -1
- data/rbi/straddle/models/bridge_initialize_params.rbi +85 -1
- data/rbi/straddle/models/charge_cancel_params.rbi +9 -0
- data/rbi/straddle/models/charge_create_params.rbi +9 -0
- data/rbi/straddle/models/charge_hold_params.rbi +9 -0
- data/rbi/straddle/models/charge_release_params.rbi +9 -0
- data/rbi/straddle/models/charge_update_params.rbi +9 -0
- data/rbi/straddle/models/customer_create_params.rbi +9 -0
- data/rbi/straddle/models/customer_delete_params.rbi +9 -0
- data/rbi/straddle/models/customer_update_params.rbi +9 -0
- data/rbi/straddle/models/customers/review_decision_params.rbi +9 -0
- data/rbi/straddle/models/customers/review_refresh_review_params.rbi +76 -0
- data/rbi/straddle/models/embed/account_create_params.rbi +9 -0
- data/rbi/straddle/models/embed/account_onboard_params.rbi +9 -0
- data/rbi/straddle/models/embed/account_simulate_params.rbi +9 -0
- data/rbi/straddle/models/embed/account_update_params.rbi +9 -0
- data/rbi/straddle/models/embed/accounts/capability_request_create_params.rbi +9 -0
- data/rbi/straddle/models/embed/linked_bank_account_cancel_params.rbi +67 -0
- data/rbi/straddle/models/embed/linked_bank_account_create_params.rbi +95 -3
- data/rbi/straddle/models/embed/linked_bank_account_list_params.rbi +149 -0
- data/rbi/straddle/models/embed/linked_bank_account_paged_v1.rbi +72 -0
- data/rbi/straddle/models/embed/linked_bank_account_unmask_v1.rbi +5 -0
- data/rbi/straddle/models/embed/linked_bank_account_update_params.rbi +9 -0
- data/rbi/straddle/models/embed/linked_bank_account_v1.rbi +72 -0
- data/rbi/straddle/models/embed/organization_create_params.rbi +9 -0
- data/rbi/straddle/models/embed/representative.rbi +10 -0
- data/rbi/straddle/models/embed/representative_create_params.rbi +19 -0
- data/rbi/straddle/models/embed/representative_paged.rbi +10 -0
- data/rbi/straddle/models/embed/representative_update_params.rbi +19 -0
- data/rbi/straddle/models/funding_event_list_params.rbi +8 -0
- data/rbi/straddle/models/funding_event_summary_item_v1.rbi +24 -0
- data/rbi/straddle/models/funding_event_summary_paged_v1.rbi +24 -0
- data/rbi/straddle/models/paykey_cancel_params.rbi +9 -0
- data/rbi/straddle/models/paykey_reveal_response.rbi +76 -1
- data/rbi/straddle/models/paykey_summary_paged_v1.rbi +76 -1
- data/rbi/straddle/models/paykey_unmasked_v1.rbi +76 -1
- data/rbi/straddle/models/{customer_refresh_review_params.rbi → paykey_update_balance_params.rbi} +11 -2
- data/rbi/straddle/models/paykey_v1.rbi +76 -1
- data/rbi/straddle/models/paykeys/review_decision_params.rbi +115 -0
- data/rbi/straddle/models/paykeys/review_get_params.rbi +67 -0
- data/rbi/straddle/models/paykeys/review_get_response.rbi +1524 -0
- data/rbi/straddle/models/paykeys/review_refresh_review_params.rbi +76 -0
- data/rbi/straddle/models/payment_summary_paged_v1.rbi +8 -0
- data/rbi/straddle/models/payout_cancel_params.rbi +9 -0
- data/rbi/straddle/models/payout_create_params.rbi +9 -0
- data/rbi/straddle/models/payout_hold_params.rbi +9 -0
- data/rbi/straddle/models/payout_release_params.rbi +9 -0
- data/rbi/straddle/models/payout_update_params.rbi +9 -0
- data/rbi/straddle/models.rbi +4 -2
- data/rbi/straddle/resources/bridge/link.rbi +28 -0
- data/rbi/straddle/resources/bridge.rbi +7 -0
- data/rbi/straddle/resources/charges.rbi +15 -0
- data/rbi/straddle/resources/customers/review.rbi +30 -0
- data/rbi/straddle/resources/customers.rbi +9 -24
- data/rbi/straddle/resources/embed/accounts/capability_requests.rbi +3 -0
- data/rbi/straddle/resources/embed/accounts.rbi +12 -0
- data/rbi/straddle/resources/embed/linked_bank_accounts.rbi +56 -1
- data/rbi/straddle/resources/embed/organizations.rbi +3 -0
- data/rbi/straddle/resources/embed/representatives.rbi +14 -0
- data/rbi/straddle/resources/funding_events.rbi +3 -0
- data/rbi/straddle/resources/paykeys/review.rbi +94 -0
- data/rbi/straddle/resources/paykeys.rbi +32 -0
- data/rbi/straddle/resources/payouts.rbi +15 -0
- data/sig/straddle/client.rbs +2 -2
- data/sig/straddle/errors.rbs +7 -0
- data/sig/straddle/file_part.rbs +1 -1
- data/sig/straddle/internal/transport/base_client.rbs +3 -1
- data/sig/straddle/internal/transport/pooled_net_requester.rbs +4 -1
- data/sig/straddle/internal/type/converter.rbs +17 -0
- data/sig/straddle/internal/type/union.rbs +2 -2
- data/sig/straddle/models/bridge/link_bank_account_params.rbs +35 -1
- data/sig/straddle/models/bridge/link_create_paykey_params.rbs +35 -1
- data/sig/straddle/models/bridge/link_create_paykey_response.rbs +28 -1
- data/sig/straddle/models/bridge/link_create_tan_params.rbs +35 -1
- data/sig/straddle/models/bridge/link_create_tan_response.rbs +28 -1
- data/sig/straddle/models/bridge/link_plaid_params.rbs +35 -1
- data/sig/straddle/models/bridge_initialize_params.rbs +35 -1
- data/sig/straddle/models/charge_cancel_params.rbs +7 -0
- data/sig/straddle/models/charge_create_params.rbs +7 -0
- data/sig/straddle/models/charge_hold_params.rbs +7 -0
- data/sig/straddle/models/charge_release_params.rbs +7 -0
- data/sig/straddle/models/charge_update_params.rbs +7 -0
- data/sig/straddle/models/customer_create_params.rbs +7 -0
- data/sig/straddle/models/customer_delete_params.rbs +7 -0
- data/sig/straddle/models/customer_update_params.rbs +7 -0
- data/sig/straddle/models/customers/review_decision_params.rbs +7 -0
- data/sig/straddle/models/customers/review_refresh_review_params.rbs +51 -0
- data/sig/straddle/models/embed/account_create_params.rbs +7 -0
- data/sig/straddle/models/embed/account_onboard_params.rbs +7 -0
- data/sig/straddle/models/embed/account_simulate_params.rbs +7 -0
- data/sig/straddle/models/embed/account_update_params.rbs +7 -0
- data/sig/straddle/models/embed/accounts/capability_request_create_params.rbs +7 -0
- data/sig/straddle/models/embed/linked_bank_account_cancel_params.rbs +40 -0
- data/sig/straddle/models/embed/linked_bank_account_create_params.rbs +38 -4
- data/sig/straddle/models/embed/linked_bank_account_list_params.rbs +46 -0
- data/sig/straddle/models/embed/linked_bank_account_paged_v1.rbs +25 -1
- data/sig/straddle/models/embed/linked_bank_account_unmask_v1.rbs +3 -1
- data/sig/straddle/models/embed/linked_bank_account_update_params.rbs +7 -0
- data/sig/straddle/models/embed/linked_bank_account_v1.rbs +25 -1
- data/sig/straddle/models/embed/organization_create_params.rbs +7 -0
- data/sig/straddle/models/embed/representative.rbs +5 -0
- data/sig/straddle/models/embed/representative_create_params.rbs +12 -0
- data/sig/straddle/models/embed/representative_paged.rbs +5 -0
- data/sig/straddle/models/embed/representative_update_params.rbs +12 -0
- data/sig/straddle/models/funding_event_list_params.rbs +5 -0
- data/sig/straddle/models/funding_event_summary_item_v1.rbs +15 -0
- data/sig/straddle/models/funding_event_summary_paged_v1.rbs +15 -0
- data/sig/straddle/models/paykey_cancel_params.rbs +7 -0
- data/sig/straddle/models/paykey_reveal_response.rbs +28 -1
- data/sig/straddle/models/paykey_summary_paged_v1.rbs +28 -1
- data/sig/straddle/models/paykey_unmasked_v1.rbs +28 -1
- data/sig/straddle/models/{customer_refresh_review_params.rbs → paykey_update_balance_params.rbs} +9 -2
- data/sig/straddle/models/paykey_v1.rbs +28 -1
- data/sig/straddle/models/paykeys/review_decision_params.rbs +67 -0
- data/sig/straddle/models/paykeys/review_get_params.rbs +44 -0
- data/sig/straddle/models/paykeys/review_get_response.rbs +627 -0
- data/sig/straddle/models/paykeys/review_refresh_review_params.rbs +51 -0
- data/sig/straddle/models/payment_summary_paged_v1.rbs +5 -0
- data/sig/straddle/models/payout_cancel_params.rbs +7 -0
- data/sig/straddle/models/payout_create_params.rbs +7 -0
- data/sig/straddle/models/payout_hold_params.rbs +7 -0
- data/sig/straddle/models/payout_release_params.rbs +7 -0
- data/sig/straddle/models/payout_update_params.rbs +7 -0
- data/sig/straddle/models.rbs +4 -2
- data/sig/straddle/resources/bridge/link.rbs +8 -0
- data/sig/straddle/resources/bridge.rbs +2 -0
- data/sig/straddle/resources/charges.rbs +5 -0
- data/sig/straddle/resources/customers/review.rbs +10 -0
- data/sig/straddle/resources/customers.rbs +3 -8
- data/sig/straddle/resources/embed/accounts/capability_requests.rbs +1 -0
- data/sig/straddle/resources/embed/accounts.rbs +4 -0
- data/sig/straddle/resources/embed/linked_bank_accounts.rbs +16 -1
- data/sig/straddle/resources/embed/organizations.rbs +1 -0
- data/sig/straddle/resources/embed/representatives.rbs +4 -0
- data/sig/straddle/resources/funding_events.rbs +1 -0
- data/sig/straddle/resources/paykeys/review.rbs +36 -0
- data/sig/straddle/resources/paykeys.rbs +12 -0
- data/sig/straddle/resources/payouts.rbs +5 -0
- metadata +27 -6
|
@@ -19,11 +19,23 @@ module Straddle
|
|
|
19
19
|
# @return [Straddle::Models::BridgeInitializeParams::Config, nil]
|
|
20
20
|
optional :config, -> { Straddle::BridgeInitializeParams::Config }
|
|
21
21
|
|
|
22
|
+
# @!attribute external_id
|
|
23
|
+
# Unique identifier for the paykey in your database, used for cross-referencing
|
|
24
|
+
# between Straddle and your systems.
|
|
25
|
+
#
|
|
26
|
+
# @return [String, nil]
|
|
27
|
+
optional :external_id, String, nil?: true
|
|
28
|
+
|
|
22
29
|
# @!attribute correlation_id
|
|
23
30
|
#
|
|
24
31
|
# @return [String, nil]
|
|
25
32
|
optional :correlation_id, String
|
|
26
33
|
|
|
34
|
+
# @!attribute idempotency_key
|
|
35
|
+
#
|
|
36
|
+
# @return [String, nil]
|
|
37
|
+
optional :idempotency_key, String
|
|
38
|
+
|
|
27
39
|
# @!attribute request_id
|
|
28
40
|
#
|
|
29
41
|
# @return [String, nil]
|
|
@@ -34,7 +46,7 @@ module Straddle
|
|
|
34
46
|
# @return [String, nil]
|
|
35
47
|
optional :straddle_account_id, String
|
|
36
48
|
|
|
37
|
-
# @!method initialize(customer_id:, config: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
49
|
+
# @!method initialize(customer_id:, config: nil, external_id: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
38
50
|
# Some parameter documentations has been truncated, see
|
|
39
51
|
# {Straddle::Models::BridgeInitializeParams} for more details.
|
|
40
52
|
#
|
|
@@ -42,8 +54,12 @@ module Straddle
|
|
|
42
54
|
#
|
|
43
55
|
# @param config [Straddle::Models::BridgeInitializeParams::Config]
|
|
44
56
|
#
|
|
57
|
+
# @param external_id [String, nil] Unique identifier for the paykey in your database, used for cross-referencing be
|
|
58
|
+
#
|
|
45
59
|
# @param correlation_id [String]
|
|
46
60
|
#
|
|
61
|
+
# @param idempotency_key [String]
|
|
62
|
+
#
|
|
47
63
|
# @param request_id [String]
|
|
48
64
|
#
|
|
49
65
|
# @param straddle_account_id [String]
|
|
@@ -51,14 +67,32 @@ module Straddle
|
|
|
51
67
|
# @param request_options [Straddle::RequestOptions, Hash{Symbol=>Object}]
|
|
52
68
|
|
|
53
69
|
class Config < Straddle::Internal::Type::BaseModel
|
|
70
|
+
# @!attribute processing_method
|
|
71
|
+
#
|
|
72
|
+
# @return [Symbol, Straddle::Models::BridgeInitializeParams::Config::ProcessingMethod, nil]
|
|
73
|
+
optional :processing_method, enum: -> { Straddle::BridgeInitializeParams::Config::ProcessingMethod }
|
|
74
|
+
|
|
54
75
|
# @!attribute sandbox_outcome
|
|
55
76
|
#
|
|
56
77
|
# @return [Symbol, Straddle::Models::BridgeInitializeParams::Config::SandboxOutcome, nil]
|
|
57
78
|
optional :sandbox_outcome, enum: -> { Straddle::BridgeInitializeParams::Config::SandboxOutcome }
|
|
58
79
|
|
|
59
|
-
# @!method initialize(sandbox_outcome: nil)
|
|
80
|
+
# @!method initialize(processing_method: nil, sandbox_outcome: nil)
|
|
81
|
+
# @param processing_method [Symbol, Straddle::Models::BridgeInitializeParams::Config::ProcessingMethod]
|
|
60
82
|
# @param sandbox_outcome [Symbol, Straddle::Models::BridgeInitializeParams::Config::SandboxOutcome]
|
|
61
83
|
|
|
84
|
+
# @see Straddle::Models::BridgeInitializeParams::Config#processing_method
|
|
85
|
+
module ProcessingMethod
|
|
86
|
+
extend Straddle::Internal::Type::Enum
|
|
87
|
+
|
|
88
|
+
INLINE = :inline
|
|
89
|
+
BACKGROUND = :background
|
|
90
|
+
SKIP = :skip
|
|
91
|
+
|
|
92
|
+
# @!method self.values
|
|
93
|
+
# @return [Array<Symbol>]
|
|
94
|
+
end
|
|
95
|
+
|
|
62
96
|
# @see Straddle::Models::BridgeInitializeParams::Config#sandbox_outcome
|
|
63
97
|
module SandboxOutcome
|
|
64
98
|
extend Straddle::Internal::Type::Enum
|
|
@@ -66,6 +100,7 @@ module Straddle
|
|
|
66
100
|
STANDARD = :standard
|
|
67
101
|
ACTIVE = :active
|
|
68
102
|
REJECTED = :rejected
|
|
103
|
+
REVIEW = :review
|
|
69
104
|
|
|
70
105
|
# @!method self.values
|
|
71
106
|
# @return [Array<Symbol>]
|
|
@@ -18,6 +18,11 @@ module Straddle
|
|
|
18
18
|
# @return [String, nil]
|
|
19
19
|
optional :correlation_id, String
|
|
20
20
|
|
|
21
|
+
# @!attribute idempotency_key
|
|
22
|
+
#
|
|
23
|
+
# @return [String, nil]
|
|
24
|
+
optional :idempotency_key, String
|
|
25
|
+
|
|
21
26
|
# @!attribute request_id
|
|
22
27
|
#
|
|
23
28
|
# @return [String, nil]
|
|
@@ -28,11 +33,13 @@ module Straddle
|
|
|
28
33
|
# @return [String, nil]
|
|
29
34
|
optional :straddle_account_id, String
|
|
30
35
|
|
|
31
|
-
# @!method initialize(reason: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
36
|
+
# @!method initialize(reason: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
32
37
|
# @param reason [String, nil] Details about why the charge status was updated.
|
|
33
38
|
#
|
|
34
39
|
# @param correlation_id [String]
|
|
35
40
|
#
|
|
41
|
+
# @param idempotency_key [String]
|
|
42
|
+
#
|
|
36
43
|
# @param request_id [String]
|
|
37
44
|
#
|
|
38
45
|
# @param straddle_account_id [String]
|
|
@@ -76,6 +76,11 @@ module Straddle
|
|
|
76
76
|
# @return [String, nil]
|
|
77
77
|
optional :correlation_id, String
|
|
78
78
|
|
|
79
|
+
# @!attribute idempotency_key
|
|
80
|
+
#
|
|
81
|
+
# @return [String, nil]
|
|
82
|
+
optional :idempotency_key, String
|
|
83
|
+
|
|
79
84
|
# @!attribute request_id
|
|
80
85
|
#
|
|
81
86
|
# @return [String, nil]
|
|
@@ -86,7 +91,7 @@ module Straddle
|
|
|
86
91
|
# @return [String, nil]
|
|
87
92
|
optional :straddle_account_id, String
|
|
88
93
|
|
|
89
|
-
# @!method initialize(amount:, config:, consent_type:, currency:, description:, device:, external_id:, paykey:, payment_date:, metadata: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
94
|
+
# @!method initialize(amount:, config:, consent_type:, currency:, description:, device:, external_id:, paykey:, payment_date:, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
90
95
|
# Some parameter documentations has been truncated, see
|
|
91
96
|
# {Straddle::Models::ChargeCreateParams} for more details.
|
|
92
97
|
#
|
|
@@ -112,6 +117,8 @@ module Straddle
|
|
|
112
117
|
#
|
|
113
118
|
# @param correlation_id [String]
|
|
114
119
|
#
|
|
120
|
+
# @param idempotency_key [String]
|
|
121
|
+
#
|
|
115
122
|
# @param request_id [String]
|
|
116
123
|
#
|
|
117
124
|
# @param straddle_account_id [String]
|
|
@@ -18,6 +18,11 @@ module Straddle
|
|
|
18
18
|
# @return [String, nil]
|
|
19
19
|
optional :correlation_id, String
|
|
20
20
|
|
|
21
|
+
# @!attribute idempotency_key
|
|
22
|
+
#
|
|
23
|
+
# @return [String, nil]
|
|
24
|
+
optional :idempotency_key, String
|
|
25
|
+
|
|
21
26
|
# @!attribute request_id
|
|
22
27
|
#
|
|
23
28
|
# @return [String, nil]
|
|
@@ -28,11 +33,13 @@ module Straddle
|
|
|
28
33
|
# @return [String, nil]
|
|
29
34
|
optional :straddle_account_id, String
|
|
30
35
|
|
|
31
|
-
# @!method initialize(reason: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
36
|
+
# @!method initialize(reason: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
32
37
|
# @param reason [String, nil] Details about why the charge status was updated.
|
|
33
38
|
#
|
|
34
39
|
# @param correlation_id [String]
|
|
35
40
|
#
|
|
41
|
+
# @param idempotency_key [String]
|
|
42
|
+
#
|
|
36
43
|
# @param request_id [String]
|
|
37
44
|
#
|
|
38
45
|
# @param straddle_account_id [String]
|
|
@@ -18,6 +18,11 @@ module Straddle
|
|
|
18
18
|
# @return [String, nil]
|
|
19
19
|
optional :correlation_id, String
|
|
20
20
|
|
|
21
|
+
# @!attribute idempotency_key
|
|
22
|
+
#
|
|
23
|
+
# @return [String, nil]
|
|
24
|
+
optional :idempotency_key, String
|
|
25
|
+
|
|
21
26
|
# @!attribute request_id
|
|
22
27
|
#
|
|
23
28
|
# @return [String, nil]
|
|
@@ -28,11 +33,13 @@ module Straddle
|
|
|
28
33
|
# @return [String, nil]
|
|
29
34
|
optional :straddle_account_id, String
|
|
30
35
|
|
|
31
|
-
# @!method initialize(reason: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
36
|
+
# @!method initialize(reason: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
32
37
|
# @param reason [String, nil] Details about why the charge status was updated.
|
|
33
38
|
#
|
|
34
39
|
# @param correlation_id [String]
|
|
35
40
|
#
|
|
41
|
+
# @param idempotency_key [String]
|
|
42
|
+
#
|
|
36
43
|
# @param request_id [String]
|
|
37
44
|
#
|
|
38
45
|
# @param straddle_account_id [String]
|
|
@@ -38,6 +38,11 @@ module Straddle
|
|
|
38
38
|
# @return [String, nil]
|
|
39
39
|
optional :correlation_id, String
|
|
40
40
|
|
|
41
|
+
# @!attribute idempotency_key
|
|
42
|
+
#
|
|
43
|
+
# @return [String, nil]
|
|
44
|
+
optional :idempotency_key, String
|
|
45
|
+
|
|
41
46
|
# @!attribute request_id
|
|
42
47
|
#
|
|
43
48
|
# @return [String, nil]
|
|
@@ -48,7 +53,7 @@ module Straddle
|
|
|
48
53
|
# @return [String, nil]
|
|
49
54
|
optional :straddle_account_id, String
|
|
50
55
|
|
|
51
|
-
# @!method initialize(amount:, description:, payment_date:, metadata: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
56
|
+
# @!method initialize(amount:, description:, payment_date:, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
52
57
|
# Some parameter documentations has been truncated, see
|
|
53
58
|
# {Straddle::Models::ChargeUpdateParams} for more details.
|
|
54
59
|
#
|
|
@@ -62,6 +67,8 @@ module Straddle
|
|
|
62
67
|
#
|
|
63
68
|
# @param correlation_id [String]
|
|
64
69
|
#
|
|
70
|
+
# @param idempotency_key [String]
|
|
71
|
+
#
|
|
65
72
|
# @param request_id [String]
|
|
66
73
|
#
|
|
67
74
|
# @param straddle_account_id [String]
|
|
@@ -77,6 +77,11 @@ module Straddle
|
|
|
77
77
|
# @return [String, nil]
|
|
78
78
|
optional :correlation_id, String
|
|
79
79
|
|
|
80
|
+
# @!attribute idempotency_key
|
|
81
|
+
#
|
|
82
|
+
# @return [String, nil]
|
|
83
|
+
optional :idempotency_key, String
|
|
84
|
+
|
|
80
85
|
# @!attribute request_id
|
|
81
86
|
#
|
|
82
87
|
# @return [String, nil]
|
|
@@ -87,7 +92,7 @@ module Straddle
|
|
|
87
92
|
# @return [String, nil]
|
|
88
93
|
optional :straddle_account_id, String
|
|
89
94
|
|
|
90
|
-
# @!method initialize(device:, email:, name:, phone:, type:, address: nil, compliance_profile: nil, config: nil, external_id: nil, metadata: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
95
|
+
# @!method initialize(device:, email:, name:, phone:, type:, address: nil, compliance_profile: nil, config: nil, external_id: nil, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
91
96
|
# Some parameter documentations has been truncated, see
|
|
92
97
|
# {Straddle::Models::CustomerCreateParams} for more details.
|
|
93
98
|
#
|
|
@@ -113,6 +118,8 @@ module Straddle
|
|
|
113
118
|
#
|
|
114
119
|
# @param correlation_id [String]
|
|
115
120
|
#
|
|
121
|
+
# @param idempotency_key [String]
|
|
122
|
+
#
|
|
116
123
|
# @param request_id [String]
|
|
117
124
|
#
|
|
118
125
|
# @param straddle_account_id [String]
|
|
@@ -12,6 +12,11 @@ module Straddle
|
|
|
12
12
|
# @return [String, nil]
|
|
13
13
|
optional :correlation_id, String
|
|
14
14
|
|
|
15
|
+
# @!attribute idempotency_key
|
|
16
|
+
#
|
|
17
|
+
# @return [String, nil]
|
|
18
|
+
optional :idempotency_key, String
|
|
19
|
+
|
|
15
20
|
# @!attribute request_id
|
|
16
21
|
#
|
|
17
22
|
# @return [String, nil]
|
|
@@ -22,8 +27,9 @@ module Straddle
|
|
|
22
27
|
# @return [String, nil]
|
|
23
28
|
optional :straddle_account_id, String
|
|
24
29
|
|
|
25
|
-
# @!method initialize(correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
30
|
+
# @!method initialize(correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
26
31
|
# @param correlation_id [String]
|
|
32
|
+
# @param idempotency_key [String]
|
|
27
33
|
# @param request_id [String]
|
|
28
34
|
# @param straddle_account_id [String]
|
|
29
35
|
# @param request_options [Straddle::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -299,10 +299,7 @@ module Straddle
|
|
|
299
299
|
# @!attribute processing_method
|
|
300
300
|
#
|
|
301
301
|
# @return [Symbol, Straddle::Models::CustomerUnmaskedV1::Data::Config::ProcessingMethod, nil]
|
|
302
|
-
optional :processing_method,
|
|
303
|
-
enum: -> {
|
|
304
|
-
Straddle::CustomerUnmaskedV1::Data::Config::ProcessingMethod
|
|
305
|
-
}
|
|
302
|
+
optional :processing_method, enum: -> { Straddle::CustomerUnmaskedV1::Data::Config::ProcessingMethod }
|
|
306
303
|
|
|
307
304
|
# @!attribute sandbox_outcome
|
|
308
305
|
#
|
|
@@ -71,6 +71,11 @@ module Straddle
|
|
|
71
71
|
# @return [String, nil]
|
|
72
72
|
optional :correlation_id, String
|
|
73
73
|
|
|
74
|
+
# @!attribute idempotency_key
|
|
75
|
+
#
|
|
76
|
+
# @return [String, nil]
|
|
77
|
+
optional :idempotency_key, String
|
|
78
|
+
|
|
74
79
|
# @!attribute request_id
|
|
75
80
|
#
|
|
76
81
|
# @return [String, nil]
|
|
@@ -81,7 +86,7 @@ module Straddle
|
|
|
81
86
|
# @return [String, nil]
|
|
82
87
|
optional :straddle_account_id, String
|
|
83
88
|
|
|
84
|
-
# @!method initialize(device:, email:, name:, phone:, status:, address: nil, compliance_profile: nil, external_id: nil, metadata: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
89
|
+
# @!method initialize(device:, email:, name:, phone:, status:, address: nil, compliance_profile: nil, external_id: nil, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
85
90
|
# Some parameter documentations has been truncated, see
|
|
86
91
|
# {Straddle::Models::CustomerUpdateParams} for more details.
|
|
87
92
|
#
|
|
@@ -105,6 +110,8 @@ module Straddle
|
|
|
105
110
|
#
|
|
106
111
|
# @param correlation_id [String]
|
|
107
112
|
#
|
|
113
|
+
# @param idempotency_key [String]
|
|
114
|
+
#
|
|
108
115
|
# @param request_id [String]
|
|
109
116
|
#
|
|
110
117
|
# @param straddle_account_id [String]
|
|
@@ -89,10 +89,7 @@ module Straddle
|
|
|
89
89
|
# @!attribute status
|
|
90
90
|
#
|
|
91
91
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::CustomerDetails::Status]
|
|
92
|
-
required :status,
|
|
93
|
-
enum: -> {
|
|
94
|
-
Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::Status
|
|
95
|
-
}
|
|
92
|
+
required :status, enum: -> { Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::Status }
|
|
96
93
|
|
|
97
94
|
# @!attribute type
|
|
98
95
|
#
|
|
@@ -211,14 +208,10 @@ module Straddle
|
|
|
211
208
|
extend Straddle::Internal::Type::Union
|
|
212
209
|
|
|
213
210
|
# PII required to trigger Patriot Act compliant KYC verification.
|
|
214
|
-
variant -> {
|
|
215
|
-
Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::ComplianceProfile::IndividualComplianceProfile
|
|
216
|
-
}
|
|
211
|
+
variant -> { Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::ComplianceProfile::IndividualComplianceProfile }
|
|
217
212
|
|
|
218
213
|
# Business registration data required to trigger Patriot Act compliant KYB verification.
|
|
219
|
-
variant -> {
|
|
220
|
-
Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::ComplianceProfile::BusinessComplianceProfile
|
|
221
|
-
}
|
|
214
|
+
variant -> { Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::ComplianceProfile::BusinessComplianceProfile }
|
|
222
215
|
|
|
223
216
|
class IndividualComplianceProfile < Straddle::Internal::Type::BaseModel
|
|
224
217
|
# @!attribute dob
|
|
@@ -323,17 +316,13 @@ module Straddle
|
|
|
323
316
|
#
|
|
324
317
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::CustomerDetails::Config::ProcessingMethod, nil]
|
|
325
318
|
optional :processing_method,
|
|
326
|
-
enum: -> {
|
|
327
|
-
Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::Config::ProcessingMethod
|
|
328
|
-
}
|
|
319
|
+
enum: -> { Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::Config::ProcessingMethod }
|
|
329
320
|
|
|
330
321
|
# @!attribute sandbox_outcome
|
|
331
322
|
#
|
|
332
323
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::CustomerDetails::Config::SandboxOutcome, nil]
|
|
333
324
|
optional :sandbox_outcome,
|
|
334
|
-
enum: -> {
|
|
335
|
-
Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::Config::SandboxOutcome
|
|
336
|
-
}
|
|
325
|
+
enum: -> { Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::Config::SandboxOutcome }
|
|
337
326
|
|
|
338
327
|
# @!method initialize(processing_method: nil, sandbox_outcome: nil)
|
|
339
328
|
# @param processing_method [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::CustomerDetails::Config::ProcessingMethod]
|
|
@@ -390,10 +379,7 @@ module Straddle
|
|
|
390
379
|
# risk scores, correlation score, and more.
|
|
391
380
|
#
|
|
392
381
|
# @return [Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::Breakdown]
|
|
393
|
-
required :breakdown,
|
|
394
|
-
-> {
|
|
395
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Breakdown
|
|
396
|
-
}
|
|
382
|
+
required :breakdown, -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Breakdown }
|
|
397
383
|
|
|
398
384
|
# @!attribute created_at
|
|
399
385
|
# Timestamp of when the review was initiated.
|
|
@@ -404,10 +390,7 @@ module Straddle
|
|
|
404
390
|
# @!attribute decision
|
|
405
391
|
#
|
|
406
392
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::Decision]
|
|
407
|
-
required :decision,
|
|
408
|
-
enum: -> {
|
|
409
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Decision
|
|
410
|
-
}
|
|
393
|
+
required :decision, enum: -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Decision }
|
|
411
394
|
|
|
412
395
|
# @!attribute review_id
|
|
413
396
|
# Unique identifier for the review.
|
|
@@ -441,18 +424,12 @@ module Straddle
|
|
|
441
424
|
# @!attribute reputation
|
|
442
425
|
#
|
|
443
426
|
# @return [Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation, nil]
|
|
444
|
-
optional :reputation,
|
|
445
|
-
-> {
|
|
446
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation
|
|
447
|
-
}
|
|
427
|
+
optional :reputation, -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation }
|
|
448
428
|
|
|
449
429
|
# @!attribute watch_list
|
|
450
430
|
#
|
|
451
431
|
# @return [Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList, nil]
|
|
452
|
-
optional :watch_list,
|
|
453
|
-
-> {
|
|
454
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList
|
|
455
|
-
}
|
|
432
|
+
optional :watch_list, -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList }
|
|
456
433
|
|
|
457
434
|
# @!method initialize(breakdown:, created_at:, decision:, review_id:, updated_at:, kyc: nil, messages: nil, network_alerts: nil, reputation: nil, watch_list: nil)
|
|
458
435
|
# Some parameter documentations has been truncated, see
|
|
@@ -566,9 +543,7 @@ module Straddle
|
|
|
566
543
|
#
|
|
567
544
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::KYC::Decision, nil]
|
|
568
545
|
optional :decision,
|
|
569
|
-
enum: -> {
|
|
570
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::KYC::Decision
|
|
571
|
-
}
|
|
546
|
+
enum: -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::KYC::Decision }
|
|
572
547
|
|
|
573
548
|
# @!method initialize(validations:, codes: nil, decision: nil)
|
|
574
549
|
# @param validations [Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::KYC::Validations] Boolean values indicating the result of each validation in the KYC process.
|
|
@@ -675,9 +650,7 @@ module Straddle
|
|
|
675
650
|
#
|
|
676
651
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::NetworkAlerts::Decision, nil]
|
|
677
652
|
optional :decision,
|
|
678
|
-
enum: -> {
|
|
679
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::NetworkAlerts::Decision
|
|
680
|
-
}
|
|
653
|
+
enum: -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::NetworkAlerts::Decision }
|
|
681
654
|
|
|
682
655
|
# @!method initialize(alerts: nil, codes: nil, decision: nil)
|
|
683
656
|
# @param alerts [Array<String>, nil] Any alerts or flags raised during the consortium alert screening.
|
|
@@ -711,17 +684,13 @@ module Straddle
|
|
|
711
684
|
#
|
|
712
685
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation::Decision, nil]
|
|
713
686
|
optional :decision,
|
|
714
|
-
enum: -> {
|
|
715
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation::Decision
|
|
716
|
-
}
|
|
687
|
+
enum: -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation::Decision }
|
|
717
688
|
|
|
718
689
|
# @!attribute insights
|
|
719
690
|
#
|
|
720
691
|
# @return [Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation::Insights, nil]
|
|
721
692
|
optional :insights,
|
|
722
|
-
-> {
|
|
723
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation::Insights
|
|
724
|
-
}
|
|
693
|
+
-> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation::Insights }
|
|
725
694
|
|
|
726
695
|
# @!attribute risk_score
|
|
727
696
|
#
|
|
@@ -967,9 +936,7 @@ module Straddle
|
|
|
967
936
|
#
|
|
968
937
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList::Decision, nil]
|
|
969
938
|
optional :decision,
|
|
970
|
-
enum: -> {
|
|
971
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList::Decision
|
|
972
|
-
}
|
|
939
|
+
enum: -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList::Decision }
|
|
973
940
|
|
|
974
941
|
# @!attribute matched
|
|
975
942
|
# Information about any matches found during screening.
|
|
@@ -1013,9 +980,7 @@ module Straddle
|
|
|
1013
980
|
#
|
|
1014
981
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList::Match::Correlation]
|
|
1015
982
|
required :correlation,
|
|
1016
|
-
enum: -> {
|
|
1017
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList::Match::Correlation
|
|
1018
|
-
}
|
|
983
|
+
enum: -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList::Match::Correlation }
|
|
1019
984
|
|
|
1020
985
|
# @!attribute list_name
|
|
1021
986
|
# The name of the list the match was found.
|
|
@@ -19,6 +19,11 @@ module Straddle
|
|
|
19
19
|
# @return [String, nil]
|
|
20
20
|
optional :correlation_id, String
|
|
21
21
|
|
|
22
|
+
# @!attribute idempotency_key
|
|
23
|
+
#
|
|
24
|
+
# @return [String, nil]
|
|
25
|
+
optional :idempotency_key, String
|
|
26
|
+
|
|
22
27
|
# @!attribute request_id
|
|
23
28
|
#
|
|
24
29
|
# @return [String, nil]
|
|
@@ -29,11 +34,13 @@ module Straddle
|
|
|
29
34
|
# @return [String, nil]
|
|
30
35
|
optional :straddle_account_id, String
|
|
31
36
|
|
|
32
|
-
# @!method initialize(status:, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
37
|
+
# @!method initialize(status:, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
33
38
|
# @param status [Symbol, Straddle::Models::Customers::ReviewDecisionParams::Status] The final status of the customer review.
|
|
34
39
|
#
|
|
35
40
|
# @param correlation_id [String]
|
|
36
41
|
#
|
|
42
|
+
# @param idempotency_key [String]
|
|
43
|
+
#
|
|
37
44
|
# @param request_id [String]
|
|
38
45
|
#
|
|
39
46
|
# @param straddle_account_id [String]
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Straddle
|
|
4
|
+
module Models
|
|
5
|
+
module Customers
|
|
6
|
+
# @see Straddle::Resources::Customers::Review#refresh_review
|
|
7
|
+
class ReviewRefreshReviewParams < Straddle::Internal::Type::BaseModel
|
|
8
|
+
extend Straddle::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Straddle::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute correlation_id
|
|
12
|
+
#
|
|
13
|
+
# @return [String, nil]
|
|
14
|
+
optional :correlation_id, String
|
|
15
|
+
|
|
16
|
+
# @!attribute idempotency_key
|
|
17
|
+
#
|
|
18
|
+
# @return [String, nil]
|
|
19
|
+
optional :idempotency_key, String
|
|
20
|
+
|
|
21
|
+
# @!attribute request_id
|
|
22
|
+
#
|
|
23
|
+
# @return [String, nil]
|
|
24
|
+
optional :request_id, String
|
|
25
|
+
|
|
26
|
+
# @!attribute straddle_account_id
|
|
27
|
+
#
|
|
28
|
+
# @return [String, nil]
|
|
29
|
+
optional :straddle_account_id, String
|
|
30
|
+
|
|
31
|
+
# @!method initialize(correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
32
|
+
# @param correlation_id [String]
|
|
33
|
+
# @param idempotency_key [String]
|
|
34
|
+
# @param request_id [String]
|
|
35
|
+
# @param straddle_account_id [String]
|
|
36
|
+
# @param request_options [Straddle::RequestOptions, Hash{Symbol=>Object}]
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -51,12 +51,17 @@ module Straddle
|
|
|
51
51
|
# @return [String, nil]
|
|
52
52
|
optional :correlation_id, String
|
|
53
53
|
|
|
54
|
+
# @!attribute idempotency_key
|
|
55
|
+
#
|
|
56
|
+
# @return [String, nil]
|
|
57
|
+
optional :idempotency_key, String
|
|
58
|
+
|
|
54
59
|
# @!attribute request_id
|
|
55
60
|
#
|
|
56
61
|
# @return [String, nil]
|
|
57
62
|
optional :request_id, String
|
|
58
63
|
|
|
59
|
-
# @!method initialize(access_level:, account_type:, business_profile:, organization_id:, external_id: nil, metadata: nil, correlation_id: nil, request_id: nil, request_options: {})
|
|
64
|
+
# @!method initialize(access_level:, account_type:, business_profile:, organization_id:, external_id: nil, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, request_options: {})
|
|
60
65
|
# Some parameter documentations has been truncated, see
|
|
61
66
|
# {Straddle::Models::Embed::AccountCreateParams} for more details.
|
|
62
67
|
#
|
|
@@ -74,6 +79,8 @@ module Straddle
|
|
|
74
79
|
#
|
|
75
80
|
# @param correlation_id [String]
|
|
76
81
|
#
|
|
82
|
+
# @param idempotency_key [String]
|
|
83
|
+
#
|
|
77
84
|
# @param request_id [String]
|
|
78
85
|
#
|
|
79
86
|
# @param request_options [Straddle::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -18,14 +18,20 @@ module Straddle
|
|
|
18
18
|
# @return [String, nil]
|
|
19
19
|
optional :correlation_id, String
|
|
20
20
|
|
|
21
|
+
# @!attribute idempotency_key
|
|
22
|
+
#
|
|
23
|
+
# @return [String, nil]
|
|
24
|
+
optional :idempotency_key, String
|
|
25
|
+
|
|
21
26
|
# @!attribute request_id
|
|
22
27
|
#
|
|
23
28
|
# @return [String, nil]
|
|
24
29
|
optional :request_id, String
|
|
25
30
|
|
|
26
|
-
# @!method initialize(terms_of_service:, correlation_id: nil, request_id: nil, request_options: {})
|
|
31
|
+
# @!method initialize(terms_of_service:, correlation_id: nil, idempotency_key: nil, request_id: nil, request_options: {})
|
|
27
32
|
# @param terms_of_service [Straddle::Models::Embed::TermsOfServiceV1]
|
|
28
33
|
# @param correlation_id [String]
|
|
34
|
+
# @param idempotency_key [String]
|
|
29
35
|
# @param request_id [String]
|
|
30
36
|
# @param request_options [Straddle::RequestOptions, Hash{Symbol=>Object}]
|
|
31
37
|
end
|
|
@@ -281,10 +281,7 @@ module Straddle
|
|
|
281
281
|
# @!attribute customer_types
|
|
282
282
|
#
|
|
283
283
|
# @return [Straddle::Models::Embed::AccountPagedV1::Data::Capabilities::CustomerTypes]
|
|
284
|
-
required :customer_types,
|
|
285
|
-
-> {
|
|
286
|
-
Straddle::Embed::AccountPagedV1::Data::Capabilities::CustomerTypes
|
|
287
|
-
}
|
|
284
|
+
required :customer_types, -> { Straddle::Embed::AccountPagedV1::Data::Capabilities::CustomerTypes }
|
|
288
285
|
|
|
289
286
|
# @!attribute payment_types
|
|
290
287
|
#
|
|
@@ -386,10 +383,7 @@ module Straddle
|
|
|
386
383
|
# Straddle.
|
|
387
384
|
#
|
|
388
385
|
# @return [Symbol, Straddle::Models::Embed::AccountPagedV1::Data::Settings::Charges::FundingTime]
|
|
389
|
-
required :funding_time,
|
|
390
|
-
enum: -> {
|
|
391
|
-
Straddle::Embed::AccountPagedV1::Data::Settings::Charges::FundingTime
|
|
392
|
-
}
|
|
386
|
+
required :funding_time, enum: -> { Straddle::Embed::AccountPagedV1::Data::Settings::Charges::FundingTime }
|
|
393
387
|
|
|
394
388
|
# @!attribute linked_bank_account_id
|
|
395
389
|
# The unique identifier of the linked bank account associated with charges. This
|
|
@@ -464,10 +458,7 @@ module Straddle
|
|
|
464
458
|
# Straddle.
|
|
465
459
|
#
|
|
466
460
|
# @return [Symbol, Straddle::Models::Embed::AccountPagedV1::Data::Settings::Payouts::FundingTime]
|
|
467
|
-
required :funding_time,
|
|
468
|
-
enum: -> {
|
|
469
|
-
Straddle::Embed::AccountPagedV1::Data::Settings::Payouts::FundingTime
|
|
470
|
-
}
|
|
461
|
+
required :funding_time, enum: -> { Straddle::Embed::AccountPagedV1::Data::Settings::Payouts::FundingTime }
|
|
471
462
|
|
|
472
463
|
# @!attribute linked_bank_account_id
|
|
473
464
|
# The unique identifier of the linked bank account to use for payouts.
|
|
@@ -18,14 +18,20 @@ module Straddle
|
|
|
18
18
|
# @return [String, nil]
|
|
19
19
|
optional :correlation_id, String
|
|
20
20
|
|
|
21
|
+
# @!attribute idempotency_key
|
|
22
|
+
#
|
|
23
|
+
# @return [String, nil]
|
|
24
|
+
optional :idempotency_key, String
|
|
25
|
+
|
|
21
26
|
# @!attribute request_id
|
|
22
27
|
#
|
|
23
28
|
# @return [String, nil]
|
|
24
29
|
optional :request_id, String
|
|
25
30
|
|
|
26
|
-
# @!method initialize(final_status: nil, correlation_id: nil, request_id: nil, request_options: {})
|
|
31
|
+
# @!method initialize(final_status: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, request_options: {})
|
|
27
32
|
# @param final_status [Symbol, Straddle::Models::Embed::AccountSimulateParams::FinalStatus]
|
|
28
33
|
# @param correlation_id [String]
|
|
34
|
+
# @param idempotency_key [String]
|
|
29
35
|
# @param request_id [String]
|
|
30
36
|
# @param request_options [Straddle::RequestOptions, Hash{Symbol=>Object}]
|
|
31
37
|
|