moov_ruby 0.3.32 → 25.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/moov/client.rb +1 -3
- data/lib/moov/models/components/accounttype.rb +0 -1
- data/lib/moov/models/components/bankaccountholdertype.rb +0 -1
- data/lib/moov/models/components/capabilityid.rb +0 -11
- data/lib/moov/models/components/createaccount.rb +3 -3
- data/lib/moov/models/components/enrichedindustries.rb +2 -2
- data/lib/moov/models/components/enrichedindustry.rb +44 -0
- data/lib/moov/models/components/enrichedindustry.rbi +19 -0
- data/lib/moov/models/components/paymentmethodtype.rb +0 -2
- data/lib/moov/models/components/profile.rb +2 -6
- data/lib/moov/models/components/profile.rbi +0 -2
- data/lib/moov/models/components/requirementid.rb +0 -54
- data/lib/moov/models/components/transfer.rb +2 -6
- data/lib/moov/models/components/transfer.rbi +0 -2
- data/lib/moov/models/components/transferoptions.rb +3 -3
- data/lib/moov/models/components/transfersource.rb +2 -6
- data/lib/moov/models/components/transfersource.rbi +0 -2
- data/lib/moov/models/components/underwriting.rb +9 -37
- data/lib/moov/models/components/underwriting.rbi +0 -14
- data/lib/moov/models/components.rb +1 -79
- data/lib/moov/models/errors/transfer_error.rb +2 -6
- data/lib/moov/models/errors/transfer_error.rbi +0 -2
- data/lib/moov/models/errors.rb +0 -7
- data/lib/moov/models/operations/getpaymentmethod_response.rb +2 -2
- data/lib/moov/models/operations/listaccounts_request.rb +2 -2
- data/lib/moov/models/operations/listconnectedaccountsforaccount_request.rb +2 -2
- data/lib/moov/models/operations/listpaymentmethods_response.rb +2 -2
- data/lib/moov/models/operations.rb +0 -25
- data/lib/moov/payment_methods.rb +2 -2
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov/underwriting.rb +0 -166
- data/lib/moov_ruby.rb +0 -2
- metadata +3 -225
- data/lib/moov/invoices.rb +0 -914
- data/lib/moov/models/components/amountdecimalupdate.rb +0 -38
- data/lib/moov/models/components/amountdecimalupdate.rbi +0 -15
- data/lib/moov/models/components/businesspresence.rb +0 -25
- data/lib/moov/models/components/businesspresence.rbi +0 -11
- data/lib/moov/models/components/cardacceptancemethods.rb +0 -40
- data/lib/moov/models/components/cardacceptancemethods.rbi +0 -17
- data/lib/moov/models/components/cardacceptancemethodserror.rb +0 -40
- data/lib/moov/models/components/cardacceptancemethodserror.rbi +0 -17
- data/lib/moov/models/components/cardpresentpaymentpaymentmethod.rb +0 -40
- data/lib/moov/models/components/cardpresentpaymentpaymentmethod.rbi +0 -17
- data/lib/moov/models/components/cardpresentpaymentpaymentmethod_paymentmethodtype.rb +0 -20
- data/lib/moov/models/components/cardpresentpaymentpaymentmethod_paymentmethodtype.rbi +0 -11
- data/lib/moov/models/components/collectfunds.rb +0 -36
- data/lib/moov/models/components/collectfunds.rbi +0 -15
- data/lib/moov/models/components/collectfundsach.rb +0 -32
- data/lib/moov/models/components/collectfundsach.rbi +0 -13
- data/lib/moov/models/components/collectfundsacherror.rb +0 -32
- data/lib/moov/models/components/collectfundsacherror.rbi +0 -13
- data/lib/moov/models/components/collectfundscardpayments.rb +0 -48
- data/lib/moov/models/components/collectfundscardpayments.rbi +0 -21
- data/lib/moov/models/components/collectfundscardpaymentserror.rb +0 -48
- data/lib/moov/models/components/collectfundscardpaymentserror.rbi +0 -21
- data/lib/moov/models/components/collectfundserror.rb +0 -36
- data/lib/moov/models/components/collectfundserror.rbi +0 -15
- data/lib/moov/models/components/createaccounttype.rb +0 -21
- data/lib/moov/models/components/createaccounttype.rbi +0 -11
- data/lib/moov/models/components/createinvoice.rb +0 -52
- data/lib/moov/models/components/createinvoice.rbi +0 -23
- data/lib/moov/models/components/createinvoicelineitem.rb +0 -52
- data/lib/moov/models/components/createinvoicelineitem.rbi +0 -23
- data/lib/moov/models/components/createinvoicelineitemoption.rb +0 -48
- data/lib/moov/models/components/createinvoicelineitemoption.rbi +0 -21
- data/lib/moov/models/components/createinvoicelineitemoptionvalidationerror.rb +0 -44
- data/lib/moov/models/components/createinvoicelineitemoptionvalidationerror.rbi +0 -19
- data/lib/moov/models/components/createinvoicelineitems.rb +0 -32
- data/lib/moov/models/components/createinvoicelineitems.rbi +0 -13
- data/lib/moov/models/components/createinvoicelineitemsupdate.rb +0 -32
- data/lib/moov/models/components/createinvoicelineitemsupdate.rbi +0 -13
- data/lib/moov/models/components/createinvoicelineitemsvalidationerror.rb +0 -32
- data/lib/moov/models/components/createinvoicelineitemsvalidationerror.rbi +0 -13
- data/lib/moov/models/components/createinvoicelineitemvalidationerror.rb +0 -48
- data/lib/moov/models/components/createinvoicelineitemvalidationerror.rbi +0 -21
- data/lib/moov/models/components/createinvoicepayment.rb +0 -44
- data/lib/moov/models/components/createinvoicepayment.rbi +0 -19
- data/lib/moov/models/components/createticket.rb +0 -48
- data/lib/moov/models/components/createticket.rbi +0 -21
- data/lib/moov/models/components/createticketcontacterror.rb +0 -36
- data/lib/moov/models/components/createticketcontacterror.rbi +0 -15
- data/lib/moov/models/components/entrymode.rb +0 -20
- data/lib/moov/models/components/entrymode.rbi +0 -11
- data/lib/moov/models/components/estimatedactivity.rb +0 -40
- data/lib/moov/models/components/estimatedactivity.rbi +0 -17
- data/lib/moov/models/components/estimatedactivityerror.rb +0 -40
- data/lib/moov/models/components/estimatedactivityerror.rbi +0 -17
- data/lib/moov/models/components/fulfillment.rb +0 -36
- data/lib/moov/models/components/fulfillment.rbi +0 -15
- data/lib/moov/models/components/fulfillmenterror.rb +0 -36
- data/lib/moov/models/components/fulfillmenterror.rbi +0 -15
- data/lib/moov/models/components/fulfillmentmethod.rb +0 -28
- data/lib/moov/models/components/fulfillmentmethod.rbi +0 -11
- data/lib/moov/models/components/fulfillmenttimeframe.rb +0 -27
- data/lib/moov/models/components/fulfillmenttimeframe.rbi +0 -11
- data/lib/moov/models/components/geographicreach.rb +0 -22
- data/lib/moov/models/components/geographicreach.rbi +0 -11
- data/lib/moov/models/components/guestprofile.rb +0 -41
- data/lib/moov/models/components/guestprofile.rbi +0 -17
- data/lib/moov/models/components/industrytaxonomy.rb +0 -48
- data/lib/moov/models/components/industrytaxonomy.rbi +0 -21
- data/lib/moov/models/components/instantbankcreditpaymentmethod.rb +0 -40
- data/lib/moov/models/components/instantbankcreditpaymentmethod.rbi +0 -17
- data/lib/moov/models/components/instantbankcreditpaymentmethod_paymentmethodtype.rb +0 -20
- data/lib/moov/models/components/instantbankcreditpaymentmethod_paymentmethodtype.rbi +0 -11
- data/lib/moov/models/components/invoice.rb +0 -116
- data/lib/moov/models/components/invoice.rbi +0 -55
- data/lib/moov/models/components/invoiceexternalpayment.rb +0 -40
- data/lib/moov/models/components/invoiceexternalpayment.rbi +0 -17
- data/lib/moov/models/components/invoicelineitem.rb +0 -52
- data/lib/moov/models/components/invoicelineitem.rbi +0 -23
- data/lib/moov/models/components/invoicelineitemimagemetadata.rb +0 -44
- data/lib/moov/models/components/invoicelineitemimagemetadata.rbi +0 -19
- data/lib/moov/models/components/invoicelineitemoption.rb +0 -48
- data/lib/moov/models/components/invoicelineitemoption.rbi +0 -21
- data/lib/moov/models/components/invoicelineitemoptionvalidationerror.rb +0 -44
- data/lib/moov/models/components/invoicelineitemoptionvalidationerror.rbi +0 -19
- data/lib/moov/models/components/invoicelineitems.rb +0 -32
- data/lib/moov/models/components/invoicelineitems.rbi +0 -13
- data/lib/moov/models/components/invoicelineitemsvalidationerror.rb +0 -32
- data/lib/moov/models/components/invoicelineitemsvalidationerror.rbi +0 -13
- data/lib/moov/models/components/invoicelineitemvalidationerror.rb +0 -48
- data/lib/moov/models/components/invoicelineitemvalidationerror.rbi +0 -21
- data/lib/moov/models/components/invoicepayment.rb +0 -48
- data/lib/moov/models/components/invoicepayment.rbi +0 -21
- data/lib/moov/models/components/invoicepaymenttype.rb +0 -21
- data/lib/moov/models/components/invoicepaymenttype.rbi +0 -11
- data/lib/moov/models/components/invoicetransferpayment.rb +0 -32
- data/lib/moov/models/components/invoicetransferpayment.rbi +0 -13
- data/lib/moov/models/components/itemlistnextpage.rb +0 -32
- data/lib/moov/models/components/itemlistnextpage.rbi +0 -13
- data/lib/moov/models/components/moneytransfer.rb +0 -36
- data/lib/moov/models/components/moneytransfer.rbi +0 -15
- data/lib/moov/models/components/moneytransfererror.rb +0 -36
- data/lib/moov/models/components/moneytransfererror.rbi +0 -15
- data/lib/moov/models/components/moneytransferpullfromcard.rb +0 -32
- data/lib/moov/models/components/moneytransferpullfromcard.rbi +0 -13
- data/lib/moov/models/components/moneytransferpullfromcarderror.rb +0 -32
- data/lib/moov/models/components/moneytransferpullfromcarderror.rbi +0 -13
- data/lib/moov/models/components/moneytransferpushtocard.rb +0 -32
- data/lib/moov/models/components/moneytransferpushtocard.rbi +0 -13
- data/lib/moov/models/components/moneytransferpushtocarderror.rb +0 -32
- data/lib/moov/models/components/moneytransferpushtocarderror.rbi +0 -13
- data/lib/moov/models/components/monthlyvolumerange.rb +0 -27
- data/lib/moov/models/components/monthlyvolumerange.rbi +0 -11
- data/lib/moov/models/components/pendinglitigation.rb +0 -29
- data/lib/moov/models/components/pendinglitigation.rbi +0 -11
- data/lib/moov/models/components/refundpolicy.rb +0 -28
- data/lib/moov/models/components/refundpolicy.rbi +0 -11
- data/lib/moov/models/components/sendfunds.rb +0 -44
- data/lib/moov/models/components/sendfunds.rbi +0 -19
- data/lib/moov/models/components/sendfundsach.rb +0 -32
- data/lib/moov/models/components/sendfundsach.rbi +0 -13
- data/lib/moov/models/components/sendfundsacherror.rb +0 -32
- data/lib/moov/models/components/sendfundsacherror.rbi +0 -13
- data/lib/moov/models/components/sendfundserror.rb +0 -44
- data/lib/moov/models/components/sendfundserror.rbi +0 -19
- data/lib/moov/models/components/sendfundsinstantbank.rb +0 -32
- data/lib/moov/models/components/sendfundsinstantbank.rbi +0 -13
- data/lib/moov/models/components/sendfundsinstantbankerror.rb +0 -32
- data/lib/moov/models/components/sendfundsinstantbankerror.rbi +0 -13
- data/lib/moov/models/components/sendfundspushtocard.rb +0 -32
- data/lib/moov/models/components/sendfundspushtocard.rbi +0 -13
- data/lib/moov/models/components/sendfundspushtocarderror.rb +0 -32
- data/lib/moov/models/components/sendfundspushtocarderror.rbi +0 -13
- data/lib/moov/models/components/sendfundsrtp.rb +0 -32
- data/lib/moov/models/components/sendfundsrtp.rbi +0 -13
- data/lib/moov/models/components/sendfundsrtperror.rb +0 -32
- data/lib/moov/models/components/sendfundsrtperror.rbi +0 -13
- data/lib/moov/models/components/submissionintent.rb +0 -21
- data/lib/moov/models/components/submissionintent.rbi +0 -11
- data/lib/moov/models/components/terminalcard.rb +0 -78
- data/lib/moov/models/components/terminalcard.rbi +0 -35
- data/lib/moov/models/components/ticket.rb +0 -68
- data/lib/moov/models/components/ticket.rbi +0 -31
- data/lib/moov/models/components/ticketcontact.rb +0 -36
- data/lib/moov/models/components/ticketcontact.rbi +0 -15
- data/lib/moov/models/components/ticketmessage.rb +0 -40
- data/lib/moov/models/components/ticketmessage.rbi +0 -17
- data/lib/moov/models/components/updateinvoice.rb +0 -54
- data/lib/moov/models/components/updateinvoice.rbi +0 -23
- data/lib/moov/models/components/updateticket.rb +0 -32
- data/lib/moov/models/components/updateticket.rbi +0 -13
- data/lib/moov/models/components/updateticketstatus.rb +0 -20
- data/lib/moov/models/components/updateticketstatus.rbi +0 -11
- data/lib/moov/models/components/upsertunderwriting.rb +0 -60
- data/lib/moov/models/components/upsertunderwriting.rbi +0 -27
- data/lib/moov/models/components/volumesharebycustomertype.rb +0 -40
- data/lib/moov/models/components/volumesharebycustomertype.rbi +0 -17
- data/lib/moov/models/components/volumesharebycustomertypeerror.rb +0 -40
- data/lib/moov/models/components/volumesharebycustomertypeerror.rbi +0 -17
- data/lib/moov/models/errors/createinvoiceerror.rb +0 -56
- data/lib/moov/models/errors/createinvoiceerror.rbi +0 -25
- data/lib/moov/models/errors/createinvoicepaymenterror.rb +0 -48
- data/lib/moov/models/errors/createinvoicepaymenterror.rbi +0 -21
- data/lib/moov/models/errors/createticketerror.rb +0 -52
- data/lib/moov/models/errors/createticketerror.rbi +0 -23
- data/lib/moov/models/errors/listinvoicesvalidationerror.rb +0 -64
- data/lib/moov/models/errors/listinvoicesvalidationerror.rbi +0 -29
- data/lib/moov/models/errors/updateinvoiceerror.rb +0 -56
- data/lib/moov/models/errors/updateinvoiceerror.rbi +0 -25
- data/lib/moov/models/errors/updateticketerror.rb +0 -36
- data/lib/moov/models/errors/updateticketerror.rbi +0 -15
- data/lib/moov/models/errors/upsertunderwritingerror.rb +0 -88
- data/lib/moov/models/errors/upsertunderwritingerror.rbi +0 -41
- data/lib/moov/models/operations/createinvoice_request.rb +0 -49
- data/lib/moov/models/operations/createinvoice_request.rbi +0 -17
- data/lib/moov/models/operations/createinvoice_response.rb +0 -48
- data/lib/moov/models/operations/createinvoice_response.rbi +0 -21
- data/lib/moov/models/operations/createinvoicepayment_request.rb +0 -53
- data/lib/moov/models/operations/createinvoicepayment_request.rbi +0 -19
- data/lib/moov/models/operations/createinvoicepayment_response.rb +0 -48
- data/lib/moov/models/operations/createinvoicepayment_response.rbi +0 -21
- data/lib/moov/models/operations/createticket_request.rb +0 -49
- data/lib/moov/models/operations/createticket_request.rbi +0 -17
- data/lib/moov/models/operations/createticket_response.rb +0 -48
- data/lib/moov/models/operations/createticket_response.rbi +0 -21
- data/lib/moov/models/operations/getinvoice_request.rb +0 -49
- data/lib/moov/models/operations/getinvoice_request.rbi +0 -17
- data/lib/moov/models/operations/getinvoice_response.rb +0 -48
- data/lib/moov/models/operations/getinvoice_response.rbi +0 -21
- data/lib/moov/models/operations/getticket_request.rb +0 -49
- data/lib/moov/models/operations/getticket_request.rbi +0 -17
- data/lib/moov/models/operations/getticket_response.rb +0 -48
- data/lib/moov/models/operations/getticket_response.rbi +0 -21
- data/lib/moov/models/operations/listinvoicepayments_request.rb +0 -49
- data/lib/moov/models/operations/listinvoicepayments_request.rbi +0 -17
- data/lib/moov/models/operations/listinvoicepayments_response.rb +0 -48
- data/lib/moov/models/operations/listinvoicepayments_response.rbi +0 -21
- data/lib/moov/models/operations/listinvoices_request.rb +0 -77
- data/lib/moov/models/operations/listinvoices_request.rbi +0 -31
- data/lib/moov/models/operations/listinvoices_response.rb +0 -48
- data/lib/moov/models/operations/listinvoices_response.rbi +0 -21
- data/lib/moov/models/operations/listticketmessages_request.rb +0 -49
- data/lib/moov/models/operations/listticketmessages_request.rbi +0 -17
- data/lib/moov/models/operations/listticketmessages_response.rb +0 -48
- data/lib/moov/models/operations/listticketmessages_response.rbi +0 -21
- data/lib/moov/models/operations/listtickets_request.rb +0 -61
- data/lib/moov/models/operations/listtickets_request.rbi +0 -23
- data/lib/moov/models/operations/listtickets_response.rb +0 -48
- data/lib/moov/models/operations/listtickets_response.rbi +0 -21
- data/lib/moov/models/operations/listtickets_responsebody.rb +0 -36
- data/lib/moov/models/operations/listtickets_responsebody.rbi +0 -15
- data/lib/moov/models/operations/saveunderwriting_request.rb +0 -49
- data/lib/moov/models/operations/saveunderwriting_request.rbi +0 -17
- data/lib/moov/models/operations/saveunderwriting_response.rb +0 -48
- data/lib/moov/models/operations/saveunderwriting_response.rbi +0 -21
- data/lib/moov/models/operations/updateinvoice_request.rb +0 -53
- data/lib/moov/models/operations/updateinvoice_request.rbi +0 -19
- data/lib/moov/models/operations/updateinvoice_response.rb +0 -48
- data/lib/moov/models/operations/updateinvoice_response.rbi +0 -21
- data/lib/moov/models/operations/updateticket_request.rb +0 -53
- data/lib/moov/models/operations/updateticket_request.rbi +0 -19
- data/lib/moov/models/operations/updateticket_response.rb +0 -48
- data/lib/moov/models/operations/updateticket_response.rbi +0 -21
- data/lib/moov/support.rb +0 -748
|
@@ -1,53 +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 Operations
|
|
10
|
-
|
|
11
|
-
class CreateInvoicePaymentRequest
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
|
-
|
|
18
|
-
field :invoice_id, ::String, { 'path_param': { 'field_name': 'invoiceID', 'style': 'simple', 'explode': false } }
|
|
19
|
-
|
|
20
|
-
field :create_invoice_payment, Models::Components::CreateInvoicePayment, { 'request': { 'media_type': 'application/json' } }
|
|
21
|
-
# Specify an API version.
|
|
22
|
-
#
|
|
23
|
-
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
24
|
-
# - `YYYY` is the year
|
|
25
|
-
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
26
|
-
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
27
|
-
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
28
|
-
#
|
|
29
|
-
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
30
|
-
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
31
|
-
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
32
|
-
|
|
33
|
-
sig { params(account_id: ::String, invoice_id: ::String, create_invoice_payment: Models::Components::CreateInvoicePayment, x_moov_version: T.nilable(::String)).void }
|
|
34
|
-
def initialize(account_id:, invoice_id:, create_invoice_payment:, x_moov_version: nil)
|
|
35
|
-
@account_id = account_id
|
|
36
|
-
@invoice_id = invoice_id
|
|
37
|
-
@create_invoice_payment = create_invoice_payment
|
|
38
|
-
@x_moov_version = x_moov_version
|
|
39
|
-
end
|
|
40
|
-
|
|
41
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
42
|
-
def ==(other)
|
|
43
|
-
return false unless other.is_a? self.class
|
|
44
|
-
return false unless @account_id == other.account_id
|
|
45
|
-
return false unless @invoice_id == other.invoice_id
|
|
46
|
-
return false unless @create_invoice_payment == other.create_invoice_payment
|
|
47
|
-
return false unless @x_moov_version == other.x_moov_version
|
|
48
|
-
true
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
end
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::CreateInvoicePaymentRequest
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::CreateInvoicePaymentRequest
|
|
11
|
-
def account_id(); end
|
|
12
|
-
def account_id=(str_); end
|
|
13
|
-
def invoice_id(); end
|
|
14
|
-
def invoice_id=(str_); end
|
|
15
|
-
def create_invoice_payment(); end
|
|
16
|
-
def create_invoice_payment=(str_); end
|
|
17
|
-
def x_moov_version(); end
|
|
18
|
-
def x_moov_version=(str_); end
|
|
19
|
-
end
|
|
@@ -1,48 +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 Operations
|
|
10
|
-
|
|
11
|
-
class CreateInvoicePaymentResponse
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# HTTP response content type for this operation
|
|
16
|
-
field :content_type, ::String
|
|
17
|
-
# HTTP response status code for this operation
|
|
18
|
-
field :status_code, ::Integer
|
|
19
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
20
|
-
field :raw_response, ::Faraday::Response
|
|
21
|
-
|
|
22
|
-
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
23
|
-
# The request completed successfully.
|
|
24
|
-
field :invoice_payment, Crystalline::Nilable.new(Models::Components::InvoicePayment)
|
|
25
|
-
|
|
26
|
-
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], invoice_payment: T.nilable(Models::Components::InvoicePayment)).void }
|
|
27
|
-
def initialize(content_type:, status_code:, raw_response:, headers:, invoice_payment: nil)
|
|
28
|
-
@content_type = content_type
|
|
29
|
-
@status_code = status_code
|
|
30
|
-
@raw_response = raw_response
|
|
31
|
-
@headers = headers
|
|
32
|
-
@invoice_payment = invoice_payment
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
36
|
-
def ==(other)
|
|
37
|
-
return false unless other.is_a? self.class
|
|
38
|
-
return false unless @content_type == other.content_type
|
|
39
|
-
return false unless @status_code == other.status_code
|
|
40
|
-
return false unless @raw_response == other.raw_response
|
|
41
|
-
return false unless @headers == other.headers
|
|
42
|
-
return false unless @invoice_payment == other.invoice_payment
|
|
43
|
-
true
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::CreateInvoicePaymentResponse
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::CreateInvoicePaymentResponse
|
|
11
|
-
def content_type(); end
|
|
12
|
-
def content_type=(str_); end
|
|
13
|
-
def status_code(); end
|
|
14
|
-
def status_code=(str_); end
|
|
15
|
-
def raw_response(); end
|
|
16
|
-
def raw_response=(str_); end
|
|
17
|
-
def headers(); end
|
|
18
|
-
def headers=(str_); end
|
|
19
|
-
def invoice_payment(); end
|
|
20
|
-
def invoice_payment=(str_); end
|
|
21
|
-
end
|
|
@@ -1,49 +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 Operations
|
|
10
|
-
|
|
11
|
-
class CreateTicketRequest
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
|
-
|
|
18
|
-
field :create_ticket, Models::Components::CreateTicket, { 'request': { 'media_type': 'application/json' } }
|
|
19
|
-
# Specify an API version.
|
|
20
|
-
#
|
|
21
|
-
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
22
|
-
# - `YYYY` is the year
|
|
23
|
-
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
24
|
-
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
25
|
-
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
26
|
-
#
|
|
27
|
-
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
28
|
-
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
29
|
-
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
30
|
-
|
|
31
|
-
sig { params(account_id: ::String, create_ticket: Models::Components::CreateTicket, x_moov_version: T.nilable(::String)).void }
|
|
32
|
-
def initialize(account_id:, create_ticket:, x_moov_version: nil)
|
|
33
|
-
@account_id = account_id
|
|
34
|
-
@create_ticket = create_ticket
|
|
35
|
-
@x_moov_version = x_moov_version
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
39
|
-
def ==(other)
|
|
40
|
-
return false unless other.is_a? self.class
|
|
41
|
-
return false unless @account_id == other.account_id
|
|
42
|
-
return false unless @create_ticket == other.create_ticket
|
|
43
|
-
return false unless @x_moov_version == other.x_moov_version
|
|
44
|
-
true
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::CreateTicketRequest
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::CreateTicketRequest
|
|
11
|
-
def account_id(); end
|
|
12
|
-
def account_id=(str_); end
|
|
13
|
-
def create_ticket(); end
|
|
14
|
-
def create_ticket=(str_); end
|
|
15
|
-
def x_moov_version(); end
|
|
16
|
-
def x_moov_version=(str_); end
|
|
17
|
-
end
|
|
@@ -1,48 +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 Operations
|
|
10
|
-
|
|
11
|
-
class CreateTicketResponse
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# HTTP response content type for this operation
|
|
16
|
-
field :content_type, ::String
|
|
17
|
-
# HTTP response status code for this operation
|
|
18
|
-
field :status_code, ::Integer
|
|
19
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
20
|
-
field :raw_response, ::Faraday::Response
|
|
21
|
-
|
|
22
|
-
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
23
|
-
# The request completed successfully.
|
|
24
|
-
field :ticket, Crystalline::Nilable.new(Models::Components::Ticket)
|
|
25
|
-
|
|
26
|
-
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], ticket: T.nilable(Models::Components::Ticket)).void }
|
|
27
|
-
def initialize(content_type:, status_code:, raw_response:, headers:, ticket: nil)
|
|
28
|
-
@content_type = content_type
|
|
29
|
-
@status_code = status_code
|
|
30
|
-
@raw_response = raw_response
|
|
31
|
-
@headers = headers
|
|
32
|
-
@ticket = ticket
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
36
|
-
def ==(other)
|
|
37
|
-
return false unless other.is_a? self.class
|
|
38
|
-
return false unless @content_type == other.content_type
|
|
39
|
-
return false unless @status_code == other.status_code
|
|
40
|
-
return false unless @raw_response == other.raw_response
|
|
41
|
-
return false unless @headers == other.headers
|
|
42
|
-
return false unless @ticket == other.ticket
|
|
43
|
-
true
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::CreateTicketResponse
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::CreateTicketResponse
|
|
11
|
-
def content_type(); end
|
|
12
|
-
def content_type=(str_); end
|
|
13
|
-
def status_code(); end
|
|
14
|
-
def status_code=(str_); end
|
|
15
|
-
def raw_response(); end
|
|
16
|
-
def raw_response=(str_); end
|
|
17
|
-
def headers(); end
|
|
18
|
-
def headers=(str_); end
|
|
19
|
-
def ticket(); end
|
|
20
|
-
def ticket=(str_); end
|
|
21
|
-
end
|
|
@@ -1,49 +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 Operations
|
|
10
|
-
|
|
11
|
-
class GetInvoiceRequest
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
|
-
|
|
18
|
-
field :invoice_id, ::String, { 'path_param': { 'field_name': 'invoiceID', 'style': 'simple', 'explode': false } }
|
|
19
|
-
# Specify an API version.
|
|
20
|
-
#
|
|
21
|
-
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
22
|
-
# - `YYYY` is the year
|
|
23
|
-
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
24
|
-
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
25
|
-
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
26
|
-
#
|
|
27
|
-
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
28
|
-
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
29
|
-
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
30
|
-
|
|
31
|
-
sig { params(account_id: ::String, invoice_id: ::String, x_moov_version: T.nilable(::String)).void }
|
|
32
|
-
def initialize(account_id:, invoice_id:, x_moov_version: nil)
|
|
33
|
-
@account_id = account_id
|
|
34
|
-
@invoice_id = invoice_id
|
|
35
|
-
@x_moov_version = x_moov_version
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
39
|
-
def ==(other)
|
|
40
|
-
return false unless other.is_a? self.class
|
|
41
|
-
return false unless @account_id == other.account_id
|
|
42
|
-
return false unless @invoice_id == other.invoice_id
|
|
43
|
-
return false unless @x_moov_version == other.x_moov_version
|
|
44
|
-
true
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::GetInvoiceRequest
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::GetInvoiceRequest
|
|
11
|
-
def account_id(); end
|
|
12
|
-
def account_id=(str_); end
|
|
13
|
-
def invoice_id(); end
|
|
14
|
-
def invoice_id=(str_); end
|
|
15
|
-
def x_moov_version(); end
|
|
16
|
-
def x_moov_version=(str_); end
|
|
17
|
-
end
|
|
@@ -1,48 +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 Operations
|
|
10
|
-
|
|
11
|
-
class GetInvoiceResponse
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# HTTP response content type for this operation
|
|
16
|
-
field :content_type, ::String
|
|
17
|
-
# HTTP response status code for this operation
|
|
18
|
-
field :status_code, ::Integer
|
|
19
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
20
|
-
field :raw_response, ::Faraday::Response
|
|
21
|
-
|
|
22
|
-
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
23
|
-
# The request completed successfully.
|
|
24
|
-
field :invoice, Crystalline::Nilable.new(Models::Components::Invoice)
|
|
25
|
-
|
|
26
|
-
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], invoice: T.nilable(Models::Components::Invoice)).void }
|
|
27
|
-
def initialize(content_type:, status_code:, raw_response:, headers:, invoice: nil)
|
|
28
|
-
@content_type = content_type
|
|
29
|
-
@status_code = status_code
|
|
30
|
-
@raw_response = raw_response
|
|
31
|
-
@headers = headers
|
|
32
|
-
@invoice = invoice
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
36
|
-
def ==(other)
|
|
37
|
-
return false unless other.is_a? self.class
|
|
38
|
-
return false unless @content_type == other.content_type
|
|
39
|
-
return false unless @status_code == other.status_code
|
|
40
|
-
return false unless @raw_response == other.raw_response
|
|
41
|
-
return false unless @headers == other.headers
|
|
42
|
-
return false unless @invoice == other.invoice
|
|
43
|
-
true
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::GetInvoiceResponse
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::GetInvoiceResponse
|
|
11
|
-
def content_type(); end
|
|
12
|
-
def content_type=(str_); end
|
|
13
|
-
def status_code(); end
|
|
14
|
-
def status_code=(str_); end
|
|
15
|
-
def raw_response(); end
|
|
16
|
-
def raw_response=(str_); end
|
|
17
|
-
def headers(); end
|
|
18
|
-
def headers=(str_); end
|
|
19
|
-
def invoice(); end
|
|
20
|
-
def invoice=(str_); end
|
|
21
|
-
end
|
|
@@ -1,49 +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 Operations
|
|
10
|
-
|
|
11
|
-
class GetTicketRequest
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
|
-
|
|
18
|
-
field :ticket_id, ::String, { 'path_param': { 'field_name': 'ticketID', 'style': 'simple', 'explode': false } }
|
|
19
|
-
# Specify an API version.
|
|
20
|
-
#
|
|
21
|
-
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
22
|
-
# - `YYYY` is the year
|
|
23
|
-
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
24
|
-
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
25
|
-
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
26
|
-
#
|
|
27
|
-
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
28
|
-
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
29
|
-
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
30
|
-
|
|
31
|
-
sig { params(account_id: ::String, ticket_id: ::String, x_moov_version: T.nilable(::String)).void }
|
|
32
|
-
def initialize(account_id:, ticket_id:, x_moov_version: nil)
|
|
33
|
-
@account_id = account_id
|
|
34
|
-
@ticket_id = ticket_id
|
|
35
|
-
@x_moov_version = x_moov_version
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
39
|
-
def ==(other)
|
|
40
|
-
return false unless other.is_a? self.class
|
|
41
|
-
return false unless @account_id == other.account_id
|
|
42
|
-
return false unless @ticket_id == other.ticket_id
|
|
43
|
-
return false unless @x_moov_version == other.x_moov_version
|
|
44
|
-
true
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::GetTicketRequest
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::GetTicketRequest
|
|
11
|
-
def account_id(); end
|
|
12
|
-
def account_id=(str_); end
|
|
13
|
-
def ticket_id(); end
|
|
14
|
-
def ticket_id=(str_); end
|
|
15
|
-
def x_moov_version(); end
|
|
16
|
-
def x_moov_version=(str_); end
|
|
17
|
-
end
|
|
@@ -1,48 +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 Operations
|
|
10
|
-
|
|
11
|
-
class GetTicketResponse
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# HTTP response content type for this operation
|
|
16
|
-
field :content_type, ::String
|
|
17
|
-
# HTTP response status code for this operation
|
|
18
|
-
field :status_code, ::Integer
|
|
19
|
-
# Raw HTTP response; suitable for custom response parsing
|
|
20
|
-
field :raw_response, ::Faraday::Response
|
|
21
|
-
|
|
22
|
-
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
23
|
-
# The request completed successfully.
|
|
24
|
-
field :ticket, Crystalline::Nilable.new(Models::Components::Ticket)
|
|
25
|
-
|
|
26
|
-
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], ticket: T.nilable(Models::Components::Ticket)).void }
|
|
27
|
-
def initialize(content_type:, status_code:, raw_response:, headers:, ticket: nil)
|
|
28
|
-
@content_type = content_type
|
|
29
|
-
@status_code = status_code
|
|
30
|
-
@raw_response = raw_response
|
|
31
|
-
@headers = headers
|
|
32
|
-
@ticket = ticket
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
36
|
-
def ==(other)
|
|
37
|
-
return false unless other.is_a? self.class
|
|
38
|
-
return false unless @content_type == other.content_type
|
|
39
|
-
return false unless @status_code == other.status_code
|
|
40
|
-
return false unless @raw_response == other.raw_response
|
|
41
|
-
return false unless @headers == other.headers
|
|
42
|
-
return false unless @ticket == other.ticket
|
|
43
|
-
true
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::GetTicketResponse
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::GetTicketResponse
|
|
11
|
-
def content_type(); end
|
|
12
|
-
def content_type=(str_); end
|
|
13
|
-
def status_code(); end
|
|
14
|
-
def status_code=(str_); end
|
|
15
|
-
def raw_response(); end
|
|
16
|
-
def raw_response=(str_); end
|
|
17
|
-
def headers(); end
|
|
18
|
-
def headers=(str_); end
|
|
19
|
-
def ticket(); end
|
|
20
|
-
def ticket=(str_); end
|
|
21
|
-
end
|
|
@@ -1,49 +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 Operations
|
|
10
|
-
|
|
11
|
-
class ListInvoicePaymentsRequest
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
|
-
|
|
18
|
-
field :invoice_id, ::String, { 'path_param': { 'field_name': 'invoiceID', 'style': 'simple', 'explode': false } }
|
|
19
|
-
# Specify an API version.
|
|
20
|
-
#
|
|
21
|
-
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
22
|
-
# - `YYYY` is the year
|
|
23
|
-
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
24
|
-
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
25
|
-
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
26
|
-
#
|
|
27
|
-
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
28
|
-
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
29
|
-
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
30
|
-
|
|
31
|
-
sig { params(account_id: ::String, invoice_id: ::String, x_moov_version: T.nilable(::String)).void }
|
|
32
|
-
def initialize(account_id:, invoice_id:, x_moov_version: nil)
|
|
33
|
-
@account_id = account_id
|
|
34
|
-
@invoice_id = invoice_id
|
|
35
|
-
@x_moov_version = x_moov_version
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
39
|
-
def ==(other)
|
|
40
|
-
return false unless other.is_a? self.class
|
|
41
|
-
return false unless @account_id == other.account_id
|
|
42
|
-
return false unless @invoice_id == other.invoice_id
|
|
43
|
-
return false unless @x_moov_version == other.x_moov_version
|
|
44
|
-
true
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::ListInvoicePaymentsRequest
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::ListInvoicePaymentsRequest
|
|
11
|
-
def account_id(); end
|
|
12
|
-
def account_id=(str_); end
|
|
13
|
-
def invoice_id(); end
|
|
14
|
-
def invoice_id=(str_); end
|
|
15
|
-
def x_moov_version(); end
|
|
16
|
-
def x_moov_version=(str_); end
|
|
17
|
-
end
|