moov_ruby 0.0.0.pre.dev.16 → 0.0.0.pre.dev.18
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/authmethod.rb +19 -0
- data/lib/moov/models/components/{rtpfailurecode.rbi → authmethod.rbi} +2 -2
- data/lib/moov/models/components/createdtransfer.rb +3 -7
- data/lib/moov/models/components/createdtransfer.rbi +0 -2
- data/lib/moov/models/components/createpaymentlink.rb +3 -7
- data/lib/moov/models/components/createpaymentlink.rbi +0 -2
- data/lib/moov/models/components/createpaymentlinkamountdetails.rb +6 -2
- data/lib/moov/models/components/createpaymentlinkamountdetails.rbi +2 -0
- data/lib/moov/models/components/createpaymentlinkamountdetailsvalidationerror.rb +6 -2
- data/lib/moov/models/components/createpaymentlinkamountdetailsvalidationerror.rbi +2 -0
- 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 +3 -7
- data/lib/moov/models/components/createtransfer.rbi +0 -2
- data/lib/moov/models/components/createtransferamountdetails.rb +6 -2
- data/lib/moov/models/components/createtransferamountdetails.rbi +2 -0
- data/lib/moov/models/components/createtransferamountdetailsvalidationerror.rb +6 -2
- data/lib/moov/models/components/createtransferamountdetailsvalidationerror.rbi +2 -0
- data/lib/moov/models/components/createtransferlineitems.rb +1 -1
- data/lib/moov/models/components/googlepayresponse.rb +25 -6
- data/lib/moov/models/components/googlepayresponse.rbi +10 -2
- data/lib/moov/models/components/paymentlink.rb +3 -7
- data/lib/moov/models/components/paymentlink.rbi +0 -2
- data/lib/moov/models/components/paymentlinkamountdetails.rb +6 -2
- data/lib/moov/models/components/paymentlinkamountdetails.rbi +2 -0
- data/lib/moov/models/components/paymentlinklineitems.rb +1 -1
- data/lib/moov/models/components/transfer.rb +3 -7
- data/lib/moov/models/components/transfer.rbi +0 -2
- data/lib/moov/models/components/transferamountdetails.rb +6 -2
- data/lib/moov/models/components/transferamountdetails.rbi +2 -0
- data/lib/moov/models/components/transferdestination.rb +2 -6
- data/lib/moov/models/components/transferdestination.rbi +0 -2
- data/lib/moov/models/components/transferlineitems.rb +1 -1
- data/lib/moov/models/components/updatepaymentlink.rb +3 -7
- data/lib/moov/models/components/updatepaymentlink.rbi +0 -2
- data/lib/moov/models/components/updatepaymentlinkamountdetails.rb +6 -2
- data/lib/moov/models/components/updatepaymentlinkamountdetails.rbi +2 -0
- data/lib/moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rb +6 -2
- data/lib/moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rbi +2 -0
- data/lib/moov/models/components.rb +1 -3
- data/lib/moov/models/errors/createpaymentlinkerror.rb +2 -6
- data/lib/moov/models/errors/createpaymentlinkerror.rbi +0 -2
- data/lib/moov/models/errors/transfer_error.rb +3 -7
- data/lib/moov/models/errors/transfer_error.rbi +0 -2
- data/lib/moov/models/errors/transfervalidationerror.rb +2 -6
- data/lib/moov/models/errors/transfervalidationerror.rbi +0 -2
- data/lib/moov/models/errors/updatepaymentlinkerror.rb +2 -6
- data/lib/moov/models/errors/updatepaymentlinkerror.rbi +0 -2
- data/lib/moov/sdkconfiguration.rb +2 -2
- metadata +4 -8
- data/lib/moov/models/components/rtpdetails.rb +0 -58
- data/lib/moov/models/components/rtpdetails.rbi +0 -25
- data/lib/moov/models/components/rtpfailurecode.rb +0 -27
- data/lib/moov/models/components/rtptransactionstatus.rb +0 -21
- data/lib/moov/models/components/rtptransactionstatus.rbi +0 -11
|
@@ -58,8 +58,6 @@ class Moov::Models::Components::Transfer
|
|
|
58
58
|
def occurrence_id=(str_); end
|
|
59
59
|
def payment_link_code(); end
|
|
60
60
|
def payment_link_code=(str_); end
|
|
61
|
-
def sales_tax_amount(); end
|
|
62
|
-
def sales_tax_amount=(str_); end
|
|
63
61
|
def foreign_id(); end
|
|
64
62
|
def foreign_id=(str_); end
|
|
65
63
|
def line_items(); end
|
|
@@ -14,12 +14,15 @@ module Moov
|
|
|
14
14
|
|
|
15
15
|
# The amount of tip applied to the transfer.
|
|
16
16
|
field :tip, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tip') } }
|
|
17
|
+
# The amount of tax applied to the transfer.
|
|
18
|
+
field :tax, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tax') } }
|
|
17
19
|
# The amount of surcharge applied to the transfer.
|
|
18
20
|
field :surcharge, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('surcharge') } }
|
|
19
21
|
|
|
20
|
-
sig { params(tip: T.nilable(Models::Components::AmountDecimal), surcharge: T.nilable(Models::Components::AmountDecimal)).void }
|
|
21
|
-
def initialize(tip: nil, surcharge: nil)
|
|
22
|
+
sig { params(tip: T.nilable(Models::Components::AmountDecimal), tax: T.nilable(Models::Components::AmountDecimal), surcharge: T.nilable(Models::Components::AmountDecimal)).void }
|
|
23
|
+
def initialize(tip: nil, tax: nil, surcharge: nil)
|
|
22
24
|
@tip = tip
|
|
25
|
+
@tax = tax
|
|
23
26
|
@surcharge = surcharge
|
|
24
27
|
end
|
|
25
28
|
|
|
@@ -27,6 +30,7 @@ module Moov
|
|
|
27
30
|
def ==(other)
|
|
28
31
|
return false unless other.is_a? self.class
|
|
29
32
|
return false unless @tip == other.tip
|
|
33
|
+
return false unless @tax == other.tax
|
|
30
34
|
return false unless @surcharge == other.surcharge
|
|
31
35
|
true
|
|
32
36
|
end
|
|
@@ -32,13 +32,11 @@ module Moov
|
|
|
32
32
|
field :google_pay, Crystalline::Nilable.new(Models::Components::GooglePayResponse), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('googlePay') } }
|
|
33
33
|
# Card-specific details about the transaction.
|
|
34
34
|
field :card_details, Crystalline::Nilable.new(Models::Components::CardTransactionDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardDetails') } }
|
|
35
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
36
|
-
field :rtp_details, Crystalline::Nilable.new(Models::Components::RtpDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('rtpDetails') } }
|
|
37
35
|
# Instant-bank specific details about the transaction.
|
|
38
36
|
field :instant_bank_details, Crystalline::Nilable.new(Models::Components::InstantBankTransactionDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('instantBankDetails') } }
|
|
39
37
|
|
|
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), google_pay: T.nilable(Models::Components::GooglePayResponse), card_details: T.nilable(Models::Components::CardTransactionDetails),
|
|
41
|
-
def initialize(payment_method_id:, payment_method_type:, account:, bank_account: nil, wallet: nil, card: nil, ach_details: nil, apple_pay: nil, google_pay: nil, card_details: nil,
|
|
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), google_pay: T.nilable(Models::Components::GooglePayResponse), card_details: T.nilable(Models::Components::CardTransactionDetails), instant_bank_details: T.nilable(Models::Components::InstantBankTransactionDetails)).void }
|
|
39
|
+
def initialize(payment_method_id:, payment_method_type:, account:, bank_account: nil, wallet: nil, card: nil, ach_details: nil, apple_pay: nil, google_pay: nil, card_details: nil, instant_bank_details: nil)
|
|
42
40
|
@payment_method_id = payment_method_id
|
|
43
41
|
@payment_method_type = payment_method_type
|
|
44
42
|
@account = account
|
|
@@ -49,7 +47,6 @@ module Moov
|
|
|
49
47
|
@apple_pay = apple_pay
|
|
50
48
|
@google_pay = google_pay
|
|
51
49
|
@card_details = card_details
|
|
52
|
-
@rtp_details = rtp_details
|
|
53
50
|
@instant_bank_details = instant_bank_details
|
|
54
51
|
end
|
|
55
52
|
|
|
@@ -66,7 +63,6 @@ module Moov
|
|
|
66
63
|
return false unless @apple_pay == other.apple_pay
|
|
67
64
|
return false unless @google_pay == other.google_pay
|
|
68
65
|
return false unless @card_details == other.card_details
|
|
69
|
-
return false unless @rtp_details == other.rtp_details
|
|
70
66
|
return false unless @instant_bank_details == other.instant_bank_details
|
|
71
67
|
true
|
|
72
68
|
end
|
|
@@ -28,8 +28,6 @@ class Moov::Models::Components::TransferDestination
|
|
|
28
28
|
def google_pay=(str_); end
|
|
29
29
|
def card_details(); end
|
|
30
30
|
def card_details=(str_); end
|
|
31
|
-
def rtp_details(); end
|
|
32
|
-
def rtp_details=(str_); end
|
|
33
31
|
def instant_bank_details(); end
|
|
34
32
|
def instant_bank_details=(str_); end
|
|
35
33
|
end
|
|
@@ -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
|
|
@@ -14,8 +14,6 @@ module Moov
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
field :amount, Crystalline::Nilable.new(Models::Components::AmountUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
|
|
17
|
-
|
|
18
|
-
field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::AmountUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
|
|
19
17
|
# Customizable display options for a payment link.
|
|
20
18
|
field :display, Crystalline::Nilable.new(Models::Components::PaymentLinkDisplayOptionsUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('display') } }
|
|
21
19
|
|
|
@@ -25,17 +23,16 @@ module Moov
|
|
|
25
23
|
|
|
26
24
|
field :payout, Crystalline::Nilable.new(Models::Components::PaymentLinkPayoutDetailsUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payout') } }
|
|
27
25
|
# An optional collection of line items for a payment link.
|
|
28
|
-
# When line items are provided, their total plus
|
|
26
|
+
# When line items are provided, their total plus tax must equal the payment link amount.
|
|
29
27
|
field :line_items, Crystalline::Nilable.new(Models::Components::CreatePaymentLinkLineItemsUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
30
28
|
|
|
31
29
|
field :amount_details, Crystalline::Nilable.new(Models::Components::UpdatePaymentLinkAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
32
30
|
|
|
33
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) } }
|
|
34
32
|
|
|
35
|
-
sig { params(amount: T.nilable(Models::Components::AmountUpdate),
|
|
36
|
-
def initialize(amount: nil,
|
|
33
|
+
sig { params(amount: T.nilable(Models::Components::AmountUpdate), display: T.nilable(Models::Components::PaymentLinkDisplayOptionsUpdate), customer: T.nilable(Models::Components::PaymentLinkCustomerOptions), payment: T.nilable(Models::Components::PaymentLinkPaymentDetailsUpdate), payout: T.nilable(Models::Components::PaymentLinkPayoutDetailsUpdate), line_items: T.nilable(Models::Components::CreatePaymentLinkLineItemsUpdate), amount_details: T.nilable(Models::Components::UpdatePaymentLinkAmountDetails), expires_on: T.nilable(::DateTime)).void }
|
|
34
|
+
def initialize(amount: nil, display: nil, customer: nil, payment: nil, payout: nil, line_items: nil, amount_details: nil, expires_on: nil)
|
|
37
35
|
@amount = amount
|
|
38
|
-
@sales_tax_amount = sales_tax_amount
|
|
39
36
|
@display = display
|
|
40
37
|
@customer = customer
|
|
41
38
|
@payment = payment
|
|
@@ -49,7 +46,6 @@ module Moov
|
|
|
49
46
|
def ==(other)
|
|
50
47
|
return false unless other.is_a? self.class
|
|
51
48
|
return false unless @amount == other.amount
|
|
52
|
-
return false unless @sales_tax_amount == other.sales_tax_amount
|
|
53
49
|
return false unless @display == other.display
|
|
54
50
|
return false unless @customer == other.customer
|
|
55
51
|
return false unless @payment == other.payment
|
|
@@ -12,17 +12,21 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
+
# The amount of tax applied to the payment link.
|
|
16
|
+
field :tax, Crystalline::Nilable.new(Models::Components::AmountDecimalUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tax') } }
|
|
15
17
|
# The amount of surcharge applied to the payment link.
|
|
16
18
|
field :surcharge, Crystalline::Nilable.new(Models::Components::AmountDecimalUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('surcharge') } }
|
|
17
19
|
|
|
18
|
-
sig { params(surcharge: T.nilable(Models::Components::AmountDecimalUpdate)).void }
|
|
19
|
-
def initialize(surcharge: nil)
|
|
20
|
+
sig { params(tax: T.nilable(Models::Components::AmountDecimalUpdate), surcharge: T.nilable(Models::Components::AmountDecimalUpdate)).void }
|
|
21
|
+
def initialize(tax: nil, surcharge: nil)
|
|
22
|
+
@tax = tax
|
|
20
23
|
@surcharge = surcharge
|
|
21
24
|
end
|
|
22
25
|
|
|
23
26
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
24
27
|
def ==(other)
|
|
25
28
|
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @tax == other.tax
|
|
26
30
|
return false unless @surcharge == other.surcharge
|
|
27
31
|
true
|
|
28
32
|
end
|
|
@@ -13,16 +13,20 @@ module Moov
|
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
field :tax, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tax') } }
|
|
17
|
+
|
|
16
18
|
field :surcharge, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('surcharge') } }
|
|
17
19
|
|
|
18
|
-
sig { params(surcharge: T.nilable(::String)).void }
|
|
19
|
-
def initialize(surcharge: nil)
|
|
20
|
+
sig { params(tax: T.nilable(::String), surcharge: T.nilable(::String)).void }
|
|
21
|
+
def initialize(tax: nil, surcharge: nil)
|
|
22
|
+
@tax = tax
|
|
20
23
|
@surcharge = surcharge
|
|
21
24
|
end
|
|
22
25
|
|
|
23
26
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
24
27
|
def ==(other)
|
|
25
28
|
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @tax == other.tax
|
|
26
30
|
return false unless @surcharge == other.surcharge
|
|
27
31
|
true
|
|
28
32
|
end
|
|
@@ -490,11 +490,9 @@ module Moov
|
|
|
490
490
|
autoload :PutTipPresets, 'moov/models/components/puttippresets.rb'
|
|
491
491
|
autoload :PutTransferConfig, 'moov/models/components/puttransferconfig.rb'
|
|
492
492
|
autoload :QRCode, 'moov/models/components/qrcode.rb'
|
|
493
|
-
autoload :RTPFailureCode, 'moov/models/components/rtpfailurecode.rb'
|
|
494
493
|
autoload :RTPInstitution, 'moov/models/components/rtpinstitution.rb'
|
|
495
494
|
autoload :RTPRejectionCode, 'moov/models/components/rtprejectioncode.rb'
|
|
496
495
|
autoload :RTPServices, 'moov/models/components/rtpservices.rb'
|
|
497
|
-
autoload :RTPTransactionStatus, 'moov/models/components/rtptransactionstatus.rb'
|
|
498
496
|
autoload :ReceiptKind, 'moov/models/components/receiptkind.rb'
|
|
499
497
|
autoload :ReceiptRequest, 'moov/models/components/receiptrequest.rb'
|
|
500
498
|
autoload :ReceiptResponse, 'moov/models/components/receiptresponse.rb'
|
|
@@ -701,6 +699,7 @@ module Moov
|
|
|
701
699
|
autoload :AchDetails, 'moov/models/components/achdetails.rb'
|
|
702
700
|
autoload :AchPayment, 'moov/models/components/achpayment.rb'
|
|
703
701
|
autoload :AdjustmentFees, 'moov/models/components/adjustmentfees.rb'
|
|
702
|
+
autoload :AuthMethod, 'moov/models/components/authmethod.rb'
|
|
704
703
|
autoload :CardAcquiring, 'moov/models/components/cardacquiring.rb'
|
|
705
704
|
autoload :CardDetails, 'moov/models/components/carddetails.rb'
|
|
706
705
|
autoload :CardFundingSource, 'moov/models/components/cardfundingsource.rb'
|
|
@@ -713,7 +712,6 @@ module Moov
|
|
|
713
712
|
autoload :OtherFees, 'moov/models/components/otherfees.rb'
|
|
714
713
|
autoload :Phone, 'moov/models/components/phone.rb'
|
|
715
714
|
autoload :Responsibilities, 'moov/models/components/responsibilities.rb'
|
|
716
|
-
autoload :RtpDetails, 'moov/models/components/rtpdetails.rb'
|
|
717
715
|
autoload :Status, 'moov/models/components/status.rb'
|
|
718
716
|
autoload :TokenTypeHint, 'moov/models/components/token_type_hint.rb'
|
|
719
717
|
autoload :Use, 'moov/models/components/use.rb'
|
|
@@ -19,8 +19,6 @@ module Moov
|
|
|
19
19
|
|
|
20
20
|
field :amount, Crystalline::Nilable.new(Models::Components::AmountValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
|
|
21
21
|
|
|
22
|
-
field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::AmountValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
|
|
23
|
-
|
|
24
22
|
field :max_uses, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('maxUses') } }
|
|
25
23
|
|
|
26
24
|
field :expires_on, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn') } }
|
|
@@ -37,12 +35,11 @@ module Moov
|
|
|
37
35
|
# Raw HTTP response; suitable for custom response parsing
|
|
38
36
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
39
37
|
|
|
40
|
-
sig { params(partner_account_id: T.nilable(::String), merchant_payment_method_id: T.nilable(::String), amount: T.nilable(Models::Components::AmountValidationError),
|
|
41
|
-
def initialize(partner_account_id: nil, merchant_payment_method_id: nil, amount: nil,
|
|
38
|
+
sig { params(partner_account_id: T.nilable(::String), merchant_payment_method_id: T.nilable(::String), amount: T.nilable(Models::Components::AmountValidationError), max_uses: T.nilable(::String), expires_on: T.nilable(::String), display: T.nilable(Models::Components::DisplayOptionsError), payment: T.nilable(Models::Components::PaymentDetailsError), payout: T.nilable(Models::Components::PayoutDetailsError), line_items: T.nilable(Models::Components::CreatePaymentLinkLineItemsValidationError), amount_details: T.nilable(Models::Components::CreatePaymentLinkAmountDetailsValidationError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
39
|
+
def initialize(partner_account_id: nil, merchant_payment_method_id: nil, amount: nil, max_uses: nil, expires_on: nil, display: nil, payment: nil, payout: nil, line_items: nil, amount_details: nil, raw_response: nil)
|
|
42
40
|
@partner_account_id = partner_account_id
|
|
43
41
|
@merchant_payment_method_id = merchant_payment_method_id
|
|
44
42
|
@amount = amount
|
|
45
|
-
@sales_tax_amount = sales_tax_amount
|
|
46
43
|
@max_uses = max_uses
|
|
47
44
|
@expires_on = expires_on
|
|
48
45
|
@display = display
|
|
@@ -59,7 +56,6 @@ module Moov
|
|
|
59
56
|
return false unless @partner_account_id == other.partner_account_id
|
|
60
57
|
return false unless @merchant_payment_method_id == other.merchant_payment_method_id
|
|
61
58
|
return false unless @amount == other.amount
|
|
62
|
-
return false unless @sales_tax_amount == other.sales_tax_amount
|
|
63
59
|
return false unless @max_uses == other.max_uses
|
|
64
60
|
return false unless @expires_on == other.expires_on
|
|
65
61
|
return false unless @display == other.display
|
|
@@ -14,8 +14,6 @@ class Moov::Models::Errors::CreatePaymentLinkError
|
|
|
14
14
|
def merchant_payment_method_id=(str_); end
|
|
15
15
|
def amount(); end
|
|
16
16
|
def amount=(str_); end
|
|
17
|
-
def sales_tax_amount(); end
|
|
18
|
-
def sales_tax_amount=(str_); end
|
|
19
17
|
def max_uses(); end
|
|
20
18
|
def max_uses=(str_); end
|
|
21
19
|
def expires_on(); end
|
|
@@ -62,12 +62,10 @@ module Moov
|
|
|
62
62
|
field :occurrence_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('occurrenceID') } }
|
|
63
63
|
|
|
64
64
|
field :payment_link_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('paymentLinkCode') } }
|
|
65
|
-
|
|
66
|
-
field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
|
|
67
65
|
# Optional alias from a foreign/external system which can be used to reference this resource.
|
|
68
66
|
field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
|
|
69
67
|
# An optional collection of line items for a transfer.
|
|
70
|
-
# When line items are provided, their total plus
|
|
68
|
+
# When line items are provided, their total plus tax must equal the transfer amount.
|
|
71
69
|
field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
72
70
|
# ID of the invoice that the transfer is associated with.
|
|
73
71
|
field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
|
|
@@ -78,8 +76,8 @@ module Moov
|
|
|
78
76
|
# Raw HTTP response; suitable for custom response parsing
|
|
79
77
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
80
78
|
|
|
81
|
-
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),
|
|
82
|
-
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil,
|
|
79
|
+
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), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), invoice_id: T.nilable(::String), amount_details: T.nilable(Models::Components::TransferAmountDetails), capture: T.nilable(Models::Components::TransferCapture), raw_response: T.nilable(::Faraday::Response)).void }
|
|
80
|
+
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, foreign_id: nil, line_items: nil, invoice_id: nil, amount_details: nil, capture: nil, raw_response: nil)
|
|
83
81
|
@transfer_id = transfer_id
|
|
84
82
|
@created_on = created_on
|
|
85
83
|
@source = source
|
|
@@ -105,7 +103,6 @@ module Moov
|
|
|
105
103
|
@schedule_id = schedule_id
|
|
106
104
|
@occurrence_id = occurrence_id
|
|
107
105
|
@payment_link_code = payment_link_code
|
|
108
|
-
@sales_tax_amount = sales_tax_amount
|
|
109
106
|
@foreign_id = foreign_id
|
|
110
107
|
@line_items = line_items
|
|
111
108
|
@invoice_id = invoice_id
|
|
@@ -142,7 +139,6 @@ module Moov
|
|
|
142
139
|
return false unless @schedule_id == other.schedule_id
|
|
143
140
|
return false unless @occurrence_id == other.occurrence_id
|
|
144
141
|
return false unless @payment_link_code == other.payment_link_code
|
|
145
|
-
return false unless @sales_tax_amount == other.sales_tax_amount
|
|
146
142
|
return false unless @foreign_id == other.foreign_id
|
|
147
143
|
return false unless @line_items == other.line_items
|
|
148
144
|
return false unless @invoice_id == other.invoice_id
|
|
@@ -58,8 +58,6 @@ class Moov::Models::Errors::TransferError
|
|
|
58
58
|
def occurrence_id=(str_); end
|
|
59
59
|
def payment_link_code(); end
|
|
60
60
|
def payment_link_code=(str_); end
|
|
61
|
-
def sales_tax_amount(); end
|
|
62
|
-
def sales_tax_amount=(str_); end
|
|
63
61
|
def foreign_id(); end
|
|
64
62
|
def foreign_id=(str_); end
|
|
65
63
|
def line_items(); end
|
|
@@ -29,8 +29,6 @@ module Moov
|
|
|
29
29
|
|
|
30
30
|
field :metadata, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
|
|
31
31
|
|
|
32
|
-
field :sales_tax_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
|
|
33
|
-
|
|
34
32
|
field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
|
|
35
33
|
|
|
36
34
|
field :line_items, Crystalline::Nilable.new(Models::Components::CreateTransferLineItemsValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
@@ -39,8 +37,8 @@ module Moov
|
|
|
39
37
|
# Raw HTTP response; suitable for custom response parsing
|
|
40
38
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
41
39
|
|
|
42
|
-
sig { params(amount: T.nilable(::String), source: T.nilable(::String), source_payment_method_id: T.nilable(::String), destination_payment_method_id: T.nilable(::String), description: T.nilable(::String), facilitator_fee_total_decimal: T.nilable(::String), facilitator_fee_markup_decimal: T.nilable(::String), metadata: T.nilable(::String),
|
|
43
|
-
def initialize(amount: nil, source: nil, source_payment_method_id: nil, destination_payment_method_id: nil, description: nil, facilitator_fee_total_decimal: nil, facilitator_fee_markup_decimal: nil, metadata: nil,
|
|
40
|
+
sig { params(amount: T.nilable(::String), source: T.nilable(::String), source_payment_method_id: T.nilable(::String), destination_payment_method_id: T.nilable(::String), description: T.nilable(::String), facilitator_fee_total_decimal: T.nilable(::String), facilitator_fee_markup_decimal: T.nilable(::String), metadata: T.nilable(::String), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::CreateTransferLineItemsValidationError), amount_details: T.nilable(Models::Components::CreateTransferAmountDetailsValidationError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
41
|
+
def initialize(amount: nil, source: nil, source_payment_method_id: nil, destination_payment_method_id: nil, description: nil, facilitator_fee_total_decimal: nil, facilitator_fee_markup_decimal: nil, metadata: nil, foreign_id: nil, line_items: nil, amount_details: nil, raw_response: nil)
|
|
44
42
|
@amount = amount
|
|
45
43
|
@source = source
|
|
46
44
|
@source_payment_method_id = source_payment_method_id
|
|
@@ -49,7 +47,6 @@ module Moov
|
|
|
49
47
|
@facilitator_fee_total_decimal = facilitator_fee_total_decimal
|
|
50
48
|
@facilitator_fee_markup_decimal = facilitator_fee_markup_decimal
|
|
51
49
|
@metadata = metadata
|
|
52
|
-
@sales_tax_amount = sales_tax_amount
|
|
53
50
|
@foreign_id = foreign_id
|
|
54
51
|
@line_items = line_items
|
|
55
52
|
@amount_details = amount_details
|
|
@@ -67,7 +64,6 @@ module Moov
|
|
|
67
64
|
return false unless @facilitator_fee_total_decimal == other.facilitator_fee_total_decimal
|
|
68
65
|
return false unless @facilitator_fee_markup_decimal == other.facilitator_fee_markup_decimal
|
|
69
66
|
return false unless @metadata == other.metadata
|
|
70
|
-
return false unless @sales_tax_amount == other.sales_tax_amount
|
|
71
67
|
return false unless @foreign_id == other.foreign_id
|
|
72
68
|
return false unless @line_items == other.line_items
|
|
73
69
|
return false unless @amount_details == other.amount_details
|
|
@@ -24,8 +24,6 @@ class Moov::Models::Errors::TransferValidationError
|
|
|
24
24
|
def facilitator_fee_markup_decimal=(str_); end
|
|
25
25
|
def metadata(); end
|
|
26
26
|
def metadata=(str_); end
|
|
27
|
-
def sales_tax_amount(); end
|
|
28
|
-
def sales_tax_amount=(str_); end
|
|
29
27
|
def foreign_id(); end
|
|
30
28
|
def foreign_id=(str_); end
|
|
31
29
|
def line_items(); end
|
|
@@ -15,8 +15,6 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
field :amount, Crystalline::Nilable.new(Models::Components::AmountValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
|
|
17
17
|
|
|
18
|
-
field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::AmountValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
|
|
19
|
-
|
|
20
18
|
field :expires_on, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn') } }
|
|
21
19
|
|
|
22
20
|
field :display, Crystalline::Nilable.new(Models::Components::DisplayOptionsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('display') } }
|
|
@@ -31,10 +29,9 @@ module Moov
|
|
|
31
29
|
# Raw HTTP response; suitable for custom response parsing
|
|
32
30
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
33
31
|
|
|
34
|
-
sig { params(amount: T.nilable(Models::Components::AmountValidationError),
|
|
35
|
-
def initialize(amount: nil,
|
|
32
|
+
sig { params(amount: T.nilable(Models::Components::AmountValidationError), expires_on: T.nilable(::String), display: T.nilable(Models::Components::DisplayOptionsError), payment: T.nilable(Models::Components::PaymentDetailsError), payout: T.nilable(Models::Components::PayoutDetailsError), line_items: T.nilable(Models::Components::CreatePaymentLinkLineItemsValidationError), amount_details: T.nilable(Models::Components::UpdatePaymentLinkAmountDetailsValidationError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
33
|
+
def initialize(amount: nil, expires_on: nil, display: nil, payment: nil, payout: nil, line_items: nil, amount_details: nil, raw_response: nil)
|
|
36
34
|
@amount = amount
|
|
37
|
-
@sales_tax_amount = sales_tax_amount
|
|
38
35
|
@expires_on = expires_on
|
|
39
36
|
@display = display
|
|
40
37
|
@payment = payment
|
|
@@ -48,7 +45,6 @@ module Moov
|
|
|
48
45
|
def ==(other)
|
|
49
46
|
return false unless other.is_a? self.class
|
|
50
47
|
return false unless @amount == other.amount
|
|
51
|
-
return false unless @sales_tax_amount == other.sales_tax_amount
|
|
52
48
|
return false unless @expires_on == other.expires_on
|
|
53
49
|
return false unless @display == other.display
|
|
54
50
|
return false unless @payment == other.payment
|
|
@@ -88,9 +88,9 @@ module Moov
|
|
|
88
88
|
end
|
|
89
89
|
@language = 'ruby'
|
|
90
90
|
@openapi_doc_version = 'dev'
|
|
91
|
-
@sdk_version = '0.0.0-dev.
|
|
91
|
+
@sdk_version = '0.0.0-dev.18'
|
|
92
92
|
@gen_version = '2.882.0'
|
|
93
|
-
@user_agent = 'speakeasy-sdk/ruby 0.0.0-dev.
|
|
93
|
+
@user_agent = 'speakeasy-sdk/ruby 0.0.0-dev.18 2.882.0 dev 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: 0.0.0.pre.dev.
|
|
4
|
+
version: 0.0.0.pre.dev.18
|
|
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-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -394,6 +394,8 @@ files:
|
|
|
394
394
|
- lib/moov/models/components/asynccreatedrefund.rbi
|
|
395
395
|
- lib/moov/models/components/asynctransfer.rb
|
|
396
396
|
- lib/moov/models/components/asynctransfer.rbi
|
|
397
|
+
- lib/moov/models/components/authmethod.rb
|
|
398
|
+
- lib/moov/models/components/authmethod.rbi
|
|
397
399
|
- lib/moov/models/components/authorizeduser.rb
|
|
398
400
|
- lib/moov/models/components/authorizeduser.rbi
|
|
399
401
|
- lib/moov/models/components/authtoken.rb
|
|
@@ -1332,18 +1334,12 @@ files:
|
|
|
1332
1334
|
- lib/moov/models/components/rtpcredittransferpaymentmethod.rbi
|
|
1333
1335
|
- lib/moov/models/components/rtpcredittransferpaymentmethod_paymentmethodtype.rb
|
|
1334
1336
|
- lib/moov/models/components/rtpcredittransferpaymentmethod_paymentmethodtype.rbi
|
|
1335
|
-
- lib/moov/models/components/rtpdetails.rb
|
|
1336
|
-
- lib/moov/models/components/rtpdetails.rbi
|
|
1337
|
-
- lib/moov/models/components/rtpfailurecode.rb
|
|
1338
|
-
- lib/moov/models/components/rtpfailurecode.rbi
|
|
1339
1337
|
- lib/moov/models/components/rtpinstitution.rb
|
|
1340
1338
|
- lib/moov/models/components/rtpinstitution.rbi
|
|
1341
1339
|
- lib/moov/models/components/rtprejectioncode.rb
|
|
1342
1340
|
- lib/moov/models/components/rtprejectioncode.rbi
|
|
1343
1341
|
- lib/moov/models/components/rtpservices.rb
|
|
1344
1342
|
- lib/moov/models/components/rtpservices.rbi
|
|
1345
|
-
- lib/moov/models/components/rtptransactionstatus.rb
|
|
1346
|
-
- lib/moov/models/components/rtptransactionstatus.rbi
|
|
1347
1343
|
- lib/moov/models/components/runtransfer.rb
|
|
1348
1344
|
- lib/moov/models/components/runtransfer.rbi
|
|
1349
1345
|
- lib/moov/models/components/scheduledtransferimagemetadata.rb
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
module Moov
|
|
8
|
-
module Models
|
|
9
|
-
module Components
|
|
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
|
|
14
|
-
extend T::Sig
|
|
15
|
-
include Crystalline::MetadataFields
|
|
16
|
-
|
|
17
|
-
# Status of a transaction within the RTP lifecycle.
|
|
18
|
-
field :status, Crystalline::Nilable.new(Models::Components::RTPTransactionStatus), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::RTPTransactionStatus, true) } }
|
|
19
|
-
# Response code returned by network on failure.
|
|
20
|
-
field :network_response_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('networkResponseCode') } }
|
|
21
|
-
# Status codes for RTP failures.
|
|
22
|
-
field :failure_code, Crystalline::Nilable.new(Models::Components::RTPFailureCode), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('failureCode'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::RTPFailureCode, true) } }
|
|
23
|
-
|
|
24
|
-
field :initiated_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('initiatedOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
25
|
-
|
|
26
|
-
field :completed_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('completedOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
27
|
-
|
|
28
|
-
field :failed_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('failedOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
29
|
-
|
|
30
|
-
field :accepted_without_posting_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedWithoutPostingOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
31
|
-
|
|
32
|
-
sig { params(status: T.nilable(Models::Components::RTPTransactionStatus), network_response_code: T.nilable(::String), failure_code: T.nilable(Models::Components::RTPFailureCode), initiated_on: T.nilable(::DateTime), completed_on: T.nilable(::DateTime), failed_on: T.nilable(::DateTime), accepted_without_posting_on: T.nilable(::DateTime)).void }
|
|
33
|
-
def initialize(status: nil, network_response_code: nil, failure_code: nil, initiated_on: nil, completed_on: nil, failed_on: nil, accepted_without_posting_on: nil)
|
|
34
|
-
@status = status
|
|
35
|
-
@network_response_code = network_response_code
|
|
36
|
-
@failure_code = failure_code
|
|
37
|
-
@initiated_on = initiated_on
|
|
38
|
-
@completed_on = completed_on
|
|
39
|
-
@failed_on = failed_on
|
|
40
|
-
@accepted_without_posting_on = accepted_without_posting_on
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
44
|
-
def ==(other)
|
|
45
|
-
return false unless other.is_a? self.class
|
|
46
|
-
return false unless @status == other.status
|
|
47
|
-
return false unless @network_response_code == other.network_response_code
|
|
48
|
-
return false unless @failure_code == other.failure_code
|
|
49
|
-
return false unless @initiated_on == other.initiated_on
|
|
50
|
-
return false unless @completed_on == other.completed_on
|
|
51
|
-
return false unless @failed_on == other.failed_on
|
|
52
|
-
return false unless @accepted_without_posting_on == other.accepted_without_posting_on
|
|
53
|
-
true
|
|
54
|
-
end
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
|
-
end
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::RtpDetails
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::RtpDetails
|
|
11
|
-
def status(); end
|
|
12
|
-
def status=(str_); end
|
|
13
|
-
def network_response_code(); end
|
|
14
|
-
def network_response_code=(str_); end
|
|
15
|
-
def failure_code(); end
|
|
16
|
-
def failure_code=(str_); end
|
|
17
|
-
def initiated_on(); end
|
|
18
|
-
def initiated_on=(str_); end
|
|
19
|
-
def completed_on(); end
|
|
20
|
-
def completed_on=(str_); end
|
|
21
|
-
def failed_on(); end
|
|
22
|
-
def failed_on=(str_); end
|
|
23
|
-
def accepted_without_posting_on(); end
|
|
24
|
-
def accepted_without_posting_on=(str_); end
|
|
25
|
-
end
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
module Moov
|
|
8
|
-
module Models
|
|
9
|
-
module Components
|
|
10
|
-
# RTPFailureCode - Status codes for RTP failures.
|
|
11
|
-
class RTPFailureCode < T::Enum
|
|
12
|
-
enums do
|
|
13
|
-
PROCESSING_ERROR = new('processing-error')
|
|
14
|
-
INVALID_ACCOUNT = new('invalid-account')
|
|
15
|
-
ACCOUNT_CLOSED = new('account-closed')
|
|
16
|
-
ACCOUNT_BLOCKED = new('account-blocked')
|
|
17
|
-
INVALID_FIELD = new('invalid-field')
|
|
18
|
-
TRANSACTION_NOT_SUPPORTED = new('transaction-not-supported')
|
|
19
|
-
LIMIT_EXCEEDED = new('limit-exceeded')
|
|
20
|
-
INVALID_AMOUNT = new('invalid-amount')
|
|
21
|
-
CUSTOMER_DECEASED = new('customer-deceased')
|
|
22
|
-
OTHER = new('other')
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|