moov_ruby 24.2.4 → 24.2.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: fe42ad88b3f03b386c21b313eafd99b0da65b478d53c259e1b9b98960110d8a3
|
|
4
|
+
data.tar.gz: 17d6376f5298ac41a30a92c07f9fad964b8dcb94faa97da5ba3990be0edfa909
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2ab1d7c837d89cb54dd697fc626f6fd6d152e67ba195097e677cb4af925ee1e7e916b30e68154e39a64f813ae0d28080e29ba4439e95e8151c3b7ad44f10198
|
|
7
|
+
data.tar.gz: b1c5f234524f3934b5e503218bec9870e96d6c4ac520cbbaf45ba1436315c27a77e32084d55c5b8c965e46a6df1266bad92107599e4ca637f3dd82a5c19e16ee
|
|
@@ -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) } }
|
|
@@ -387,6 +387,7 @@ module Moov
|
|
|
387
387
|
autoload :RTPInstitution, 'moov/models/components/rtpinstitution.rb'
|
|
388
388
|
autoload :RTPRejectionCode, 'moov/models/components/rtprejectioncode.rb'
|
|
389
389
|
autoload :RTPServices, 'moov/models/components/rtpservices.rb'
|
|
390
|
+
autoload :RTPTransactionDetails, 'moov/models/components/rtptransactiondetails.rb'
|
|
390
391
|
autoload :RTPTransactionStatus, 'moov/models/components/rtptransactionstatus.rb'
|
|
391
392
|
autoload :ReceiptKind, 'moov/models/components/receiptkind.rb'
|
|
392
393
|
autoload :ReceiptRequest, 'moov/models/components/receiptrequest.rb'
|
|
@@ -566,7 +567,6 @@ module Moov
|
|
|
566
567
|
autoload :OtherFees, 'moov/models/components/otherfees.rb'
|
|
567
568
|
autoload :Phone, 'moov/models/components/phone.rb'
|
|
568
569
|
autoload :Responsibilities, 'moov/models/components/responsibilities.rb'
|
|
569
|
-
autoload :RtpDetails, 'moov/models/components/rtpdetails.rb'
|
|
570
570
|
autoload :Status, 'moov/models/components/status.rb'
|
|
571
571
|
autoload :TokenTypeHint, 'moov/models/components/token_type_hint.rb'
|
|
572
572
|
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 = 'v2024.01.00'
|
|
91
|
-
@sdk_version = '24.2.
|
|
92
|
-
@gen_version = '2.
|
|
93
|
-
@user_agent = 'speakeasy-sdk/ruby 24.2.
|
|
91
|
+
@sdk_version = '24.2.6'
|
|
92
|
+
@gen_version = '2.882.0'
|
|
93
|
+
@user_agent = 'speakeasy-sdk/ruby 24.2.6 2.882.0 v2024.01.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: 24.2.
|
|
4
|
+
version: 24.2.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
|
|
@@ -1096,8 +1096,6 @@ files:
|
|
|
1096
1096
|
- lib/moov/models/components/rtpcredittransferpaymentmethod.rbi
|
|
1097
1097
|
- lib/moov/models/components/rtpcredittransferpaymentmethod_paymentmethodtype.rb
|
|
1098
1098
|
- lib/moov/models/components/rtpcredittransferpaymentmethod_paymentmethodtype.rbi
|
|
1099
|
-
- lib/moov/models/components/rtpdetails.rb
|
|
1100
|
-
- lib/moov/models/components/rtpdetails.rbi
|
|
1101
1099
|
- lib/moov/models/components/rtpfailurecode.rb
|
|
1102
1100
|
- lib/moov/models/components/rtpfailurecode.rbi
|
|
1103
1101
|
- lib/moov/models/components/rtpinstitution.rb
|
|
@@ -1106,6 +1104,8 @@ files:
|
|
|
1106
1104
|
- lib/moov/models/components/rtprejectioncode.rbi
|
|
1107
1105
|
- lib/moov/models/components/rtpservices.rb
|
|
1108
1106
|
- lib/moov/models/components/rtpservices.rbi
|
|
1107
|
+
- lib/moov/models/components/rtptransactiondetails.rb
|
|
1108
|
+
- lib/moov/models/components/rtptransactiondetails.rbi
|
|
1109
1109
|
- lib/moov/models/components/rtptransactionstatus.rb
|
|
1110
1110
|
- lib/moov/models/components/rtptransactionstatus.rbi
|
|
1111
1111
|
- lib/moov/models/components/runtransfer.rb
|