moov_ruby 26.1.8 → 26.1.10
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/lib/crystalline/types.rb +11 -3
- data/lib/moov/account_terminal_applications.rb +23 -9
- data/lib/moov/accounts.rb +58 -23
- data/lib/moov/adjustments.rb +13 -5
- data/lib/moov/apple_pay.rb +28 -11
- data/lib/moov/authentication.rb +13 -5
- data/lib/moov/avatars.rb +8 -3
- data/lib/moov/bank_accounts.rb +48 -19
- data/lib/moov/branding.rb +18 -7
- data/lib/moov/capabilities.rb +23 -9
- data/lib/moov/card_issuing.rb +28 -11
- data/lib/moov/cards.rb +28 -11
- data/lib/moov/client.rb +2 -1
- data/lib/moov/disputes.rb +58 -23
- data/lib/moov/end_to_end_encryption.rb +13 -5
- data/lib/moov/enriched_address.rb +8 -3
- data/lib/moov/enriched_profile.rb +8 -3
- data/lib/moov/fee_plans.rb +53 -21
- data/lib/moov/files.rb +18 -7
- data/lib/moov/images.rb +39 -19
- data/lib/moov/industries.rb +8 -3
- data/lib/moov/institutions.rb +13 -5
- data/lib/moov/issuing_transactions.rb +28 -11
- data/lib/moov/models/components/billablefee.rb +1 -1
- data/lib/moov/models/components/createfeeplanagreement.rb +1 -1
- data/lib/moov/models/components/createpaymentlinklineitem.rb +3 -2
- data/lib/moov/models/components/createpaymentlinklineitemoption.rb +1 -1
- data/lib/moov/models/components/createscheduledtransferlineitem.rb +4 -1
- data/lib/moov/models/components/createscheduledtransferlineitemoption.rb +4 -1
- data/lib/moov/models/components/createtransferlineitem.rb +4 -1
- data/lib/moov/models/components/createtransferlineitemoption.rb +4 -1
- data/lib/moov/models/components/feeplan.rb +1 -1
- data/lib/moov/models/components/feeplanagreement.rb +3 -3
- data/lib/moov/models/components/generatedby.rb +6 -6
- data/lib/moov/models/components/incurredfee.rb +1 -1
- data/lib/moov/models/components/partnerpricingagreement.rb +3 -3
- data/lib/moov/models/components/{rtptransactiondetails.rb → rtpdetails.rb} +4 -2
- data/lib/moov/models/components/{rtptransactiondetails.rbi → rtpdetails.rbi} +2 -2
- data/lib/moov/models/components/transferdestination.rb +3 -3
- data/lib/moov/models/components/wallettransactiontype.rb +0 -1
- data/lib/moov/models/components.rb +1 -1
- data/lib/moov/models/errors/feeplanagreementerror.rb +1 -1
- data/lib/moov/onboarding.rb +23 -9
- data/lib/moov/payment_links.rb +33 -13
- data/lib/moov/payment_methods.rb +13 -5
- data/lib/moov/ping.rb +8 -3
- data/lib/moov/products.rb +28 -11
- data/lib/moov/receipts.rb +13 -5
- data/lib/moov/representatives.rb +28 -11
- data/lib/moov/scheduling.rb +33 -13
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov/statements.rb +13 -5
- data/lib/moov/support.rb +28 -11
- data/lib/moov/sweeps.rb +33 -13
- data/lib/moov/terminal_applications.rb +28 -11
- data/lib/moov/transfers.rb +58 -23
- data/lib/moov/underwriting.rb +18 -7
- data/lib/moov/wallet_transactions.rb +13 -5
- data/lib/moov/wallets.rb +23 -9
- data/lib/moov/webhooks.rb +43 -17
- metadata +18 -4
data/lib/moov/images.rb
CHANGED
|
@@ -39,8 +39,10 @@ module Moov
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
sig { params(account_id: ::String, x_moov_version: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListImageMetadataResponse) }
|
|
45
|
+
def list(account_id:, x_moov_version: nil, skip: nil, count: nil, timeout_ms: nil, http_headers: nil)
|
|
44
46
|
# list - List metadata for all images in the specified account.
|
|
45
47
|
request = Models::Operations::ListImageMetadataRequest.new(
|
|
46
48
|
account_id: account_id,
|
|
@@ -89,6 +91,9 @@ module Moov
|
|
|
89
91
|
req.options.timeout = timeout unless timeout.nil?
|
|
90
92
|
req.params = query_params
|
|
91
93
|
Utils.configure_request_security(req, security)
|
|
94
|
+
http_headers&.each do |key, value|
|
|
95
|
+
req.headers[key.to_s] = value
|
|
96
|
+
end
|
|
92
97
|
|
|
93
98
|
@sdk_configuration.hooks.before_request(
|
|
94
99
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -161,8 +166,8 @@ module Moov
|
|
|
161
166
|
end
|
|
162
167
|
|
|
163
168
|
|
|
164
|
-
sig { params(image_upload_request_multi_part: Models::Components::ImageUploadRequestMultiPart, account_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::UploadImageResponse) }
|
|
165
|
-
def upload(image_upload_request_multi_part:, account_id:, x_moov_version: nil, timeout_ms: nil)
|
|
169
|
+
sig { params(image_upload_request_multi_part: Models::Components::ImageUploadRequestMultiPart, account_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::UploadImageResponse) }
|
|
170
|
+
def upload(image_upload_request_multi_part:, account_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
166
171
|
# upload - Upload a new PNG, JPEG, or WebP image with optional metadata.
|
|
167
172
|
# Duplicate images, and requests larger than 16MB will be rejected.
|
|
168
173
|
request = Models::Operations::UploadImageRequest.new(
|
|
@@ -221,6 +226,9 @@ module Moov
|
|
|
221
226
|
req.headers.merge!(headers)
|
|
222
227
|
req.options.timeout = timeout unless timeout.nil?
|
|
223
228
|
Utils.configure_request_security(req, security)
|
|
229
|
+
http_headers&.each do |key, value|
|
|
230
|
+
req.headers[key.to_s] = value
|
|
231
|
+
end
|
|
224
232
|
|
|
225
233
|
@sdk_configuration.hooks.before_request(
|
|
226
234
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -323,8 +331,8 @@ module Moov
|
|
|
323
331
|
end
|
|
324
332
|
|
|
325
333
|
|
|
326
|
-
sig { params(account_id: ::String, image_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::GetImageMetadataResponse) }
|
|
327
|
-
def get_metadata(account_id:, image_id:, x_moov_version: nil, timeout_ms: nil)
|
|
334
|
+
sig { params(account_id: ::String, image_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetImageMetadataResponse) }
|
|
335
|
+
def get_metadata(account_id:, image_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
328
336
|
# get_metadata - Retrieve metadata for a specific image by its ID.
|
|
329
337
|
request = Models::Operations::GetImageMetadataRequest.new(
|
|
330
338
|
account_id: account_id,
|
|
@@ -370,6 +378,9 @@ module Moov
|
|
|
370
378
|
req.headers.merge!(headers)
|
|
371
379
|
req.options.timeout = timeout unless timeout.nil?
|
|
372
380
|
Utils.configure_request_security(req, security)
|
|
381
|
+
http_headers&.each do |key, value|
|
|
382
|
+
req.headers[key.to_s] = value
|
|
383
|
+
end
|
|
373
384
|
|
|
374
385
|
@sdk_configuration.hooks.before_request(
|
|
375
386
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -442,8 +453,8 @@ module Moov
|
|
|
442
453
|
end
|
|
443
454
|
|
|
444
455
|
|
|
445
|
-
sig { params(image_upload_request_multi_part: Models::Components::ImageUploadRequestMultiPart, account_id: ::String, image_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::UpdateImageResponse) }
|
|
446
|
-
def update(image_upload_request_multi_part:, account_id:, image_id:, x_moov_version: nil, timeout_ms: nil)
|
|
456
|
+
sig { params(image_upload_request_multi_part: Models::Components::ImageUploadRequestMultiPart, account_id: ::String, image_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::UpdateImageResponse) }
|
|
457
|
+
def update(image_upload_request_multi_part:, account_id:, image_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
447
458
|
# update - Replace an existing image and, optionally, its metadata.
|
|
448
459
|
#
|
|
449
460
|
# This endpoint replaces the existing image with the new PNG, JPEG, or WebP. Omit
|
|
@@ -505,6 +516,9 @@ module Moov
|
|
|
505
516
|
req.headers.merge!(headers)
|
|
506
517
|
req.options.timeout = timeout unless timeout.nil?
|
|
507
518
|
Utils.configure_request_security(req, security)
|
|
519
|
+
http_headers&.each do |key, value|
|
|
520
|
+
req.headers[key.to_s] = value
|
|
521
|
+
end
|
|
508
522
|
|
|
509
523
|
@sdk_configuration.hooks.before_request(
|
|
510
524
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -607,8 +621,8 @@ module Moov
|
|
|
607
621
|
end
|
|
608
622
|
|
|
609
623
|
|
|
610
|
-
sig { params(account_id: ::String, image_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::DeleteImageResponse) }
|
|
611
|
-
def delete(account_id:, image_id:, x_moov_version: nil, timeout_ms: nil)
|
|
624
|
+
sig { params(account_id: ::String, image_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::DeleteImageResponse) }
|
|
625
|
+
def delete(account_id:, image_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
612
626
|
# delete - Disable an image by its ID.
|
|
613
627
|
#
|
|
614
628
|
# Disabled images are still be accessible via their public URL, and cannot be assigned
|
|
@@ -657,6 +671,9 @@ module Moov
|
|
|
657
671
|
req.headers.merge!(headers)
|
|
658
672
|
req.options.timeout = timeout unless timeout.nil?
|
|
659
673
|
Utils.configure_request_security(req, security)
|
|
674
|
+
http_headers&.each do |key, value|
|
|
675
|
+
req.headers[key.to_s] = value
|
|
676
|
+
end
|
|
660
677
|
|
|
661
678
|
@sdk_configuration.hooks.before_request(
|
|
662
679
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -735,8 +752,8 @@ module Moov
|
|
|
735
752
|
end
|
|
736
753
|
|
|
737
754
|
|
|
738
|
-
sig { params(image_metadata_request: Models::Components::ImageMetadataRequest, account_id: ::String, image_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::UpdateImageMetadataResponse) }
|
|
739
|
-
def update_metadata(image_metadata_request:, account_id:, image_id:, x_moov_version: nil, timeout_ms: nil)
|
|
755
|
+
sig { params(image_metadata_request: Models::Components::ImageMetadataRequest, account_id: ::String, image_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::UpdateImageMetadataResponse) }
|
|
756
|
+
def update_metadata(image_metadata_request:, account_id:, image_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
740
757
|
# update_metadata - Replace the metadata for an existing image.
|
|
741
758
|
request = Models::Operations::UpdateImageMetadataRequest.new(
|
|
742
759
|
account_id: account_id,
|
|
@@ -795,6 +812,9 @@ module Moov
|
|
|
795
812
|
req.headers.merge!(headers)
|
|
796
813
|
req.options.timeout = timeout unless timeout.nil?
|
|
797
814
|
Utils.configure_request_security(req, security)
|
|
815
|
+
http_headers&.each do |key, value|
|
|
816
|
+
req.headers[key.to_s] = value
|
|
817
|
+
end
|
|
798
818
|
|
|
799
819
|
@sdk_configuration.hooks.before_request(
|
|
800
820
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -897,8 +917,8 @@ module Moov
|
|
|
897
917
|
end
|
|
898
918
|
|
|
899
919
|
|
|
900
|
-
sig { params(public_id: ::String, if_none_match: T.nilable(::String), size: T.nilable(::String), timeout_ms: T.nilable(Integer), accept_header_override: T.nilable(String)).returns(Models::Operations::GetPublicImageResponse) }
|
|
901
|
-
def get_public(public_id:, if_none_match: nil, size: nil, timeout_ms: nil, accept_header_override: nil)
|
|
920
|
+
sig { params(public_id: ::String, if_none_match: T.nilable(::String), size: T.nilable(::String), timeout_ms: T.nilable(Integer), accept_header_override: T.nilable(String), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetPublicImageResponse) }
|
|
921
|
+
def get_public(public_id:, if_none_match: nil, size: nil, timeout_ms: nil, accept_header_override: nil, http_headers: nil)
|
|
902
922
|
# get_public - Get an image by its public ID.
|
|
903
923
|
request = Models::Operations::GetPublicImageRequest.new(
|
|
904
924
|
public_id: public_id,
|
|
@@ -920,8 +940,6 @@ module Moov
|
|
|
920
940
|
headers['Accept'] = accept_header_override || 'image/jpeg;q=1, image/png;q=0.7, image/webp;q=0'
|
|
921
941
|
headers['user-agent'] = @sdk_configuration.user_agent
|
|
922
942
|
|
|
923
|
-
security = @sdk_configuration.security_source&.call
|
|
924
|
-
|
|
925
943
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
926
944
|
timeout ||= @sdk_configuration.timeout
|
|
927
945
|
|
|
@@ -933,7 +951,7 @@ module Moov
|
|
|
933
951
|
base_url: base_url,
|
|
934
952
|
oauth2_scopes: nil,
|
|
935
953
|
operation_id: 'getPublicImage',
|
|
936
|
-
security_source:
|
|
954
|
+
security_source: nil
|
|
937
955
|
)
|
|
938
956
|
|
|
939
957
|
error = T.let(nil, T.nilable(StandardError))
|
|
@@ -945,7 +963,9 @@ module Moov
|
|
|
945
963
|
req.headers.merge!(headers)
|
|
946
964
|
req.options.timeout = timeout unless timeout.nil?
|
|
947
965
|
req.params = query_params
|
|
948
|
-
|
|
966
|
+
http_headers&.each do |key, value|
|
|
967
|
+
req.headers[key.to_s] = value
|
|
968
|
+
end
|
|
949
969
|
|
|
950
970
|
@sdk_configuration.hooks.before_request(
|
|
951
971
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1059,5 +1079,5 @@ module Moov
|
|
|
1059
1079
|
|
|
1060
1080
|
end
|
|
1061
1081
|
end
|
|
1062
|
-
|
|
1082
|
+
end
|
|
1063
1083
|
end
|
data/lib/moov/industries.rb
CHANGED
|
@@ -39,8 +39,10 @@ module Moov
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
sig { params(x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListIndustriesResponse) }
|
|
45
|
+
def list(x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
44
46
|
# list - Returns a list of industries relevant to merchant profile enrichment. Results are ordered by industry name.
|
|
45
47
|
#
|
|
46
48
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
@@ -81,6 +83,9 @@ module Moov
|
|
|
81
83
|
req.headers.merge!(headers)
|
|
82
84
|
req.options.timeout = timeout unless timeout.nil?
|
|
83
85
|
Utils.configure_request_security(req, security)
|
|
86
|
+
http_headers&.each do |key, value|
|
|
87
|
+
req.headers[key.to_s] = value
|
|
88
|
+
end
|
|
84
89
|
|
|
85
90
|
@sdk_configuration.hooks.before_request(
|
|
86
91
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -151,5 +156,5 @@ module Moov
|
|
|
151
156
|
|
|
152
157
|
end
|
|
153
158
|
end
|
|
154
|
-
|
|
159
|
+
end
|
|
155
160
|
end
|
data/lib/moov/institutions.rb
CHANGED
|
@@ -39,8 +39,10 @@ module Moov
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
sig { params(x_moov_version: T.nilable(::String), name: T.nilable(::String), routing_number: T.nilable(::String), limit: T.nilable(::Integer), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::SearchInstitutionsResponse) }
|
|
45
|
+
def search_institutions(x_moov_version: nil, name: nil, routing_number: nil, limit: nil, timeout_ms: nil, http_headers: nil)
|
|
44
46
|
# search_institutions - Search for financial institutions by name or routing number.
|
|
45
47
|
#
|
|
46
48
|
# This endpoint returns metadata about each matched institution, including basic identifying details (such as name, routing number, and address) and information about which payment services they support (e.g., ACH, RTP, and Wire).
|
|
@@ -90,6 +92,9 @@ module Moov
|
|
|
90
92
|
req.options.timeout = timeout unless timeout.nil?
|
|
91
93
|
req.params = query_params
|
|
92
94
|
Utils.configure_request_security(req, security)
|
|
95
|
+
http_headers&.each do |key, value|
|
|
96
|
+
req.headers[key.to_s] = value
|
|
97
|
+
end
|
|
93
98
|
|
|
94
99
|
@sdk_configuration.hooks.before_request(
|
|
95
100
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -162,8 +167,8 @@ module Moov
|
|
|
162
167
|
end
|
|
163
168
|
|
|
164
169
|
|
|
165
|
-
sig { params(request: Models::Operations::ListInstitutionsRequest, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListInstitutionsResponse) }
|
|
166
|
-
def search(request:, timeout_ms: nil)
|
|
170
|
+
sig { params(request: Models::Operations::ListInstitutionsRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListInstitutionsResponse) }
|
|
171
|
+
def search(request:, timeout_ms: nil, http_headers: nil)
|
|
167
172
|
# search - This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/form-shortening/institutions/get/).
|
|
168
173
|
#
|
|
169
174
|
# Search for institutions by either their name or routing number.
|
|
@@ -207,6 +212,9 @@ module Moov
|
|
|
207
212
|
req.options.timeout = timeout unless timeout.nil?
|
|
208
213
|
req.params = query_params
|
|
209
214
|
Utils.configure_request_security(req, security)
|
|
215
|
+
http_headers&.each do |key, value|
|
|
216
|
+
req.headers[key.to_s] = value
|
|
217
|
+
end
|
|
210
218
|
|
|
211
219
|
@sdk_configuration.hooks.before_request(
|
|
212
220
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -292,5 +300,5 @@ module Moov
|
|
|
292
300
|
|
|
293
301
|
end
|
|
294
302
|
end
|
|
295
|
-
|
|
303
|
+
end
|
|
296
304
|
end
|
|
@@ -39,8 +39,10 @@ module Moov
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
sig { params(request: Models::Operations::ListIssuedCardAuthorizationsRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListIssuedCardAuthorizationsResponse) }
|
|
45
|
+
def list_authorizations(request:, timeout_ms: nil, http_headers: nil)
|
|
44
46
|
# list_authorizations - List issued card authorizations associated with a Moov account.
|
|
45
47
|
#
|
|
46
48
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -86,6 +88,9 @@ module Moov
|
|
|
86
88
|
req.options.timeout = timeout unless timeout.nil?
|
|
87
89
|
req.params = query_params
|
|
88
90
|
Utils.configure_request_security(req, security)
|
|
91
|
+
http_headers&.each do |key, value|
|
|
92
|
+
req.headers[key.to_s] = value
|
|
93
|
+
end
|
|
89
94
|
|
|
90
95
|
@sdk_configuration.hooks.before_request(
|
|
91
96
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -158,8 +163,8 @@ module Moov
|
|
|
158
163
|
end
|
|
159
164
|
|
|
160
165
|
|
|
161
|
-
sig { params(account_id: ::String, authorization_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::GetIssuedCardAuthorizationResponse) }
|
|
162
|
-
def get_authorization(account_id:, authorization_id:, x_moov_version: nil, timeout_ms: nil)
|
|
166
|
+
sig { params(account_id: ::String, authorization_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetIssuedCardAuthorizationResponse) }
|
|
167
|
+
def get_authorization(account_id:, authorization_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
163
168
|
# get_authorization - Retrieves details of an authorization associated with a specific Moov account.
|
|
164
169
|
#
|
|
165
170
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -208,6 +213,9 @@ module Moov
|
|
|
208
213
|
req.headers.merge!(headers)
|
|
209
214
|
req.options.timeout = timeout unless timeout.nil?
|
|
210
215
|
Utils.configure_request_security(req, security)
|
|
216
|
+
http_headers&.each do |key, value|
|
|
217
|
+
req.headers[key.to_s] = value
|
|
218
|
+
end
|
|
211
219
|
|
|
212
220
|
@sdk_configuration.hooks.before_request(
|
|
213
221
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -280,8 +288,8 @@ module Moov
|
|
|
280
288
|
end
|
|
281
289
|
|
|
282
290
|
|
|
283
|
-
sig { params(request: Models::Operations::ListIssuedCardAuthorizationEventsRequest, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListIssuedCardAuthorizationEventsResponse) }
|
|
284
|
-
def list_authorization_events(request:, timeout_ms: nil)
|
|
291
|
+
sig { params(request: Models::Operations::ListIssuedCardAuthorizationEventsRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListIssuedCardAuthorizationEventsResponse) }
|
|
292
|
+
def list_authorization_events(request:, timeout_ms: nil, http_headers: nil)
|
|
285
293
|
# list_authorization_events - List card network and Moov platform events that affect the authorization and its hold on a wallet balance.
|
|
286
294
|
#
|
|
287
295
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -327,6 +335,9 @@ module Moov
|
|
|
327
335
|
req.options.timeout = timeout unless timeout.nil?
|
|
328
336
|
req.params = query_params
|
|
329
337
|
Utils.configure_request_security(req, security)
|
|
338
|
+
http_headers&.each do |key, value|
|
|
339
|
+
req.headers[key.to_s] = value
|
|
340
|
+
end
|
|
330
341
|
|
|
331
342
|
@sdk_configuration.hooks.before_request(
|
|
332
343
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -399,8 +410,8 @@ module Moov
|
|
|
399
410
|
end
|
|
400
411
|
|
|
401
412
|
|
|
402
|
-
sig { params(request: Models::Operations::ListIssuedCardTransactionsRequest, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListIssuedCardTransactionsResponse) }
|
|
403
|
-
def list(request:, timeout_ms: nil)
|
|
413
|
+
sig { params(request: Models::Operations::ListIssuedCardTransactionsRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListIssuedCardTransactionsResponse) }
|
|
414
|
+
def list(request:, timeout_ms: nil, http_headers: nil)
|
|
404
415
|
# list - List issued card transactions associated with a Moov account.
|
|
405
416
|
#
|
|
406
417
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -446,6 +457,9 @@ module Moov
|
|
|
446
457
|
req.options.timeout = timeout unless timeout.nil?
|
|
447
458
|
req.params = query_params
|
|
448
459
|
Utils.configure_request_security(req, security)
|
|
460
|
+
http_headers&.each do |key, value|
|
|
461
|
+
req.headers[key.to_s] = value
|
|
462
|
+
end
|
|
449
463
|
|
|
450
464
|
@sdk_configuration.hooks.before_request(
|
|
451
465
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -518,8 +532,8 @@ module Moov
|
|
|
518
532
|
end
|
|
519
533
|
|
|
520
534
|
|
|
521
|
-
sig { params(account_id: ::String, card_transaction_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::GetIssuedCardTransactionResponse) }
|
|
522
|
-
def get(account_id:, card_transaction_id:, x_moov_version: nil, timeout_ms: nil)
|
|
535
|
+
sig { params(account_id: ::String, card_transaction_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetIssuedCardTransactionResponse) }
|
|
536
|
+
def get(account_id:, card_transaction_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
523
537
|
# get - Retrieves details of an issued card transaction associated with a specific Moov account.
|
|
524
538
|
#
|
|
525
539
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -568,6 +582,9 @@ module Moov
|
|
|
568
582
|
req.headers.merge!(headers)
|
|
569
583
|
req.options.timeout = timeout unless timeout.nil?
|
|
570
584
|
Utils.configure_request_security(req, security)
|
|
585
|
+
http_headers&.each do |key, value|
|
|
586
|
+
req.headers[key.to_s] = value
|
|
587
|
+
end
|
|
571
588
|
|
|
572
589
|
@sdk_configuration.hooks.before_request(
|
|
573
590
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -638,5 +655,5 @@ module Moov
|
|
|
638
655
|
|
|
639
656
|
end
|
|
640
657
|
end
|
|
641
|
-
|
|
658
|
+
end
|
|
642
659
|
end
|
|
@@ -16,7 +16,7 @@ module Moov
|
|
|
16
16
|
field :fee_model, Models::Components::FeeModel, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('feeModel'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::FeeModel, false) } }
|
|
17
17
|
|
|
18
18
|
field :fee_category, Models::Components::FeeCategory, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('feeCategory'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::FeeCategory, false) } }
|
|
19
|
-
|
|
19
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
20
20
|
field :billable_fee_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billableFeeID') } }
|
|
21
21
|
# A unique code identifying a charge.
|
|
22
22
|
field :billable_event, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billableEvent') } }
|
|
@@ -12,7 +12,7 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
16
16
|
field :plan_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('planID'), required: true } }
|
|
17
17
|
|
|
18
18
|
sig { params(plan_id: ::String).void }
|
|
@@ -21,12 +21,13 @@ module Moov
|
|
|
21
21
|
# Optional list of modifiers applied to this item (e.g., toppings, upgrades, customizations).
|
|
22
22
|
field :options, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::CreatePaymentLinkLineItemOption)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('options') } }
|
|
23
23
|
# Optional list of images associated with this line item.
|
|
24
|
-
# This field is deprecated
|
|
24
|
+
# This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
|
|
25
25
|
#
|
|
26
26
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
27
27
|
field :image_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageIDs') } }
|
|
28
28
|
# Optional unique identifier associating the line item with a product.
|
|
29
|
-
#
|
|
29
|
+
# When provided, images associated with the product will be included on the line item.
|
|
30
|
+
# This does not populate other details of the line item.
|
|
30
31
|
field :product_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('productID') } }
|
|
31
32
|
|
|
32
33
|
sig { params(name: ::String, base_price: Models::Components::AmountDecimal, quantity: ::Integer, options: T.nilable(T::Array[Models::Components::CreatePaymentLinkLineItemOption]), image_i_ds: T.nilable(T::Array[::String]), product_id: T.nilable(::String)).void }
|
|
@@ -19,7 +19,7 @@ module Moov
|
|
|
19
19
|
# Optional price modification applied by this option. Can be positive, negative, or zero.
|
|
20
20
|
field :price_modifier, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('priceModifier') } }
|
|
21
21
|
# Optional list of images associated with this line item option.
|
|
22
|
-
# This field is deprecated
|
|
22
|
+
# This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
|
|
23
23
|
#
|
|
24
24
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
25
25
|
field :image_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageIDs') } }
|
|
@@ -23,7 +23,10 @@ module Moov
|
|
|
23
23
|
# Optional unique identifier associating the line item with a product.
|
|
24
24
|
# This is for reporting or tracking purposes, and does not populate other details of the line item.
|
|
25
25
|
field :product_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('productID') } }
|
|
26
|
-
#
|
|
26
|
+
# Optional list of images associated with this line item.
|
|
27
|
+
# This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
|
|
28
|
+
#
|
|
29
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
27
30
|
field :image_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageIDs') } }
|
|
28
31
|
|
|
29
32
|
sig { params(name: ::String, base_price: Models::Components::AmountDecimal, quantity: ::Integer, options: T.nilable(T::Array[Models::Components::CreateScheduledTransferLineItemOption]), product_id: T.nilable(::String), image_i_ds: T.nilable(T::Array[::String])).void }
|
|
@@ -20,7 +20,10 @@ module Moov
|
|
|
20
20
|
field :price_modifier, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('priceModifier') } }
|
|
21
21
|
# Optional group identifier to categorize related options (e.g., 'toppings').
|
|
22
22
|
field :group, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('group') } }
|
|
23
|
-
#
|
|
23
|
+
# Optional list of images associated with this line item option.
|
|
24
|
+
# This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
|
|
25
|
+
#
|
|
26
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
24
27
|
field :image_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageIDs') } }
|
|
25
28
|
|
|
26
29
|
sig { params(name: ::String, quantity: ::Integer, price_modifier: T.nilable(Models::Components::AmountDecimal), group: T.nilable(::String), image_i_ds: T.nilable(T::Array[::String])).void }
|
|
@@ -20,7 +20,10 @@ module Moov
|
|
|
20
20
|
field :quantity, ::Integer, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('quantity'), required: true } }
|
|
21
21
|
# Optional list of modifiers applied to this item (e.g., toppings, upgrades, customizations).
|
|
22
22
|
field :options, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::CreateTransferLineItemOption)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('options') } }
|
|
23
|
-
#
|
|
23
|
+
# Optional list of images associated with this line item.
|
|
24
|
+
# This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
|
|
25
|
+
#
|
|
26
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
24
27
|
field :image_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageIDs') } }
|
|
25
28
|
# Optional unique identifier associating the line item with a product.
|
|
26
29
|
# This is for reporting or tracking purposes, and does not populate other details of the line item.
|
|
@@ -18,7 +18,10 @@ module Moov
|
|
|
18
18
|
field :quantity, ::Integer, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('quantity'), required: true } }
|
|
19
19
|
# Optional price modification applied by this option. Can be positive, negative, or zero.
|
|
20
20
|
field :price_modifier, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('priceModifier') } }
|
|
21
|
-
#
|
|
21
|
+
# Optional list of images associated with this line item option.
|
|
22
|
+
# This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
|
|
23
|
+
#
|
|
24
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
22
25
|
field :image_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageIDs') } }
|
|
23
26
|
# Optional group identifier to categorize related options (e.g., 'toppings').
|
|
24
27
|
field :group, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('group') } }
|
|
@@ -12,7 +12,7 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
16
16
|
field :plan_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('planID'), required: true } }
|
|
17
17
|
# The name of the fee plan.
|
|
18
18
|
field :name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('name'), required: true } }
|
|
@@ -12,9 +12,9 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
16
16
|
field :agreement_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('agreementID'), required: true } }
|
|
17
|
-
|
|
17
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
18
18
|
field :plan_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('planID'), required: true } }
|
|
19
19
|
# The name of the agreement.
|
|
20
20
|
field :name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('name'), required: true } }
|
|
@@ -30,7 +30,7 @@ module Moov
|
|
|
30
30
|
field :minimum_commitment, Models::Components::MinimumCommitment, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('minimumCommitment'), required: true } }
|
|
31
31
|
# Fixed recurring amount paid in the billing period regardless of usage.
|
|
32
32
|
field :monthly_platform_fee, Models::Components::MonthlyPlatformFee, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('monthlyPlatformFee'), required: true } }
|
|
33
|
-
|
|
33
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
34
34
|
field :account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID') } }
|
|
35
35
|
# The description of the agreement.
|
|
36
36
|
field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
|
|
@@ -12,17 +12,17 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
16
16
|
field :transfer_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('transferID') } }
|
|
17
|
-
|
|
17
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
18
18
|
field :card_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardID') } }
|
|
19
|
-
|
|
19
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
20
20
|
field :dispute_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('disputeID') } }
|
|
21
|
-
|
|
21
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
22
22
|
field :account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID') } }
|
|
23
|
-
|
|
23
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
24
24
|
field :bank_account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('bankAccountID') } }
|
|
25
|
-
|
|
25
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
26
26
|
field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
|
|
27
27
|
|
|
28
28
|
sig { params(transfer_id: T.nilable(::String), card_id: T.nilable(::String), dispute_id: T.nilable(::String), account_id: T.nilable(::String), bank_account_id: T.nilable(::String), invoice_id: T.nilable(::String)).void }
|
|
@@ -12,7 +12,7 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
16
16
|
field :fee_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('feeID') } }
|
|
17
17
|
# Account ID the fee belongs to.
|
|
18
18
|
field :account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID') } }
|
|
@@ -12,9 +12,9 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
16
16
|
field :agreement_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('agreementID'), required: true } }
|
|
17
|
-
|
|
17
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
18
18
|
field :plan_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('planID'), required: true } }
|
|
19
19
|
# The name of the agreement.
|
|
20
20
|
field :name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('name'), required: true } }
|
|
@@ -34,7 +34,7 @@ module Moov
|
|
|
34
34
|
#
|
|
35
35
|
# For example, 2.25% is '2.25'.
|
|
36
36
|
field :revenue_share, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('revenueShare'), required: true } }
|
|
37
|
-
|
|
37
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
38
38
|
field :account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID') } }
|
|
39
39
|
# The description of the agreement.
|
|
40
40
|
field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
|
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
module Moov
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
# RTP specific details about the transaction.
|
|
11
|
-
|
|
10
|
+
# DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
|
|
11
|
+
#
|
|
12
|
+
# @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
13
|
+
class RtpDetails
|
|
12
14
|
extend T::Sig
|
|
13
15
|
include Crystalline::MetadataFields
|
|
14
16
|
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
class Moov::Models::Components::
|
|
5
|
+
class Moov::Models::Components::RtpDetails
|
|
6
6
|
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class Moov::Models::Components::
|
|
10
|
+
class Moov::Models::Components::RtpDetails
|
|
11
11
|
def status(); end
|
|
12
12
|
def status=(str_); end
|
|
13
13
|
def network_response_code(); end
|
|
@@ -30,10 +30,10 @@ module Moov
|
|
|
30
30
|
field :apple_pay, Crystalline::Nilable.new(Models::Components::ApplePayResponse), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('applePay') } }
|
|
31
31
|
# Card-specific details about the transaction.
|
|
32
32
|
field :card_details, Crystalline::Nilable.new(Models::Components::CardTransactionDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardDetails') } }
|
|
33
|
-
#
|
|
34
|
-
field :rtp_details, Crystalline::Nilable.new(Models::Components::
|
|
33
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
34
|
+
field :rtp_details, Crystalline::Nilable.new(Models::Components::RtpDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('rtpDetails') } }
|
|
35
35
|
|
|
36
|
-
sig { params(payment_method_id: ::String, payment_method_type: Models::Components::TransferPaymentMethodType, account: Models::Components::TransferAccount, bank_account: T.nilable(Models::Components::TransferPaymentMethodsBankAccount), wallet: T.nilable(Models::Components::TransferPaymentMethodsWallet), card: T.nilable(Models::Components::TransferPaymentMethodsCard), ach_details: T.nilable(Models::Components::ACHTransactionDetails), apple_pay: T.nilable(Models::Components::ApplePayResponse), card_details: T.nilable(Models::Components::CardTransactionDetails), rtp_details: T.nilable(Models::Components::
|
|
36
|
+
sig { params(payment_method_id: ::String, payment_method_type: Models::Components::TransferPaymentMethodType, account: Models::Components::TransferAccount, bank_account: T.nilable(Models::Components::TransferPaymentMethodsBankAccount), wallet: T.nilable(Models::Components::TransferPaymentMethodsWallet), card: T.nilable(Models::Components::TransferPaymentMethodsCard), ach_details: T.nilable(Models::Components::ACHTransactionDetails), apple_pay: T.nilable(Models::Components::ApplePayResponse), card_details: T.nilable(Models::Components::CardTransactionDetails), rtp_details: T.nilable(Models::Components::RtpDetails)).void }
|
|
37
37
|
def initialize(payment_method_id:, payment_method_type:, account:, bank_account: nil, wallet: nil, card: nil, ach_details: nil, apple_pay: nil, card_details: nil, rtp_details: nil)
|
|
38
38
|
@payment_method_id = payment_method_id
|
|
39
39
|
@payment_method_type = payment_method_type
|