moov_ruby 0.3.2 → 0.3.3
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/createaccount.rb +2 -2
- data/lib/moov/models/components/createdtransfer.rb +7 -2
- data/lib/moov/models/components/createdtransfer.rbi +2 -0
- data/lib/moov/models/components/createpaymentlink.rb +7 -2
- data/lib/moov/models/components/createpaymentlink.rbi +2 -0
- data/lib/moov/models/components/createtransfer.rb +7 -2
- data/lib/moov/models/components/createtransfer.rbi +2 -0
- data/lib/moov/models/components/instantpaymentfees.rb +6 -2
- data/lib/moov/models/components/instantpaymentfees.rbi +2 -0
- data/lib/moov/models/components/patchaccount.rb +2 -2
- data/lib/moov/models/components/paymentdetailserror.rb +6 -2
- data/lib/moov/models/components/paymentdetailserror.rbi +2 -0
- data/lib/moov/models/components/paymentlink.rb +11 -2
- data/lib/moov/models/components/paymentlink.rbi +4 -0
- data/lib/moov/models/components/paymentlinklineitem.rb +49 -0
- data/lib/moov/models/components/paymentlinklineitem.rbi +21 -0
- data/lib/moov/models/components/paymentlinklineitemoption.rb +45 -0
- data/lib/moov/models/components/paymentlinklineitemoption.rbi +19 -0
- data/lib/moov/models/components/paymentlinklineitemoptionvalidationerror.rb +45 -0
- data/lib/moov/models/components/paymentlinklineitemoptionvalidationerror.rbi +19 -0
- data/lib/moov/models/components/paymentlinklineitems.rb +34 -0
- data/lib/moov/models/components/paymentlinklineitems.rbi +13 -0
- data/lib/moov/models/components/paymentlinklineitemsupdate.rb +34 -0
- data/lib/moov/models/components/paymentlinklineitemsupdate.rbi +13 -0
- data/lib/moov/models/components/paymentlinklineitemsvalidationerror.rb +33 -0
- data/lib/moov/models/components/paymentlinklineitemsvalidationerror.rbi +13 -0
- data/lib/moov/models/components/paymentlinklineitemvalidationerror.rb +49 -0
- data/lib/moov/models/components/paymentlinklineitemvalidationerror.rbi +21 -0
- data/lib/moov/models/components/paymentlinkpaymentdetails.rb +6 -2
- data/lib/moov/models/components/paymentlinkpaymentdetails.rbi +2 -0
- data/lib/moov/models/components/paymentlinkpaymentdetailsupdate.rb +6 -2
- data/lib/moov/models/components/paymentlinkpaymentdetailsupdate.rbi +2 -0
- data/lib/moov/models/components/paymentlinkpayoutdetails.rb +6 -2
- data/lib/moov/models/components/paymentlinkpayoutdetails.rbi +2 -0
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rb +6 -2
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rbi +2 -0
- data/lib/moov/models/components/paymentlinktype.rb +22 -0
- data/lib/moov/models/components/paymentlinktype.rbi +11 -0
- data/lib/moov/models/components/payoutdetailserror.rb +6 -2
- data/lib/moov/models/components/payoutdetailserror.rbi +2 -0
- data/lib/moov/models/components/{termsofservicetokenupdate.rb → termsofservicepayload.rb} +8 -4
- data/lib/moov/models/components/termsofservicepayload.rbi +15 -0
- data/lib/moov/models/components/termsofservicepayloadupdate.rb +37 -0
- data/lib/moov/models/components/termsofservicepayloadupdate.rbi +15 -0
- data/lib/moov/models/components/transfer.rb +7 -2
- data/lib/moov/models/components/transfer.rbi +2 -0
- data/lib/moov/models/components/transferlineitem.rb +49 -0
- data/lib/moov/models/components/transferlineitem.rbi +21 -0
- data/lib/moov/models/components/transferlineitemoption.rb +45 -0
- data/lib/moov/models/components/transferlineitemoption.rbi +19 -0
- data/lib/moov/models/components/transferlineitemoptionvalidationerror.rb +45 -0
- data/lib/moov/models/components/transferlineitemoptionvalidationerror.rbi +19 -0
- data/lib/moov/models/components/transferlineitems.rb +34 -0
- data/lib/moov/models/components/transferlineitems.rbi +13 -0
- data/lib/moov/models/components/transferlineitemsvalidationerror.rb +33 -0
- data/lib/moov/models/components/transferlineitemsvalidationerror.rbi +13 -0
- data/lib/moov/models/components/transferlineitemvalidationerror.rb +49 -0
- data/lib/moov/models/components/transferlineitemvalidationerror.rbi +21 -0
- data/lib/moov/models/components/updatepaymentlink.rb +7 -2
- data/lib/moov/models/components/updatepaymentlink.rbi +2 -0
- data/lib/moov/models/components.rb +16 -3
- data/lib/moov/models/errors/createpaymentlinkerror.rb +6 -2
- data/lib/moov/models/errors/createpaymentlinkerror.rbi +2 -0
- data/lib/moov/models/errors/transfer_error.rb +7 -2
- data/lib/moov/models/errors/transfer_error.rbi +2 -0
- data/lib/moov/models/errors/transfervalidationerror.rb +6 -2
- data/lib/moov/models/errors/transfervalidationerror.rbi +2 -0
- data/lib/moov/models/errors/updatepaymentlinkerror.rb +6 -2
- data/lib/moov/models/errors/updatepaymentlinkerror.rbi +2 -0
- data/lib/moov/models/operations/acceptdispute_request.rb +2 -1
- data/lib/moov/models/operations/assignaccountcountries_request.rb +2 -1
- data/lib/moov/models/operations/cancelschedule_request.rb +2 -1
- data/lib/moov/models/operations/completebankaccountverification_request.rb +2 -1
- data/lib/moov/models/operations/completemicrodeposits_request.rb +2 -1
- data/lib/moov/models/operations/createaccesstoken_request.rb +2 -1
- data/lib/moov/models/operations/createaccount_request.rb +2 -1
- data/lib/moov/models/operations/createapplepaysession_request.rb +2 -1
- data/lib/moov/models/operations/createbrand_request.rb +2 -1
- data/lib/moov/models/operations/createcancellation_request.rb +2 -1
- data/lib/moov/models/operations/createfeeplanagreements_request.rb +2 -1
- data/lib/moov/models/operations/createonboardinginvite_request.rb +2 -1
- data/lib/moov/models/operations/createpaymentlink_request.rb +2 -1
- data/lib/moov/models/operations/createproduct_request.rb +2 -1
- data/lib/moov/models/operations/createreceipts_request.rb +2 -1
- data/lib/moov/models/operations/createrepresentative_request.rb +2 -1
- data/lib/moov/models/operations/createreversal_request.rb +7 -6
- data/lib/moov/models/operations/createreversal_request.rbi +2 -2
- data/lib/moov/models/operations/createschedule_request.rb +2 -1
- data/lib/moov/models/operations/createsweepconfig_request.rb +2 -1
- data/lib/moov/models/operations/createterminalapplication_request.rb +2 -1
- data/lib/moov/models/operations/createterminalapplicationversion_request.rb +2 -1
- data/lib/moov/models/operations/createticket_request.rb +2 -1
- data/lib/moov/models/operations/createtransfer_request.rb +8 -7
- data/lib/moov/models/operations/createtransfer_request.rbi +2 -2
- data/lib/moov/models/operations/createtransferoptions_request.rb +2 -1
- data/lib/moov/models/operations/createwallet_request.rb +2 -1
- data/lib/moov/models/operations/deletedisputeevidencefile_request.rb +2 -1
- data/lib/moov/models/operations/deleteimage_request.rb +2 -1
- data/lib/moov/models/operations/deleterepresentative_request.rb +2 -1
- data/lib/moov/models/operations/deleteterminalapplication_request.rb +2 -1
- data/lib/moov/models/operations/disablebankaccount_request.rb +2 -1
- data/lib/moov/models/operations/disablecapability_request.rb +2 -1
- data/lib/moov/models/operations/disablecard_request.rb +2 -1
- data/lib/moov/models/operations/disablepaymentlink_request.rb +2 -1
- data/lib/moov/models/operations/disableproduct_request.rb +2 -1
- data/lib/moov/models/operations/disconnectaccount_request.rb +2 -1
- data/lib/moov/models/operations/generateendtoendkey_request.rb +2 -1
- data/lib/moov/models/operations/getaccount_request.rb +2 -1
- data/lib/moov/models/operations/getaccountcountries_request.rb +2 -1
- data/lib/moov/models/operations/getaccountterminalapplication_request.rb +2 -1
- data/lib/moov/models/operations/getadjustment_request.rb +2 -1
- data/lib/moov/models/operations/getapplepaymerchantdomains_request.rb +2 -1
- data/lib/moov/models/operations/getavatar_request.rb +2 -1
- data/lib/moov/models/operations/getbankaccount_request.rb +2 -1
- data/lib/moov/models/operations/getbankaccountverification_request.rb +2 -1
- data/lib/moov/models/operations/getbrand_request.rb +2 -1
- data/lib/moov/models/operations/getcancellation_request.rb +2 -1
- data/lib/moov/models/operations/getcapability_request.rb +2 -1
- data/lib/moov/models/operations/getcard_request.rb +2 -1
- data/lib/moov/models/operations/getdispute_request.rb +2 -1
- data/lib/moov/models/operations/getdisputeevidence_request.rb +2 -1
- data/lib/moov/models/operations/getdisputeevidencedata_request.rb +2 -1
- data/lib/moov/models/operations/getenrichmentaddress_request.rb +15 -14
- data/lib/moov/models/operations/getenrichmentaddress_request.rbi +2 -2
- data/lib/moov/models/operations/getenrichmentprofile_request.rb +2 -1
- data/lib/moov/models/operations/getfiledetails_request.rb +2 -1
- data/lib/moov/models/operations/getfullissuedcard_request.rb +2 -1
- data/lib/moov/models/operations/getimagemetadata_request.rb +2 -1
- data/lib/moov/models/operations/getissuedcard_request.rb +2 -1
- data/lib/moov/models/operations/getissuedcardauthorization_request.rb +2 -1
- data/lib/moov/models/operations/getissuedcardtransaction_request.rb +2 -1
- data/lib/moov/models/operations/getmerchantprocessingagreement_request.rb +2 -1
- data/lib/moov/models/operations/getonboardinginvite_request.rb +2 -1
- data/lib/moov/models/operations/getpaymentlink_request.rb +2 -1
- data/lib/moov/models/operations/getpaymentlinkqrcode_request.rb +2 -1
- data/lib/moov/models/operations/getpaymentmethod_request.rb +2 -1
- data/lib/moov/models/operations/getproduct_request.rb +2 -1
- data/lib/moov/models/operations/getrefund_request.rb +2 -1
- data/lib/moov/models/operations/getrepresentative_request.rb +2 -1
- data/lib/moov/models/operations/getresidual_request.rb +2 -1
- data/lib/moov/models/operations/getscheduledoccurrence_request.rb +2 -1
- data/lib/moov/models/operations/getschedules_request.rb +2 -1
- data/lib/moov/models/operations/getstatement_request.rb +2 -1
- data/lib/moov/models/operations/getsweep_request.rb +2 -1
- data/lib/moov/models/operations/getsweepconfig_request.rb +2 -1
- data/lib/moov/models/operations/getterminalapplication_request.rb +2 -1
- data/lib/moov/models/operations/getterminalconfiguration_request.rb +2 -1
- data/lib/moov/models/operations/gettermsofservicetoken_request.rb +9 -8
- data/lib/moov/models/operations/gettermsofservicetoken_request.rbi +2 -2
- data/lib/moov/models/operations/getticket_request.rb +2 -1
- data/lib/moov/models/operations/gettransfer_request.rb +2 -1
- data/lib/moov/models/operations/getunderwriting_request.rb +2 -1
- data/lib/moov/models/operations/getwallet_request.rb +2 -1
- data/lib/moov/models/operations/getwallettransaction_request.rb +2 -1
- data/lib/moov/models/operations/initiatebankaccountverification_request.rb +9 -8
- data/lib/moov/models/operations/initiatebankaccountverification_request.rbi +2 -2
- data/lib/moov/models/operations/initiatemicrodeposits_request.rb +2 -1
- data/lib/moov/models/operations/initiaterefund_request.rb +10 -9
- data/lib/moov/models/operations/initiaterefund_request.rbi +2 -2
- data/lib/moov/models/operations/linkaccountterminalapplication_request.rb +2 -1
- data/lib/moov/models/operations/linkapplepaytoken_request.rb +2 -1
- data/lib/moov/models/operations/linkbankaccount_request.rb +10 -9
- data/lib/moov/models/operations/linkbankaccount_request.rbi +2 -2
- data/lib/moov/models/operations/linkcard_request.rb +10 -9
- data/lib/moov/models/operations/linkcard_request.rbi +2 -2
- data/lib/moov/models/operations/listaccounts_request.rb +15 -14
- data/lib/moov/models/operations/listaccounts_request.rbi +2 -2
- data/lib/moov/models/operations/listaccountterminalapplications_request.rb +2 -1
- data/lib/moov/models/operations/listadjustments_request.rb +7 -6
- data/lib/moov/models/operations/listadjustments_request.rbi +2 -2
- data/lib/moov/models/operations/listbankaccounts_request.rb +2 -1
- data/lib/moov/models/operations/listcapabilities_request.rb +2 -1
- data/lib/moov/models/operations/listcards_request.rb +2 -1
- data/lib/moov/models/operations/listdisputeevidence_request.rb +2 -1
- data/lib/moov/models/operations/listdisputes_request.rb +15 -14
- data/lib/moov/models/operations/listdisputes_request.rbi +2 -2
- data/lib/moov/models/operations/listfeeplanagreements_request.rb +13 -12
- data/lib/moov/models/operations/listfeeplanagreements_request.rbi +2 -2
- data/lib/moov/models/operations/listfeeplans_request.rb +7 -6
- data/lib/moov/models/operations/listfeeplans_request.rbi +2 -2
- data/lib/moov/models/operations/listfeesfetch_request.rb +7 -6
- data/lib/moov/models/operations/listfeesfetch_request.rbi +2 -2
- data/lib/moov/models/operations/listfiles_request.rb +2 -1
- data/lib/moov/models/operations/listimagemetadata_request.rb +9 -8
- data/lib/moov/models/operations/listimagemetadata_request.rbi +2 -2
- data/lib/moov/models/operations/listindustries_request.rb +2 -1
- data/lib/moov/models/operations/listinstitutions_request.rb +13 -12
- data/lib/moov/models/operations/listinstitutions_request.rbi +2 -2
- data/lib/moov/models/operations/listissuedcardauthorizationevents_request.rb +9 -8
- data/lib/moov/models/operations/listissuedcardauthorizationevents_request.rbi +2 -2
- data/lib/moov/models/operations/listissuedcardauthorizations_request.rb +15 -14
- data/lib/moov/models/operations/listissuedcardauthorizations_request.rbi +2 -2
- data/lib/moov/models/operations/listissuedcards_request.rb +11 -10
- data/lib/moov/models/operations/listissuedcards_request.rbi +2 -2
- data/lib/moov/models/operations/listissuedcardtransactions_request.rb +15 -14
- data/lib/moov/models/operations/listissuedcardtransactions_request.rbi +2 -2
- data/lib/moov/models/operations/listonboardinginvites_request.rb +2 -1
- data/lib/moov/models/operations/listpartnerpricing_request.rb +7 -6
- data/lib/moov/models/operations/listpartnerpricing_request.rbi +2 -2
- data/lib/moov/models/operations/listpartnerpricingagreements_request.rb +13 -12
- data/lib/moov/models/operations/listpartnerpricingagreements_request.rbi +2 -2
- data/lib/moov/models/operations/listpaymentlinks_request.rb +19 -2
- data/lib/moov/models/operations/listpaymentlinks_request.rbi +8 -0
- data/lib/moov/models/operations/listpaymentmethods_request.rb +12 -11
- data/lib/moov/models/operations/listpaymentmethods_request.rbi +2 -2
- data/lib/moov/models/operations/listproducts_request.rb +9 -8
- data/lib/moov/models/operations/listproducts_request.rbi +2 -2
- data/lib/moov/models/operations/listreceipts_request.rb +2 -1
- data/lib/moov/models/operations/listrefunds_request.rb +2 -1
- data/lib/moov/models/operations/listrepresentatives_request.rb +2 -1
- data/lib/moov/models/operations/listresidualfees_request.rb +13 -12
- data/lib/moov/models/operations/listresidualfees_request.rbi +2 -2
- data/lib/moov/models/operations/listresiduals_request.rb +13 -12
- data/lib/moov/models/operations/listresiduals_request.rbi +2 -2
- data/lib/moov/models/operations/listschedules_request.rb +11 -10
- data/lib/moov/models/operations/listschedules_request.rbi +2 -2
- data/lib/moov/models/operations/liststatements_request.rb +13 -12
- data/lib/moov/models/operations/liststatements_request.rbi +2 -2
- data/lib/moov/models/operations/listsweepconfigs_request.rb +2 -1
- data/lib/moov/models/operations/listsweeps_request.rb +13 -12
- data/lib/moov/models/operations/listsweeps_request.rbi +2 -2
- data/lib/moov/models/operations/listterminalapplications_request.rb +2 -1
- data/lib/moov/models/operations/listticketmessages_request.rb +2 -1
- data/lib/moov/models/operations/listtickets_request.rb +13 -12
- data/lib/moov/models/operations/listtickets_request.rbi +2 -2
- data/lib/moov/models/operations/listtransfers_request.rb +15 -14
- data/lib/moov/models/operations/listtransfers_request.rbi +2 -2
- data/lib/moov/models/operations/listwallets_request.rb +13 -12
- data/lib/moov/models/operations/listwallets_request.rbi +2 -2
- data/lib/moov/models/operations/listwallettransactions_request.rb +15 -14
- data/lib/moov/models/operations/listwallettransactions_request.rbi +2 -2
- data/lib/moov/models/operations/ping_request.rb +2 -1
- data/lib/moov/models/operations/registerapplepaymerchantdomains_request.rb +2 -1
- data/lib/moov/models/operations/requestcapabilities_request.rb +2 -1
- data/lib/moov/models/operations/requestcard_request.rb +2 -1
- data/lib/moov/models/operations/retrievefees_request.rb +15 -14
- data/lib/moov/models/operations/retrievefees_request.rbi +2 -2
- data/lib/moov/models/operations/revokeaccesstoken_request.rb +2 -1
- data/lib/moov/models/operations/revokeonboardinginvite_request.rb +2 -1
- data/lib/moov/models/operations/saveunderwriting_request.rb +2 -1
- data/lib/moov/models/operations/searchinstitutions_request.rb +11 -10
- data/lib/moov/models/operations/searchinstitutions_request.rbi +2 -2
- data/lib/moov/models/operations/submitdisputeevidence_request.rb +2 -1
- data/lib/moov/models/operations/testendtoendtoken_request.rb +2 -1
- data/lib/moov/models/operations/updateaccount_request.rb +2 -1
- data/lib/moov/models/operations/updateapplepaymerchantdomains_request.rb +2 -1
- data/lib/moov/models/operations/updatebrand_request.rb +2 -1
- data/lib/moov/models/operations/updatecard_request.rb +2 -1
- data/lib/moov/models/operations/updatedisputeevidence_request.rb +2 -1
- data/lib/moov/models/operations/updateimage_request.rb +2 -1
- data/lib/moov/models/operations/updateimagemetadata_request.rb +2 -1
- data/lib/moov/models/operations/updateissuedcard_request.rb +2 -1
- data/lib/moov/models/operations/updatepaymentlink_request.rb +2 -1
- data/lib/moov/models/operations/updateproduct_request.rb +2 -1
- data/lib/moov/models/operations/updaterepresentative_request.rb +2 -1
- data/lib/moov/models/operations/updateschedule_request.rb +2 -1
- data/lib/moov/models/operations/updatesweepconfig_request.rb +2 -1
- data/lib/moov/models/operations/updateticket_request.rb +2 -1
- data/lib/moov/models/operations/updatetransfer_request.rb +2 -1
- data/lib/moov/models/operations/updatewallet_request.rb +2 -1
- data/lib/moov/models/operations/uploaddisputeevidencefile_request.rb +2 -1
- data/lib/moov/models/operations/uploaddisputeevidencetext_request.rb +2 -1
- data/lib/moov/models/operations/uploadfile_request.rb +2 -1
- data/lib/moov/models/operations/uploadimage_request.rb +2 -1
- data/lib/moov/models/operations/upsertbrand_request.rb +2 -1
- data/lib/moov/models/operations/upsertunderwriting_request.rb +2 -1
- data/lib/moov/payment_links.rb +4 -6
- data/lib/moov/sdk_hooks/moov_version.rb +26 -0
- data/lib/moov/sdk_hooks/registration.rb +3 -6
- data/lib/moov/sdkconfiguration.rb +3 -3
- metadata +35 -8
- data/lib/moov/models/components/createaccount_termsofservice.rb +0 -28
- data/lib/moov/models/components/createaccount_termsofservice.rbi +0 -11
- data/lib/moov/models/components/patchaccount_termsofservice.rb +0 -28
- data/lib/moov/models/components/patchaccount_termsofservice.rbi +0 -11
- data/lib/moov/models/components/termsofservicetokenupdate.rbi +0 -13
|
@@ -15,14 +15,6 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
18
|
-
# Optional date-time which inclusively filters all statements where billing period is on or after this date-time.
|
|
19
|
-
field :billing_period_start_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'billingPeriodStartDateTime', 'style': 'form', 'explode': false } }
|
|
20
|
-
# Optional date-time which exclusively filters all statements where billing period is before this date-time.
|
|
21
|
-
field :billing_period_end_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'billingPeriodEndDateTime', 'style': 'form', 'explode': false } }
|
|
22
|
-
|
|
23
|
-
field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
|
|
24
|
-
|
|
25
|
-
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
26
18
|
# Specify an API version.
|
|
27
19
|
#
|
|
28
20
|
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
@@ -32,27 +24,36 @@ module Moov
|
|
|
32
24
|
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
33
25
|
#
|
|
34
26
|
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
27
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
35
28
|
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
29
|
+
# Optional date-time which inclusively filters all statements where billing period is on or after this date-time.
|
|
30
|
+
field :billing_period_start_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'billingPeriodStartDateTime', 'style': 'form', 'explode': false } }
|
|
31
|
+
# Optional date-time which exclusively filters all statements where billing period is before this date-time.
|
|
32
|
+
field :billing_period_end_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'billingPeriodEndDateTime', 'style': 'form', 'explode': false } }
|
|
33
|
+
|
|
34
|
+
field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
|
|
35
|
+
|
|
36
|
+
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
36
37
|
|
|
37
|
-
sig { params(account_id: ::String,
|
|
38
|
-
def initialize(account_id:, billing_period_start_date_time: nil, billing_period_end_date_time: nil, skip: nil, count: nil
|
|
38
|
+
sig { params(account_id: ::String, x_moov_version: T.nilable(::String), billing_period_start_date_time: T.nilable(::DateTime), billing_period_end_date_time: T.nilable(::DateTime), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
|
|
39
|
+
def initialize(account_id:, x_moov_version: nil, billing_period_start_date_time: nil, billing_period_end_date_time: nil, skip: nil, count: nil)
|
|
39
40
|
@account_id = account_id
|
|
41
|
+
@x_moov_version = x_moov_version
|
|
40
42
|
@billing_period_start_date_time = billing_period_start_date_time
|
|
41
43
|
@billing_period_end_date_time = billing_period_end_date_time
|
|
42
44
|
@skip = skip
|
|
43
45
|
@count = count
|
|
44
|
-
@x_moov_version = x_moov_version
|
|
45
46
|
end
|
|
46
47
|
|
|
47
48
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
48
49
|
def ==(other)
|
|
49
50
|
return false unless other.is_a? self.class
|
|
50
51
|
return false unless @account_id == other.account_id
|
|
52
|
+
return false unless @x_moov_version == other.x_moov_version
|
|
51
53
|
return false unless @billing_period_start_date_time == other.billing_period_start_date_time
|
|
52
54
|
return false unless @billing_period_end_date_time == other.billing_period_end_date_time
|
|
53
55
|
return false unless @skip == other.skip
|
|
54
56
|
return false unless @count == other.count
|
|
55
|
-
return false unless @x_moov_version == other.x_moov_version
|
|
56
57
|
true
|
|
57
58
|
end
|
|
58
59
|
end
|
|
@@ -10,6 +10,8 @@ end
|
|
|
10
10
|
class Moov::Models::Operations::ListStatementsRequest
|
|
11
11
|
def account_id(); end
|
|
12
12
|
def account_id=(str_); end
|
|
13
|
+
def x_moov_version(); end
|
|
14
|
+
def x_moov_version=(str_); end
|
|
13
15
|
def billing_period_start_date_time(); end
|
|
14
16
|
def billing_period_start_date_time=(str_); end
|
|
15
17
|
def billing_period_end_date_time(); end
|
|
@@ -18,6 +20,4 @@ class Moov::Models::Operations::ListStatementsRequest
|
|
|
18
20
|
def skip=(str_); end
|
|
19
21
|
def count(); end
|
|
20
22
|
def count=(str_); end
|
|
21
|
-
def x_moov_version(); end
|
|
22
|
-
def x_moov_version=(str_); end
|
|
23
23
|
end
|
|
@@ -24,10 +24,11 @@ module Moov
|
|
|
24
24
|
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
25
25
|
#
|
|
26
26
|
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
27
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
27
28
|
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
28
29
|
|
|
29
30
|
sig { params(account_id: ::String, x_moov_version: T.nilable(::String)).void }
|
|
30
|
-
def initialize(account_id:, x_moov_version:
|
|
31
|
+
def initialize(account_id:, x_moov_version: nil)
|
|
31
32
|
@account_id = account_id
|
|
32
33
|
@x_moov_version = x_moov_version
|
|
33
34
|
end
|
|
@@ -17,14 +17,6 @@ module Moov
|
|
|
17
17
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
18
18
|
|
|
19
19
|
field :wallet_id, ::String, { 'path_param': { 'field_name': 'walletID', 'style': 'simple', 'explode': false } }
|
|
20
|
-
|
|
21
|
-
field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
|
|
22
|
-
|
|
23
|
-
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
24
|
-
# Optional parameter to filter by sweep status.
|
|
25
|
-
field :status, Crystalline::Nilable.new(Models::Components::SweepStatus), { 'query_param': { 'field_name': 'status', 'style': 'form', 'explode': false } }
|
|
26
|
-
# Optional string to filter by statement descriptor.
|
|
27
|
-
field :statement_descriptor, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'statementDescriptor', 'style': 'form', 'explode': false } }
|
|
28
20
|
# Specify an API version.
|
|
29
21
|
#
|
|
30
22
|
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
@@ -34,17 +26,26 @@ module Moov
|
|
|
34
26
|
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
35
27
|
#
|
|
36
28
|
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
29
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
37
30
|
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
38
31
|
|
|
39
|
-
|
|
40
|
-
|
|
32
|
+
field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
|
|
33
|
+
|
|
34
|
+
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
35
|
+
# Optional parameter to filter by sweep status.
|
|
36
|
+
field :status, Crystalline::Nilable.new(Models::Components::SweepStatus), { 'query_param': { 'field_name': 'status', 'style': 'form', 'explode': false } }
|
|
37
|
+
# Optional string to filter by statement descriptor.
|
|
38
|
+
field :statement_descriptor, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'statementDescriptor', 'style': 'form', 'explode': false } }
|
|
39
|
+
|
|
40
|
+
sig { params(account_id: ::String, wallet_id: ::String, x_moov_version: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer), status: T.nilable(Models::Components::SweepStatus), statement_descriptor: T.nilable(::String)).void }
|
|
41
|
+
def initialize(account_id:, wallet_id:, x_moov_version: nil, skip: nil, count: nil, status: nil, statement_descriptor: nil)
|
|
41
42
|
@account_id = account_id
|
|
42
43
|
@wallet_id = wallet_id
|
|
44
|
+
@x_moov_version = x_moov_version
|
|
43
45
|
@skip = skip
|
|
44
46
|
@count = count
|
|
45
47
|
@status = status
|
|
46
48
|
@statement_descriptor = statement_descriptor
|
|
47
|
-
@x_moov_version = x_moov_version
|
|
48
49
|
end
|
|
49
50
|
|
|
50
51
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -52,11 +53,11 @@ module Moov
|
|
|
52
53
|
return false unless other.is_a? self.class
|
|
53
54
|
return false unless @account_id == other.account_id
|
|
54
55
|
return false unless @wallet_id == other.wallet_id
|
|
56
|
+
return false unless @x_moov_version == other.x_moov_version
|
|
55
57
|
return false unless @skip == other.skip
|
|
56
58
|
return false unless @count == other.count
|
|
57
59
|
return false unless @status == other.status
|
|
58
60
|
return false unless @statement_descriptor == other.statement_descriptor
|
|
59
|
-
return false unless @x_moov_version == other.x_moov_version
|
|
60
61
|
true
|
|
61
62
|
end
|
|
62
63
|
end
|
|
@@ -12,6 +12,8 @@ class Moov::Models::Operations::ListSweepsRequest
|
|
|
12
12
|
def account_id=(str_); end
|
|
13
13
|
def wallet_id(); end
|
|
14
14
|
def wallet_id=(str_); end
|
|
15
|
+
def x_moov_version(); end
|
|
16
|
+
def x_moov_version=(str_); end
|
|
15
17
|
def skip(); end
|
|
16
18
|
def skip=(str_); end
|
|
17
19
|
def count(); end
|
|
@@ -20,6 +22,4 @@ class Moov::Models::Operations::ListSweepsRequest
|
|
|
20
22
|
def status=(str_); end
|
|
21
23
|
def statement_descriptor(); end
|
|
22
24
|
def statement_descriptor=(str_); end
|
|
23
|
-
def x_moov_version(); end
|
|
24
|
-
def x_moov_version=(str_); end
|
|
25
25
|
end
|
|
@@ -22,10 +22,11 @@ module Moov
|
|
|
22
22
|
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
#
|
|
24
24
|
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
25
26
|
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
26
27
|
|
|
27
28
|
sig { params(x_moov_version: T.nilable(::String)).void }
|
|
28
|
-
def initialize(x_moov_version:
|
|
29
|
+
def initialize(x_moov_version: nil)
|
|
29
30
|
@x_moov_version = x_moov_version
|
|
30
31
|
end
|
|
31
32
|
|
|
@@ -26,10 +26,11 @@ module Moov
|
|
|
26
26
|
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
27
27
|
#
|
|
28
28
|
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
29
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
29
30
|
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
30
31
|
|
|
31
32
|
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:
|
|
33
|
+
def initialize(account_id:, ticket_id:, x_moov_version: nil)
|
|
33
34
|
@account_id = account_id
|
|
34
35
|
@ticket_id = ticket_id
|
|
35
36
|
@x_moov_version = x_moov_version
|
|
@@ -15,14 +15,6 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
18
|
-
|
|
19
|
-
field :cursor, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'cursor', 'style': 'form', 'explode': false } }
|
|
20
|
-
|
|
21
|
-
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
22
|
-
|
|
23
|
-
field :status, Crystalline::Nilable.new(Models::Components::TicketStatus), { 'query_param': { 'field_name': 'status', 'style': 'form', 'explode': false } }
|
|
24
|
-
|
|
25
|
-
field :foreign_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'foreignID', 'style': 'form', 'explode': false } }
|
|
26
18
|
# Specify an API version.
|
|
27
19
|
#
|
|
28
20
|
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
@@ -32,27 +24,36 @@ module Moov
|
|
|
32
24
|
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
33
25
|
#
|
|
34
26
|
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
27
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
35
28
|
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
36
29
|
|
|
37
|
-
|
|
38
|
-
|
|
30
|
+
field :cursor, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'cursor', 'style': 'form', 'explode': false } }
|
|
31
|
+
|
|
32
|
+
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
33
|
+
|
|
34
|
+
field :status, Crystalline::Nilable.new(Models::Components::TicketStatus), { 'query_param': { 'field_name': 'status', 'style': 'form', 'explode': false } }
|
|
35
|
+
|
|
36
|
+
field :foreign_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'foreignID', 'style': 'form', 'explode': false } }
|
|
37
|
+
|
|
38
|
+
sig { params(account_id: ::String, x_moov_version: T.nilable(::String), cursor: T.nilable(::String), count: T.nilable(::Integer), status: T.nilable(Models::Components::TicketStatus), foreign_id: T.nilable(::String)).void }
|
|
39
|
+
def initialize(account_id:, x_moov_version: nil, cursor: nil, count: nil, status: nil, foreign_id: nil)
|
|
39
40
|
@account_id = account_id
|
|
41
|
+
@x_moov_version = x_moov_version
|
|
40
42
|
@cursor = cursor
|
|
41
43
|
@count = count
|
|
42
44
|
@status = status
|
|
43
45
|
@foreign_id = foreign_id
|
|
44
|
-
@x_moov_version = x_moov_version
|
|
45
46
|
end
|
|
46
47
|
|
|
47
48
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
48
49
|
def ==(other)
|
|
49
50
|
return false unless other.is_a? self.class
|
|
50
51
|
return false unless @account_id == other.account_id
|
|
52
|
+
return false unless @x_moov_version == other.x_moov_version
|
|
51
53
|
return false unless @cursor == other.cursor
|
|
52
54
|
return false unless @count == other.count
|
|
53
55
|
return false unless @status == other.status
|
|
54
56
|
return false unless @foreign_id == other.foreign_id
|
|
55
|
-
return false unless @x_moov_version == other.x_moov_version
|
|
56
57
|
true
|
|
57
58
|
end
|
|
58
59
|
end
|
|
@@ -10,6 +10,8 @@ end
|
|
|
10
10
|
class Moov::Models::Operations::ListTicketsRequest
|
|
11
11
|
def account_id(); end
|
|
12
12
|
def account_id=(str_); end
|
|
13
|
+
def x_moov_version(); end
|
|
14
|
+
def x_moov_version=(str_); end
|
|
13
15
|
def cursor(); end
|
|
14
16
|
def cursor=(str_); end
|
|
15
17
|
def count(); end
|
|
@@ -18,6 +20,4 @@ class Moov::Models::Operations::ListTicketsRequest
|
|
|
18
20
|
def status=(str_); end
|
|
19
21
|
def foreign_id(); end
|
|
20
22
|
def foreign_id=(str_); end
|
|
21
|
-
def x_moov_version(); end
|
|
22
|
-
def x_moov_version=(str_); end
|
|
23
23
|
end
|
|
@@ -15,6 +15,17 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
18
|
+
# Specify an API version.
|
|
19
|
+
#
|
|
20
|
+
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
21
|
+
# - `YYYY` is the year
|
|
22
|
+
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
23
|
+
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
24
|
+
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
25
|
+
#
|
|
26
|
+
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
27
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
28
|
+
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
18
29
|
# Optional, comma-separated account IDs by which the response is filtered based on whether the account ID is the source or destination.
|
|
19
30
|
field :account_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'accountIDs', 'style': 'form', 'explode': false } }
|
|
20
31
|
# Optional parameter for filtering transfers by status.
|
|
@@ -39,20 +50,11 @@ module Moov
|
|
|
39
50
|
field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
|
|
40
51
|
|
|
41
52
|
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
42
|
-
# Specify an API version.
|
|
43
|
-
#
|
|
44
|
-
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
45
|
-
# - `YYYY` is the year
|
|
46
|
-
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
47
|
-
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
48
|
-
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
49
|
-
#
|
|
50
|
-
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
51
|
-
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
52
53
|
|
|
53
|
-
sig { params(account_id: ::String, account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer)
|
|
54
|
-
def initialize(account_id:, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, skip: nil, count: nil
|
|
54
|
+
sig { params(account_id: ::String, x_moov_version: T.nilable(::String), account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
|
|
55
|
+
def initialize(account_id:, x_moov_version: nil, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, skip: nil, count: nil)
|
|
55
56
|
@account_id = account_id
|
|
57
|
+
@x_moov_version = x_moov_version
|
|
56
58
|
@account_i_ds = account_i_ds
|
|
57
59
|
@status = status
|
|
58
60
|
@start_date_time = start_date_time
|
|
@@ -65,13 +67,13 @@ module Moov
|
|
|
65
67
|
@foreign_id = foreign_id
|
|
66
68
|
@skip = skip
|
|
67
69
|
@count = count
|
|
68
|
-
@x_moov_version = x_moov_version
|
|
69
70
|
end
|
|
70
71
|
|
|
71
72
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
72
73
|
def ==(other)
|
|
73
74
|
return false unless other.is_a? self.class
|
|
74
75
|
return false unless @account_id == other.account_id
|
|
76
|
+
return false unless @x_moov_version == other.x_moov_version
|
|
75
77
|
return false unless @account_i_ds == other.account_i_ds
|
|
76
78
|
return false unless @status == other.status
|
|
77
79
|
return false unless @start_date_time == other.start_date_time
|
|
@@ -84,7 +86,6 @@ module Moov
|
|
|
84
86
|
return false unless @foreign_id == other.foreign_id
|
|
85
87
|
return false unless @skip == other.skip
|
|
86
88
|
return false unless @count == other.count
|
|
87
|
-
return false unless @x_moov_version == other.x_moov_version
|
|
88
89
|
true
|
|
89
90
|
end
|
|
90
91
|
end
|
|
@@ -10,6 +10,8 @@ end
|
|
|
10
10
|
class Moov::Models::Operations::ListTransfersRequest
|
|
11
11
|
def account_id(); end
|
|
12
12
|
def account_id=(str_); end
|
|
13
|
+
def x_moov_version(); end
|
|
14
|
+
def x_moov_version=(str_); end
|
|
13
15
|
def account_i_ds(); end
|
|
14
16
|
def account_i_ds=(str_); end
|
|
15
17
|
def status(); end
|
|
@@ -34,6 +36,4 @@ class Moov::Models::Operations::ListTransfersRequest
|
|
|
34
36
|
def skip=(str_); end
|
|
35
37
|
def count(); end
|
|
36
38
|
def count=(str_); end
|
|
37
|
-
def x_moov_version(); end
|
|
38
|
-
def x_moov_version=(str_); end
|
|
39
39
|
end
|
|
@@ -15,14 +15,6 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
18
|
-
# Optional parameter for filtering wallets by status.
|
|
19
|
-
field :status, Crystalline::Nilable.new(Models::Components::WalletStatus), { 'query_param': { 'field_name': 'status', 'style': 'form', 'explode': false } }
|
|
20
|
-
# Optional parameter for filtering wallets by type.
|
|
21
|
-
field :wallet_type, Crystalline::Nilable.new(Models::Components::WalletType), { 'query_param': { 'field_name': 'walletType', 'style': 'form', 'explode': false } }
|
|
22
|
-
|
|
23
|
-
field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
|
|
24
|
-
|
|
25
|
-
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
26
18
|
# Specify an API version.
|
|
27
19
|
#
|
|
28
20
|
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
@@ -32,27 +24,36 @@ module Moov
|
|
|
32
24
|
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
33
25
|
#
|
|
34
26
|
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
27
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
35
28
|
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
29
|
+
# Optional parameter for filtering wallets by status.
|
|
30
|
+
field :status, Crystalline::Nilable.new(Models::Components::WalletStatus), { 'query_param': { 'field_name': 'status', 'style': 'form', 'explode': false } }
|
|
31
|
+
# Optional parameter for filtering wallets by type.
|
|
32
|
+
field :wallet_type, Crystalline::Nilable.new(Models::Components::WalletType), { 'query_param': { 'field_name': 'walletType', 'style': 'form', 'explode': false } }
|
|
33
|
+
|
|
34
|
+
field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
|
|
35
|
+
|
|
36
|
+
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
36
37
|
|
|
37
|
-
sig { params(account_id: ::String, status: T.nilable(Models::Components::WalletStatus), wallet_type: T.nilable(Models::Components::WalletType), skip: T.nilable(::Integer), count: T.nilable(::Integer)
|
|
38
|
-
def initialize(account_id:, status: nil, wallet_type: nil, skip: nil, count: nil
|
|
38
|
+
sig { params(account_id: ::String, x_moov_version: T.nilable(::String), status: T.nilable(Models::Components::WalletStatus), wallet_type: T.nilable(Models::Components::WalletType), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
|
|
39
|
+
def initialize(account_id:, x_moov_version: nil, status: nil, wallet_type: nil, skip: nil, count: nil)
|
|
39
40
|
@account_id = account_id
|
|
41
|
+
@x_moov_version = x_moov_version
|
|
40
42
|
@status = status
|
|
41
43
|
@wallet_type = wallet_type
|
|
42
44
|
@skip = skip
|
|
43
45
|
@count = count
|
|
44
|
-
@x_moov_version = x_moov_version
|
|
45
46
|
end
|
|
46
47
|
|
|
47
48
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
48
49
|
def ==(other)
|
|
49
50
|
return false unless other.is_a? self.class
|
|
50
51
|
return false unless @account_id == other.account_id
|
|
52
|
+
return false unless @x_moov_version == other.x_moov_version
|
|
51
53
|
return false unless @status == other.status
|
|
52
54
|
return false unless @wallet_type == other.wallet_type
|
|
53
55
|
return false unless @skip == other.skip
|
|
54
56
|
return false unless @count == other.count
|
|
55
|
-
return false unless @x_moov_version == other.x_moov_version
|
|
56
57
|
true
|
|
57
58
|
end
|
|
58
59
|
end
|
|
@@ -10,6 +10,8 @@ end
|
|
|
10
10
|
class Moov::Models::Operations::ListWalletsRequest
|
|
11
11
|
def account_id(); end
|
|
12
12
|
def account_id=(str_); end
|
|
13
|
+
def x_moov_version(); end
|
|
14
|
+
def x_moov_version=(str_); end
|
|
13
15
|
def status(); end
|
|
14
16
|
def status=(str_); end
|
|
15
17
|
def wallet_type(); end
|
|
@@ -18,6 +20,4 @@ class Moov::Models::Operations::ListWalletsRequest
|
|
|
18
20
|
def skip=(str_); end
|
|
19
21
|
def count(); end
|
|
20
22
|
def count=(str_); end
|
|
21
|
-
def x_moov_version(); end
|
|
22
|
-
def x_moov_version=(str_); end
|
|
23
23
|
end
|
|
@@ -17,6 +17,17 @@ module Moov
|
|
|
17
17
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
18
18
|
|
|
19
19
|
field :wallet_id, ::String, { 'path_param': { 'field_name': 'walletID', 'style': 'simple', 'explode': false } }
|
|
20
|
+
# Specify an API version.
|
|
21
|
+
#
|
|
22
|
+
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
23
|
+
# - `YYYY` is the year
|
|
24
|
+
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
25
|
+
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
26
|
+
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
27
|
+
#
|
|
28
|
+
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
29
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
30
|
+
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
20
31
|
|
|
21
32
|
field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
|
|
22
33
|
|
|
@@ -41,21 +52,12 @@ module Moov
|
|
|
41
52
|
field :completed_end_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'completedEndDateTime', 'style': 'form', 'explode': false } }
|
|
42
53
|
# Optional ID to filter for transactions accrued in a sweep.
|
|
43
54
|
field :sweep_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'sweepID', 'style': 'form', 'explode': false } }
|
|
44
|
-
# Specify an API version.
|
|
45
|
-
#
|
|
46
|
-
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
47
|
-
# - `YYYY` is the year
|
|
48
|
-
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
49
|
-
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
50
|
-
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
51
|
-
#
|
|
52
|
-
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
53
|
-
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
54
55
|
|
|
55
|
-
sig { params(account_id: ::String, wallet_id: ::String, skip: T.nilable(::Integer), count: T.nilable(::Integer), transaction_type: T.nilable(Models::Components::WalletTransactionType), transaction_types: T.nilable(T::Array[Models::Components::WalletTransactionType]), source_type: T.nilable(Models::Components::WalletTransactionSourceType), source_id: T.nilable(::String), status: T.nilable(Models::Components::WalletTransactionStatus), created_start_date_time: T.nilable(::DateTime), created_end_date_time: T.nilable(::DateTime), completed_start_date_time: T.nilable(::DateTime), completed_end_date_time: T.nilable(::DateTime), sweep_id: T.nilable(::String)
|
|
56
|
-
def initialize(account_id:, wallet_id:, skip: nil, count: nil, transaction_type: nil, transaction_types: nil, source_type: nil, source_id: nil, status: nil, created_start_date_time: nil, created_end_date_time: nil, completed_start_date_time: nil, completed_end_date_time: nil, sweep_id: nil
|
|
56
|
+
sig { params(account_id: ::String, wallet_id: ::String, x_moov_version: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer), transaction_type: T.nilable(Models::Components::WalletTransactionType), transaction_types: T.nilable(T::Array[Models::Components::WalletTransactionType]), source_type: T.nilable(Models::Components::WalletTransactionSourceType), source_id: T.nilable(::String), status: T.nilable(Models::Components::WalletTransactionStatus), created_start_date_time: T.nilable(::DateTime), created_end_date_time: T.nilable(::DateTime), completed_start_date_time: T.nilable(::DateTime), completed_end_date_time: T.nilable(::DateTime), sweep_id: T.nilable(::String)).void }
|
|
57
|
+
def initialize(account_id:, wallet_id:, x_moov_version: nil, skip: nil, count: nil, transaction_type: nil, transaction_types: nil, source_type: nil, source_id: nil, status: nil, created_start_date_time: nil, created_end_date_time: nil, completed_start_date_time: nil, completed_end_date_time: nil, sweep_id: nil)
|
|
57
58
|
@account_id = account_id
|
|
58
59
|
@wallet_id = wallet_id
|
|
60
|
+
@x_moov_version = x_moov_version
|
|
59
61
|
@skip = skip
|
|
60
62
|
@count = count
|
|
61
63
|
@transaction_type = transaction_type
|
|
@@ -68,7 +70,6 @@ module Moov
|
|
|
68
70
|
@completed_start_date_time = completed_start_date_time
|
|
69
71
|
@completed_end_date_time = completed_end_date_time
|
|
70
72
|
@sweep_id = sweep_id
|
|
71
|
-
@x_moov_version = x_moov_version
|
|
72
73
|
end
|
|
73
74
|
|
|
74
75
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -76,6 +77,7 @@ module Moov
|
|
|
76
77
|
return false unless other.is_a? self.class
|
|
77
78
|
return false unless @account_id == other.account_id
|
|
78
79
|
return false unless @wallet_id == other.wallet_id
|
|
80
|
+
return false unless @x_moov_version == other.x_moov_version
|
|
79
81
|
return false unless @skip == other.skip
|
|
80
82
|
return false unless @count == other.count
|
|
81
83
|
return false unless @transaction_type == other.transaction_type
|
|
@@ -88,7 +90,6 @@ module Moov
|
|
|
88
90
|
return false unless @completed_start_date_time == other.completed_start_date_time
|
|
89
91
|
return false unless @completed_end_date_time == other.completed_end_date_time
|
|
90
92
|
return false unless @sweep_id == other.sweep_id
|
|
91
|
-
return false unless @x_moov_version == other.x_moov_version
|
|
92
93
|
true
|
|
93
94
|
end
|
|
94
95
|
end
|
|
@@ -12,6 +12,8 @@ class Moov::Models::Operations::ListWalletTransactionsRequest
|
|
|
12
12
|
def account_id=(str_); end
|
|
13
13
|
def wallet_id(); end
|
|
14
14
|
def wallet_id=(str_); end
|
|
15
|
+
def x_moov_version(); end
|
|
16
|
+
def x_moov_version=(str_); end
|
|
15
17
|
def skip(); end
|
|
16
18
|
def skip=(str_); end
|
|
17
19
|
def count(); end
|
|
@@ -36,6 +38,4 @@ class Moov::Models::Operations::ListWalletTransactionsRequest
|
|
|
36
38
|
def completed_end_date_time=(str_); end
|
|
37
39
|
def sweep_id(); end
|
|
38
40
|
def sweep_id=(str_); end
|
|
39
|
-
def x_moov_version(); end
|
|
40
|
-
def x_moov_version=(str_); end
|
|
41
41
|
end
|
|
@@ -22,10 +22,11 @@ module Moov
|
|
|
22
22
|
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
#
|
|
24
24
|
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
25
26
|
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
26
27
|
|
|
27
28
|
sig { params(x_moov_version: T.nilable(::String)).void }
|
|
28
|
-
def initialize(x_moov_version:
|
|
29
|
+
def initialize(x_moov_version: nil)
|
|
29
30
|
@x_moov_version = x_moov_version
|
|
30
31
|
end
|
|
31
32
|
|
|
@@ -26,10 +26,11 @@ module Moov
|
|
|
26
26
|
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
27
27
|
#
|
|
28
28
|
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
29
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
29
30
|
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
30
31
|
|
|
31
32
|
sig { params(account_id: ::String, register_apple_pay_merchant_domains: Models::Components::RegisterApplePayMerchantDomains, x_moov_version: T.nilable(::String)).void }
|
|
32
|
-
def initialize(account_id:, register_apple_pay_merchant_domains:, x_moov_version:
|
|
33
|
+
def initialize(account_id:, register_apple_pay_merchant_domains:, x_moov_version: nil)
|
|
33
34
|
@account_id = account_id
|
|
34
35
|
@register_apple_pay_merchant_domains = register_apple_pay_merchant_domains
|
|
35
36
|
@x_moov_version = x_moov_version
|
|
@@ -26,10 +26,11 @@ module Moov
|
|
|
26
26
|
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
27
27
|
#
|
|
28
28
|
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
29
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
29
30
|
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
30
31
|
|
|
31
32
|
sig { params(account_id: ::String, add_capabilities: Models::Components::AddCapabilities, x_moov_version: T.nilable(::String)).void }
|
|
32
|
-
def initialize(account_id:, add_capabilities:, x_moov_version:
|
|
33
|
+
def initialize(account_id:, add_capabilities:, x_moov_version: nil)
|
|
33
34
|
@account_id = account_id
|
|
34
35
|
@add_capabilities = add_capabilities
|
|
35
36
|
@x_moov_version = x_moov_version
|
|
@@ -26,10 +26,11 @@ module Moov
|
|
|
26
26
|
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
27
27
|
#
|
|
28
28
|
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
29
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
29
30
|
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
30
31
|
|
|
31
32
|
sig { params(account_id: ::String, request_card: Models::Components::RequestCard, x_moov_version: T.nilable(::String)).void }
|
|
32
|
-
def initialize(account_id:, request_card:, x_moov_version:
|
|
33
|
+
def initialize(account_id:, request_card:, x_moov_version: nil)
|
|
33
34
|
@account_id = account_id
|
|
34
35
|
@request_card = request_card
|
|
35
36
|
@x_moov_version = x_moov_version
|
|
@@ -15,6 +15,17 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
18
|
+
# Specify an API version.
|
|
19
|
+
#
|
|
20
|
+
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
21
|
+
# - `YYYY` is the year
|
|
22
|
+
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
23
|
+
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
24
|
+
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
25
|
+
#
|
|
26
|
+
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
27
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
28
|
+
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
18
29
|
# Optional transfer ID to filter the results by.
|
|
19
30
|
field :transfer_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'transferID', 'style': 'form', 'explode': false } }
|
|
20
31
|
# Optional dispute ID to filter the results by.
|
|
@@ -27,40 +38,30 @@ module Moov
|
|
|
27
38
|
field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
|
|
28
39
|
|
|
29
40
|
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
30
|
-
# Specify an API version.
|
|
31
|
-
#
|
|
32
|
-
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
33
|
-
# - `YYYY` is the year
|
|
34
|
-
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
35
|
-
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
36
|
-
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
37
|
-
#
|
|
38
|
-
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
39
|
-
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
40
41
|
|
|
41
|
-
sig { params(account_id: ::String,
|
|
42
|
-
def initialize(account_id:, transfer_id: nil, dispute_id: nil, start_date_time: nil, end_date_time: nil, skip: nil, count: nil
|
|
42
|
+
sig { params(account_id: ::String, x_moov_version: T.nilable(::String), transfer_id: T.nilable(::String), dispute_id: T.nilable(::String), start_date_time: T.nilable(::String), end_date_time: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
|
|
43
|
+
def initialize(account_id:, x_moov_version: nil, transfer_id: nil, dispute_id: nil, start_date_time: nil, end_date_time: nil, skip: nil, count: nil)
|
|
43
44
|
@account_id = account_id
|
|
45
|
+
@x_moov_version = x_moov_version
|
|
44
46
|
@transfer_id = transfer_id
|
|
45
47
|
@dispute_id = dispute_id
|
|
46
48
|
@start_date_time = start_date_time
|
|
47
49
|
@end_date_time = end_date_time
|
|
48
50
|
@skip = skip
|
|
49
51
|
@count = count
|
|
50
|
-
@x_moov_version = x_moov_version
|
|
51
52
|
end
|
|
52
53
|
|
|
53
54
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
54
55
|
def ==(other)
|
|
55
56
|
return false unless other.is_a? self.class
|
|
56
57
|
return false unless @account_id == other.account_id
|
|
58
|
+
return false unless @x_moov_version == other.x_moov_version
|
|
57
59
|
return false unless @transfer_id == other.transfer_id
|
|
58
60
|
return false unless @dispute_id == other.dispute_id
|
|
59
61
|
return false unless @start_date_time == other.start_date_time
|
|
60
62
|
return false unless @end_date_time == other.end_date_time
|
|
61
63
|
return false unless @skip == other.skip
|
|
62
64
|
return false unless @count == other.count
|
|
63
|
-
return false unless @x_moov_version == other.x_moov_version
|
|
64
65
|
true
|
|
65
66
|
end
|
|
66
67
|
end
|