straddle 0.2.0 → 0.4.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 +97 -0
- data/README.md +10 -1
- data/lib/straddle/client.rb +34 -0
- data/lib/straddle/internal/transport/base_client.rb +7 -1
- data/lib/straddle/internal/transport/pooled_net_requester.rb +39 -27
- data/lib/straddle/internal/util.rb +44 -8
- data/lib/straddle/models/bridge/link_bank_account_params.rb +31 -2
- data/lib/straddle/models/bridge/link_create_paykey_params.rb +31 -2
- data/lib/straddle/models/bridge/link_create_paykey_response.rb +39 -2
- data/lib/straddle/models/bridge/link_create_tan_params.rb +30 -2
- data/lib/straddle/models/bridge/link_create_tan_response.rb +39 -2
- data/lib/straddle/models/bridge/link_plaid_params.rb +30 -2
- data/lib/straddle/models/bridge_initialize_params.rb +30 -2
- data/lib/straddle/models/charge_cancel_params.rb +8 -1
- data/lib/straddle/models/charge_create_params.rb +20 -4
- data/lib/straddle/models/charge_get_params.rb +7 -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_unmask_params.rb +7 -1
- data/lib/straddle/models/charge_unmask_response.rb +59 -5
- data/lib/straddle/models/charge_update_params.rb +11 -4
- data/lib/straddle/models/charge_v1.rb +59 -5
- data/lib/straddle/models/customer_delete_params.rb +7 -1
- data/lib/straddle/models/customer_get_params.rb +7 -1
- data/lib/straddle/models/customer_unmasked_params.rb +7 -1
- data/lib/straddle/models/customer_update_params.rb +8 -1
- data/lib/straddle/models/customers/review_decision_params.rb +8 -1
- data/lib/straddle/models/customers/review_get_params.rb +7 -1
- data/lib/straddle/models/customers/review_refresh_review_params.rb +46 -0
- data/lib/straddle/models/embed/account_get_params.rb +11 -1
- data/lib/straddle/models/embed/account_onboard_params.rb +7 -1
- data/lib/straddle/models/embed/account_paged_v1.rb +4 -0
- 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 +4 -0
- data/lib/straddle/models/embed/accounts/capability_request_create_params.rb +8 -1
- data/lib/straddle/models/embed/accounts/capability_request_list_params.rb +8 -1
- data/lib/straddle/models/embed/accounts/capability_request_paged_v1.rb +9 -1
- data/lib/straddle/models/embed/address_v1.rb +14 -38
- data/lib/straddle/models/embed/linked_bank_account_cancel_params.rb +7 -1
- data/lib/straddle/models/embed/linked_bank_account_get_params.rb +7 -1
- data/lib/straddle/models/embed/linked_bank_account_list_params.rb +51 -1
- data/lib/straddle/models/embed/linked_bank_account_unmask_params.rb +7 -1
- data/lib/straddle/models/embed/linked_bank_account_update_params.rb +8 -1
- data/lib/straddle/models/embed/organization_get_params.rb +7 -1
- data/lib/straddle/models/embed/representative_get_params.rb +7 -1
- data/lib/straddle/models/embed/representative_unmask_params.rb +7 -1
- data/lib/straddle/models/embed/representative_update_params.rb +8 -1
- data/lib/straddle/models/funding_event_get_params.rb +7 -1
- data/lib/straddle/models/funding_event_list_params.rb +113 -1
- data/lib/straddle/models/funding_event_summary_item_v1.rb +152 -1
- data/lib/straddle/models/funding_event_summary_paged_v1.rb +152 -1
- data/lib/straddle/models/paykey_cancel_params.rb +7 -1
- data/lib/straddle/models/paykey_get_params.rb +7 -1
- data/lib/straddle/models/paykey_list_params.rb +24 -1
- data/lib/straddle/models/paykey_reveal_params.rb +7 -1
- data/lib/straddle/models/paykey_reveal_response.rb +39 -2
- data/lib/straddle/models/paykey_summary_paged_v1.rb +48 -2
- data/lib/straddle/models/paykey_unmasked_params.rb +7 -1
- data/lib/straddle/models/paykey_unmasked_v1.rb +38 -2
- data/lib/straddle/models/{customer_refresh_review_params.rb → paykey_update_balance_params.rb} +9 -3
- data/lib/straddle/models/paykey_v1.rb +48 -2
- data/lib/straddle/models/paykeys/review_decision_params.rb +62 -0
- data/lib/straddle/models/paykeys/review_get_params.rb +40 -0
- data/lib/straddle/models/paykeys/review_get_response.rb +657 -0
- data/lib/straddle/models/paykeys/review_refresh_review_params.rb +46 -0
- data/lib/straddle/models/payment_list_params.rb +17 -1
- data/lib/straddle/models/payment_summary_paged_v1.rb +21 -4
- data/lib/straddle/models/payout_cancel_params.rb +8 -1
- data/lib/straddle/models/payout_create_params.rb +20 -4
- data/lib/straddle/models/payout_get_params.rb +7 -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_unmask_params.rb +7 -1
- data/lib/straddle/models/payout_unmask_response.rb +59 -5
- data/lib/straddle/models/payout_update_params.rb +11 -4
- data/lib/straddle/models/payout_v1.rb +59 -5
- data/lib/straddle/models/status_details_v1.rb +7 -0
- data/lib/straddle/models.rb +3 -3
- data/lib/straddle/resources/bridge/link.rb +24 -10
- data/lib/straddle/resources/bridge.rb +16 -2
- data/lib/straddle/resources/charges.rb +13 -8
- data/lib/straddle/resources/customers/review.rb +44 -1
- data/lib/straddle/resources/customers.rb +23 -47
- data/lib/straddle/resources/embed/accounts/capability_requests.rb +9 -4
- data/lib/straddle/resources/embed/accounts.rb +25 -14
- data/lib/straddle/resources/embed/linked_bank_accounts.rb +25 -7
- data/lib/straddle/resources/embed/organizations.rb +7 -2
- data/lib/straddle/resources/embed/representatives.rb +15 -8
- data/lib/straddle/resources/embed.rb +19 -0
- data/lib/straddle/resources/funding_events.rb +25 -3
- data/lib/straddle/resources/paykeys/review.rb +133 -0
- data/lib/straddle/resources/paykeys.rb +72 -50
- data/lib/straddle/resources/payments.rb +12 -6
- data/lib/straddle/resources/payouts.rb +11 -7
- data/lib/straddle/version.rb +1 -1
- data/lib/straddle.rb +9 -2
- data/manifest.yaml +2 -0
- data/rbi/straddle/client.rbi +34 -0
- data/rbi/straddle/internal/transport/base_client.rbi +5 -0
- 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/util.rbi +21 -1
- data/rbi/straddle/models/bridge/link_bank_account_params.rbi +76 -1
- data/rbi/straddle/models/bridge/link_create_paykey_params.rbi +76 -1
- data/rbi/straddle/models/bridge/link_create_paykey_response.rbi +116 -1
- data/rbi/straddle/models/bridge/link_create_tan_params.rbi +76 -1
- data/rbi/straddle/models/bridge/link_create_tan_response.rbi +116 -1
- data/rbi/straddle/models/bridge/link_plaid_params.rbi +76 -1
- data/rbi/straddle/models/bridge_initialize_params.rbi +76 -1
- data/rbi/straddle/models/charge_cancel_params.rbi +6 -0
- data/rbi/straddle/models/charge_create_params.rbi +19 -3
- data/rbi/straddle/models/charge_get_params.rbi +6 -0
- data/rbi/straddle/models/charge_hold_params.rbi +6 -0
- data/rbi/straddle/models/charge_release_params.rbi +6 -0
- data/rbi/straddle/models/charge_unmask_params.rbi +6 -0
- data/rbi/straddle/models/charge_unmask_response.rbi +143 -6
- data/rbi/straddle/models/charge_update_params.rbi +9 -3
- data/rbi/straddle/models/charge_v1.rbi +135 -6
- data/rbi/straddle/models/customer_delete_params.rbi +6 -0
- data/rbi/straddle/models/customer_get_params.rbi +6 -0
- data/rbi/straddle/models/customer_unmasked_params.rbi +6 -0
- data/rbi/straddle/models/customer_update_params.rbi +6 -0
- data/rbi/straddle/models/customers/review_decision_params.rbi +6 -0
- data/rbi/straddle/models/customers/review_get_params.rbi +6 -0
- data/rbi/straddle/models/customers/review_refresh_review_params.rbi +82 -0
- data/rbi/straddle/models/embed/account_get_params.rbi +13 -1
- data/rbi/straddle/models/embed/account_onboard_params.rbi +6 -0
- data/rbi/straddle/models/embed/account_paged_v1.rbi +20 -0
- data/rbi/straddle/models/embed/account_simulate_params.rbi +6 -0
- data/rbi/straddle/models/embed/account_update_params.rbi +6 -0
- data/rbi/straddle/models/embed/account_v1.rbi +20 -0
- data/rbi/straddle/models/embed/accounts/capability_request_create_params.rbi +6 -0
- data/rbi/straddle/models/embed/accounts/capability_request_list_params.rbi +6 -0
- data/rbi/straddle/models/embed/accounts/capability_request_paged_v1.rbi +8 -0
- data/rbi/straddle/models/embed/address_v1.rbi +18 -42
- data/rbi/straddle/models/embed/linked_bank_account_cancel_params.rbi +6 -0
- data/rbi/straddle/models/embed/linked_bank_account_get_params.rbi +11 -1
- data/rbi/straddle/models/embed/linked_bank_account_list_params.rbi +149 -0
- data/rbi/straddle/models/embed/linked_bank_account_unmask_params.rbi +11 -1
- data/rbi/straddle/models/embed/linked_bank_account_update_params.rbi +6 -0
- data/rbi/straddle/models/embed/organization_get_params.rbi +11 -1
- data/rbi/straddle/models/embed/representative_get_params.rbi +11 -1
- data/rbi/straddle/models/embed/representative_unmask_params.rbi +11 -1
- data/rbi/straddle/models/embed/representative_update_params.rbi +6 -0
- data/rbi/straddle/models/funding_event_get_params.rbi +6 -0
- data/rbi/straddle/models/funding_event_list_params.rbi +341 -0
- data/rbi/straddle/models/funding_event_summary_item_v1.rbi +416 -0
- data/rbi/straddle/models/funding_event_summary_paged_v1.rbi +417 -0
- data/rbi/straddle/models/paykey_cancel_params.rbi +6 -0
- data/rbi/straddle/models/paykey_get_params.rbi +6 -0
- data/rbi/straddle/models/paykey_list_params.rbi +30 -0
- data/rbi/straddle/models/paykey_reveal_params.rbi +6 -0
- data/rbi/straddle/models/paykey_reveal_response.rbi +116 -1
- data/rbi/straddle/models/paykey_summary_paged_v1.rbi +131 -4
- data/rbi/straddle/models/paykey_unmasked_params.rbi +6 -0
- data/rbi/straddle/models/paykey_unmasked_v1.rbi +116 -1
- data/rbi/straddle/models/{customer_refresh_review_params.rbi → paykey_update_balance_params.rbi} +8 -2
- data/rbi/straddle/models/paykey_v1.rbi +128 -4
- data/rbi/straddle/models/paykeys/review_decision_params.rbi +121 -0
- data/rbi/straddle/models/paykeys/review_get_params.rbi +73 -0
- data/rbi/straddle/models/paykeys/review_get_response.rbi +1561 -0
- data/rbi/straddle/models/paykeys/review_refresh_review_params.rbi +82 -0
- data/rbi/straddle/models/payment_list_params.rbi +51 -0
- data/rbi/straddle/models/payment_summary_paged_v1.rbi +24 -3
- data/rbi/straddle/models/payout_cancel_params.rbi +6 -0
- data/rbi/straddle/models/payout_create_params.rbi +19 -3
- data/rbi/straddle/models/payout_get_params.rbi +6 -0
- data/rbi/straddle/models/payout_hold_params.rbi +6 -0
- data/rbi/straddle/models/payout_release_params.rbi +6 -0
- data/rbi/straddle/models/payout_unmask_params.rbi +6 -0
- data/rbi/straddle/models/payout_unmask_response.rbi +140 -3
- data/rbi/straddle/models/payout_update_params.rbi +9 -3
- data/rbi/straddle/models/payout_v1.rbi +132 -3
- data/rbi/straddle/models/status_details_v1.rbi +29 -0
- data/rbi/straddle/models.rbi +3 -3
- data/rbi/straddle/resources/bridge/link.rbi +28 -6
- data/rbi/straddle/resources/bridge.rbi +17 -1
- data/rbi/straddle/resources/charges.rbi +13 -8
- data/rbi/straddle/resources/customers/review.rbi +34 -1
- data/rbi/straddle/resources/customers.rbi +20 -35
- data/rbi/straddle/resources/embed/accounts/capability_requests.rbi +6 -2
- data/rbi/straddle/resources/embed/accounts.rbi +19 -10
- data/rbi/straddle/resources/embed/linked_bank_accounts.rbi +18 -4
- data/rbi/straddle/resources/embed/organizations.rbi +4 -0
- data/rbi/straddle/resources/embed/representatives.rbi +12 -6
- data/rbi/straddle/resources/embed.rbi +19 -0
- data/rbi/straddle/resources/funding_events.rbi +30 -0
- data/rbi/straddle/resources/paykeys/review.rbi +99 -0
- data/rbi/straddle/resources/paykeys.rbi +45 -29
- data/rbi/straddle/resources/payments.rbi +8 -3
- data/rbi/straddle/resources/payouts.rbi +11 -7
- data/sig/straddle/internal/transport/base_client.rbs +2 -0
- data/sig/straddle/internal/transport/pooled_net_requester.rbs +4 -1
- data/sig/straddle/internal/util.rbs +10 -0
- data/sig/straddle/models/bridge/link_bank_account_params.rbs +28 -1
- data/sig/straddle/models/bridge/link_create_paykey_params.rbs +28 -1
- data/sig/straddle/models/bridge/link_create_paykey_response.rbs +45 -2
- data/sig/straddle/models/bridge/link_create_tan_params.rbs +28 -1
- data/sig/straddle/models/bridge/link_create_tan_response.rbs +45 -2
- data/sig/straddle/models/bridge/link_plaid_params.rbs +28 -1
- data/sig/straddle/models/bridge_initialize_params.rbs +28 -1
- data/sig/straddle/models/charge_cancel_params.rbs +5 -0
- data/sig/straddle/models/charge_create_params.rbs +14 -4
- data/sig/straddle/models/charge_get_params.rbs +5 -0
- data/sig/straddle/models/charge_hold_params.rbs +5 -0
- data/sig/straddle/models/charge_release_params.rbs +5 -0
- data/sig/straddle/models/charge_unmask_params.rbs +5 -0
- data/sig/straddle/models/charge_unmask_response.rbs +57 -7
- data/sig/straddle/models/charge_update_params.rbs +9 -4
- data/sig/straddle/models/charge_v1.rbs +57 -7
- data/sig/straddle/models/customer_delete_params.rbs +5 -0
- data/sig/straddle/models/customer_get_params.rbs +5 -0
- data/sig/straddle/models/customer_unmasked_params.rbs +5 -0
- data/sig/straddle/models/customer_update_params.rbs +5 -0
- data/sig/straddle/models/customers/review_decision_params.rbs +5 -0
- data/sig/straddle/models/customers/review_get_params.rbs +5 -0
- data/sig/straddle/models/customers/review_refresh_review_params.rbs +56 -0
- data/sig/straddle/models/embed/account_get_params.rbs +5 -1
- data/sig/straddle/models/embed/account_onboard_params.rbs +5 -0
- data/sig/straddle/models/embed/account_paged_v1.rbs +18 -2
- data/sig/straddle/models/embed/account_simulate_params.rbs +5 -0
- data/sig/straddle/models/embed/account_update_params.rbs +5 -0
- data/sig/straddle/models/embed/account_v1.rbs +18 -2
- data/sig/straddle/models/embed/accounts/capability_request_create_params.rbs +5 -0
- data/sig/straddle/models/embed/accounts/capability_request_list_params.rbs +5 -0
- data/sig/straddle/models/embed/accounts/capability_request_paged_v1.rbs +5 -0
- data/sig/straddle/models/embed/address_v1.rbs +12 -27
- data/sig/straddle/models/embed/linked_bank_account_cancel_params.rbs +10 -1
- data/sig/straddle/models/embed/linked_bank_account_get_params.rbs +9 -1
- data/sig/straddle/models/embed/linked_bank_account_list_params.rbs +46 -0
- data/sig/straddle/models/embed/linked_bank_account_unmask_params.rbs +9 -1
- data/sig/straddle/models/embed/linked_bank_account_update_params.rbs +5 -0
- data/sig/straddle/models/embed/organization_get_params.rbs +5 -1
- data/sig/straddle/models/embed/representative_get_params.rbs +9 -1
- data/sig/straddle/models/embed/representative_unmask_params.rbs +9 -1
- data/sig/straddle/models/embed/representative_update_params.rbs +5 -0
- data/sig/straddle/models/funding_event_get_params.rbs +5 -0
- data/sig/straddle/models/funding_event_list_params.rbs +130 -0
- data/sig/straddle/models/funding_event_summary_item_v1.rbs +179 -0
- data/sig/straddle/models/funding_event_summary_paged_v1.rbs +179 -0
- data/sig/straddle/models/paykey_cancel_params.rbs +5 -0
- data/sig/straddle/models/paykey_get_params.rbs +5 -0
- data/sig/straddle/models/paykey_list_params.rbs +17 -1
- data/sig/straddle/models/paykey_reveal_params.rbs +5 -0
- data/sig/straddle/models/paykey_reveal_response.rbs +45 -2
- data/sig/straddle/models/paykey_summary_paged_v1.rbs +53 -5
- data/sig/straddle/models/paykey_unmasked_params.rbs +5 -0
- data/sig/straddle/models/paykey_unmasked_v1.rbs +45 -2
- data/sig/straddle/models/{customer_refresh_review_params.rbs → paykey_update_balance_params.rbs} +7 -2
- data/sig/straddle/models/paykey_v1.rbs +53 -5
- data/sig/straddle/models/paykeys/review_decision_params.rbs +72 -0
- data/sig/straddle/models/paykeys/review_get_params.rbs +49 -0
- data/sig/straddle/models/paykeys/review_get_response.rbs +645 -0
- data/sig/straddle/models/paykeys/review_refresh_review_params.rbs +56 -0
- data/sig/straddle/models/payment_list_params.rbs +23 -0
- data/sig/straddle/models/payment_summary_paged_v1.rbs +16 -4
- data/sig/straddle/models/payout_cancel_params.rbs +5 -0
- data/sig/straddle/models/payout_create_params.rbs +14 -4
- data/sig/straddle/models/payout_get_params.rbs +5 -0
- data/sig/straddle/models/payout_hold_params.rbs +5 -0
- data/sig/straddle/models/payout_release_params.rbs +5 -0
- data/sig/straddle/models/payout_unmask_params.rbs +5 -0
- data/sig/straddle/models/payout_unmask_response.rbs +54 -4
- data/sig/straddle/models/payout_update_params.rbs +9 -4
- data/sig/straddle/models/payout_v1.rbs +54 -4
- data/sig/straddle/models/status_details_v1.rbs +14 -0
- data/sig/straddle/models.rbs +3 -3
- data/sig/straddle/resources/bridge/link.rbs +4 -0
- data/sig/straddle/resources/bridge.rbs +1 -0
- data/sig/straddle/resources/charges.rbs +2 -2
- data/sig/straddle/resources/customers/review.rbs +9 -0
- data/sig/straddle/resources/customers.rbs +0 -9
- data/sig/straddle/resources/embed/linked_bank_accounts.rbs +2 -0
- data/sig/straddle/resources/funding_events.rbs +5 -0
- data/sig/straddle/resources/paykeys/review.rbs +36 -0
- data/sig/straddle/resources/paykeys.rbs +9 -6
- data/sig/straddle/resources/payments.rbs +1 -0
- data/sig/straddle/resources/payouts.rbs +2 -2
- metadata +37 -8
- data/lib/straddle/models/paykey_review_params.rb +0 -54
- data/rbi/straddle/models/paykey_review_params.rbi +0 -98
- data/sig/straddle/models/paykey_review_params.rbs +0 -65
|
@@ -109,6 +109,13 @@ module Straddle
|
|
|
109
109
|
# @return [Time, nil]
|
|
110
110
|
optional :expires_at, Time, nil?: true
|
|
111
111
|
|
|
112
|
+
# @!attribute external_id
|
|
113
|
+
# Unique identifier for the paykey in your database, used for cross-referencing
|
|
114
|
+
# between Straddle and your systems.
|
|
115
|
+
#
|
|
116
|
+
# @return [String, nil]
|
|
117
|
+
optional :external_id, String, nil?: true
|
|
118
|
+
|
|
112
119
|
# @!attribute institution_name
|
|
113
120
|
# Name of the financial institution.
|
|
114
121
|
#
|
|
@@ -127,7 +134,7 @@ module Straddle
|
|
|
127
134
|
# @return [Straddle::Models::Bridge::LinkCreatePaykeyResponse::Data::StatusDetails, nil]
|
|
128
135
|
optional :status_details, -> { Straddle::Models::Bridge::LinkCreatePaykeyResponse::Data::StatusDetails }
|
|
129
136
|
|
|
130
|
-
# @!method initialize(id:, config:, created_at:, label:, paykey:, source:, status:, updated_at:, balance: nil, bank_data: nil, customer_id: nil, expires_at: nil, institution_name: nil, metadata: nil, status_details: nil)
|
|
137
|
+
# @!method initialize(id:, config:, created_at:, label:, paykey:, source:, status:, updated_at:, balance: nil, bank_data: nil, customer_id: nil, expires_at: nil, external_id: nil, institution_name: nil, metadata: nil, status_details: nil)
|
|
131
138
|
# Some parameter documentations has been truncated, see
|
|
132
139
|
# {Straddle::Models::Bridge::LinkCreatePaykeyResponse::Data} for more details.
|
|
133
140
|
#
|
|
@@ -155,6 +162,8 @@ module Straddle
|
|
|
155
162
|
#
|
|
156
163
|
# @param expires_at [Time, nil] Expiration date and time of the paykey, if applicable.
|
|
157
164
|
#
|
|
165
|
+
# @param external_id [String, nil] Unique identifier for the paykey in your database, used for cross-referencing be
|
|
166
|
+
#
|
|
158
167
|
# @param institution_name [String, nil] Name of the financial institution.
|
|
159
168
|
#
|
|
160
169
|
# @param metadata [Hash{Symbol=>String}, nil] Up to 20 additional user-defined key-value pairs. Useful for storing additional
|
|
@@ -163,15 +172,34 @@ module Straddle
|
|
|
163
172
|
|
|
164
173
|
# @see Straddle::Models::Bridge::LinkCreatePaykeyResponse::Data#config
|
|
165
174
|
class Config < Straddle::Internal::Type::BaseModel
|
|
175
|
+
# @!attribute processing_method
|
|
176
|
+
#
|
|
177
|
+
# @return [Symbol, Straddle::Models::Bridge::LinkCreatePaykeyResponse::Data::Config::ProcessingMethod, nil]
|
|
178
|
+
optional :processing_method,
|
|
179
|
+
enum: -> { Straddle::Models::Bridge::LinkCreatePaykeyResponse::Data::Config::ProcessingMethod }
|
|
180
|
+
|
|
166
181
|
# @!attribute sandbox_outcome
|
|
167
182
|
#
|
|
168
183
|
# @return [Symbol, Straddle::Models::Bridge::LinkCreatePaykeyResponse::Data::Config::SandboxOutcome, nil]
|
|
169
184
|
optional :sandbox_outcome,
|
|
170
185
|
enum: -> { Straddle::Models::Bridge::LinkCreatePaykeyResponse::Data::Config::SandboxOutcome }
|
|
171
186
|
|
|
172
|
-
# @!method initialize(sandbox_outcome: nil)
|
|
187
|
+
# @!method initialize(processing_method: nil, sandbox_outcome: nil)
|
|
188
|
+
# @param processing_method [Symbol, Straddle::Models::Bridge::LinkCreatePaykeyResponse::Data::Config::ProcessingMethod]
|
|
173
189
|
# @param sandbox_outcome [Symbol, Straddle::Models::Bridge::LinkCreatePaykeyResponse::Data::Config::SandboxOutcome]
|
|
174
190
|
|
|
191
|
+
# @see Straddle::Models::Bridge::LinkCreatePaykeyResponse::Data::Config#processing_method
|
|
192
|
+
module ProcessingMethod
|
|
193
|
+
extend Straddle::Internal::Type::Enum
|
|
194
|
+
|
|
195
|
+
INLINE = :inline
|
|
196
|
+
BACKGROUND = :background
|
|
197
|
+
SKIP = :skip
|
|
198
|
+
|
|
199
|
+
# @!method self.values
|
|
200
|
+
# @return [Array<Symbol>]
|
|
201
|
+
end
|
|
202
|
+
|
|
175
203
|
# @see Straddle::Models::Bridge::LinkCreatePaykeyResponse::Data::Config#sandbox_outcome
|
|
176
204
|
module SandboxOutcome
|
|
177
205
|
extend Straddle::Internal::Type::Enum
|
|
@@ -179,6 +207,7 @@ module Straddle
|
|
|
179
207
|
STANDARD = :standard
|
|
180
208
|
ACTIVE = :active
|
|
181
209
|
REJECTED = :rejected
|
|
210
|
+
REVIEW = :review
|
|
182
211
|
|
|
183
212
|
# @!method self.values
|
|
184
213
|
# @return [Array<Symbol>]
|
|
@@ -209,6 +238,7 @@ module Straddle
|
|
|
209
238
|
INACTIVE = :inactive
|
|
210
239
|
REJECTED = :rejected
|
|
211
240
|
REVIEW = :review
|
|
241
|
+
BLOCKED = :blocked
|
|
212
242
|
|
|
213
243
|
# @!method self.values
|
|
214
244
|
# @return [Array<Symbol>]
|
|
@@ -364,6 +394,13 @@ module Straddle
|
|
|
364
394
|
OK = :ok
|
|
365
395
|
OTHER_NETWORK_RETURN = :other_network_return
|
|
366
396
|
PAYOUT_REFUSED = :payout_refused
|
|
397
|
+
CANCEL_REQUEST = :cancel_request
|
|
398
|
+
FAILED_VERIFICATION = :failed_verification
|
|
399
|
+
REQUIRE_REVIEW = :require_review
|
|
400
|
+
BLOCKED_BY_SYSTEM = :blocked_by_system
|
|
401
|
+
WATCHTOWER_REVIEW = :watchtower_review
|
|
402
|
+
VALIDATING = :validating
|
|
403
|
+
AUTO_HOLD = :auto_hold
|
|
367
404
|
|
|
368
405
|
# @!method self.values
|
|
369
406
|
# @return [Array<Symbol>]
|
|
@@ -36,6 +36,13 @@ module Straddle
|
|
|
36
36
|
# @return [Straddle::Models::Bridge::LinkCreateTanParams::Config, nil]
|
|
37
37
|
optional :config, -> { Straddle::Bridge::LinkCreateTanParams::Config }
|
|
38
38
|
|
|
39
|
+
# @!attribute external_id
|
|
40
|
+
# Unique identifier for the paykey in your database, used for cross-referencing
|
|
41
|
+
# between Straddle and your systems.
|
|
42
|
+
#
|
|
43
|
+
# @return [String, nil]
|
|
44
|
+
optional :external_id, String, nil?: true
|
|
45
|
+
|
|
39
46
|
# @!attribute metadata
|
|
40
47
|
# Up to 20 additional user-defined key-value pairs. Useful for storing additional
|
|
41
48
|
# information about the paykey in a structured format.
|
|
@@ -63,7 +70,7 @@ module Straddle
|
|
|
63
70
|
# @return [String, nil]
|
|
64
71
|
optional :straddle_account_id, String
|
|
65
72
|
|
|
66
|
-
# @!method initialize(account_type:, customer_id:, routing_number:, tan:, config: nil, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
73
|
+
# @!method initialize(account_type:, customer_id:, routing_number:, tan:, config: nil, external_id: nil, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
67
74
|
# Some parameter documentations has been truncated, see
|
|
68
75
|
# {Straddle::Models::Bridge::LinkCreateTanParams} for more details.
|
|
69
76
|
#
|
|
@@ -77,6 +84,8 @@ module Straddle
|
|
|
77
84
|
#
|
|
78
85
|
# @param config [Straddle::Models::Bridge::LinkCreateTanParams::Config]
|
|
79
86
|
#
|
|
87
|
+
# @param external_id [String, nil] Unique identifier for the paykey in your database, used for cross-referencing be
|
|
88
|
+
#
|
|
80
89
|
# @param metadata [Hash{Symbol=>String}, nil] Up to 20 additional user-defined key-value pairs. Useful for storing additional
|
|
81
90
|
#
|
|
82
91
|
# @param correlation_id [String]
|
|
@@ -100,14 +109,32 @@ module Straddle
|
|
|
100
109
|
end
|
|
101
110
|
|
|
102
111
|
class Config < Straddle::Internal::Type::BaseModel
|
|
112
|
+
# @!attribute processing_method
|
|
113
|
+
#
|
|
114
|
+
# @return [Symbol, Straddle::Models::Bridge::LinkCreateTanParams::Config::ProcessingMethod, nil]
|
|
115
|
+
optional :processing_method, enum: -> { Straddle::Bridge::LinkCreateTanParams::Config::ProcessingMethod }
|
|
116
|
+
|
|
103
117
|
# @!attribute sandbox_outcome
|
|
104
118
|
#
|
|
105
119
|
# @return [Symbol, Straddle::Models::Bridge::LinkCreateTanParams::Config::SandboxOutcome, nil]
|
|
106
120
|
optional :sandbox_outcome, enum: -> { Straddle::Bridge::LinkCreateTanParams::Config::SandboxOutcome }
|
|
107
121
|
|
|
108
|
-
# @!method initialize(sandbox_outcome: nil)
|
|
122
|
+
# @!method initialize(processing_method: nil, sandbox_outcome: nil)
|
|
123
|
+
# @param processing_method [Symbol, Straddle::Models::Bridge::LinkCreateTanParams::Config::ProcessingMethod]
|
|
109
124
|
# @param sandbox_outcome [Symbol, Straddle::Models::Bridge::LinkCreateTanParams::Config::SandboxOutcome]
|
|
110
125
|
|
|
126
|
+
# @see Straddle::Models::Bridge::LinkCreateTanParams::Config#processing_method
|
|
127
|
+
module ProcessingMethod
|
|
128
|
+
extend Straddle::Internal::Type::Enum
|
|
129
|
+
|
|
130
|
+
INLINE = :inline
|
|
131
|
+
BACKGROUND = :background
|
|
132
|
+
SKIP = :skip
|
|
133
|
+
|
|
134
|
+
# @!method self.values
|
|
135
|
+
# @return [Array<Symbol>]
|
|
136
|
+
end
|
|
137
|
+
|
|
111
138
|
# @see Straddle::Models::Bridge::LinkCreateTanParams::Config#sandbox_outcome
|
|
112
139
|
module SandboxOutcome
|
|
113
140
|
extend Straddle::Internal::Type::Enum
|
|
@@ -115,6 +142,7 @@ module Straddle
|
|
|
115
142
|
STANDARD = :standard
|
|
116
143
|
ACTIVE = :active
|
|
117
144
|
REJECTED = :rejected
|
|
145
|
+
REVIEW = :review
|
|
118
146
|
|
|
119
147
|
# @!method self.values
|
|
120
148
|
# @return [Array<Symbol>]
|
|
@@ -109,6 +109,13 @@ module Straddle
|
|
|
109
109
|
# @return [Time, nil]
|
|
110
110
|
optional :expires_at, Time, nil?: true
|
|
111
111
|
|
|
112
|
+
# @!attribute external_id
|
|
113
|
+
# Unique identifier for the paykey in your database, used for cross-referencing
|
|
114
|
+
# between Straddle and your systems.
|
|
115
|
+
#
|
|
116
|
+
# @return [String, nil]
|
|
117
|
+
optional :external_id, String, nil?: true
|
|
118
|
+
|
|
112
119
|
# @!attribute institution_name
|
|
113
120
|
# Name of the financial institution.
|
|
114
121
|
#
|
|
@@ -127,7 +134,7 @@ module Straddle
|
|
|
127
134
|
# @return [Straddle::Models::Bridge::LinkCreateTanResponse::Data::StatusDetails, nil]
|
|
128
135
|
optional :status_details, -> { Straddle::Models::Bridge::LinkCreateTanResponse::Data::StatusDetails }
|
|
129
136
|
|
|
130
|
-
# @!method initialize(id:, config:, created_at:, label:, paykey:, source:, status:, updated_at:, balance: nil, bank_data: nil, customer_id: nil, expires_at: nil, institution_name: nil, metadata: nil, status_details: nil)
|
|
137
|
+
# @!method initialize(id:, config:, created_at:, label:, paykey:, source:, status:, updated_at:, balance: nil, bank_data: nil, customer_id: nil, expires_at: nil, external_id: nil, institution_name: nil, metadata: nil, status_details: nil)
|
|
131
138
|
# Some parameter documentations has been truncated, see
|
|
132
139
|
# {Straddle::Models::Bridge::LinkCreateTanResponse::Data} for more details.
|
|
133
140
|
#
|
|
@@ -155,6 +162,8 @@ module Straddle
|
|
|
155
162
|
#
|
|
156
163
|
# @param expires_at [Time, nil] Expiration date and time of the paykey, if applicable.
|
|
157
164
|
#
|
|
165
|
+
# @param external_id [String, nil] Unique identifier for the paykey in your database, used for cross-referencing be
|
|
166
|
+
#
|
|
158
167
|
# @param institution_name [String, nil] Name of the financial institution.
|
|
159
168
|
#
|
|
160
169
|
# @param metadata [Hash{Symbol=>String}, nil] Up to 20 additional user-defined key-value pairs. Useful for storing additional
|
|
@@ -163,15 +172,34 @@ module Straddle
|
|
|
163
172
|
|
|
164
173
|
# @see Straddle::Models::Bridge::LinkCreateTanResponse::Data#config
|
|
165
174
|
class Config < Straddle::Internal::Type::BaseModel
|
|
175
|
+
# @!attribute processing_method
|
|
176
|
+
#
|
|
177
|
+
# @return [Symbol, Straddle::Models::Bridge::LinkCreateTanResponse::Data::Config::ProcessingMethod, nil]
|
|
178
|
+
optional :processing_method,
|
|
179
|
+
enum: -> { Straddle::Models::Bridge::LinkCreateTanResponse::Data::Config::ProcessingMethod }
|
|
180
|
+
|
|
166
181
|
# @!attribute sandbox_outcome
|
|
167
182
|
#
|
|
168
183
|
# @return [Symbol, Straddle::Models::Bridge::LinkCreateTanResponse::Data::Config::SandboxOutcome, nil]
|
|
169
184
|
optional :sandbox_outcome,
|
|
170
185
|
enum: -> { Straddle::Models::Bridge::LinkCreateTanResponse::Data::Config::SandboxOutcome }
|
|
171
186
|
|
|
172
|
-
# @!method initialize(sandbox_outcome: nil)
|
|
187
|
+
# @!method initialize(processing_method: nil, sandbox_outcome: nil)
|
|
188
|
+
# @param processing_method [Symbol, Straddle::Models::Bridge::LinkCreateTanResponse::Data::Config::ProcessingMethod]
|
|
173
189
|
# @param sandbox_outcome [Symbol, Straddle::Models::Bridge::LinkCreateTanResponse::Data::Config::SandboxOutcome]
|
|
174
190
|
|
|
191
|
+
# @see Straddle::Models::Bridge::LinkCreateTanResponse::Data::Config#processing_method
|
|
192
|
+
module ProcessingMethod
|
|
193
|
+
extend Straddle::Internal::Type::Enum
|
|
194
|
+
|
|
195
|
+
INLINE = :inline
|
|
196
|
+
BACKGROUND = :background
|
|
197
|
+
SKIP = :skip
|
|
198
|
+
|
|
199
|
+
# @!method self.values
|
|
200
|
+
# @return [Array<Symbol>]
|
|
201
|
+
end
|
|
202
|
+
|
|
175
203
|
# @see Straddle::Models::Bridge::LinkCreateTanResponse::Data::Config#sandbox_outcome
|
|
176
204
|
module SandboxOutcome
|
|
177
205
|
extend Straddle::Internal::Type::Enum
|
|
@@ -179,6 +207,7 @@ module Straddle
|
|
|
179
207
|
STANDARD = :standard
|
|
180
208
|
ACTIVE = :active
|
|
181
209
|
REJECTED = :rejected
|
|
210
|
+
REVIEW = :review
|
|
182
211
|
|
|
183
212
|
# @!method self.values
|
|
184
213
|
# @return [Array<Symbol>]
|
|
@@ -209,6 +238,7 @@ module Straddle
|
|
|
209
238
|
INACTIVE = :inactive
|
|
210
239
|
REJECTED = :rejected
|
|
211
240
|
REVIEW = :review
|
|
241
|
+
BLOCKED = :blocked
|
|
212
242
|
|
|
213
243
|
# @!method self.values
|
|
214
244
|
# @return [Array<Symbol>]
|
|
@@ -364,6 +394,13 @@ module Straddle
|
|
|
364
394
|
OK = :ok
|
|
365
395
|
OTHER_NETWORK_RETURN = :other_network_return
|
|
366
396
|
PAYOUT_REFUSED = :payout_refused
|
|
397
|
+
CANCEL_REQUEST = :cancel_request
|
|
398
|
+
FAILED_VERIFICATION = :failed_verification
|
|
399
|
+
REQUIRE_REVIEW = :require_review
|
|
400
|
+
BLOCKED_BY_SYSTEM = :blocked_by_system
|
|
401
|
+
WATCHTOWER_REVIEW = :watchtower_review
|
|
402
|
+
VALIDATING = :validating
|
|
403
|
+
AUTO_HOLD = :auto_hold
|
|
367
404
|
|
|
368
405
|
# @!method self.values
|
|
369
406
|
# @return [Array<Symbol>]
|
|
@@ -26,6 +26,13 @@ module Straddle
|
|
|
26
26
|
# @return [Straddle::Models::Bridge::LinkPlaidParams::Config, nil]
|
|
27
27
|
optional :config, -> { Straddle::Bridge::LinkPlaidParams::Config }
|
|
28
28
|
|
|
29
|
+
# @!attribute external_id
|
|
30
|
+
# Unique identifier for the paykey in your database, used for cross-referencing
|
|
31
|
+
# between Straddle and your systems.
|
|
32
|
+
#
|
|
33
|
+
# @return [String, nil]
|
|
34
|
+
optional :external_id, String, nil?: true
|
|
35
|
+
|
|
29
36
|
# @!attribute metadata
|
|
30
37
|
# Up to 20 additional user-defined key-value pairs. Useful for storing additional
|
|
31
38
|
# information about the paykey in a structured format.
|
|
@@ -53,7 +60,7 @@ module Straddle
|
|
|
53
60
|
# @return [String, nil]
|
|
54
61
|
optional :straddle_account_id, String
|
|
55
62
|
|
|
56
|
-
# @!method initialize(customer_id:, plaid_token:, config: nil, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
63
|
+
# @!method initialize(customer_id:, plaid_token:, config: nil, external_id: nil, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
57
64
|
# Some parameter documentations has been truncated, see
|
|
58
65
|
# {Straddle::Models::Bridge::LinkPlaidParams} for more details.
|
|
59
66
|
#
|
|
@@ -63,6 +70,8 @@ module Straddle
|
|
|
63
70
|
#
|
|
64
71
|
# @param config [Straddle::Models::Bridge::LinkPlaidParams::Config]
|
|
65
72
|
#
|
|
73
|
+
# @param external_id [String, nil] Unique identifier for the paykey in your database, used for cross-referencing be
|
|
74
|
+
#
|
|
66
75
|
# @param metadata [Hash{Symbol=>String}, nil] Up to 20 additional user-defined key-value pairs. Useful for storing additional
|
|
67
76
|
#
|
|
68
77
|
# @param correlation_id [String]
|
|
@@ -76,14 +85,32 @@ module Straddle
|
|
|
76
85
|
# @param request_options [Straddle::RequestOptions, Hash{Symbol=>Object}]
|
|
77
86
|
|
|
78
87
|
class Config < Straddle::Internal::Type::BaseModel
|
|
88
|
+
# @!attribute processing_method
|
|
89
|
+
#
|
|
90
|
+
# @return [Symbol, Straddle::Models::Bridge::LinkPlaidParams::Config::ProcessingMethod, nil]
|
|
91
|
+
optional :processing_method, enum: -> { Straddle::Bridge::LinkPlaidParams::Config::ProcessingMethod }
|
|
92
|
+
|
|
79
93
|
# @!attribute sandbox_outcome
|
|
80
94
|
#
|
|
81
95
|
# @return [Symbol, Straddle::Models::Bridge::LinkPlaidParams::Config::SandboxOutcome, nil]
|
|
82
96
|
optional :sandbox_outcome, enum: -> { Straddle::Bridge::LinkPlaidParams::Config::SandboxOutcome }
|
|
83
97
|
|
|
84
|
-
# @!method initialize(sandbox_outcome: nil)
|
|
98
|
+
# @!method initialize(processing_method: nil, sandbox_outcome: nil)
|
|
99
|
+
# @param processing_method [Symbol, Straddle::Models::Bridge::LinkPlaidParams::Config::ProcessingMethod]
|
|
85
100
|
# @param sandbox_outcome [Symbol, Straddle::Models::Bridge::LinkPlaidParams::Config::SandboxOutcome]
|
|
86
101
|
|
|
102
|
+
# @see Straddle::Models::Bridge::LinkPlaidParams::Config#processing_method
|
|
103
|
+
module ProcessingMethod
|
|
104
|
+
extend Straddle::Internal::Type::Enum
|
|
105
|
+
|
|
106
|
+
INLINE = :inline
|
|
107
|
+
BACKGROUND = :background
|
|
108
|
+
SKIP = :skip
|
|
109
|
+
|
|
110
|
+
# @!method self.values
|
|
111
|
+
# @return [Array<Symbol>]
|
|
112
|
+
end
|
|
113
|
+
|
|
87
114
|
# @see Straddle::Models::Bridge::LinkPlaidParams::Config#sandbox_outcome
|
|
88
115
|
module SandboxOutcome
|
|
89
116
|
extend Straddle::Internal::Type::Enum
|
|
@@ -91,6 +118,7 @@ module Straddle
|
|
|
91
118
|
STANDARD = :standard
|
|
92
119
|
ACTIVE = :active
|
|
93
120
|
REJECTED = :rejected
|
|
121
|
+
REVIEW = :review
|
|
94
122
|
|
|
95
123
|
# @!method self.values
|
|
96
124
|
# @return [Array<Symbol>]
|
|
@@ -19,6 +19,13 @@ 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]
|
|
@@ -39,7 +46,7 @@ module Straddle
|
|
|
39
46
|
# @return [String, nil]
|
|
40
47
|
optional :straddle_account_id, String
|
|
41
48
|
|
|
42
|
-
# @!method initialize(customer_id:, config: nil, correlation_id: nil, idempotency_key: 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: {})
|
|
43
50
|
# Some parameter documentations has been truncated, see
|
|
44
51
|
# {Straddle::Models::BridgeInitializeParams} for more details.
|
|
45
52
|
#
|
|
@@ -47,6 +54,8 @@ module Straddle
|
|
|
47
54
|
#
|
|
48
55
|
# @param config [Straddle::Models::BridgeInitializeParams::Config]
|
|
49
56
|
#
|
|
57
|
+
# @param external_id [String, nil] Unique identifier for the paykey in your database, used for cross-referencing be
|
|
58
|
+
#
|
|
50
59
|
# @param correlation_id [String]
|
|
51
60
|
#
|
|
52
61
|
# @param idempotency_key [String]
|
|
@@ -58,14 +67,32 @@ module Straddle
|
|
|
58
67
|
# @param request_options [Straddle::RequestOptions, Hash{Symbol=>Object}]
|
|
59
68
|
|
|
60
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
|
+
|
|
61
75
|
# @!attribute sandbox_outcome
|
|
62
76
|
#
|
|
63
77
|
# @return [Symbol, Straddle::Models::BridgeInitializeParams::Config::SandboxOutcome, nil]
|
|
64
78
|
optional :sandbox_outcome, enum: -> { Straddle::BridgeInitializeParams::Config::SandboxOutcome }
|
|
65
79
|
|
|
66
|
-
# @!method initialize(sandbox_outcome: nil)
|
|
80
|
+
# @!method initialize(processing_method: nil, sandbox_outcome: nil)
|
|
81
|
+
# @param processing_method [Symbol, Straddle::Models::BridgeInitializeParams::Config::ProcessingMethod]
|
|
67
82
|
# @param sandbox_outcome [Symbol, Straddle::Models::BridgeInitializeParams::Config::SandboxOutcome]
|
|
68
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
|
+
|
|
69
96
|
# @see Straddle::Models::BridgeInitializeParams::Config#sandbox_outcome
|
|
70
97
|
module SandboxOutcome
|
|
71
98
|
extend Straddle::Internal::Type::Enum
|
|
@@ -73,6 +100,7 @@ module Straddle
|
|
|
73
100
|
STANDARD = :standard
|
|
74
101
|
ACTIVE = :active
|
|
75
102
|
REJECTED = :rejected
|
|
103
|
+
REVIEW = :review
|
|
76
104
|
|
|
77
105
|
# @!method self.values
|
|
78
106
|
# @return [Array<Symbol>]
|
|
@@ -7,6 +7,11 @@ module Straddle
|
|
|
7
7
|
extend Straddle::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Straddle::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
10
15
|
# @!attribute reason
|
|
11
16
|
# Details about why the charge status was updated.
|
|
12
17
|
#
|
|
@@ -33,7 +38,9 @@ module Straddle
|
|
|
33
38
|
# @return [String, nil]
|
|
34
39
|
optional :straddle_account_id, String
|
|
35
40
|
|
|
36
|
-
# @!method initialize(reason: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
41
|
+
# @!method initialize(id:, reason: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
42
|
+
# @param id [String]
|
|
43
|
+
#
|
|
37
44
|
# @param reason [String, nil] Details about why the charge status was updated.
|
|
38
45
|
#
|
|
39
46
|
# @param correlation_id [String]
|
|
@@ -36,8 +36,8 @@ module Straddle
|
|
|
36
36
|
# @!attribute description
|
|
37
37
|
# An arbitrary description for the charge.
|
|
38
38
|
#
|
|
39
|
-
# @return [String]
|
|
40
|
-
required :description, String
|
|
39
|
+
# @return [String, nil]
|
|
40
|
+
required :description, String, nil?: true
|
|
41
41
|
|
|
42
42
|
# @!attribute device
|
|
43
43
|
#
|
|
@@ -103,7 +103,7 @@ module Straddle
|
|
|
103
103
|
#
|
|
104
104
|
# @param currency [String] The currency of the charge. Only USD is supported.
|
|
105
105
|
#
|
|
106
|
-
# @param description [String] An arbitrary description for the charge.
|
|
106
|
+
# @param description [String, nil] An arbitrary description for the charge.
|
|
107
107
|
#
|
|
108
108
|
# @param device [Straddle::Models::DeviceInfoV1]
|
|
109
109
|
#
|
|
@@ -132,15 +132,31 @@ module Straddle
|
|
|
132
132
|
# @return [Symbol, Straddle::Models::ChargeCreateParams::Config::BalanceCheck]
|
|
133
133
|
required :balance_check, enum: -> { Straddle::ChargeCreateParams::Config::BalanceCheck }
|
|
134
134
|
|
|
135
|
+
# @!attribute auto_hold
|
|
136
|
+
# Defines whether to automatically place this charge on hold after being created.
|
|
137
|
+
#
|
|
138
|
+
# @return [Boolean, nil]
|
|
139
|
+
optional :auto_hold, Straddle::Internal::Type::Boolean, nil?: true
|
|
140
|
+
|
|
141
|
+
# @!attribute auto_hold_message
|
|
142
|
+
# The reason the charge is being automatically held on creation.
|
|
143
|
+
#
|
|
144
|
+
# @return [String, nil]
|
|
145
|
+
optional :auto_hold_message, String, nil?: true
|
|
146
|
+
|
|
135
147
|
# @!attribute sandbox_outcome
|
|
136
148
|
# Payment will simulate processing if not Standard.
|
|
137
149
|
#
|
|
138
150
|
# @return [Symbol, Straddle::Models::ChargeCreateParams::Config::SandboxOutcome, nil]
|
|
139
151
|
optional :sandbox_outcome, enum: -> { Straddle::ChargeCreateParams::Config::SandboxOutcome }
|
|
140
152
|
|
|
141
|
-
# @!method initialize(balance_check:, sandbox_outcome: nil)
|
|
153
|
+
# @!method initialize(balance_check:, auto_hold: nil, auto_hold_message: nil, sandbox_outcome: nil)
|
|
142
154
|
# @param balance_check [Symbol, Straddle::Models::ChargeCreateParams::Config::BalanceCheck] Defines whether to check the customer's balance before processing the charge.
|
|
143
155
|
#
|
|
156
|
+
# @param auto_hold [Boolean, nil] Defines whether to automatically place this charge on hold after being created.
|
|
157
|
+
#
|
|
158
|
+
# @param auto_hold_message [String, nil] The reason the charge is being automatically held on creation.
|
|
159
|
+
#
|
|
144
160
|
# @param sandbox_outcome [Symbol, Straddle::Models::ChargeCreateParams::Config::SandboxOutcome] Payment will simulate processing if not Standard.
|
|
145
161
|
|
|
146
162
|
# Defines whether to check the customer's balance before processing the charge.
|
|
@@ -7,6 +7,11 @@ module Straddle
|
|
|
7
7
|
extend Straddle::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Straddle::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
10
15
|
# @!attribute correlation_id
|
|
11
16
|
#
|
|
12
17
|
# @return [String, nil]
|
|
@@ -22,7 +27,8 @@ 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(id:, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
31
|
+
# @param id [String]
|
|
26
32
|
# @param correlation_id [String]
|
|
27
33
|
# @param request_id [String]
|
|
28
34
|
# @param straddle_account_id [String]
|
|
@@ -7,6 +7,11 @@ module Straddle
|
|
|
7
7
|
extend Straddle::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Straddle::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
10
15
|
# @!attribute reason
|
|
11
16
|
# Details about why the charge status was updated.
|
|
12
17
|
#
|
|
@@ -33,7 +38,9 @@ module Straddle
|
|
|
33
38
|
# @return [String, nil]
|
|
34
39
|
optional :straddle_account_id, String
|
|
35
40
|
|
|
36
|
-
# @!method initialize(reason: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
41
|
+
# @!method initialize(id:, reason: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
42
|
+
# @param id [String]
|
|
43
|
+
#
|
|
37
44
|
# @param reason [String, nil] Details about why the charge status was updated.
|
|
38
45
|
#
|
|
39
46
|
# @param correlation_id [String]
|
|
@@ -7,6 +7,11 @@ module Straddle
|
|
|
7
7
|
extend Straddle::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Straddle::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
10
15
|
# @!attribute reason
|
|
11
16
|
# Details about why the charge status was updated.
|
|
12
17
|
#
|
|
@@ -33,7 +38,9 @@ module Straddle
|
|
|
33
38
|
# @return [String, nil]
|
|
34
39
|
optional :straddle_account_id, String
|
|
35
40
|
|
|
36
|
-
# @!method initialize(reason: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
41
|
+
# @!method initialize(id:, reason: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
42
|
+
# @param id [String]
|
|
43
|
+
#
|
|
37
44
|
# @param reason [String, nil] Details about why the charge status was updated.
|
|
38
45
|
#
|
|
39
46
|
# @param correlation_id [String]
|
|
@@ -7,6 +7,11 @@ module Straddle
|
|
|
7
7
|
extend Straddle::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Straddle::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
10
15
|
# @!attribute correlation_id
|
|
11
16
|
#
|
|
12
17
|
# @return [String, nil]
|
|
@@ -22,7 +27,8 @@ 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(id:, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
31
|
+
# @param id [String]
|
|
26
32
|
# @param correlation_id [String]
|
|
27
33
|
# @param request_id [String]
|
|
28
34
|
# @param straddle_account_id [String]
|