moov_ruby 26.7.8 → 26.10.0.pre.dev.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/crystalline/module.rb +1 -1
- data/lib/moov/avatars.rb +1 -276
- data/lib/moov/card_issuing.rb +1 -117
- data/lib/moov/client.rb +2 -2
- data/lib/moov/enriched_address.rb +1 -1
- data/lib/moov/enriched_profile.rb +1 -1
- data/lib/moov/images.rb +1 -1
- data/lib/moov/institutions.rb +2 -2
- data/lib/moov/invoices.rb +0 -180
- data/lib/moov/models/components/account.rb +2 -2
- data/lib/moov/models/components/accountnameverification.rb +4 -4
- data/lib/moov/models/components/accounttype.rb +1 -3
- data/lib/moov/models/components/accountverificationstatus.rb +1 -3
- data/lib/moov/models/components/achreturncode.rb +1 -3
- data/lib/moov/models/components/achtransactiondetails.rb +3 -3
- data/lib/moov/models/components/achtransactionstatus.rb +1 -3
- data/lib/moov/models/components/adjustmentfees.rb +15 -11
- data/lib/moov/models/components/adjustmentfees.rbi +4 -4
- data/lib/moov/models/components/amountdecimalrange.rb +2 -0
- data/lib/moov/models/components/amountdecimalrangeupdate.rb +2 -0
- data/lib/moov/models/components/applepayresponse.rb +2 -2
- data/lib/moov/models/components/applicationscope.rb +2 -4
- data/lib/moov/models/components/authmethod.rb +1 -3
- data/lib/moov/models/components/authtokenrequest.rb +2 -6
- data/lib/moov/models/components/authtokenrequest.rbi +0 -2
- data/lib/moov/models/components/bankaccount.rb +4 -4
- data/lib/moov/models/components/bankaccountexception.rb +2 -2
- data/lib/moov/models/components/bankaccountholdertype.rb +1 -3
- data/lib/moov/models/components/bankaccountintegration.rb +2 -2
- data/lib/moov/models/components/bankaccountstatus.rb +1 -3
- data/lib/moov/models/components/bankaccountstatusreason.rb +1 -3
- data/lib/moov/models/components/bankaccounttype.rb +1 -3
- data/lib/moov/models/components/bankaccountverification.rb +2 -2
- data/lib/moov/models/components/bankaccountverificationcreated.rb +2 -2
- data/lib/moov/models/components/bankaccountverificationmethod.rb +1 -3
- data/lib/moov/models/components/bankaccountverificationstatus.rb +1 -3
- data/lib/moov/models/components/basicpaymentmethod.rb +1 -1
- data/lib/moov/models/components/billablefee.rb +2 -2
- data/lib/moov/models/components/billingsummary.rb +4 -8
- data/lib/moov/models/components/billingsummary.rbi +0 -2
- data/lib/moov/models/components/businesspresence.rb +1 -3
- data/lib/moov/models/components/businessprofile.rb +2 -2
- data/lib/moov/models/components/businesstype.rb +1 -3
- data/lib/moov/models/components/calltoaction.rb +1 -3
- data/lib/moov/models/components/cancellation.rb +2 -2
- data/lib/moov/models/components/cancellationstatus.rb +1 -3
- data/lib/moov/models/components/capability.rb +2 -2
- data/lib/moov/models/components/capabilityid.rb +1 -4
- data/lib/moov/models/components/capabilitystatus.rb +1 -3
- data/lib/moov/models/components/card.rb +4 -4
- data/lib/moov/models/components/cardaccountupdater.rb +1 -1
- data/lib/moov/models/components/cardacquiringmodel.rb +1 -3
- data/lib/moov/models/components/cardacquiringrefund.rb +1 -1
- data/lib/moov/models/components/cardbrand.rb +1 -3
- data/lib/moov/models/components/cardissuingnetwork.rb +1 -3
- data/lib/moov/models/components/cardmetadata.rb +4 -4
- data/lib/moov/models/components/cardtransactiondetails.rb +3 -3
- data/lib/moov/models/components/cardtransactionfailurecode.rb +1 -3
- data/lib/moov/models/components/cardtransactionstatus.rb +1 -4
- data/lib/moov/models/components/cardtype.rb +1 -3
- data/lib/moov/models/components/cardupdatereason.rb +1 -3
- data/lib/moov/models/components/cardverification.rb +3 -3
- data/lib/moov/models/components/cardverificationresult.rb +1 -3
- data/lib/moov/models/components/collectfundscardpayments.rb +1 -1
- data/lib/moov/models/components/collectionpaymentmethodtype.rb +1 -3
- data/lib/moov/models/components/{webhookdataeventtest.rb → contributingrule.rb} +8 -8
- data/lib/moov/models/components/contributingrule.rbi +13 -0
- data/lib/moov/models/components/createaccount.rb +2 -2
- data/lib/moov/models/components/createaccounttype.rb +1 -3
- data/lib/moov/models/components/createbusinessprofile.rb +2 -2
- data/lib/moov/models/components/createdtransfer.rb +6 -14
- data/lib/moov/models/components/createdtransfer.rbi +0 -2
- data/lib/moov/models/components/createevidencetext.rb +1 -1
- data/lib/moov/models/components/createfeeplanagreement.rb +3 -13
- data/lib/moov/models/components/createfeeplanagreement.rbi +0 -2
- data/lib/moov/models/components/createinvoice.rb +2 -14
- data/lib/moov/models/components/createinvoice.rbi +0 -6
- data/lib/moov/models/components/createpaymentlink.rb +1 -1
- data/lib/moov/models/components/createrefund.rb +2 -2
- data/lib/moov/models/components/createreversal.rb +1 -4
- data/lib/moov/models/components/createsweepconfig.rb +1 -1
- data/lib/moov/models/components/createterminalapplication.rb +1 -1
- data/lib/moov/models/components/createtippresets.rb +1 -1
- data/lib/moov/models/components/createtransfer.rb +2 -6
- data/lib/moov/models/components/createtransfer.rbi +0 -2
- data/lib/moov/models/components/createtransfersourceach.rb +2 -2
- data/lib/moov/models/components/createtransfersourcecard.rb +1 -1
- data/lib/moov/models/components/createwebhook.rb +1 -1
- data/lib/moov/models/components/debitholdperiod.rb +1 -3
- data/lib/moov/models/components/depositaccountingestedresponse.rb +1 -1
- data/lib/moov/models/components/disbursementpaymentmethodtype.rb +1 -3
- data/lib/moov/models/components/dispute.rb +2 -2
- data/lib/moov/models/components/disputeevidenceresponse.rb +1 -1
- data/lib/moov/models/components/disputephase.rb +1 -3
- data/lib/moov/models/components/disputestatus.rb +1 -3
- data/lib/moov/models/components/document.rb +1 -1
- data/lib/moov/models/components/documenttype.rb +1 -3
- data/lib/moov/models/components/domesticpullfromcard.rb +1 -3
- data/lib/moov/models/components/domesticpushtocard.rb +1 -3
- data/lib/moov/models/components/estimatedactivity.rb +1 -1
- data/lib/moov/models/components/evidencetextresponse.rb +1 -1
- data/lib/moov/models/components/evidencetype.rb +1 -3
- data/lib/moov/models/components/evidenceuploadresponse.rb +1 -1
- data/lib/moov/models/components/facilitatorfee.rb +2 -2
- data/lib/moov/models/components/feecategory.rb +1 -3
- data/lib/moov/models/components/feemodel.rb +1 -3
- data/lib/moov/models/components/feeplan.rb +1 -1
- data/lib/moov/models/components/feeplanagreement.rb +4 -12
- data/lib/moov/models/components/feeplanagreement.rbi +0 -4
- data/lib/moov/models/components/feeplanagreementstatus.rb +1 -3
- data/lib/moov/models/components/filedetails.rb +2 -2
- data/lib/moov/models/components/filepurpose.rb +1 -3
- data/lib/moov/models/components/filestatus.rb +1 -3
- data/lib/moov/models/components/fulfillment.rb +2 -2
- data/lib/moov/models/components/fulfillmentdetails.rb +1 -1
- data/lib/moov/models/components/fulfillmentmethod.rb +1 -3
- data/lib/moov/models/components/fulfillmenttimeframe.rb +1 -3
- data/lib/moov/models/components/fullissuedcard.rb +5 -6
- data/lib/moov/models/components/geographicreach.rb +1 -3
- data/lib/moov/models/components/googlepayresponse.rb +3 -3
- data/lib/moov/models/components/incurredfee.rb +2 -6
- data/lib/moov/models/components/incurredfee.rbi +0 -2
- data/lib/moov/models/components/instantbankfailurecode.rb +1 -3
- data/lib/moov/models/components/instantbanknetwork.rb +1 -3
- data/lib/moov/models/components/instantbanktransactiondetails.rb +3 -3
- data/lib/moov/models/components/instantbanktransactionstatus.rb +1 -3
- data/lib/moov/models/components/invoice.rb +3 -7
- data/lib/moov/models/components/invoice.rbi +0 -2
- data/lib/moov/models/components/invoicepayment.rb +1 -1
- data/lib/moov/models/components/invoicepaymenttype.rb +1 -3
- data/lib/moov/models/components/invoicestatus.rb +1 -3
- data/lib/moov/models/components/issuedcard.rb +5 -6
- data/lib/moov/models/components/issuedcardauthorization.rb +4 -13
- data/lib/moov/models/components/issuedcardauthorization.rbi +0 -4
- data/lib/moov/models/components/issuedcardauthorizationevent.rb +4 -9
- data/lib/moov/models/components/issuedcardauthorizationevent.rbi +0 -2
- data/lib/moov/models/components/issuedcardauthorizationeventresult.rb +1 -3
- data/lib/moov/models/components/issuedcardeventtype.rb +1 -3
- data/lib/moov/models/components/issuedcardstate.rb +1 -5
- data/lib/moov/models/components/issuedcardtransaction.rb +2 -6
- data/lib/moov/models/components/issuedcardtransaction.rbi +0 -2
- data/lib/moov/models/components/issuingauthorizationstatus.rb +1 -3
- data/lib/moov/models/components/issuingcontrols.rb +3 -19
- data/lib/moov/models/components/issuingcontrols.rbi +0 -8
- data/lib/moov/models/components/issuingcontrolserror.rb +2 -18
- data/lib/moov/models/components/issuingcontrolserror.rbi +0 -8
- data/lib/moov/models/components/issuingintervallimit.rb +2 -7
- data/lib/moov/models/components/issuingvelocitylimit.rb +7 -11
- data/lib/moov/models/components/issuingvelocitylimit.rbi +2 -4
- data/lib/moov/models/components/issuingvelocitylimiterror.rb +2 -6
- data/lib/moov/models/components/issuingvelocitylimiterror.rbi +0 -2
- data/lib/moov/models/components/jsonwebkey.rb +1 -1
- data/lib/moov/models/components/linkedapplepaypaymentmethod.rb +1 -1
- data/lib/moov/models/components/linkedgooglepaypaymentmethod.rb +1 -1
- data/lib/moov/models/components/mode.rb +1 -3
- data/lib/moov/models/components/monthlyvolumerange.rb +1 -3
- data/lib/moov/models/components/moovfee.rb +1 -1
- data/lib/moov/models/components/occurrencesresponse.rb +2 -2
- data/lib/moov/models/components/occurrencestatus.rb +1 -3
- data/lib/moov/models/components/onboardingpartneraccount.rb +1 -1
- data/lib/moov/models/components/partnerpricingagreement.rb +7 -15
- data/lib/moov/models/components/partnerpricingagreement.rbi +0 -4
- data/lib/moov/models/components/partnerriskoutcomesresponse.rb +38 -0
- data/lib/moov/models/components/partnerriskoutcomesresponse.rbi +15 -0
- data/lib/moov/models/components/patchbusiness.rb +2 -2
- data/lib/moov/models/components/patchwallet.rb +1 -1
- data/lib/moov/models/components/paymentlink.rb +6 -4
- data/lib/moov/models/components/paymentlinkcustomamountpaymentdetails.rb +2 -0
- data/lib/moov/models/components/paymentlinkcustomamountpaymentdetailsupdate.rb +2 -0
- data/lib/moov/models/components/paymentlinkdisplayoptions.rb +1 -1
- data/lib/moov/models/components/paymentlinkdisplayoptionsupdate.rb +1 -1
- data/lib/moov/models/components/paymentlinkpayoutdetails.rb +7 -11
- data/lib/moov/models/components/paymentlinkpayoutdetails.rbi +0 -2
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rb +7 -11
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rbi +0 -2
- data/lib/moov/models/components/paymentlinkstatus.rb +1 -3
- data/lib/moov/models/components/paymentlinktype.rb +1 -3
- data/lib/moov/models/components/paymentmethodsbankaccount.rb +3 -3
- data/lib/moov/models/components/paymentmethodscard.rb +4 -4
- data/lib/moov/models/components/paymentmethodswallet.rb +1 -2
- data/lib/moov/models/components/paymentmethodtype.rb +1 -3
- data/lib/moov/models/components/payoutdetailserror.rb +2 -6
- data/lib/moov/models/components/payoutdetailserror.rbi +0 -2
- data/lib/moov/models/components/pendinglitigation.rb +1 -3
- data/lib/moov/models/components/primaryregulator.rb +1 -3
- data/lib/moov/models/components/product.rb +2 -6
- data/lib/moov/models/components/product.rbi +0 -2
- data/lib/moov/models/components/productrequest.rb +2 -6
- data/lib/moov/models/components/productrequest.rbi +0 -2
- data/lib/moov/models/components/pushdeliveryspeed.rb +1 -3
- data/lib/moov/models/components/pushoptions.rb +4 -5
- data/lib/moov/models/components/pushoptionsupdate.rb +4 -5
- data/lib/moov/models/components/puttippresets.rb +1 -1
- data/lib/moov/models/components/refundcarddetails.rb +2 -2
- data/lib/moov/models/components/refundcardstatus.rb +1 -4
- data/lib/moov/models/components/refundpolicy.rb +1 -3
- data/lib/moov/models/components/refundstatus.rb +1 -3
- data/lib/moov/models/components/requestcard.rb +1 -1
- data/lib/moov/models/components/requirementerror.rb +2 -2
- data/lib/moov/models/components/requirementerrorcode.rb +1 -3
- data/lib/moov/models/components/requirementid.rb +1 -17
- data/lib/moov/models/components/resolutionlink.rb +1 -1
- data/lib/moov/models/components/resolutionlinkstatus.rb +1 -3
- data/lib/moov/models/components/returnpolicytype.rb +1 -3
- data/lib/moov/models/components/reversalamountdetails.rb +1 -3
- data/lib/moov/models/components/reversedwithcancellation.rb +1 -1
- data/lib/moov/models/components/rtprejectioncode.rb +1 -3
- data/lib/moov/models/components/schedulelistresponse.rb +1 -1
- data/lib/moov/models/components/scheduleresponse.rb +1 -1
- data/lib/moov/models/components/seccode.rb +1 -3
- data/lib/moov/models/components/sendfunds.rb +2 -6
- data/lib/moov/models/components/sendfunds.rbi +0 -2
- data/lib/moov/models/components/sendfundserror.rb +2 -6
- data/lib/moov/models/components/sendfundserror.rbi +0 -2
- data/lib/moov/models/components/sourcesystem.rb +1 -3
- data/lib/moov/models/components/statement.rb +2 -6
- data/lib/moov/models/components/statement.rbi +0 -2
- data/lib/moov/models/components/sweep.rb +1 -1
- data/lib/moov/models/components/sweepconfig.rb +3 -3
- data/lib/moov/models/components/sweepconfigpaymentmethod.rb +1 -1
- data/lib/moov/models/components/sweepconfigstatus.rb +1 -3
- data/lib/moov/models/components/sweepstatus.rb +1 -3
- data/lib/moov/models/components/sweepsubtotal.rb +1 -1
- data/lib/moov/models/components/terminalapplication.rb +2 -2
- data/lib/moov/models/components/terminalapplicationplatform.rb +1 -3
- data/lib/moov/models/components/terminalapplicationstatus.rb +1 -3
- data/lib/moov/models/components/terminalcard.rb +2 -2
- data/lib/moov/models/components/ticket.rb +1 -1
- data/lib/moov/models/components/ticketstatus.rb +1 -3
- data/lib/moov/models/components/tipcalculationbasis.rb +1 -3
- data/lib/moov/models/components/tippresets.rb +1 -1
- data/lib/moov/models/components/transactionsource.rb +1 -3
- data/lib/moov/models/components/transfer.rb +6 -14
- data/lib/moov/models/components/transfer.rbi +0 -2
- data/lib/moov/models/components/transferdestination.rb +1 -1
- data/lib/moov/models/components/transferfailurereason.rb +1 -3
- data/lib/moov/models/components/transferparty.rb +1 -3
- data/lib/moov/models/components/transferpaymentmethodsbankaccount.rb +3 -3
- data/lib/moov/models/components/transferpaymentmethodscard.rb +4 -4
- data/lib/moov/models/components/transferpaymentmethodswallet.rb +1 -2
- data/lib/moov/models/components/transferpaymentmethodtype.rb +1 -3
- data/lib/moov/models/components/transfersource.rb +1 -1
- data/lib/moov/models/components/transferstatus.rb +1 -3
- data/lib/moov/models/components/transferterminalcard.rb +2 -2
- data/lib/moov/models/components/underwriting.rb +4 -4
- data/lib/moov/models/components/underwritingstatus.rb +1 -3
- data/lib/moov/models/components/updateevidence.rb +1 -1
- data/lib/moov/models/components/updateinvoice.rb +3 -7
- data/lib/moov/models/components/updateinvoice.rbi +0 -2
- data/lib/moov/models/components/updateissuedcard.rb +2 -8
- data/lib/moov/models/components/updateissuedcard.rbi +0 -2
- data/lib/moov/models/components/updateissuedcardstate.rb +0 -4
- data/lib/moov/models/components/updatepaymentlink.rb +1 -1
- data/lib/moov/models/components/updatewebhook.rb +1 -1
- data/lib/moov/models/components/upsertunderwriting.rb +3 -3
- data/lib/moov/models/components/use.rb +1 -3
- data/lib/moov/models/components/verification.rb +3 -3
- data/lib/moov/models/components/verificationstatus.rb +1 -3
- data/lib/moov/models/components/verificationstatusdetail.rb +1 -3
- data/lib/moov/models/components/wallet.rb +2 -3
- data/lib/moov/models/components/walletstatus.rb +1 -3
- data/lib/moov/models/components/wallettransaction.rb +3 -3
- data/lib/moov/models/components/wallettransactionsourcetype.rb +1 -3
- data/lib/moov/models/components/wallettransactionstatus.rb +1 -3
- data/lib/moov/models/components/wallettransactiontype.rb +1 -3
- data/lib/moov/models/components/wallettype.rb +1 -5
- data/lib/moov/models/components/webhook.rb +1 -1
- data/lib/moov/models/components/webhookdatabankaccountcreated.rb +1 -1
- data/lib/moov/models/components/webhookdatabankaccountdeleted.rb +1 -1
- data/lib/moov/models/components/webhookdatabankaccountupdated.rb +2 -2
- data/lib/moov/models/components/webhookdatacancellationcreated.rb +1 -1
- data/lib/moov/models/components/webhookdatacancellationupdated.rb +1 -1
- data/lib/moov/models/components/webhookdatacapabilityrequested.rb +1 -1
- data/lib/moov/models/components/webhookdatacapabilityupdated.rb +2 -2
- data/lib/moov/models/components/webhookdatacardautoupdated.rb +1 -1
- data/lib/moov/models/components/webhookdatadisputecreated.rb +2 -2
- data/lib/moov/models/components/webhookdatadisputeupdated.rb +2 -2
- data/lib/moov/models/components/webhookdatainvoiceupdated.rb +1 -1
- data/lib/moov/models/components/webhookdatarefundupdated.rb +1 -1
- data/lib/moov/models/components/webhookdatasweepupdated.rb +1 -1
- data/lib/moov/models/components/webhookdataterminalapplicationcreated.rb +1 -1
- data/lib/moov/models/components/webhookdataterminalapplicationupdated.rb +1 -1
- data/lib/moov/models/components/webhookdataticketupdated.rb +1 -1
- data/lib/moov/models/components/webhookdatatransferstatus.rb +0 -4
- data/lib/moov/models/components/webhookdatawallettransactionupdated.rb +1 -1
- data/lib/moov/models/components/webhookdatawalletupdated.rb +1 -1
- data/lib/moov/models/components/webhookevent.rb +3 -3
- data/lib/moov/models/components/webhookeventtype.rb +1 -4
- data/lib/moov/models/components/webhookstatus.rb +1 -3
- data/lib/moov/models/components.rb +3 -46
- data/lib/moov/models/errors/cardacquiringrefund_error.rb +1 -1
- data/lib/moov/models/errors/createinvoiceerror.rb +2 -14
- data/lib/moov/models/errors/createinvoiceerror.rbi +0 -6
- data/lib/moov/models/errors/productrequestvalidationerror.rb +2 -6
- data/lib/moov/models/errors/productrequestvalidationerror.rbi +0 -2
- data/lib/moov/models/errors/transfer_error.rb +6 -14
- data/lib/moov/models/errors/transfer_error.rbi +0 -2
- data/lib/moov/models/errors/updateinvoiceerror.rb +2 -6
- data/lib/moov/models/errors/updateinvoiceerror.rbi +0 -2
- data/lib/moov/models/errors/updateissuedcarderror.rb +2 -6
- data/lib/moov/models/errors/updateissuedcarderror.rbi +0 -2
- data/lib/moov/models/errors.rb +0 -2
- data/lib/moov/models/operations/createcancellation_request.rb +2 -7
- data/lib/moov/models/operations/createcancellation_request.rbi +0 -2
- data/lib/moov/models/operations/gettransferriskoutcomes_request.rb +37 -0
- data/lib/moov/models/operations/gettransferriskoutcomes_request.rbi +15 -0
- data/lib/moov/models/operations/{listproductcategories_response.rb → gettransferriskoutcomes_response.rb} +6 -6
- data/lib/moov/models/operations/{listissuingmerchantcategories_response.rbi → gettransferriskoutcomes_response.rbi} +4 -4
- data/lib/moov/models/operations/initiaterefund_request.rb +1 -1
- data/lib/moov/models/operations/listaccounts_request.rb +1 -1
- data/lib/moov/models/operations/listconnectedaccountsforaccount_request.rb +1 -1
- data/lib/moov/models/operations/listdisputes_request.rb +1 -1
- data/lib/moov/models/operations/listfeeplanagreements_request.rb +1 -1
- data/lib/moov/models/operations/listfeerevenue_request.rb +1 -1
- data/lib/moov/models/operations/listinvoices_request.rb +1 -1
- data/lib/moov/models/operations/listissuedcardauthorizationevents_request.rb +1 -1
- data/lib/moov/models/operations/listissuedcardauthorizations_request.rb +1 -1
- data/lib/moov/models/operations/listissuedcards_request.rb +1 -1
- data/lib/moov/models/operations/listissuedcardtransactions_request.rb +3 -7
- data/lib/moov/models/operations/listissuedcardtransactions_request.rbi +0 -2
- data/lib/moov/models/operations/listpartnerpricingagreements_request.rb +1 -1
- data/lib/moov/models/operations/listpaymentlinks_request.rb +1 -1
- data/lib/moov/models/operations/listproducts_request.rb +3 -9
- data/lib/moov/models/operations/listproducts_request.rbi +0 -2
- data/lib/moov/models/operations/listresidualfees_request.rb +1 -1
- data/lib/moov/models/operations/listresiduals_request.rb +1 -1
- data/lib/moov/models/operations/listschedules_request.rb +1 -1
- data/lib/moov/models/operations/liststatements_request.rb +1 -1
- data/lib/moov/models/operations/listsweeps_request.rb +1 -1
- data/lib/moov/models/operations/listtickets_request.rb +1 -1
- data/lib/moov/models/operations/listtransfers_request.rb +3 -15
- data/lib/moov/models/operations/listtransfers_request.rbi +0 -6
- data/lib/moov/models/operations/listwallets_request.rb +1 -1
- data/lib/moov/models/operations/listwallettransactions_request.rb +1 -1
- data/lib/moov/models/operations/retrievefees_request.rb +1 -1
- data/lib/moov/models/operations.rb +2 -10
- data/lib/moov/products.rb +8 -113
- data/lib/moov/sdk_hooks/hooks.rb +0 -6
- data/lib/moov/sdkconfiguration.rb +4 -4
- data/lib/moov/transfers.rb +134 -17
- data/lib/moov/utils/retries.rb +2 -41
- data/lib/moov/utils/utils.rb +2 -6
- data/lib/moov_ruby.rb +1 -1
- metadata +12 -120
- data/lib/moov/models/components/allowedscheduleerror.rb +0 -36
- data/lib/moov/models/components/allowedscheduleerror.rbi +0 -15
- data/lib/moov/models/components/avataruploadrequest.rb +0 -32
- data/lib/moov/models/components/avataruploadrequest.rbi +0 -13
- data/lib/moov/models/components/avataruploadrequest_file.rb +0 -36
- data/lib/moov/models/components/avataruploadrequest_file.rbi +0 -15
- data/lib/moov/models/components/billingadjustment.rb +0 -40
- data/lib/moov/models/components/billingadjustment.rbi +0 -17
- data/lib/moov/models/components/billingsummary_adjustmentfees.rb +0 -40
- data/lib/moov/models/components/billingsummary_adjustmentfees.rbi +0 -15
- data/lib/moov/models/components/createinvoicenotification.rb +0 -32
- data/lib/moov/models/components/createinvoicenotification.rbi +0 -13
- data/lib/moov/models/components/feepaidby.rb +0 -21
- data/lib/moov/models/components/feepaidby.rbi +0 -11
- data/lib/moov/models/components/invoicenotificationlimitedchannel.rb +0 -36
- data/lib/moov/models/components/invoicenotificationlimitedchannel.rbi +0 -15
- data/lib/moov/models/components/invoicepaymentoptions.rb +0 -40
- data/lib/moov/models/components/invoicepaymentoptions.rbi +0 -17
- data/lib/moov/models/components/invoicepaymentoptionserror.rb +0 -40
- data/lib/moov/models/components/invoicepaymentoptionserror.rbi +0 -17
- data/lib/moov/models/components/invoicepaymentoptionsupdate.rb +0 -40
- data/lib/moov/models/components/invoicepaymentoptionsupdate.rbi +0 -17
- data/lib/moov/models/components/issuedcontrols.rb +0 -52
- data/lib/moov/models/components/issuedcontrols.rbi +0 -23
- data/lib/moov/models/components/issuedcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/issuedcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/issuedvelocitylimit.rb +0 -60
- data/lib/moov/models/components/issuedvelocitylimit.rbi +0 -27
- data/lib/moov/models/components/issuingcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/issuingcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/issuingcontrolsrestrictionmode.rb +0 -21
- data/lib/moov/models/components/issuingcontrolsrestrictionmode.rbi +0 -11
- data/lib/moov/models/components/issuingdeclinereason.rb +0 -35
- data/lib/moov/models/components/issuingdeclinereason.rbi +0 -11
- data/lib/moov/models/components/issuingmerchantcategory.rb +0 -45
- data/lib/moov/models/components/issuingmerchantcategory.rbi +0 -11
- data/lib/moov/models/components/issuingscheduleday.rb +0 -24
- data/lib/moov/models/components/issuingscheduleday.rbi +0 -11
- data/lib/moov/models/components/merchantcategories.rb +0 -32
- data/lib/moov/models/components/merchantcategories.rbi +0 -13
- data/lib/moov/models/components/merchantcategory.rb +0 -37
- data/lib/moov/models/components/merchantcategory.rbi +0 -15
- data/lib/moov/models/components/merchantcategoryrestrictions.rb +0 -44
- data/lib/moov/models/components/merchantcategoryrestrictions.rbi +0 -19
- data/lib/moov/models/components/merchantcategoryrestrictionserror.rb +0 -44
- data/lib/moov/models/components/merchantcategoryrestrictionserror.rbi +0 -19
- data/lib/moov/models/components/merchantentry.rb +0 -40
- data/lib/moov/models/components/merchantentry.rbi +0 -17
- data/lib/moov/models/components/merchantentryerror.rb +0 -36
- data/lib/moov/models/components/merchantentryerror.rbi +0 -15
- data/lib/moov/models/components/merchantrestrictions.rb +0 -36
- data/lib/moov/models/components/merchantrestrictions.rbi +0 -15
- data/lib/moov/models/components/merchantrestrictionserror.rb +0 -36
- data/lib/moov/models/components/merchantrestrictionserror.rbi +0 -15
- data/lib/moov/models/components/notificationchannel.rb +0 -18
- data/lib/moov/models/components/notificationchannel.rbi +0 -11
- data/lib/moov/models/components/oauth2clienttype.rb +0 -23
- data/lib/moov/models/components/oauth2clienttype.rbi +0 -11
- data/lib/moov/models/components/productcategories.rb +0 -32
- data/lib/moov/models/components/productcategories.rbi +0 -13
- data/lib/moov/models/components/productcategory.rb +0 -48
- data/lib/moov/models/components/productcategory.rbi +0 -21
- data/lib/moov/models/components/schedulewindow.rb +0 -40
- data/lib/moov/models/components/schedulewindow.rbi +0 -17
- data/lib/moov/models/components/schedulewindowerror.rb +0 -40
- data/lib/moov/models/components/schedulewindowerror.rbi +0 -17
- data/lib/moov/models/components/schemebasicauth.rb +0 -36
- data/lib/moov/models/components/schemebasicauth.rbi +0 -15
- data/lib/moov/models/components/schemeoauth2auth.rb +0 -40
- data/lib/moov/models/components/schemeoauth2auth.rbi +0 -17
- data/lib/moov/models/components/sendfundswire.rb +0 -32
- data/lib/moov/models/components/sendfundswire.rbi +0 -13
- data/lib/moov/models/components/sendfundswireerror.rb +0 -32
- data/lib/moov/models/components/sendfundswireerror.rbi +0 -13
- data/lib/moov/models/components/transfercapture.rb +0 -36
- data/lib/moov/models/components/transfercapture.rbi +0 -15
- data/lib/moov/models/components/transferfeepaidby.rb +0 -32
- data/lib/moov/models/components/transferfeepaidby.rbi +0 -13
- data/lib/moov/models/components/updateissuingcontrols.rb +0 -48
- data/lib/moov/models/components/updateissuingcontrols.rbi +0 -21
- data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rb +0 -44
- data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rbi +0 -19
- data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rb +0 -36
- data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rbi +0 -15
- data/lib/moov/models/components/updateissuingcontrolserror.rb +0 -48
- data/lib/moov/models/components/updateissuingcontrolserror.rbi +0 -21
- data/lib/moov/models/components/webhookdataeventtest.rbi +0 -13
- data/lib/moov/models/errors/invoicenotificationerror.rb +0 -36
- data/lib/moov/models/errors/invoicenotificationerror.rbi +0 -15
- data/lib/moov/models/errors/invoicenotificationratelimitederror.rb +0 -44
- data/lib/moov/models/errors/invoicenotificationratelimitederror.rbi +0 -19
- data/lib/moov/models/operations/createinvoicenotification_request.rb +0 -40
- data/lib/moov/models/operations/createinvoicenotification_request.rbi +0 -17
- data/lib/moov/models/operations/createinvoicenotification_response.rb +0 -44
- data/lib/moov/models/operations/createinvoicenotification_response.rbi +0 -19
- data/lib/moov/models/operations/deleteavatar_request.rb +0 -32
- data/lib/moov/models/operations/deleteavatar_request.rbi +0 -13
- data/lib/moov/models/operations/deleteavatar_response.rb +0 -44
- data/lib/moov/models/operations/deleteavatar_response.rbi +0 -19
- data/lib/moov/models/operations/deleteavatar_security.rb +0 -36
- data/lib/moov/models/operations/deleteavatar_security.rbi +0 -15
- data/lib/moov/models/operations/listissuingmerchantcategories_response.rb +0 -48
- data/lib/moov/models/operations/listproductcategories_response.rbi +0 -21
- data/lib/moov/models/operations/uploadavatar_request.rb +0 -36
- data/lib/moov/models/operations/uploadavatar_request.rbi +0 -15
- data/lib/moov/models/operations/uploadavatar_response.rb +0 -44
- data/lib/moov/models/operations/uploadavatar_response.rbi +0 -19
- data/lib/moov/models/operations/uploadavatar_security.rb +0 -36
- data/lib/moov/models/operations/uploadavatar_security.rbi +0 -15
- data/lib/moov/sdk_hooks/clientcredentials.rb +0 -386
- data/lib/moov/sdk_hooks/oauth2scopes.rb +0 -18
|
@@ -7,23 +7,23 @@
|
|
|
7
7
|
module Moov
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
#
|
|
11
|
-
class
|
|
10
|
+
# A risk rule that contributed to a transfer's risk decision.
|
|
11
|
+
class ContributingRule
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
+
# Human-readable name of the contributing risk rule.
|
|
16
|
+
field :name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('name'), required: true } }
|
|
15
17
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
def initialize(ping:)
|
|
20
|
-
@ping = ping
|
|
18
|
+
sig { params(name: ::String).void }
|
|
19
|
+
def initialize(name:)
|
|
20
|
+
@name = name
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
24
24
|
def ==(other)
|
|
25
25
|
return false unless other.is_a? self.class
|
|
26
|
-
return false unless @
|
|
26
|
+
return false unless @name == other.name
|
|
27
27
|
true
|
|
28
28
|
end
|
|
29
29
|
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::ContributingRule
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::ContributingRule
|
|
11
|
+
def name(); end
|
|
12
|
+
def name=(str_); end
|
|
13
|
+
end
|
|
@@ -13,7 +13,7 @@ module Moov
|
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
field :account_type, Models::Components::CreateAccountType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountType'), required: true, 'decoder': ::Moov::Utils.
|
|
16
|
+
field :account_type, Models::Components::CreateAccountType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountType'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::CreateAccountType, false) } }
|
|
17
17
|
|
|
18
18
|
field :profile, Models::Components::CreateProfile, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('profile'), required: true } }
|
|
19
19
|
# Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
|
|
@@ -34,7 +34,7 @@ module Moov
|
|
|
34
34
|
# The `send-funds`, `collect-funds`, and `wallet` capability IDs are deprecated. Use granular values such as `send-funds.ach`, `collect-funds.card-payments`, or `wallet.balance` instead.
|
|
35
35
|
field :capabilities, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::CapabilityID)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capabilities') } }
|
|
36
36
|
# The operating mode for an account.
|
|
37
|
-
field :mode, Crystalline::Nilable.new(Models::Components::Mode), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('mode'), 'decoder': ::Moov::Utils.
|
|
37
|
+
field :mode, Crystalline::Nilable.new(Models::Components::Mode), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('mode'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::Mode, true) } }
|
|
38
38
|
|
|
39
39
|
sig { params(account_type: Models::Components::CreateAccountType, profile: Models::Components::CreateProfile, metadata: T.nilable(T::Hash[Symbol, ::String]), terms_of_service: T.nilable(Models::Components::TermsOfServicePayload), foreign_id: T.nilable(::String), customer_support: T.nilable(Models::Components::CustomerSupport), settings: T.nilable(Models::Components::Settings), capabilities: T.nilable(T::Array[Models::Components::CapabilityID]), mode: T.nilable(Models::Components::Mode)).void }
|
|
40
40
|
def initialize(account_type:, profile:, metadata: nil, terms_of_service: nil, foreign_id: nil, customer_support: nil, settings: nil, capabilities: nil, mode: nil)
|
|
@@ -8,13 +8,11 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
|
|
11
|
-
class CreateAccountType
|
|
12
|
-
include ::Crystalline::Enum
|
|
11
|
+
class CreateAccountType < T::Enum
|
|
13
12
|
enums do
|
|
14
13
|
INDIVIDUAL = new('individual')
|
|
15
14
|
BUSINESS = new('business')
|
|
16
15
|
end
|
|
17
|
-
open!
|
|
18
16
|
end
|
|
19
17
|
end
|
|
20
18
|
end
|
|
@@ -17,7 +17,7 @@ module Moov
|
|
|
17
17
|
# A registered trade name under which the business operates, if different from its legal name.
|
|
18
18
|
field :doing_business_as, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('doingBusinessAs') } }
|
|
19
19
|
# The type of entity represented by this business.
|
|
20
|
-
field :business_type, Crystalline::Nilable.new(Models::Components::BusinessType), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('businessType'), 'decoder': ::Moov::Utils.
|
|
20
|
+
field :business_type, Crystalline::Nilable.new(Models::Components::BusinessType), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('businessType'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::BusinessType, true) } }
|
|
21
21
|
|
|
22
22
|
field :address, Crystalline::Nilable.new(Models::Components::Address), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('address') } }
|
|
23
23
|
|
|
@@ -35,7 +35,7 @@ module Moov
|
|
|
35
35
|
# Classification identifier for the industry. Use the [GET industries](https://docs.moov.io/api/enrichment/form-shortening/industries/get/) endpoint to retrieve an array of valid industry details for a merchant, inducing all industry field values.
|
|
36
36
|
field :industry, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('industry') } }
|
|
37
37
|
# If the business is a financial institution, this field describes its primary regulator.
|
|
38
|
-
field :primary_regulator, Crystalline::Nilable.new(Models::Components::PrimaryRegulator), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('primaryRegulator'), 'decoder': ::Moov::Utils.
|
|
38
|
+
field :primary_regulator, Crystalline::Nilable.new(Models::Components::PrimaryRegulator), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('primaryRegulator'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::PrimaryRegulator, true) } }
|
|
39
39
|
|
|
40
40
|
sig { params(legal_business_name: ::String, doing_business_as: T.nilable(::String), business_type: T.nilable(Models::Components::BusinessType), address: T.nilable(Models::Components::Address), phone: T.nilable(Models::Components::PhoneNumber), email: T.nilable(::String), website: T.nilable(::String), description: T.nilable(::String), tax_id: T.nilable(Models::Components::TaxID), industry_codes: T.nilable(Models::Components::IndustryCodes), industry: T.nilable(::String), primary_regulator: T.nilable(Models::Components::PrimaryRegulator)).void }
|
|
41
41
|
def initialize(legal_business_name:, doing_business_as: nil, business_type: nil, address: nil, phone: nil, email: nil, website: nil, description: nil, tax_id: nil, industry_codes: nil, industry: nil, primary_regulator: nil)
|
|
@@ -23,13 +23,10 @@ module Moov
|
|
|
23
23
|
|
|
24
24
|
field :completed_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('completedOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
25
25
|
# Status of a transfer.
|
|
26
|
-
field :status, Crystalline::Nilable.new(Models::Components::TransferStatus), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), 'decoder': ::Moov::Utils.
|
|
26
|
+
field :status, Crystalline::Nilable.new(Models::Components::TransferStatus), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::TransferStatus, true) } }
|
|
27
27
|
# Reason for a transfer's failure.
|
|
28
|
-
field :failure_reason, Crystalline::Nilable.new(Models::Components::TransferFailureReason), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('failureReason'), 'decoder': ::Moov::Utils.
|
|
29
|
-
|
|
30
|
-
# In v2026.10 and later, an auth-capture `card-payment` transfer reports the approved authorization amount until a final capture is created.
|
|
31
|
-
# For these transfers, when a final capture is created, this is updated to the cumulative captured amount.
|
|
32
|
-
# For other transfer types, this is the transfer amount.
|
|
28
|
+
field :failure_reason, Crystalline::Nilable.new(Models::Components::TransferFailureReason), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('failureReason'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::TransferFailureReason, true) } }
|
|
29
|
+
|
|
33
30
|
field :amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
|
|
34
31
|
# An optional description of the transfer that is used on receipts and for your own internal use.
|
|
35
32
|
field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
|
|
@@ -68,14 +65,11 @@ module Moov
|
|
|
68
65
|
# An optional collection of line items for a transfer.
|
|
69
66
|
# When line items are provided, their total plus tax must equal the transfer amount.
|
|
70
67
|
field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
71
|
-
|
|
72
|
-
# For an auth-capture `card-payment` transfer, this is the aggregate of all captures' `amountDetails`.
|
|
68
|
+
|
|
73
69
|
field :amount_details, Crystalline::Nilable.new(Models::Components::TransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
74
|
-
# The card authorization and capture IDs associated with a transfer.
|
|
75
|
-
field :capture, Crystalline::Nilable.new(Models::Components::TransferCapture), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capture') } }
|
|
76
70
|
|
|
77
|
-
sig { params(transfer_id: ::String, created_on: ::DateTime, source: T.nilable(Models::Components::TransferSource), destination: T.nilable(Models::Components::TransferDestination), completed_on: T.nilable(::DateTime), status: T.nilable(Models::Components::TransferStatus), failure_reason: T.nilable(Models::Components::TransferFailureReason), amount: T.nilable(Models::Components::Amount), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), amount_details: T.nilable(Models::Components::TransferAmountDetails)
|
|
78
|
-
def initialize(transfer_id:, created_on:, source: nil, destination: nil, completed_on: nil, status: nil, failure_reason: nil, amount: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, foreign_id: nil, line_items: nil, amount_details: nil
|
|
71
|
+
sig { params(transfer_id: ::String, created_on: ::DateTime, source: T.nilable(Models::Components::TransferSource), destination: T.nilable(Models::Components::TransferDestination), completed_on: T.nilable(::DateTime), status: T.nilable(Models::Components::TransferStatus), failure_reason: T.nilable(Models::Components::TransferFailureReason), amount: T.nilable(Models::Components::Amount), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), amount_details: T.nilable(Models::Components::TransferAmountDetails)).void }
|
|
72
|
+
def initialize(transfer_id:, created_on:, source: nil, destination: nil, completed_on: nil, status: nil, failure_reason: nil, amount: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, foreign_id: nil, line_items: nil, amount_details: nil)
|
|
79
73
|
@transfer_id = transfer_id
|
|
80
74
|
@created_on = created_on
|
|
81
75
|
@source = source
|
|
@@ -103,7 +97,6 @@ module Moov
|
|
|
103
97
|
@foreign_id = foreign_id
|
|
104
98
|
@line_items = line_items
|
|
105
99
|
@amount_details = amount_details
|
|
106
|
-
@capture = capture
|
|
107
100
|
end
|
|
108
101
|
|
|
109
102
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -136,7 +129,6 @@ module Moov
|
|
|
136
129
|
return false unless @foreign_id == other.foreign_id
|
|
137
130
|
return false unless @line_items == other.line_items
|
|
138
131
|
return false unless @amount_details == other.amount_details
|
|
139
|
-
return false unless @capture == other.capture
|
|
140
132
|
true
|
|
141
133
|
end
|
|
142
134
|
end
|
|
@@ -15,7 +15,7 @@ module Moov
|
|
|
15
15
|
# The text to associate with the dispute as evidence.
|
|
16
16
|
field :text, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('text'), required: true } }
|
|
17
17
|
|
|
18
|
-
field :evidence_type, Models::Components::EvidenceType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('evidenceType'), required: true, 'decoder': ::Moov::Utils.
|
|
18
|
+
field :evidence_type, Models::Components::EvidenceType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('evidenceType'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::EvidenceType, false) } }
|
|
19
19
|
|
|
20
20
|
sig { params(text: ::String, evidence_type: Models::Components::EvidenceType).void }
|
|
21
21
|
def initialize(text:, evidence_type:)
|
|
@@ -12,28 +12,18 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
# A unique identifier for a
|
|
16
|
-
# is charged under its fee plan agreement. Use GET /accounts/{accountID}/fee-plans to list the fee plans
|
|
17
|
-
# available to assign to a given account.
|
|
15
|
+
# A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
|
|
18
16
|
field :plan_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('planID'), required: true } }
|
|
19
|
-
# The account's active fee plan agreement to supersede. When set, that agreement is terminated and
|
|
20
|
-
# the new one takes its place in a single operation, so the account is never without an active fee
|
|
21
|
-
# plan agreement. This new agreement always receives a newly issued agreementID.
|
|
22
|
-
#
|
|
23
|
-
# Omit it if the account doesn't already have an active fee plan agreement.
|
|
24
|
-
field :prior_agreement_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('priorAgreementID') } }
|
|
25
17
|
|
|
26
|
-
sig { params(plan_id: ::String
|
|
27
|
-
def initialize(plan_id
|
|
18
|
+
sig { params(plan_id: ::String).void }
|
|
19
|
+
def initialize(plan_id:)
|
|
28
20
|
@plan_id = plan_id
|
|
29
|
-
@prior_agreement_id = prior_agreement_id
|
|
30
21
|
end
|
|
31
22
|
|
|
32
23
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
33
24
|
def ==(other)
|
|
34
25
|
return false unless other.is_a? self.class
|
|
35
26
|
return false unless @plan_id == other.plan_id
|
|
36
|
-
return false unless @prior_agreement_id == other.prior_agreement_id
|
|
37
27
|
true
|
|
38
28
|
end
|
|
39
29
|
end
|
|
@@ -16,31 +16,22 @@ module Moov
|
|
|
16
16
|
field :customer_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('customerAccountID'), required: true } }
|
|
17
17
|
# A collection of line items for an invoice.
|
|
18
18
|
field :line_items, Models::Components::CreateInvoiceLineItems, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems'), required: true } }
|
|
19
|
-
# Email address to use for invoice checkout OTP verification instead of the customer account email.
|
|
20
|
-
field :customer_email, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('customerEmail') } }
|
|
21
|
-
# Optional merchant-defined invoice number, up to 64 characters. Must be unique for the account. If omitted, empty, or whitespace-only, the next number in the INV-<n> sequence is assigned automatically.
|
|
22
|
-
field :invoice_number, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceNumber') } }
|
|
23
19
|
|
|
24
20
|
field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
|
|
25
21
|
|
|
26
22
|
field :invoice_date, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceDate'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
27
23
|
|
|
28
24
|
field :due_date, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('dueDate'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
29
|
-
# Payment options for the invoice.
|
|
30
|
-
field :payment, Crystalline::Nilable.new(Models::Components::InvoicePaymentOptions), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payment') } }
|
|
31
25
|
|
|
32
26
|
field :amount_details, Crystalline::Nilable.new(Models::Components::AmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
33
27
|
|
|
34
|
-
sig { params(customer_account_id: ::String, line_items: Models::Components::CreateInvoiceLineItems,
|
|
35
|
-
def initialize(customer_account_id:, line_items:,
|
|
28
|
+
sig { params(customer_account_id: ::String, line_items: Models::Components::CreateInvoiceLineItems, description: T.nilable(::String), invoice_date: T.nilable(::DateTime), due_date: T.nilable(::DateTime), amount_details: T.nilable(Models::Components::AmountDetails)).void }
|
|
29
|
+
def initialize(customer_account_id:, line_items:, description: nil, invoice_date: nil, due_date: nil, amount_details: nil)
|
|
36
30
|
@customer_account_id = customer_account_id
|
|
37
31
|
@line_items = line_items
|
|
38
|
-
@customer_email = customer_email
|
|
39
|
-
@invoice_number = invoice_number
|
|
40
32
|
@description = description
|
|
41
33
|
@invoice_date = invoice_date
|
|
42
34
|
@due_date = due_date
|
|
43
|
-
@payment = payment
|
|
44
35
|
@amount_details = amount_details
|
|
45
36
|
end
|
|
46
37
|
|
|
@@ -49,12 +40,9 @@ module Moov
|
|
|
49
40
|
return false unless other.is_a? self.class
|
|
50
41
|
return false unless @customer_account_id == other.customer_account_id
|
|
51
42
|
return false unless @line_items == other.line_items
|
|
52
|
-
return false unless @customer_email == other.customer_email
|
|
53
|
-
return false unless @invoice_number == other.invoice_number
|
|
54
43
|
return false unless @description == other.description
|
|
55
44
|
return false unless @invoice_date == other.invoice_date
|
|
56
45
|
return false unless @due_date == other.due_date
|
|
57
|
-
return false unless @payment == other.payment
|
|
58
46
|
return false unless @amount_details == other.amount_details
|
|
59
47
|
true
|
|
60
48
|
end
|
|
@@ -12,18 +12,12 @@ class Moov::Models::Components::CreateInvoice
|
|
|
12
12
|
def customer_account_id=(str_); end
|
|
13
13
|
def line_items(); end
|
|
14
14
|
def line_items=(str_); end
|
|
15
|
-
def customer_email(); end
|
|
16
|
-
def customer_email=(str_); end
|
|
17
|
-
def invoice_number(); end
|
|
18
|
-
def invoice_number=(str_); end
|
|
19
15
|
def description(); end
|
|
20
16
|
def description=(str_); end
|
|
21
17
|
def invoice_date(); end
|
|
22
18
|
def invoice_date=(str_); end
|
|
23
19
|
def due_date(); end
|
|
24
20
|
def due_date=(str_); end
|
|
25
|
-
def payment(); end
|
|
26
|
-
def payment=(str_); end
|
|
27
21
|
def amount_details(); end
|
|
28
22
|
def amount_details=(str_); end
|
|
29
23
|
end
|
|
@@ -40,7 +40,7 @@ module Moov
|
|
|
40
40
|
field :customer, Crystalline::Nilable.new(Models::Components::PaymentLinkCustomerOptions), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('customer') } }
|
|
41
41
|
# Options for payment links used to collect payment.
|
|
42
42
|
field :payment, Crystalline::Nilable.new(Models::Components::PaymentLinkPaymentDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payment') } }
|
|
43
|
-
|
|
43
|
+
|
|
44
44
|
field :payout, Crystalline::Nilable.new(Models::Components::PaymentLinkPayoutDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payout') } }
|
|
45
45
|
# Options for a custom amount payment link. Mutually exclusive with `payment` and `payout`.
|
|
46
46
|
field :custom_amount_payment, Crystalline::Nilable.new(Models::Components::PaymentLinkCustomAmountPaymentDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('customAmountPayment') } }
|
|
@@ -9,12 +9,12 @@ module Moov
|
|
|
9
9
|
module Components
|
|
10
10
|
# Specifies a partial amount to refund.
|
|
11
11
|
#
|
|
12
|
-
#
|
|
12
|
+
# This request body is optional, an empty body will issue a refund for the full amount of the original transfer.
|
|
13
13
|
class CreateRefund
|
|
14
14
|
extend T::Sig
|
|
15
15
|
include Crystalline::MetadataFields
|
|
16
16
|
|
|
17
|
-
# Amount to refund. If
|
|
17
|
+
# Amount to refund in cents. If null, the original transfer's full amount will be refunded.
|
|
18
18
|
field :amount, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
|
|
19
19
|
# Breakdown of the refunded amount.
|
|
20
20
|
field :amount_details, Crystalline::Nilable.new(Models::Components::RefundAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
@@ -12,10 +12,7 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
# Amount to reverse.
|
|
16
|
-
# Before v2026.10, specify the amount in integer cents.
|
|
17
|
-
# For supported auth-capture `card-payment` reversals in v2026.10 and later, a transfer with no captures uses the full `capturableAmount`.
|
|
18
|
-
# For those transfers with one final capture, a cancellation uses the full capture amount, while a refund may be partial.
|
|
15
|
+
# Amount to reverse in cents. Partial amounts will automatically trigger a refund instead of a cancellation.
|
|
19
16
|
field :amount, ::Integer, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount'), required: true } }
|
|
20
17
|
# Breakdown of the reversed amount.
|
|
21
18
|
field :amount_details, Crystalline::Nilable.new(Models::Components::ReversalAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
@@ -15,7 +15,7 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
field :wallet_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('walletID'), required: true } }
|
|
17
17
|
|
|
18
|
-
field :status, Models::Components::SweepConfigStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.
|
|
18
|
+
field :status, Models::Components::SweepConfigStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::SweepConfigStatus, false) } }
|
|
19
19
|
# ID of the payment method.
|
|
20
20
|
field :push_payment_method_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('pushPaymentMethodID'), required: true } }
|
|
21
21
|
# ID of the payment method.
|
|
@@ -13,7 +13,7 @@ module Moov
|
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
# Platform of the terminal application.
|
|
16
|
-
field :platform, Models::Components::TerminalApplicationPlatform, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('platform'), required: true, 'decoder': ::Moov::Utils.
|
|
16
|
+
field :platform, Models::Components::TerminalApplicationPlatform, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('platform'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::TerminalApplicationPlatform, false) } }
|
|
17
17
|
# The app bundle identifier of the terminal application. Required if platform is `ios`.
|
|
18
18
|
field :app_bundle_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('appBundleID') } }
|
|
19
19
|
# The app package name of the terminal application. Required if platform is `android`.
|
|
@@ -15,7 +15,7 @@ module Moov
|
|
|
15
15
|
# Defines which amount should be used when calculating the final payment total. This calculation applies for percentage tip values.
|
|
16
16
|
# - `pre-tax`: Tip amounts are calculated using the subtotal amount before taxes
|
|
17
17
|
# - `post-tax`: Tip amounts are calculated using the subtotal amount + taxes
|
|
18
|
-
field :calculation_basis, Crystalline::Nilable.new(Models::Components::TipCalculationBasis), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('calculationBasis'), 'decoder': ::Moov::Utils.
|
|
18
|
+
field :calculation_basis, Crystalline::Nilable.new(Models::Components::TipCalculationBasis), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('calculationBasis'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::TipCalculationBasis, true) } }
|
|
19
19
|
# Defines the set of suggested tip preset values presented to customers. Percentages must be between 0 and 100 (exclusive) and must be unique. A maximum of 3 values are allowed.
|
|
20
20
|
field :percentage_options, Crystalline::Nilable.new(Crystalline::Array.new(::Integer)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('percentageOptions') } }
|
|
21
21
|
# Defines the set of suggested tip preset values presented to customers. Fixed amounts must be positive and unique. A maximum of 3 values are allowed.
|
|
@@ -31,11 +31,9 @@ module Moov
|
|
|
31
31
|
field :line_items, Crystalline::Nilable.new(Models::Components::CreateTransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
32
32
|
|
|
33
33
|
field :amount_details, Crystalline::Nilable.new(Models::Components::CreateTransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
34
|
-
# Indicates which party bears fees for a transfer, keyed by fee type.
|
|
35
|
-
field :fee_paid_by, Crystalline::Nilable.new(Models::Components::TransferFeePaidBy), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('feePaidBy') } }
|
|
36
34
|
|
|
37
|
-
sig { params(source: Models::Components::CreateTransferSource, destination: Models::Components::CreateTransferDestination, amount: Models::Components::Amount, facilitator_fee: T.nilable(Models::Components::FacilitatorFee), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::CreateTransferLineItems), amount_details: T.nilable(Models::Components::CreateTransferAmountDetails)
|
|
38
|
-
def initialize(source:, destination:, amount:, facilitator_fee: nil, description: nil, metadata: nil, foreign_id: nil, line_items: nil, amount_details: nil
|
|
35
|
+
sig { params(source: Models::Components::CreateTransferSource, destination: Models::Components::CreateTransferDestination, amount: Models::Components::Amount, facilitator_fee: T.nilable(Models::Components::FacilitatorFee), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::CreateTransferLineItems), amount_details: T.nilable(Models::Components::CreateTransferAmountDetails)).void }
|
|
36
|
+
def initialize(source:, destination:, amount:, facilitator_fee: nil, description: nil, metadata: nil, foreign_id: nil, line_items: nil, amount_details: nil)
|
|
39
37
|
@source = source
|
|
40
38
|
@destination = destination
|
|
41
39
|
@amount = amount
|
|
@@ -45,7 +43,6 @@ module Moov
|
|
|
45
43
|
@foreign_id = foreign_id
|
|
46
44
|
@line_items = line_items
|
|
47
45
|
@amount_details = amount_details
|
|
48
|
-
@fee_paid_by = fee_paid_by
|
|
49
46
|
end
|
|
50
47
|
|
|
51
48
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -60,7 +57,6 @@ module Moov
|
|
|
60
57
|
return false unless @foreign_id == other.foreign_id
|
|
61
58
|
return false unless @line_items == other.line_items
|
|
62
59
|
return false unless @amount_details == other.amount_details
|
|
63
|
-
return false unless @fee_paid_by == other.fee_paid_by
|
|
64
60
|
true
|
|
65
61
|
end
|
|
66
62
|
end
|
|
@@ -17,9 +17,9 @@ module Moov
|
|
|
17
17
|
# An optional override of the default NACHA company name for a transfer.
|
|
18
18
|
field :originating_company_name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('originatingCompanyName') } }
|
|
19
19
|
# An optional override of your default ACH hold period in banking days. The hold period must be longer than or equal to your default setting.
|
|
20
|
-
field :debit_hold_period, Crystalline::Nilable.new(Models::Components::DebitHoldPeriod), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('debitHoldPeriod'), 'decoder': ::Moov::Utils.
|
|
20
|
+
field :debit_hold_period, Crystalline::Nilable.new(Models::Components::DebitHoldPeriod), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('debitHoldPeriod'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::DebitHoldPeriod, true) } }
|
|
21
21
|
# Code used to identify the ACH authorization method.
|
|
22
|
-
field :sec_code, Crystalline::Nilable.new(Models::Components::SECCode), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('secCode'), 'decoder': ::Moov::Utils.
|
|
22
|
+
field :sec_code, Crystalline::Nilable.new(Models::Components::SECCode), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('secCode'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::SECCode, true) } }
|
|
23
23
|
|
|
24
24
|
field :addenda, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::CreateTransferACHAddendaRecord)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('addenda') } }
|
|
25
25
|
|
|
@@ -18,7 +18,7 @@ module Moov
|
|
|
18
18
|
#
|
|
19
19
|
# Crucial for recurring and merchant-initiated transactions as per card scheme rules.
|
|
20
20
|
# Omit for customer-initiated e-commerce transactions.
|
|
21
|
-
field :transaction_source, Crystalline::Nilable.new(Models::Components::TransactionSource), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('transactionSource'), 'decoder': ::Moov::Utils.
|
|
21
|
+
field :transaction_source, Crystalline::Nilable.new(Models::Components::TransactionSource), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('transactionSource'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::TransactionSource, true) } }
|
|
22
22
|
|
|
23
23
|
sig { params(dynamic_descriptor: T.nilable(::String), transaction_source: T.nilable(Models::Components::TransactionSource)).void }
|
|
24
24
|
def initialize(dynamic_descriptor: nil, transaction_source: nil)
|
|
@@ -15,7 +15,7 @@ module Moov
|
|
|
15
15
|
# The URL where webhook events will be sent.
|
|
16
16
|
field :url, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('url'), required: true } }
|
|
17
17
|
# The status of the webhook.
|
|
18
|
-
field :status, Models::Components::WebhookStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.
|
|
18
|
+
field :status, Models::Components::WebhookStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::WebhookStatus, false) } }
|
|
19
19
|
# The list of event types this webhook should subscribe to.
|
|
20
20
|
field :event_types, Crystalline::Array.new(Models::Components::WebhookEventType), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('eventTypes'), required: true } }
|
|
21
21
|
# A description of the webhook for reference. Can be an empty string.
|
|
@@ -8,14 +8,12 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# DebitHoldPeriod - An optional override of your default ACH hold period in banking days. The hold period must be longer than or equal to your default setting.
|
|
11
|
-
class DebitHoldPeriod
|
|
12
|
-
include ::Crystalline::Enum
|
|
11
|
+
class DebitHoldPeriod < T::Enum
|
|
13
12
|
enums do
|
|
14
13
|
NO_HOLD = new('no-hold')
|
|
15
14
|
ONE_MINUS_DAY = new('1-day')
|
|
16
15
|
TWO_MINUS_DAYS = new('2-days')
|
|
17
16
|
end
|
|
18
|
-
open!
|
|
19
17
|
end
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -15,7 +15,7 @@ module Moov
|
|
|
15
15
|
# The Moov account that owns the deposit view the account was ingested into.
|
|
16
16
|
field :moov_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('moovAccountID'), required: true } }
|
|
17
17
|
# The core banking source system that produced the ingested payload.
|
|
18
|
-
field :source_system, Models::Components::SourceSystem, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('sourceSystem'), required: true, 'decoder': ::Moov::Utils.
|
|
18
|
+
field :source_system, Models::Components::SourceSystem, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('sourceSystem'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::SourceSystem, false) } }
|
|
19
19
|
# The identifier of the deposit account within the source system.
|
|
20
20
|
field :source_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('sourceAccountID'), required: true } }
|
|
21
21
|
# The date and time the deposit account was ingested.
|
|
@@ -8,8 +8,7 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# DisbursementPaymentMethodType - Payment methods allowed for disbursing funds.
|
|
11
|
-
class DisbursementPaymentMethodType
|
|
12
|
-
include ::Crystalline::Enum
|
|
11
|
+
class DisbursementPaymentMethodType < T::Enum
|
|
13
12
|
enums do
|
|
14
13
|
PUSH_TO_CARD = new('push-to-card')
|
|
15
14
|
RTP_CREDIT = new('rtp-credit')
|
|
@@ -18,7 +17,6 @@ module Moov
|
|
|
18
17
|
PUSH_TO_APPLE_PAY = new('push-to-apple-pay')
|
|
19
18
|
PUSH_TO_GOOGLE_PAY = new('push-to-google-pay')
|
|
20
19
|
end
|
|
21
|
-
open!
|
|
22
20
|
end
|
|
23
21
|
end
|
|
24
22
|
end
|
|
@@ -29,9 +29,9 @@ module Moov
|
|
|
29
29
|
# The status of a particular dispute.
|
|
30
30
|
#
|
|
31
31
|
# Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/#dispute-statuses) to learn what each status means.
|
|
32
|
-
field :status, Models::Components::DisputeStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.
|
|
32
|
+
field :status, Models::Components::DisputeStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::DisputeStatus, false) } }
|
|
33
33
|
# The phase of a dispute within the dispute lifecycle.
|
|
34
|
-
field :phase, Models::Components::DisputePhase, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('phase'), required: true, 'decoder': ::Moov::Utils.
|
|
34
|
+
field :phase, Models::Components::DisputePhase, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('phase'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::DisputePhase, false) } }
|
|
35
35
|
|
|
36
36
|
field :created_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
|
|
37
37
|
# Provides detail on the card network's categorization of the dispute.
|
|
@@ -17,7 +17,7 @@ module Moov
|
|
|
17
17
|
|
|
18
18
|
field :dispute_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('disputeID'), required: true } }
|
|
19
19
|
|
|
20
|
-
field :evidence_type, Models::Components::EvidenceType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('evidenceType'), required: true, 'decoder': ::Moov::Utils.
|
|
20
|
+
field :evidence_type, Models::Components::EvidenceType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('evidenceType'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::EvidenceType, false) } }
|
|
21
21
|
|
|
22
22
|
field :created_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
|
|
23
23
|
|
|
@@ -8,15 +8,13 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# DisputePhase - The phase of a dispute within the dispute lifecycle.
|
|
11
|
-
class DisputePhase
|
|
12
|
-
include ::Crystalline::Enum
|
|
11
|
+
class DisputePhase < T::Enum
|
|
13
12
|
enums do
|
|
14
13
|
PRE_DISPUTE = new('pre-dispute')
|
|
15
14
|
INQUIRY = new('inquiry')
|
|
16
15
|
CHARGEBACK = new('chargeback')
|
|
17
16
|
UNKNOWN = new('unknown')
|
|
18
17
|
end
|
|
19
|
-
open!
|
|
20
18
|
end
|
|
21
19
|
end
|
|
22
20
|
end
|
|
@@ -10,8 +10,7 @@ module Moov
|
|
|
10
10
|
# DisputeStatus - The status of a particular dispute.
|
|
11
11
|
#
|
|
12
12
|
# Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/#dispute-statuses) to learn what each status means.
|
|
13
|
-
class DisputeStatus
|
|
14
|
-
include ::Crystalline::Enum
|
|
13
|
+
class DisputeStatus < T::Enum
|
|
15
14
|
enums do
|
|
16
15
|
RESPONSE_NEEDED = new('response-needed')
|
|
17
16
|
RESOLVED = new('resolved')
|
|
@@ -22,7 +21,6 @@ module Moov
|
|
|
22
21
|
WON = new('won')
|
|
23
22
|
LOST = new('lost')
|
|
24
23
|
end
|
|
25
|
-
open!
|
|
26
24
|
end
|
|
27
25
|
end
|
|
28
26
|
end
|
|
@@ -15,7 +15,7 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
field :document_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('documentID'), required: true } }
|
|
17
17
|
# Types of documents that can be uploaded.
|
|
18
|
-
field :type, Models::Components::DocumentType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('type'), required: true, 'decoder': ::Moov::Utils.
|
|
18
|
+
field :type, Models::Components::DocumentType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('type'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::DocumentType, false) } }
|
|
19
19
|
# The document's MIME type.
|
|
20
20
|
field :content_type, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('contentType'), required: true } }
|
|
21
21
|
|
|
@@ -8,15 +8,13 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# DocumentType - Types of documents that can be uploaded.
|
|
11
|
-
class DocumentType
|
|
12
|
-
include ::Crystalline::Enum
|
|
11
|
+
class DocumentType < T::Enum
|
|
13
12
|
enums do
|
|
14
13
|
DRIVERS_LICENSE = new('driversLicense')
|
|
15
14
|
PASSPORT = new('passport')
|
|
16
15
|
UTILITY_BILL = new('utilityBill')
|
|
17
16
|
BANK_STATEMENT = new('bankStatement')
|
|
18
17
|
end
|
|
19
|
-
open!
|
|
20
18
|
end
|
|
21
19
|
end
|
|
22
20
|
end
|
|
@@ -8,14 +8,12 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# DomesticPullFromCard - Indicates if the card supports domestic pull-from-card transfer.
|
|
11
|
-
class DomesticPullFromCard
|
|
12
|
-
include ::Crystalline::Enum
|
|
11
|
+
class DomesticPullFromCard < T::Enum
|
|
13
12
|
enums do
|
|
14
13
|
NOT_SUPPORTED = new('not-supported')
|
|
15
14
|
SUPPORTED = new('supported')
|
|
16
15
|
UNKNOWN = new('unknown')
|
|
17
16
|
end
|
|
18
|
-
open!
|
|
19
17
|
end
|
|
20
18
|
end
|
|
21
19
|
end
|
|
@@ -8,15 +8,13 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
# DomesticPushToCard - Indicates which level of domestic push-to-card transfer is supported by the card, if any.
|
|
11
|
-
class DomesticPushToCard
|
|
12
|
-
include ::Crystalline::Enum
|
|
11
|
+
class DomesticPushToCard < T::Enum
|
|
13
12
|
enums do
|
|
14
13
|
NOT_SUPPORTED = new('not-supported')
|
|
15
14
|
STANDARD = new('standard')
|
|
16
15
|
FAST_FUNDS = new('fast-funds')
|
|
17
16
|
UNKNOWN = new('unknown')
|
|
18
17
|
end
|
|
19
|
-
open!
|
|
20
18
|
end
|
|
21
19
|
end
|
|
22
20
|
end
|