moov_ruby 26.4.20 → 26.7.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/account_terminal_applications.rb +16 -16
- data/lib/moov/accounts.rb +54 -52
- data/lib/moov/adjustments.rb +8 -8
- data/lib/moov/apple_pay.rb +20 -20
- data/lib/moov/authentication.rb +8 -8
- data/lib/moov/avatars.rb +5 -5
- data/lib/moov/bank_accounts.rb +37 -37
- data/lib/moov/branding.rb +12 -12
- data/lib/moov/capabilities.rb +20 -20
- data/lib/moov/card_issuing.rb +26 -26
- data/lib/moov/cards.rb +178 -20
- data/lib/moov/disputes.rb +44 -44
- data/lib/moov/end_to_end_encryption.rb +8 -8
- data/lib/moov/enriched_address.rb +5 -5
- data/lib/moov/enriched_profile.rb +5 -5
- data/lib/moov/fee_plans.rb +40 -40
- data/lib/moov/files.rb +12 -12
- data/lib/moov/google_pay.rb +4 -4
- data/lib/moov/images.rb +29 -29
- data/lib/moov/industries.rb +4 -4
- data/lib/moov/institutions.rb +10 -10
- data/lib/moov/invoices.rb +28 -208
- data/lib/moov/issuing_transactions.rb +20 -20
- 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/addcapabilities.rb +1 -5
- 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 +36 -0
- data/lib/moov/models/components/amountdecimalrange.rbi +15 -0
- data/lib/moov/models/components/amountdecimalrangeupdate.rb +36 -0
- data/lib/moov/models/components/amountdecimalrangeupdate.rbi +15 -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/authorizeduser.rb +36 -0
- data/lib/moov/models/components/authorizeduser.rbi +15 -0
- 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 +3 -9
- data/lib/moov/models/components/capabilityid.rb +2 -11
- 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/cardbrandfees.rb +2 -6
- data/lib/moov/models/components/cardbrandfees.rbi +0 -2
- data/lib/moov/models/components/cardissuingnetwork.rb +1 -3
- data/lib/moov/models/components/cardmetadata.rb +79 -0
- data/lib/moov/models/components/cardmetadata.rbi +35 -0
- data/lib/moov/models/components/cardmetadatarequest.rb +38 -0
- data/lib/moov/models/components/cardmetadatarequest.rbi +15 -0
- data/lib/moov/models/components/cardtransactiondetails.rb +5 -13
- data/lib/moov/models/components/cardtransactiondetails.rbi +0 -4
- data/lib/moov/models/components/cardtransactionfailurecode.rb +1 -3
- data/lib/moov/models/components/cardtransactionstatus.rb +1 -5
- 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/createaccount.rb +3 -7
- data/lib/moov/models/components/createaccounttype.rb +1 -3
- data/lib/moov/models/components/createauthorizeduser.rb +40 -0
- data/lib/moov/models/components/createauthorizeduser.rbi +17 -0
- data/lib/moov/models/components/createauthorizedusererror.rb +40 -0
- data/lib/moov/models/components/createauthorizedusererror.rbi +17 -0
- data/lib/moov/models/components/createauthorizeduserupdate.rb +40 -0
- data/lib/moov/models/components/createauthorizeduserupdate.rbi +17 -0
- data/lib/moov/models/components/createbusinessprofile.rb +2 -2
- data/lib/moov/models/components/createdtransfer.rb +6 -18
- data/lib/moov/models/components/createdtransfer.rbi +0 -4
- 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 +16 -16
- data/lib/moov/models/components/createpaymentlink.rbi +4 -4
- data/lib/moov/models/components/createpaymentlinkamountdetails.rb +32 -0
- data/lib/moov/models/components/createpaymentlinkamountdetails.rbi +13 -0
- data/lib/moov/models/components/{webhookdataeventtest.rb → createpaymentlinkamountdetailsvalidationerror.rb} +7 -7
- data/lib/moov/models/components/{invoicenotificationlimitedchannel.rbi → createpaymentlinkamountdetailsvalidationerror.rbi} +4 -6
- 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/createtransferamountdetails.rb +6 -2
- data/lib/moov/models/components/createtransferamountdetails.rbi +2 -0
- data/lib/moov/models/components/createtransferamountdetailsvalidationerror.rb +6 -2
- data/lib/moov/models/components/createtransferamountdetailsvalidationerror.rbi +2 -0
- data/lib/moov/models/components/createtransferdestinationcard.rb +2 -6
- data/lib/moov/models/components/createtransferdestinationcard.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/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 +3 -3
- data/lib/moov/models/components/filepurpose.rb +2 -4
- 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 +16 -27
- data/lib/moov/models/components/fullissuedcard.rbi +4 -10
- data/lib/moov/models/components/geographicreach.rb +1 -3
- data/lib/moov/models/components/googlepayresponse.rb +3 -3
- 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 +4 -12
- data/lib/moov/models/components/invoice.rbi +0 -4
- 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 +15 -26
- data/lib/moov/models/components/issuedcard.rbi +4 -10
- 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 +6 -6
- 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 +1 -1
- data/lib/moov/models/components/issuingintervallimit.rb +1 -1
- data/lib/moov/models/components/issuingvelocitylimit.rb +1 -1
- 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/manualtermsofservice.rb +1 -1
- data/lib/moov/models/components/manualtermsofserviceupdate.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/onboardinginvite.rb +2 -2
- data/lib/moov/models/components/onboardinginviterequest.rb +1 -1
- 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/patchbusiness.rb +2 -2
- data/lib/moov/models/components/patchtransfer.rb +1 -1
- data/lib/moov/models/components/patchwallet.rb +1 -1
- data/lib/moov/models/components/paymentlink.rb +19 -19
- data/lib/moov/models/components/paymentlink.rbi +4 -4
- data/lib/moov/models/components/paymentlinkamountdetails.rb +32 -0
- data/lib/moov/models/components/paymentlinkamountdetails.rbi +13 -0
- data/lib/moov/models/components/paymentlinkdisplayoptions.rb +1 -1
- data/lib/moov/models/components/paymentlinkdisplayoptionsupdate.rb +1 -1
- data/lib/moov/models/components/paymentlinkpaymentdetails.rb +14 -2
- data/lib/moov/models/components/paymentlinkpaymentdetails.rbi +6 -0
- data/lib/moov/models/components/paymentlinkpaymentdetails_amounttype.rb +19 -0
- data/lib/moov/models/components/paymentlinkpaymentdetails_amounttype.rbi +11 -0
- data/lib/moov/models/components/paymentlinkpaymentdetailsupdate.rb +14 -2
- data/lib/moov/models/components/paymentlinkpaymentdetailsupdate.rbi +6 -0
- data/lib/moov/models/components/paymentlinkpaymentdetailsupdate_amounttype.rb +19 -0
- data/lib/moov/models/components/paymentlinkpaymentdetailsupdate_amounttype.rbi +11 -0
- data/lib/moov/models/components/paymentlinkpayoutdetails.rb +3 -7
- data/lib/moov/models/components/paymentlinkpayoutdetails.rbi +0 -2
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rb +3 -7
- 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/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 +18 -18
- data/lib/moov/models/components/requestcard.rbi +8 -8
- 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 -10
- 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/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/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/termsofservice.rb +1 -1
- 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 -18
- data/lib/moov/models/components/transfer.rbi +0 -4
- data/lib/moov/models/components/transferamountdetails.rb +6 -2
- data/lib/moov/models/components/transferamountdetails.rbi +2 -0
- data/lib/moov/models/components/transferconfig.rb +2 -6
- data/lib/moov/models/components/transferconfig.rbi +0 -2
- data/lib/moov/models/components/transferdestination.rb +3 -9
- data/lib/moov/models/components/transferdestination.rbi +0 -2
- 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 +9 -13
- data/lib/moov/models/components/updateinvoice.rbi +0 -2
- data/lib/moov/models/components/updateissuedcard.rb +9 -15
- data/lib/moov/models/components/updateissuedcard.rbi +4 -6
- data/lib/moov/models/components/updateissuedcardstate.rb +0 -4
- data/lib/moov/models/components/updatepaymentlink.rb +7 -7
- data/lib/moov/models/components/updatepaymentlink.rbi +2 -2
- data/lib/moov/models/components/updatepaymentlinkamountdetails.rb +32 -0
- data/lib/moov/models/components/updatepaymentlinkamountdetails.rbi +13 -0
- data/lib/moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rb +32 -0
- data/lib/moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rbi +13 -0
- 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 +2 -6
- data/lib/moov/models/components/webhookdatabankaccountdeleted.rbi +0 -2
- 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 +2 -8
- data/lib/moov/models/components/webhookdatacapabilityupdated.rb +3 -9
- 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/webhookdatasweepcreated.rb +2 -6
- data/lib/moov/models/components/webhookdatasweepcreated.rbi +0 -2
- data/lib/moov/models/components/webhookdatasweepupdated.rb +3 -7
- data/lib/moov/models/components/webhookdatasweepupdated.rbi +0 -2
- 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 -5
- data/lib/moov/models/components/webhookstatus.rb +1 -3
- data/lib/moov/models/components.rb +16 -23
- data/lib/moov/models/errors/cardacquiringrefund_error.rb +1 -1
- data/lib/moov/models/errors/cardmetadatarequesterror.rb +44 -0
- data/lib/moov/models/errors/cardmetadatarequesterror.rbi +19 -0
- data/lib/moov/models/errors/createinvoiceerror.rb +2 -14
- data/lib/moov/models/errors/createinvoiceerror.rbi +0 -6
- data/lib/moov/models/errors/createpaymentlinkerror.rb +6 -6
- data/lib/moov/models/errors/createpaymentlinkerror.rbi +2 -2
- data/lib/moov/models/errors/requestcarderror.rb +14 -14
- data/lib/moov/models/errors/requestcarderror.rbi +8 -8
- data/lib/moov/models/errors/transfer_error.rb +6 -18
- data/lib/moov/models/errors/transfer_error.rbi +0 -4
- data/lib/moov/models/errors/transfervalidationerror.rb +2 -6
- data/lib/moov/models/errors/transfervalidationerror.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 +8 -12
- data/lib/moov/models/errors/updateissuedcarderror.rbi +4 -6
- data/lib/moov/models/errors/updatepaymentlinkerror.rb +6 -6
- data/lib/moov/models/errors/updatepaymentlinkerror.rbi +2 -2
- data/lib/moov/models/errors.rb +1 -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/disablecapability_request.rb +1 -7
- data/lib/moov/models/operations/getcapability_request.rb +1 -7
- data/lib/moov/models/operations/{listcancellations_response.rb → getcardmetadata_response.rb} +6 -6
- data/lib/moov/models/operations/{createinvoicenotification_response.rbi → getcardmetadata_response.rbi} +4 -2
- data/lib/moov/models/operations/initiaterefund_request.rb +1 -1
- data/lib/moov/models/operations/linkbankaccount_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 +2 -2
- 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 +1 -1
- 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 +1 -4
- data/lib/moov/onboarding.rb +16 -16
- data/lib/moov/payment_links.rb +24 -24
- data/lib/moov/payment_methods.rb +8 -8
- data/lib/moov/ping.rb +4 -4
- data/lib/moov/products.rb +20 -20
- data/lib/moov/receipts.rb +8 -8
- data/lib/moov/representatives.rb +20 -20
- data/lib/moov/resolution_links.rb +16 -16
- data/lib/moov/scheduling.rb +24 -24
- data/lib/moov/sdkconfiguration.rb +4 -4
- data/lib/moov/statements.rb +8 -8
- data/lib/moov/support.rb +20 -20
- data/lib/moov/sweeps.rb +24 -24
- data/lib/moov/terminal_applications.rb +20 -20
- data/lib/moov/transfer_config.rb +12 -12
- data/lib/moov/transfers.rb +55 -186
- data/lib/moov/underwriting.rb +12 -12
- data/lib/moov/utils/retries.rb +1 -43
- data/lib/moov/utils/utils.rb +2 -6
- data/lib/moov/wallet_transactions.rb +8 -8
- data/lib/moov/wallets.rb +16 -16
- data/lib/moov/webhooks.rb +32 -32
- metadata +40 -62
- data/lib/moov/models/components/billingaddress.rb +0 -52
- data/lib/moov/models/components/billingaddress.rbi +0 -23
- 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/invoicenotificationlimitedchannel.rb +0 -36
- 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/issuingdeclinereason.rb +0 -35
- data/lib/moov/models/components/issuingdeclinereason.rbi +0 -11
- 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/pushdeliveryspeed.rb +0 -21
- data/lib/moov/models/components/pushdeliveryspeed.rbi +0 -11
- data/lib/moov/models/components/pushoptions.rb +0 -39
- data/lib/moov/models/components/pushoptions.rbi +0 -15
- data/lib/moov/models/components/pushoptionserror.rb +0 -36
- data/lib/moov/models/components/pushoptionserror.rbi +0 -15
- data/lib/moov/models/components/pushoptionsupdate.rb +0 -39
- data/lib/moov/models/components/pushoptionsupdate.rbi +0 -15
- data/lib/moov/models/components/rtpfailurecode.rb +0 -29
- data/lib/moov/models/components/rtpfailurecode.rbi +0 -11
- data/lib/moov/models/components/rtptransactiondetails.rb +0 -58
- data/lib/moov/models/components/rtptransactiondetails.rbi +0 -25
- data/lib/moov/models/components/rtptransactionstatus.rb +0 -23
- data/lib/moov/models/components/rtptransactionstatus.rbi +0 -11
- data/lib/moov/models/components/transfercapture.rb +0 -36
- data/lib/moov/models/components/transfercapture.rbi +0 -15
- data/lib/moov/models/components/transfercontrols.rb +0 -48
- data/lib/moov/models/components/transfercontrols.rbi +0 -21
- data/lib/moov/models/components/webhookdataauthorizationexpiring.rb +0 -44
- data/lib/moov/models/components/webhookdataauthorizationexpiring.rbi +0 -19
- 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/listcancellations_request.rb +0 -36
- data/lib/moov/models/operations/listcancellations_request.rbi +0 -15
- data/lib/moov/models/operations/listcancellations_response.rbi +0 -21
|
@@ -15,10 +15,6 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
field :customer_account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('customerAccountID') } }
|
|
17
17
|
|
|
18
|
-
field :customer_email, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('customerEmail') } }
|
|
19
|
-
|
|
20
|
-
field :invoice_number, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceNumber') } }
|
|
21
|
-
|
|
22
18
|
field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
|
|
23
19
|
|
|
24
20
|
field :line_items, Crystalline::Nilable.new(Models::Components::CreateInvoiceLineItemsValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
@@ -27,22 +23,17 @@ module Moov
|
|
|
27
23
|
|
|
28
24
|
field :due_date, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('dueDate') } }
|
|
29
25
|
|
|
30
|
-
field :payment, Crystalline::Nilable.new(Models::Components::InvoicePaymentOptionsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payment') } }
|
|
31
|
-
|
|
32
26
|
field :tax_amount, Crystalline::Nilable.new(Models::Components::AmountDecimalValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('taxAmount') } }
|
|
33
27
|
# Raw HTTP response; suitable for custom response parsing
|
|
34
28
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
35
29
|
|
|
36
|
-
sig { params(customer_account_id: T.nilable(::String),
|
|
37
|
-
def initialize(customer_account_id: nil,
|
|
30
|
+
sig { params(customer_account_id: T.nilable(::String), description: T.nilable(::String), line_items: T.nilable(Models::Components::CreateInvoiceLineItemsValidationError), invoice_date: T.nilable(::String), due_date: T.nilable(::String), tax_amount: T.nilable(Models::Components::AmountDecimalValidationError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
31
|
+
def initialize(customer_account_id: nil, description: nil, line_items: nil, invoice_date: nil, due_date: nil, tax_amount: nil, raw_response: nil)
|
|
38
32
|
@customer_account_id = customer_account_id
|
|
39
|
-
@customer_email = customer_email
|
|
40
|
-
@invoice_number = invoice_number
|
|
41
33
|
@description = description
|
|
42
34
|
@line_items = line_items
|
|
43
35
|
@invoice_date = invoice_date
|
|
44
36
|
@due_date = due_date
|
|
45
|
-
@payment = payment
|
|
46
37
|
@tax_amount = tax_amount
|
|
47
38
|
@raw_response = raw_response
|
|
48
39
|
end
|
|
@@ -51,13 +42,10 @@ module Moov
|
|
|
51
42
|
def ==(other)
|
|
52
43
|
return false unless other.is_a? self.class
|
|
53
44
|
return false unless @customer_account_id == other.customer_account_id
|
|
54
|
-
return false unless @customer_email == other.customer_email
|
|
55
|
-
return false unless @invoice_number == other.invoice_number
|
|
56
45
|
return false unless @description == other.description
|
|
57
46
|
return false unless @line_items == other.line_items
|
|
58
47
|
return false unless @invoice_date == other.invoice_date
|
|
59
48
|
return false unless @due_date == other.due_date
|
|
60
|
-
return false unless @payment == other.payment
|
|
61
49
|
return false unless @tax_amount == other.tax_amount
|
|
62
50
|
return false unless @raw_response == other.raw_response
|
|
63
51
|
true
|
|
@@ -10,10 +10,6 @@ end
|
|
|
10
10
|
class Moov::Models::Errors::CreateInvoiceError
|
|
11
11
|
def customer_account_id(); end
|
|
12
12
|
def customer_account_id=(str_); end
|
|
13
|
-
def customer_email(); end
|
|
14
|
-
def customer_email=(str_); end
|
|
15
|
-
def invoice_number(); end
|
|
16
|
-
def invoice_number=(str_); end
|
|
17
13
|
def description(); end
|
|
18
14
|
def description=(str_); end
|
|
19
15
|
def line_items(); end
|
|
@@ -22,8 +18,6 @@ class Moov::Models::Errors::CreateInvoiceError
|
|
|
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 tax_amount(); end
|
|
28
22
|
def tax_amount=(str_); end
|
|
29
23
|
def raw_response(); end
|
|
@@ -19,8 +19,6 @@ module Moov
|
|
|
19
19
|
|
|
20
20
|
field :amount, Crystalline::Nilable.new(Models::Components::AmountValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
|
|
21
21
|
|
|
22
|
-
field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::AmountValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
|
|
23
|
-
|
|
24
22
|
field :max_uses, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('maxUses') } }
|
|
25
23
|
|
|
26
24
|
field :expires_on, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn') } }
|
|
@@ -32,21 +30,23 @@ module Moov
|
|
|
32
30
|
field :payout, Crystalline::Nilable.new(Models::Components::PayoutDetailsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payout') } }
|
|
33
31
|
|
|
34
32
|
field :line_items, Crystalline::Nilable.new(Models::Components::CreatePaymentLinkLineItemsValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
33
|
+
|
|
34
|
+
field :amount_details, Crystalline::Nilable.new(Models::Components::CreatePaymentLinkAmountDetailsValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
35
35
|
# Raw HTTP response; suitable for custom response parsing
|
|
36
36
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
37
37
|
|
|
38
|
-
sig { params(partner_account_id: T.nilable(::String), merchant_payment_method_id: T.nilable(::String), amount: T.nilable(Models::Components::AmountValidationError),
|
|
39
|
-
def initialize(partner_account_id: nil, merchant_payment_method_id: nil, amount: nil,
|
|
38
|
+
sig { params(partner_account_id: T.nilable(::String), merchant_payment_method_id: T.nilable(::String), amount: T.nilable(Models::Components::AmountValidationError), max_uses: T.nilable(::String), expires_on: T.nilable(::String), display: T.nilable(Models::Components::DisplayOptionsError), payment: T.nilable(Models::Components::PaymentDetailsError), payout: T.nilable(Models::Components::PayoutDetailsError), line_items: T.nilable(Models::Components::CreatePaymentLinkLineItemsValidationError), amount_details: T.nilable(Models::Components::CreatePaymentLinkAmountDetailsValidationError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
39
|
+
def initialize(partner_account_id: nil, merchant_payment_method_id: nil, amount: nil, max_uses: nil, expires_on: nil, display: nil, payment: nil, payout: nil, line_items: nil, amount_details: nil, raw_response: nil)
|
|
40
40
|
@partner_account_id = partner_account_id
|
|
41
41
|
@merchant_payment_method_id = merchant_payment_method_id
|
|
42
42
|
@amount = amount
|
|
43
|
-
@sales_tax_amount = sales_tax_amount
|
|
44
43
|
@max_uses = max_uses
|
|
45
44
|
@expires_on = expires_on
|
|
46
45
|
@display = display
|
|
47
46
|
@payment = payment
|
|
48
47
|
@payout = payout
|
|
49
48
|
@line_items = line_items
|
|
49
|
+
@amount_details = amount_details
|
|
50
50
|
@raw_response = raw_response
|
|
51
51
|
end
|
|
52
52
|
|
|
@@ -56,13 +56,13 @@ module Moov
|
|
|
56
56
|
return false unless @partner_account_id == other.partner_account_id
|
|
57
57
|
return false unless @merchant_payment_method_id == other.merchant_payment_method_id
|
|
58
58
|
return false unless @amount == other.amount
|
|
59
|
-
return false unless @sales_tax_amount == other.sales_tax_amount
|
|
60
59
|
return false unless @max_uses == other.max_uses
|
|
61
60
|
return false unless @expires_on == other.expires_on
|
|
62
61
|
return false unless @display == other.display
|
|
63
62
|
return false unless @payment == other.payment
|
|
64
63
|
return false unless @payout == other.payout
|
|
65
64
|
return false unless @line_items == other.line_items
|
|
65
|
+
return false unless @amount_details == other.amount_details
|
|
66
66
|
return false unless @raw_response == other.raw_response
|
|
67
67
|
true
|
|
68
68
|
end
|
|
@@ -14,8 +14,6 @@ class Moov::Models::Errors::CreatePaymentLinkError
|
|
|
14
14
|
def merchant_payment_method_id=(str_); end
|
|
15
15
|
def amount(); end
|
|
16
16
|
def amount=(str_); end
|
|
17
|
-
def sales_tax_amount(); end
|
|
18
|
-
def sales_tax_amount=(str_); end
|
|
19
17
|
def max_uses(); end
|
|
20
18
|
def max_uses=(str_); end
|
|
21
19
|
def expires_on(); end
|
|
@@ -28,6 +26,8 @@ class Moov::Models::Errors::CreatePaymentLinkError
|
|
|
28
26
|
def payout=(str_); end
|
|
29
27
|
def line_items(); end
|
|
30
28
|
def line_items=(str_); end
|
|
29
|
+
def amount_details(); end
|
|
30
|
+
def amount_details=(str_); end
|
|
31
31
|
def raw_response(); end
|
|
32
32
|
def raw_response=(str_); end
|
|
33
33
|
end
|
|
@@ -13,13 +13,13 @@ module Moov
|
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
field :
|
|
16
|
+
field :funding_wallet_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('fundingWalletID') } }
|
|
17
17
|
|
|
18
|
-
field :
|
|
18
|
+
field :form_factor, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('formFactor') } }
|
|
19
19
|
|
|
20
|
-
field :
|
|
20
|
+
field :authorized_user, Crystalline::Nilable.new(Models::Components::CreateAuthorizedUserError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizedUser') } }
|
|
21
21
|
|
|
22
|
-
field :
|
|
22
|
+
field :memo, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('memo') } }
|
|
23
23
|
|
|
24
24
|
field :expiration, Crystalline::Nilable.new(Models::Components::CardExpirationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiration') } }
|
|
25
25
|
|
|
@@ -27,12 +27,12 @@ module Moov
|
|
|
27
27
|
# Raw HTTP response; suitable for custom response parsing
|
|
28
28
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
29
29
|
|
|
30
|
-
sig { params(
|
|
31
|
-
def initialize(
|
|
32
|
-
@
|
|
33
|
-
@
|
|
34
|
-
@
|
|
35
|
-
@
|
|
30
|
+
sig { params(funding_wallet_id: T.nilable(::String), form_factor: T.nilable(::String), authorized_user: T.nilable(Models::Components::CreateAuthorizedUserError), memo: T.nilable(::String), expiration: T.nilable(Models::Components::CardExpirationError), controls: T.nilable(Models::Components::IssuingControlsError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
31
|
+
def initialize(funding_wallet_id: nil, form_factor: nil, authorized_user: nil, memo: nil, expiration: nil, controls: nil, raw_response: nil)
|
|
32
|
+
@funding_wallet_id = funding_wallet_id
|
|
33
|
+
@form_factor = form_factor
|
|
34
|
+
@authorized_user = authorized_user
|
|
35
|
+
@memo = memo
|
|
36
36
|
@expiration = expiration
|
|
37
37
|
@controls = controls
|
|
38
38
|
@raw_response = raw_response
|
|
@@ -41,10 +41,10 @@ module Moov
|
|
|
41
41
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
42
42
|
def ==(other)
|
|
43
43
|
return false unless other.is_a? self.class
|
|
44
|
-
return false unless @
|
|
45
|
-
return false unless @
|
|
46
|
-
return false unless @
|
|
47
|
-
return false unless @
|
|
44
|
+
return false unless @funding_wallet_id == other.funding_wallet_id
|
|
45
|
+
return false unless @form_factor == other.form_factor
|
|
46
|
+
return false unless @authorized_user == other.authorized_user
|
|
47
|
+
return false unless @memo == other.memo
|
|
48
48
|
return false unless @expiration == other.expiration
|
|
49
49
|
return false unless @controls == other.controls
|
|
50
50
|
return false unless @raw_response == other.raw_response
|
|
@@ -8,14 +8,14 @@ end
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class Moov::Models::Errors::RequestCardError
|
|
11
|
-
def
|
|
12
|
-
def
|
|
13
|
-
def
|
|
14
|
-
def
|
|
15
|
-
def
|
|
16
|
-
def
|
|
17
|
-
def
|
|
18
|
-
def
|
|
11
|
+
def funding_wallet_id(); end
|
|
12
|
+
def funding_wallet_id=(str_); end
|
|
13
|
+
def form_factor(); end
|
|
14
|
+
def form_factor=(str_); end
|
|
15
|
+
def authorized_user(); end
|
|
16
|
+
def authorized_user=(str_); end
|
|
17
|
+
def memo(); end
|
|
18
|
+
def memo=(str_); end
|
|
19
19
|
def expiration(); end
|
|
20
20
|
def expiration=(str_); end
|
|
21
21
|
def controls(); end
|
|
@@ -21,16 +21,13 @@ module Moov
|
|
|
21
21
|
|
|
22
22
|
field :destination, Models::Components::TransferDestination, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('destination'), required: true } }
|
|
23
23
|
# Status of a transfer.
|
|
24
|
-
field :status, Models::Components::TransferStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.
|
|
25
|
-
|
|
26
|
-
# In v2026.10 and later, an auth-capture `card-payment` transfer reports the approved authorization amount until a final capture is created.
|
|
27
|
-
# For these transfers, when a final capture is created, this is updated to the cumulative captured amount.
|
|
28
|
-
# For other transfer types, this is the transfer amount.
|
|
24
|
+
field :status, Models::Components::TransferStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::TransferStatus, false) } }
|
|
25
|
+
|
|
29
26
|
field :amount, Models::Components::Amount, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount'), required: true } }
|
|
30
27
|
|
|
31
28
|
field :completed_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('completedOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
32
29
|
# Reason for a transfer's failure.
|
|
33
|
-
field :failure_reason, Crystalline::Nilable.new(Models::Components::TransferFailureReason), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('failureReason'), 'decoder': ::Moov::Utils.
|
|
30
|
+
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) } }
|
|
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') } }
|
|
36
33
|
# Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
|
|
@@ -65,8 +62,6 @@ module Moov
|
|
|
65
62
|
field :occurrence_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('occurrenceID') } }
|
|
66
63
|
|
|
67
64
|
field :payment_link_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('paymentLinkCode') } }
|
|
68
|
-
|
|
69
|
-
field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
|
|
70
65
|
# Optional alias from a foreign/external system which can be used to reference this resource.
|
|
71
66
|
field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
|
|
72
67
|
# An optional collection of line items for a transfer.
|
|
@@ -74,16 +69,13 @@ module Moov
|
|
|
74
69
|
field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
75
70
|
# ID of the invoice that the transfer is associated with.
|
|
76
71
|
field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
|
|
77
|
-
|
|
78
|
-
# For an auth-capture `card-payment` transfer, this is the aggregate of all captures' `amountDetails`.
|
|
72
|
+
|
|
79
73
|
field :amount_details, Crystalline::Nilable.new(Models::Components::TransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
80
|
-
# The card authorization and capture IDs associated with a transfer.
|
|
81
|
-
field :capture, Crystalline::Nilable.new(Models::Components::TransferCapture), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capture') } }
|
|
82
74
|
# Raw HTTP response; suitable for custom response parsing
|
|
83
75
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
84
76
|
|
|
85
|
-
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String),
|
|
86
|
-
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil,
|
|
77
|
+
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), invoice_id: T.nilable(::String), amount_details: T.nilable(Models::Components::TransferAmountDetails), raw_response: T.nilable(::Faraday::Response)).void }
|
|
78
|
+
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, foreign_id: nil, line_items: nil, invoice_id: nil, amount_details: nil, raw_response: nil)
|
|
87
79
|
@transfer_id = transfer_id
|
|
88
80
|
@created_on = created_on
|
|
89
81
|
@source = source
|
|
@@ -109,12 +101,10 @@ module Moov
|
|
|
109
101
|
@schedule_id = schedule_id
|
|
110
102
|
@occurrence_id = occurrence_id
|
|
111
103
|
@payment_link_code = payment_link_code
|
|
112
|
-
@sales_tax_amount = sales_tax_amount
|
|
113
104
|
@foreign_id = foreign_id
|
|
114
105
|
@line_items = line_items
|
|
115
106
|
@invoice_id = invoice_id
|
|
116
107
|
@amount_details = amount_details
|
|
117
|
-
@capture = capture
|
|
118
108
|
@raw_response = raw_response
|
|
119
109
|
end
|
|
120
110
|
|
|
@@ -146,12 +136,10 @@ module Moov
|
|
|
146
136
|
return false unless @schedule_id == other.schedule_id
|
|
147
137
|
return false unless @occurrence_id == other.occurrence_id
|
|
148
138
|
return false unless @payment_link_code == other.payment_link_code
|
|
149
|
-
return false unless @sales_tax_amount == other.sales_tax_amount
|
|
150
139
|
return false unless @foreign_id == other.foreign_id
|
|
151
140
|
return false unless @line_items == other.line_items
|
|
152
141
|
return false unless @invoice_id == other.invoice_id
|
|
153
142
|
return false unless @amount_details == other.amount_details
|
|
154
|
-
return false unless @capture == other.capture
|
|
155
143
|
return false unless @raw_response == other.raw_response
|
|
156
144
|
true
|
|
157
145
|
end
|
|
@@ -58,8 +58,6 @@ class Moov::Models::Errors::TransferError
|
|
|
58
58
|
def occurrence_id=(str_); end
|
|
59
59
|
def payment_link_code(); end
|
|
60
60
|
def payment_link_code=(str_); end
|
|
61
|
-
def sales_tax_amount(); end
|
|
62
|
-
def sales_tax_amount=(str_); end
|
|
63
61
|
def foreign_id(); end
|
|
64
62
|
def foreign_id=(str_); end
|
|
65
63
|
def line_items(); end
|
|
@@ -68,8 +66,6 @@ class Moov::Models::Errors::TransferError
|
|
|
68
66
|
def invoice_id=(str_); end
|
|
69
67
|
def amount_details(); end
|
|
70
68
|
def amount_details=(str_); end
|
|
71
|
-
def capture(); end
|
|
72
|
-
def capture=(str_); end
|
|
73
69
|
def raw_response(); end
|
|
74
70
|
def raw_response=(str_); end
|
|
75
71
|
end
|
|
@@ -29,8 +29,6 @@ module Moov
|
|
|
29
29
|
|
|
30
30
|
field :metadata, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
|
|
31
31
|
|
|
32
|
-
field :sales_tax_amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
|
|
33
|
-
|
|
34
32
|
field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
|
|
35
33
|
|
|
36
34
|
field :line_items, Crystalline::Nilable.new(Models::Components::CreateTransferLineItemsValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
@@ -39,8 +37,8 @@ module Moov
|
|
|
39
37
|
# Raw HTTP response; suitable for custom response parsing
|
|
40
38
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
41
39
|
|
|
42
|
-
sig { params(amount: T.nilable(::String), source: T.nilable(::String), source_payment_method_id: T.nilable(::String), destination_payment_method_id: T.nilable(::String), description: T.nilable(::String), facilitator_fee_total_decimal: T.nilable(::String), facilitator_fee_markup_decimal: T.nilable(::String), metadata: T.nilable(::String),
|
|
43
|
-
def initialize(amount: nil, source: nil, source_payment_method_id: nil, destination_payment_method_id: nil, description: nil, facilitator_fee_total_decimal: nil, facilitator_fee_markup_decimal: nil, metadata: nil,
|
|
40
|
+
sig { params(amount: T.nilable(::String), source: T.nilable(::String), source_payment_method_id: T.nilable(::String), destination_payment_method_id: T.nilable(::String), description: T.nilable(::String), facilitator_fee_total_decimal: T.nilable(::String), facilitator_fee_markup_decimal: T.nilable(::String), metadata: T.nilable(::String), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::CreateTransferLineItemsValidationError), amount_details: T.nilable(Models::Components::CreateTransferAmountDetailsValidationError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
41
|
+
def initialize(amount: nil, source: nil, source_payment_method_id: nil, destination_payment_method_id: nil, description: nil, facilitator_fee_total_decimal: nil, facilitator_fee_markup_decimal: nil, metadata: nil, foreign_id: nil, line_items: nil, amount_details: nil, raw_response: nil)
|
|
44
42
|
@amount = amount
|
|
45
43
|
@source = source
|
|
46
44
|
@source_payment_method_id = source_payment_method_id
|
|
@@ -49,7 +47,6 @@ module Moov
|
|
|
49
47
|
@facilitator_fee_total_decimal = facilitator_fee_total_decimal
|
|
50
48
|
@facilitator_fee_markup_decimal = facilitator_fee_markup_decimal
|
|
51
49
|
@metadata = metadata
|
|
52
|
-
@sales_tax_amount = sales_tax_amount
|
|
53
50
|
@foreign_id = foreign_id
|
|
54
51
|
@line_items = line_items
|
|
55
52
|
@amount_details = amount_details
|
|
@@ -67,7 +64,6 @@ module Moov
|
|
|
67
64
|
return false unless @facilitator_fee_total_decimal == other.facilitator_fee_total_decimal
|
|
68
65
|
return false unless @facilitator_fee_markup_decimal == other.facilitator_fee_markup_decimal
|
|
69
66
|
return false unless @metadata == other.metadata
|
|
70
|
-
return false unless @sales_tax_amount == other.sales_tax_amount
|
|
71
67
|
return false unless @foreign_id == other.foreign_id
|
|
72
68
|
return false unless @line_items == other.line_items
|
|
73
69
|
return false unless @amount_details == other.amount_details
|
|
@@ -24,8 +24,6 @@ class Moov::Models::Errors::TransferValidationError
|
|
|
24
24
|
def facilitator_fee_markup_decimal=(str_); end
|
|
25
25
|
def metadata(); end
|
|
26
26
|
def metadata=(str_); end
|
|
27
|
-
def sales_tax_amount(); end
|
|
28
|
-
def sales_tax_amount=(str_); end
|
|
29
27
|
def foreign_id(); end
|
|
30
28
|
def foreign_id=(str_); end
|
|
31
29
|
def line_items(); end
|
|
@@ -23,20 +23,17 @@ module Moov
|
|
|
23
23
|
|
|
24
24
|
field :status, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status') } }
|
|
25
25
|
|
|
26
|
-
field :payment, Crystalline::Nilable.new(Models::Components::InvoicePaymentOptionsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payment') } }
|
|
27
|
-
|
|
28
26
|
field :tax_amount, Crystalline::Nilable.new(Models::Components::AmountDecimalValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('taxAmount') } }
|
|
29
27
|
# Raw HTTP response; suitable for custom response parsing
|
|
30
28
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
31
29
|
|
|
32
|
-
sig { params(description: T.nilable(::String), line_items: T.nilable(Models::Components::InvoiceLineItemsValidationError), invoice_date: T.nilable(::String), due_date: T.nilable(::String), status: T.nilable(::String),
|
|
33
|
-
def initialize(description: nil, line_items: nil, invoice_date: nil, due_date: nil, status: nil,
|
|
30
|
+
sig { params(description: T.nilable(::String), line_items: T.nilable(Models::Components::InvoiceLineItemsValidationError), invoice_date: T.nilable(::String), due_date: T.nilable(::String), status: T.nilable(::String), tax_amount: T.nilable(Models::Components::AmountDecimalValidationError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
31
|
+
def initialize(description: nil, line_items: nil, invoice_date: nil, due_date: nil, status: nil, tax_amount: nil, raw_response: nil)
|
|
34
32
|
@description = description
|
|
35
33
|
@line_items = line_items
|
|
36
34
|
@invoice_date = invoice_date
|
|
37
35
|
@due_date = due_date
|
|
38
36
|
@status = status
|
|
39
|
-
@payment = payment
|
|
40
37
|
@tax_amount = tax_amount
|
|
41
38
|
@raw_response = raw_response
|
|
42
39
|
end
|
|
@@ -49,7 +46,6 @@ module Moov
|
|
|
49
46
|
return false unless @invoice_date == other.invoice_date
|
|
50
47
|
return false unless @due_date == other.due_date
|
|
51
48
|
return false unless @status == other.status
|
|
52
|
-
return false unless @payment == other.payment
|
|
53
49
|
return false unless @tax_amount == other.tax_amount
|
|
54
50
|
return false unless @raw_response == other.raw_response
|
|
55
51
|
true
|
|
@@ -15,20 +15,17 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
field :state, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('state') } }
|
|
17
17
|
|
|
18
|
-
field :
|
|
18
|
+
field :memo, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('memo') } }
|
|
19
19
|
|
|
20
|
-
field :
|
|
21
|
-
|
|
22
|
-
field :billing_address, Crystalline::Nilable.new(Models::Components::AddressError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billingAddress') } }
|
|
20
|
+
field :authorized_user, Crystalline::Nilable.new(Models::Components::CreateAuthorizedUserError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizedUser') } }
|
|
23
21
|
# Raw HTTP response; suitable for custom response parsing
|
|
24
22
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
25
23
|
|
|
26
|
-
sig { params(state: T.nilable(::String),
|
|
27
|
-
def initialize(state: nil,
|
|
24
|
+
sig { params(state: T.nilable(::String), memo: T.nilable(::String), authorized_user: T.nilable(Models::Components::CreateAuthorizedUserError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
25
|
+
def initialize(state: nil, memo: nil, authorized_user: nil, raw_response: nil)
|
|
28
26
|
@state = state
|
|
29
|
-
@
|
|
30
|
-
@
|
|
31
|
-
@billing_address = billing_address
|
|
27
|
+
@memo = memo
|
|
28
|
+
@authorized_user = authorized_user
|
|
32
29
|
@raw_response = raw_response
|
|
33
30
|
end
|
|
34
31
|
|
|
@@ -36,9 +33,8 @@ module Moov
|
|
|
36
33
|
def ==(other)
|
|
37
34
|
return false unless other.is_a? self.class
|
|
38
35
|
return false unless @state == other.state
|
|
39
|
-
return false unless @
|
|
40
|
-
return false unless @
|
|
41
|
-
return false unless @billing_address == other.billing_address
|
|
36
|
+
return false unless @memo == other.memo
|
|
37
|
+
return false unless @authorized_user == other.authorized_user
|
|
42
38
|
return false unless @raw_response == other.raw_response
|
|
43
39
|
true
|
|
44
40
|
end
|
|
@@ -10,12 +10,10 @@ end
|
|
|
10
10
|
class Moov::Models::Errors::UpdateIssuedCardError
|
|
11
11
|
def state(); end
|
|
12
12
|
def state=(str_); end
|
|
13
|
-
def
|
|
14
|
-
def
|
|
15
|
-
def
|
|
16
|
-
def
|
|
17
|
-
def billing_address(); end
|
|
18
|
-
def billing_address=(str_); end
|
|
13
|
+
def memo(); end
|
|
14
|
+
def memo=(str_); end
|
|
15
|
+
def authorized_user(); end
|
|
16
|
+
def authorized_user=(str_); end
|
|
19
17
|
def raw_response(); end
|
|
20
18
|
def raw_response=(str_); end
|
|
21
19
|
end
|
|
@@ -15,8 +15,6 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
field :amount, Crystalline::Nilable.new(Models::Components::AmountValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
|
|
17
17
|
|
|
18
|
-
field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::AmountValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
|
|
19
|
-
|
|
20
18
|
field :expires_on, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn') } }
|
|
21
19
|
|
|
22
20
|
field :display, Crystalline::Nilable.new(Models::Components::DisplayOptionsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('display') } }
|
|
@@ -26,18 +24,20 @@ module Moov
|
|
|
26
24
|
field :payout, Crystalline::Nilable.new(Models::Components::PayoutDetailsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payout') } }
|
|
27
25
|
|
|
28
26
|
field :line_items, Crystalline::Nilable.new(Models::Components::CreatePaymentLinkLineItemsValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
|
|
27
|
+
|
|
28
|
+
field :amount_details, Crystalline::Nilable.new(Models::Components::UpdatePaymentLinkAmountDetailsValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
|
|
29
29
|
# Raw HTTP response; suitable for custom response parsing
|
|
30
30
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
31
31
|
|
|
32
|
-
sig { params(amount: T.nilable(Models::Components::AmountValidationError),
|
|
33
|
-
def initialize(amount: nil,
|
|
32
|
+
sig { params(amount: T.nilable(Models::Components::AmountValidationError), expires_on: T.nilable(::String), display: T.nilable(Models::Components::DisplayOptionsError), payment: T.nilable(Models::Components::PaymentDetailsError), payout: T.nilable(Models::Components::PayoutDetailsError), line_items: T.nilable(Models::Components::CreatePaymentLinkLineItemsValidationError), amount_details: T.nilable(Models::Components::UpdatePaymentLinkAmountDetailsValidationError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
33
|
+
def initialize(amount: nil, expires_on: nil, display: nil, payment: nil, payout: nil, line_items: nil, amount_details: nil, raw_response: nil)
|
|
34
34
|
@amount = amount
|
|
35
|
-
@sales_tax_amount = sales_tax_amount
|
|
36
35
|
@expires_on = expires_on
|
|
37
36
|
@display = display
|
|
38
37
|
@payment = payment
|
|
39
38
|
@payout = payout
|
|
40
39
|
@line_items = line_items
|
|
40
|
+
@amount_details = amount_details
|
|
41
41
|
@raw_response = raw_response
|
|
42
42
|
end
|
|
43
43
|
|
|
@@ -45,12 +45,12 @@ module Moov
|
|
|
45
45
|
def ==(other)
|
|
46
46
|
return false unless other.is_a? self.class
|
|
47
47
|
return false unless @amount == other.amount
|
|
48
|
-
return false unless @sales_tax_amount == other.sales_tax_amount
|
|
49
48
|
return false unless @expires_on == other.expires_on
|
|
50
49
|
return false unless @display == other.display
|
|
51
50
|
return false unless @payment == other.payment
|
|
52
51
|
return false unless @payout == other.payout
|
|
53
52
|
return false unless @line_items == other.line_items
|
|
53
|
+
return false unless @amount_details == other.amount_details
|
|
54
54
|
return false unless @raw_response == other.raw_response
|
|
55
55
|
true
|
|
56
56
|
end
|
|
@@ -10,8 +10,6 @@ end
|
|
|
10
10
|
class Moov::Models::Errors::UpdatePaymentLinkError
|
|
11
11
|
def amount(); end
|
|
12
12
|
def amount=(str_); end
|
|
13
|
-
def sales_tax_amount(); end
|
|
14
|
-
def sales_tax_amount=(str_); end
|
|
15
13
|
def expires_on(); end
|
|
16
14
|
def expires_on=(str_); end
|
|
17
15
|
def display(); end
|
|
@@ -22,6 +20,8 @@ class Moov::Models::Errors::UpdatePaymentLinkError
|
|
|
22
20
|
def payout=(str_); end
|
|
23
21
|
def line_items(); end
|
|
24
22
|
def line_items=(str_); end
|
|
23
|
+
def amount_details(); end
|
|
24
|
+
def amount_details=(str_); end
|
|
25
25
|
def raw_response(); end
|
|
26
26
|
def raw_response=(str_); end
|
|
27
27
|
end
|
data/lib/moov/models/errors.rb
CHANGED
|
@@ -14,6 +14,7 @@ module Moov
|
|
|
14
14
|
autoload :BankAccountValidationError, 'moov/models/errors/bankaccountvalidationerror.rb'
|
|
15
15
|
autoload :BrandValidationError, 'moov/models/errors/brandvalidationerror.rb'
|
|
16
16
|
autoload :CardAcquiringRefundError, 'moov/models/errors/cardacquiringrefund_error.rb'
|
|
17
|
+
autoload :CardMetadataRequestError, 'moov/models/errors/cardmetadatarequesterror.rb'
|
|
17
18
|
autoload :ConnectAccountRequestValidationError, 'moov/models/errors/connectaccountrequestvalidationerror.rb'
|
|
18
19
|
autoload :CreateAccountError, 'moov/models/errors/createaccounterror.rb'
|
|
19
20
|
autoload :CreateInvoiceError, 'moov/models/errors/createinvoiceerror.rb'
|
|
@@ -31,8 +32,6 @@ module Moov
|
|
|
31
32
|
autoload :GenericError, 'moov/models/errors/genericerror.rb'
|
|
32
33
|
autoload :ImageMetadataValidationError, 'moov/models/errors/imagemetadatavalidationerror.rb'
|
|
33
34
|
autoload :ImageRequestValidationError, 'moov/models/errors/imagerequestvalidationerror.rb'
|
|
34
|
-
autoload :InvoiceNotificationError, 'moov/models/errors/invoicenotificationerror.rb'
|
|
35
|
-
autoload :InvoiceNotificationRateLimitedError, 'moov/models/errors/invoicenotificationratelimitederror.rb'
|
|
36
35
|
autoload :LinkApplePayError, 'moov/models/errors/linkapplepayerror.rb'
|
|
37
36
|
autoload :LinkCardError, 'moov/models/errors/linkcarderror.rb'
|
|
38
37
|
autoload :LinkGooglePayError, 'moov/models/errors/linkgooglepayerror.rb'
|
|
@@ -16,15 +16,11 @@ module Moov
|
|
|
16
16
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
17
|
# The transfer ID to cancel.
|
|
18
18
|
field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
|
|
19
|
-
# Prevents duplicate cancellations from being created.
|
|
20
|
-
# In v2026.10 and later, this header is required, and reusing a key returns a `409` response with the original cancellation.
|
|
21
|
-
field :x_idempotency_key, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'x-idempotency-key', 'style': 'simple', 'explode': false } }
|
|
22
19
|
|
|
23
|
-
sig { params(account_id: ::String, transfer_id: ::String
|
|
24
|
-
def initialize(account_id:, transfer_id
|
|
20
|
+
sig { params(account_id: ::String, transfer_id: ::String).void }
|
|
21
|
+
def initialize(account_id:, transfer_id:)
|
|
25
22
|
@account_id = account_id
|
|
26
23
|
@transfer_id = transfer_id
|
|
27
|
-
@x_idempotency_key = x_idempotency_key
|
|
28
24
|
end
|
|
29
25
|
|
|
30
26
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -32,7 +28,6 @@ module Moov
|
|
|
32
28
|
return false unless other.is_a? self.class
|
|
33
29
|
return false unless @account_id == other.account_id
|
|
34
30
|
return false unless @transfer_id == other.transfer_id
|
|
35
|
-
return false unless @x_idempotency_key == other.x_idempotency_key
|
|
36
31
|
true
|
|
37
32
|
end
|
|
38
33
|
end
|
|
@@ -16,13 +16,7 @@ module Moov
|
|
|
16
16
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
17
|
# Moov account capabilities.
|
|
18
18
|
#
|
|
19
|
-
#
|
|
20
|
-
#
|
|
21
|
-
# The `send-funds`, `collect-funds`, and `wallet` capability IDs are deprecated. Request granular capabilities instead (for example, `send-funds.ach`, `collect-funds.card-payments`, or `wallet.balance`). Deprecated values will be removed in a future API version.
|
|
22
|
-
#
|
|
23
|
-
# Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
|
|
24
|
-
#
|
|
25
|
-
# The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
|
|
19
|
+
# The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in your list. These are read-only capabilities that Moov requests and uses for account verification purposes. These capabilities remains active with your account and require no additional action.
|
|
26
20
|
field :capability_id, Models::Components::CapabilityID, { 'path_param': { 'field_name': 'capabilityID', 'style': 'simple', 'explode': false } }
|
|
27
21
|
|
|
28
22
|
sig { params(account_id: ::String, capability_id: Models::Components::CapabilityID).void }
|