moov_ruby 25.5.4 → 25.5.6
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/moov/models/components/createdtransfer.rb +1 -1
- data/lib/moov/models/components/createpaymentlink.rb +1 -1
- data/lib/moov/models/components/createpaymentlinklineitems.rb +1 -1
- data/lib/moov/models/components/createpaymentlinklineitemsupdate.rb +1 -1
- data/lib/moov/models/components/createtransfer.rb +1 -1
- data/lib/moov/models/components/createtransferlineitems.rb +1 -1
- data/lib/moov/models/components/paymentlink.rb +1 -1
- data/lib/moov/models/components/paymentlinklineitems.rb +1 -1
- data/lib/moov/models/components/{rtpdetails.rb → rtptransactiondetails.rb} +1 -1
- data/lib/moov/models/components/{rtpdetails.rbi → rtptransactiondetails.rbi} +2 -2
- data/lib/moov/models/components/transfer.rb +1 -1
- data/lib/moov/models/components/transferdestination.rb +4 -2
- data/lib/moov/models/components/transferlineitems.rb +1 -1
- data/lib/moov/models/components/updatepaymentlink.rb +1 -1
- data/lib/moov/models/components.rb +1 -1
- data/lib/moov/models/errors/transfer_error.rb +1 -1
- data/lib/moov/sdkconfiguration.rb +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b50e0b3f98eb7f66fedbe1deedaa265a7d072c5a3c154f9438c098ee0ba7b1d1
|
|
4
|
+
data.tar.gz: 73dad46a344eb30583c614c7c3d98b83b3c4212bdb36100e71ff3964d11fa7ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dc9cc33b7f6d73fc25521bdc2b697455b665c94e4df52589cf1548fe3d27ce4831aef52de538a03ee6f497229e13f336230690e803842200f548612bc676b2e4
|
|
7
|
+
data.tar.gz: db89ff37979c1ba682c117bfb5326b4281d749fe6582789009688b96a5287f41b6851135576da8587983395a8acc5b0bd24462842d6c9968093b13e70874aea3
|
|
@@ -65,7 +65,7 @@ module Moov
|
|
|
65
65
|
# Optional alias from a foreign/external system which can be used to reference this resource.
|
|
66
66
|
field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
|
|
67
67
|
# An optional collection of line items for a transfer.
|
|
68
|
-
# When line items are provided, their total plus
|
|
68
|
+
# When line items are provided, their total plus tax must equal the transfer amount.
|
|
69
69
|
field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
70
70
|
|
|
71
71
|
sig { params(transfer_id: ::String, created_on: ::DateTime, source: T.nilable(Models::Components::TransferSource), destination: T.nilable(Models::Components::TransferDestination), completed_on: T.nilable(::DateTime), status: T.nilable(Models::Components::TransferStatus), failure_reason: T.nilable(Models::Components::TransferFailureReason), amount: T.nilable(Models::Components::Amount), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems)).void }
|
|
@@ -45,7 +45,7 @@ module Moov
|
|
|
45
45
|
|
|
46
46
|
field :payout, Crystalline::Nilable.new(Models::Components::PaymentLinkPayoutDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payout') } }
|
|
47
47
|
# An optional collection of line items for a payment link.
|
|
48
|
-
# When line items are provided, their total plus
|
|
48
|
+
# When line items are provided, their total plus tax must equal the payment link amount.
|
|
49
49
|
field :line_items, Crystalline::Nilable.new(Models::Components::CreatePaymentLinkLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
50
50
|
|
|
51
51
|
sig { params(partner_account_id: ::String, merchant_payment_method_id: ::String, amount: Models::Components::Amount, display: Models::Components::PaymentLinkDisplayOptions, sales_tax_amount: T.nilable(Models::Components::Amount), max_uses: T.nilable(::Integer), expires_on: T.nilable(::DateTime), customer: T.nilable(Models::Components::PaymentLinkCustomerOptions), payment: T.nilable(Models::Components::PaymentLinkPaymentDetails), payout: T.nilable(Models::Components::PaymentLinkPayoutDetails), line_items: T.nilable(Models::Components::CreatePaymentLinkLineItems)).void }
|
|
@@ -8,7 +8,7 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# An optional collection of line items for a payment link.
|
|
11
|
-
# When line items are provided, their total plus
|
|
11
|
+
# When line items are provided, their total plus tax must equal the payment link amount.
|
|
12
12
|
class CreatePaymentLinkLineItems
|
|
13
13
|
extend T::Sig
|
|
14
14
|
include Crystalline::MetadataFields
|
|
@@ -8,7 +8,7 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# An optional collection of line items for a payment link.
|
|
11
|
-
# When line items are provided, their total plus
|
|
11
|
+
# When line items are provided, their total plus tax must equal the payment link amount.
|
|
12
12
|
class CreatePaymentLinkLineItemsUpdate
|
|
13
13
|
extend T::Sig
|
|
14
14
|
include Crystalline::MetadataFields
|
|
@@ -29,7 +29,7 @@ module Moov
|
|
|
29
29
|
# Optional alias from a foreign/external system which can be used to reference this resource.
|
|
30
30
|
field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
|
|
31
31
|
# An optional collection of line items for a transfer.
|
|
32
|
-
# When line items are provided, their total plus
|
|
32
|
+
# When line items are provided, their total plus tax must equal the transfer amount.
|
|
33
33
|
field :line_items, Crystalline::Nilable.new(Models::Components::CreateTransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
34
34
|
|
|
35
35
|
sig { params(source: Models::Components::CreateTransferSource, destination: Models::Components::CreateTransferDestination, amount: Models::Components::Amount, facilitator_fee: T.nilable(Models::Components::FacilitatorFee), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::CreateTransferLineItems)).void }
|
|
@@ -8,7 +8,7 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# An optional collection of line items for a transfer.
|
|
11
|
-
# When line items are provided, their total plus
|
|
11
|
+
# When line items are provided, their total plus tax must equal the transfer amount.
|
|
12
12
|
class CreateTransferLineItems
|
|
13
13
|
extend T::Sig
|
|
14
14
|
include Crystalline::MetadataFields
|
|
@@ -62,7 +62,7 @@ module Moov
|
|
|
62
62
|
|
|
63
63
|
field :payout, Crystalline::Nilable.new(Models::Components::PaymentLinkPayoutDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payout') } }
|
|
64
64
|
# An optional collection of line items for a payment link.
|
|
65
|
-
# When line items are provided, their total plus
|
|
65
|
+
# When line items are provided, their total plus tax must equal the payment link amount.
|
|
66
66
|
field :line_items, Crystalline::Nilable.new(Models::Components::PaymentLinkLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
67
67
|
|
|
68
68
|
field :disabled_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('disabledOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
@@ -8,7 +8,7 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# An optional collection of line items for a payment link.
|
|
11
|
-
# When line items are provided, their total plus
|
|
11
|
+
# When line items are provided, their total plus tax must equal the payment link amount.
|
|
12
12
|
class PaymentLinkLineItems
|
|
13
13
|
extend T::Sig
|
|
14
14
|
include Crystalline::MetadataFields
|
|
@@ -10,7 +10,7 @@ module Moov
|
|
|
10
10
|
# DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
|
|
11
11
|
#
|
|
12
12
|
# @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
13
|
-
class
|
|
13
|
+
class RTPTransactionDetails
|
|
14
14
|
extend T::Sig
|
|
15
15
|
include Crystalline::MetadataFields
|
|
16
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::RTPTransactionDetails
|
|
6
6
|
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class Moov::Models::Components::
|
|
10
|
+
class Moov::Models::Components::RTPTransactionDetails
|
|
11
11
|
def status(); end
|
|
12
12
|
def status=(str_); end
|
|
13
13
|
def network_response_code(); end
|
|
@@ -67,7 +67,7 @@ module Moov
|
|
|
67
67
|
# Optional alias from a foreign/external system which can be used to reference this resource.
|
|
68
68
|
field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
|
|
69
69
|
# An optional collection of line items for a transfer.
|
|
70
|
-
# When line items are provided, their total plus
|
|
70
|
+
# When line items are provided, their total plus tax must equal the transfer amount.
|
|
71
71
|
field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
72
72
|
|
|
73
73
|
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems)).void }
|
|
@@ -30,12 +30,14 @@ 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
|
+
# DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
|
|
34
|
+
#
|
|
33
35
|
# @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::
|
|
36
|
+
field :rtp_details, Crystalline::Nilable.new(Models::Components::RTPTransactionDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('rtpDetails') } }
|
|
35
37
|
# Instant-bank specific details about the transaction.
|
|
36
38
|
field :instant_bank_details, Crystalline::Nilable.new(Models::Components::InstantBankTransactionDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('instantBankDetails') } }
|
|
37
39
|
|
|
38
|
-
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::
|
|
40
|
+
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::RTPTransactionDetails), instant_bank_details: T.nilable(Models::Components::InstantBankTransactionDetails)).void }
|
|
39
41
|
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, instant_bank_details: nil)
|
|
40
42
|
@payment_method_id = payment_method_id
|
|
41
43
|
@payment_method_type = payment_method_type
|
|
@@ -8,7 +8,7 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# An optional collection of line items for a transfer.
|
|
11
|
-
# When line items are provided, their total plus
|
|
11
|
+
# When line items are provided, their total plus tax must equal the transfer amount.
|
|
12
12
|
class TransferLineItems
|
|
13
13
|
extend T::Sig
|
|
14
14
|
include Crystalline::MetadataFields
|
|
@@ -25,7 +25,7 @@ module Moov
|
|
|
25
25
|
|
|
26
26
|
field :payout, Crystalline::Nilable.new(Models::Components::PaymentLinkPayoutDetailsUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payout') } }
|
|
27
27
|
# An optional collection of line items for a payment link.
|
|
28
|
-
# When line items are provided, their total plus
|
|
28
|
+
# When line items are provided, their total plus tax must equal the payment link amount.
|
|
29
29
|
field :line_items, Crystalline::Nilable.new(Models::Components::CreatePaymentLinkLineItemsUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
30
30
|
|
|
31
31
|
field :expires_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
@@ -392,6 +392,7 @@ module Moov
|
|
|
392
392
|
autoload :RTPInstitution, 'moov/models/components/rtpinstitution.rb'
|
|
393
393
|
autoload :RTPRejectionCode, 'moov/models/components/rtprejectioncode.rb'
|
|
394
394
|
autoload :RTPServices, 'moov/models/components/rtpservices.rb'
|
|
395
|
+
autoload :RTPTransactionDetails, 'moov/models/components/rtptransactiondetails.rb'
|
|
395
396
|
autoload :RTPTransactionStatus, 'moov/models/components/rtptransactionstatus.rb'
|
|
396
397
|
autoload :ReceiptKind, 'moov/models/components/receiptkind.rb'
|
|
397
398
|
autoload :ReceiptRequest, 'moov/models/components/receiptrequest.rb'
|
|
@@ -574,7 +575,6 @@ module Moov
|
|
|
574
575
|
autoload :OtherFees, 'moov/models/components/otherfees.rb'
|
|
575
576
|
autoload :Phone, 'moov/models/components/phone.rb'
|
|
576
577
|
autoload :Responsibilities, 'moov/models/components/responsibilities.rb'
|
|
577
|
-
autoload :RtpDetails, 'moov/models/components/rtpdetails.rb'
|
|
578
578
|
autoload :Status, 'moov/models/components/status.rb'
|
|
579
579
|
autoload :TokenTypeHint, 'moov/models/components/token_type_hint.rb'
|
|
580
580
|
autoload :Use, 'moov/models/components/use.rb'
|
|
@@ -67,7 +67,7 @@ module Moov
|
|
|
67
67
|
# Optional alias from a foreign/external system which can be used to reference this resource.
|
|
68
68
|
field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
|
|
69
69
|
# An optional collection of line items for a transfer.
|
|
70
|
-
# When line items are provided, their total plus
|
|
70
|
+
# When line items are provided, their total plus tax must equal the transfer amount.
|
|
71
71
|
field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
72
72
|
# Raw HTTP response; suitable for custom response parsing
|
|
73
73
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
@@ -88,9 +88,9 @@ module Moov
|
|
|
88
88
|
end
|
|
89
89
|
@language = 'ruby'
|
|
90
90
|
@openapi_doc_version = 'v2025.04.00'
|
|
91
|
-
@sdk_version = '25.5.
|
|
92
|
-
@gen_version = '2.
|
|
93
|
-
@user_agent = 'speakeasy-sdk/ruby 25.5.
|
|
91
|
+
@sdk_version = '25.5.6'
|
|
92
|
+
@gen_version = '2.882.0'
|
|
93
|
+
@user_agent = 'speakeasy-sdk/ruby 25.5.6 2.882.0 v2025.04.00 moov_ruby'
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moov_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 25.5.
|
|
4
|
+
version: 25.5.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Speakeasy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-05-
|
|
11
|
+
date: 2026-05-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -1106,8 +1106,6 @@ files:
|
|
|
1106
1106
|
- lib/moov/models/components/rtpcredittransferpaymentmethod.rbi
|
|
1107
1107
|
- lib/moov/models/components/rtpcredittransferpaymentmethod_paymentmethodtype.rb
|
|
1108
1108
|
- lib/moov/models/components/rtpcredittransferpaymentmethod_paymentmethodtype.rbi
|
|
1109
|
-
- lib/moov/models/components/rtpdetails.rb
|
|
1110
|
-
- lib/moov/models/components/rtpdetails.rbi
|
|
1111
1109
|
- lib/moov/models/components/rtpfailurecode.rb
|
|
1112
1110
|
- lib/moov/models/components/rtpfailurecode.rbi
|
|
1113
1111
|
- lib/moov/models/components/rtpinstitution.rb
|
|
@@ -1116,6 +1114,8 @@ files:
|
|
|
1116
1114
|
- lib/moov/models/components/rtprejectioncode.rbi
|
|
1117
1115
|
- lib/moov/models/components/rtpservices.rb
|
|
1118
1116
|
- lib/moov/models/components/rtpservices.rbi
|
|
1117
|
+
- lib/moov/models/components/rtptransactiondetails.rb
|
|
1118
|
+
- lib/moov/models/components/rtptransactiondetails.rbi
|
|
1119
1119
|
- lib/moov/models/components/rtptransactionstatus.rb
|
|
1120
1120
|
- lib/moov/models/components/rtptransactionstatus.rbi
|
|
1121
1121
|
- lib/moov/models/components/runtransfer.rb
|