moov_ruby 26.7.0.pre.dev.6 → 26.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/moov/avatars.rb +276 -1
- data/lib/moov/card_issuing.rb +116 -0
- 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/institutions.rb +1 -1
- data/lib/moov/models/components/allowedscheduleerror.rb +36 -0
- data/lib/moov/models/components/allowedscheduleerror.rbi +15 -0
- data/lib/moov/models/components/avataruploadrequest.rb +32 -0
- data/lib/moov/models/components/avataruploadrequest.rbi +13 -0
- data/lib/moov/models/components/avataruploadrequest_file.rb +36 -0
- data/lib/moov/models/components/avataruploadrequest_file.rbi +15 -0
- data/lib/moov/models/components/capabilityid.rb +1 -0
- data/lib/moov/models/components/createdtransfer.rb +6 -2
- data/lib/moov/models/components/createdtransfer.rbi +2 -0
- data/lib/moov/models/components/createrefund.rb +2 -2
- data/lib/moov/models/components/createreversal.rb +1 -1
- data/lib/moov/models/components/createtransfer.rb +6 -2
- data/lib/moov/models/components/createtransfer.rbi +2 -0
- data/lib/moov/models/components/feepaidby.rb +19 -0
- data/lib/moov/models/components/feepaidby.rbi +11 -0
- data/lib/moov/models/components/fullissuedcard.rb +3 -3
- data/lib/moov/models/components/incurredfee.rb +6 -2
- data/lib/moov/models/components/incurredfee.rbi +2 -0
- data/lib/moov/models/components/issuedcard.rb +3 -3
- data/lib/moov/models/components/issuedcontrols.rb +52 -0
- data/lib/moov/models/components/issuedcontrols.rbi +23 -0
- data/lib/moov/models/components/issuedcontrols_allowedschedule.rb +36 -0
- data/lib/moov/models/components/issuedcontrols_allowedschedule.rbi +15 -0
- data/lib/moov/models/components/issuedvelocitylimit.rb +60 -0
- data/lib/moov/models/components/issuedvelocitylimit.rbi +27 -0
- data/lib/moov/models/components/issuingcontrols.rb +18 -2
- data/lib/moov/models/components/issuingcontrols.rbi +8 -0
- data/lib/moov/models/components/issuingcontrols_allowedschedule.rb +36 -0
- data/lib/moov/models/components/issuingcontrols_allowedschedule.rbi +15 -0
- data/lib/moov/models/components/issuingcontrolserror.rb +18 -2
- data/lib/moov/models/components/issuingcontrolserror.rbi +8 -0
- data/lib/moov/models/components/issuingcontrolsrestrictionmode.rb +19 -0
- data/lib/moov/models/components/issuingcontrolsrestrictionmode.rbi +11 -0
- data/lib/moov/models/components/issuingintervallimit.rb +4 -1
- data/lib/moov/models/components/issuingmerchantcategory.rb +43 -0
- data/lib/moov/models/components/issuingmerchantcategory.rbi +11 -0
- data/lib/moov/models/components/issuingscheduleday.rb +24 -0
- data/lib/moov/models/components/issuingscheduleday.rbi +11 -0
- data/lib/moov/models/components/issuingvelocitylimit.rb +11 -7
- data/lib/moov/models/components/issuingvelocitylimit.rbi +4 -2
- data/lib/moov/models/components/issuingvelocitylimiterror.rb +6 -2
- data/lib/moov/models/components/issuingvelocitylimiterror.rbi +2 -0
- data/lib/moov/models/components/merchantcategories.rb +32 -0
- data/lib/moov/models/components/merchantcategories.rbi +13 -0
- data/lib/moov/models/components/merchantcategory.rb +37 -0
- data/lib/moov/models/components/merchantcategory.rbi +15 -0
- data/lib/moov/models/components/merchantcategoryrestrictions.rb +44 -0
- data/lib/moov/models/components/merchantcategoryrestrictions.rbi +19 -0
- data/lib/moov/models/components/merchantcategoryrestrictionserror.rb +44 -0
- data/lib/moov/models/components/merchantcategoryrestrictionserror.rbi +19 -0
- data/lib/moov/models/components/merchantentry.rb +40 -0
- data/lib/moov/models/components/merchantentry.rbi +17 -0
- data/lib/moov/models/components/merchantentryerror.rb +36 -0
- data/lib/moov/models/components/merchantentryerror.rbi +15 -0
- data/lib/moov/models/components/merchantrestrictions.rb +36 -0
- data/lib/moov/models/components/merchantrestrictions.rbi +15 -0
- data/lib/moov/models/components/merchantrestrictionserror.rb +36 -0
- data/lib/moov/models/components/merchantrestrictionserror.rbi +15 -0
- data/lib/moov/models/components/paymentlinkpayoutdetails.rb +8 -2
- data/lib/moov/models/components/paymentlinkpayoutdetails.rbi +2 -0
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rb +8 -2
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rbi +2 -0
- data/lib/moov/models/components/paymentmethodswallet.rb +1 -0
- data/lib/moov/models/components/payoutdetailserror.rb +6 -2
- data/lib/moov/models/components/payoutdetailserror.rbi +2 -0
- data/lib/moov/models/components/product.rb +6 -2
- data/lib/moov/models/components/product.rbi +2 -0
- data/lib/moov/models/components/productcategories.rb +32 -0
- data/lib/moov/models/components/productcategories.rbi +13 -0
- data/lib/moov/models/components/productcategory.rb +48 -0
- data/lib/moov/models/components/productcategory.rbi +21 -0
- data/lib/moov/models/components/productrequest.rb +6 -2
- data/lib/moov/models/components/productrequest.rbi +2 -0
- data/lib/moov/models/components/schedulewindow.rb +40 -0
- data/lib/moov/models/components/schedulewindow.rbi +17 -0
- data/lib/moov/models/components/schedulewindowerror.rb +40 -0
- data/lib/moov/models/components/schedulewindowerror.rbi +17 -0
- data/lib/moov/models/components/schemebasicauth.rb +36 -0
- data/lib/moov/models/components/schemebasicauth.rbi +15 -0
- data/lib/moov/models/components/schemeoauth2auth.rb +40 -0
- data/lib/moov/models/components/schemeoauth2auth.rbi +17 -0
- data/lib/moov/models/components/sendfunds.rb +6 -2
- data/lib/moov/models/components/sendfunds.rbi +2 -0
- data/lib/moov/models/components/sendfundserror.rb +6 -2
- data/lib/moov/models/components/sendfundserror.rbi +2 -0
- data/lib/moov/models/components/sendfundswire.rb +32 -0
- data/lib/moov/models/components/sendfundswire.rbi +13 -0
- data/lib/moov/models/components/sendfundswireerror.rb +32 -0
- data/lib/moov/models/components/sendfundswireerror.rbi +13 -0
- data/lib/moov/models/components/transfer.rb +6 -2
- data/lib/moov/models/components/transfer.rbi +2 -0
- data/lib/moov/models/components/transfercapture.rb +36 -0
- data/lib/moov/models/components/transfercapture.rbi +15 -0
- data/lib/moov/models/components/transferfeepaidby.rb +32 -0
- data/lib/moov/models/components/transferfeepaidby.rbi +13 -0
- data/lib/moov/models/components/transferpaymentmethodswallet.rb +1 -0
- data/lib/moov/models/components/updateissuedcard.rb +6 -2
- data/lib/moov/models/components/updateissuedcard.rbi +2 -0
- data/lib/moov/models/components/updateissuingcontrols.rb +48 -0
- data/lib/moov/models/components/updateissuingcontrols.rbi +21 -0
- data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rb +36 -0
- data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rbi +15 -0
- data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rb +44 -0
- data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rbi +19 -0
- data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rb +36 -0
- data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rbi +15 -0
- data/lib/moov/models/components/updateissuingcontrolserror.rb +48 -0
- data/lib/moov/models/components/updateissuingcontrolserror.rbi +21 -0
- data/lib/moov/models/components/wallet.rb +1 -0
- data/lib/moov/models/components/wallettype.rb +2 -0
- data/lib/moov/models/components/webhookdatatransferstatus.rb +3 -0
- data/lib/moov/models/components.rb +34 -0
- data/lib/moov/models/errors/productrequestvalidationerror.rb +6 -2
- data/lib/moov/models/errors/productrequestvalidationerror.rbi +2 -0
- data/lib/moov/models/errors/transfer_error.rb +6 -2
- data/lib/moov/models/errors/transfer_error.rbi +2 -0
- data/lib/moov/models/errors/updateissuedcarderror.rb +6 -2
- data/lib/moov/models/errors/updateissuedcarderror.rbi +2 -0
- data/lib/moov/models/operations/deleteavatar_request.rb +32 -0
- data/lib/moov/models/operations/deleteavatar_request.rbi +13 -0
- data/lib/moov/models/operations/deleteavatar_response.rb +44 -0
- data/lib/moov/models/operations/deleteavatar_response.rbi +19 -0
- data/lib/moov/models/operations/deleteavatar_security.rb +36 -0
- data/lib/moov/models/operations/deleteavatar_security.rbi +15 -0
- data/lib/moov/models/operations/listissuingmerchantcategories_response.rb +48 -0
- data/lib/moov/models/operations/listissuingmerchantcategories_response.rbi +21 -0
- data/lib/moov/models/operations/listproductcategories_response.rb +48 -0
- data/lib/moov/models/operations/listproductcategories_response.rbi +21 -0
- data/lib/moov/models/operations/listproducts_request.rb +8 -2
- data/lib/moov/models/operations/listproducts_request.rbi +2 -0
- data/lib/moov/models/operations/listtransfers_request.rb +10 -2
- data/lib/moov/models/operations/listtransfers_request.rbi +4 -0
- data/lib/moov/models/operations/uploadavatar_request.rb +36 -0
- data/lib/moov/models/operations/uploadavatar_request.rbi +15 -0
- data/lib/moov/models/operations/uploadavatar_response.rb +44 -0
- data/lib/moov/models/operations/uploadavatar_response.rbi +19 -0
- data/lib/moov/models/operations/uploadavatar_security.rb +36 -0
- data/lib/moov/models/operations/uploadavatar_security.rbi +15 -0
- data/lib/moov/models/operations.rb +8 -0
- data/lib/moov/products.rb +113 -8
- data/lib/moov/sdk_hooks/clientcredentials.rb +386 -0
- data/lib/moov/sdk_hooks/hooks.rb +6 -0
- data/lib/moov/sdk_hooks/oauth2scopes.rb +18 -0
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov_ruby.rb +1 -1
- metadata +90 -4
|
@@ -47,6 +47,7 @@ module Moov
|
|
|
47
47
|
autoload :AddressSuggestion, 'moov/models/components/addresssuggestion.rb'
|
|
48
48
|
autoload :AddressUpdate, 'moov/models/components/addressupdate.rb'
|
|
49
49
|
autoload :Adjustment, 'moov/models/components/adjustment.rb'
|
|
50
|
+
autoload :AllowedScheduleError, 'moov/models/components/allowedscheduleerror.rb'
|
|
50
51
|
autoload :Amount, 'moov/models/components/amount.rb'
|
|
51
52
|
autoload :AmountDecimal, 'moov/models/components/amountdecimal.rb'
|
|
52
53
|
autoload :AmountDecimalRange, 'moov/models/components/amountdecimalrange.rb'
|
|
@@ -73,6 +74,8 @@ module Moov
|
|
|
73
74
|
autoload :AsyncTransfer, 'moov/models/components/asynctransfer.rb'
|
|
74
75
|
autoload :AuthToken, 'moov/models/components/authtoken.rb'
|
|
75
76
|
autoload :AuthTokenRequest, 'moov/models/components/authtokenrequest.rb'
|
|
77
|
+
autoload :AvatarUploadRequest, 'moov/models/components/avataruploadrequest.rb'
|
|
78
|
+
autoload :AvatarUploadRequestFile, 'moov/models/components/avataruploadrequest_file.rb'
|
|
76
79
|
autoload :BankAccount, 'moov/models/components/bankaccount.rb'
|
|
77
80
|
autoload :BankAccountException, 'moov/models/components/bankaccountexception.rb'
|
|
78
81
|
autoload :BankAccountHolderType, 'moov/models/components/bankaccountholdertype.rb'
|
|
@@ -276,6 +279,7 @@ module Moov
|
|
|
276
279
|
autoload :FedNowServices, 'moov/models/components/fednowservices.rb'
|
|
277
280
|
autoload :FeeCategory, 'moov/models/components/feecategory.rb'
|
|
278
281
|
autoload :FeeModel, 'moov/models/components/feemodel.rb'
|
|
282
|
+
autoload :FeePaidBy, 'moov/models/components/feepaidby.rb'
|
|
279
283
|
autoload :FeePlan, 'moov/models/components/feeplan.rb'
|
|
280
284
|
autoload :FeePlanAgreement, 'moov/models/components/feeplanagreement.rb'
|
|
281
285
|
autoload :FeePlanAgreementStatus, 'moov/models/components/feeplanagreementstatus.rb'
|
|
@@ -359,11 +363,18 @@ module Moov
|
|
|
359
363
|
autoload :IssuedCardFormFactor, 'moov/models/components/issuedcardformfactor.rb'
|
|
360
364
|
autoload :IssuedCardState, 'moov/models/components/issuedcardstate.rb'
|
|
361
365
|
autoload :IssuedCardTransaction, 'moov/models/components/issuedcardtransaction.rb'
|
|
366
|
+
autoload :IssuedControls, 'moov/models/components/issuedcontrols.rb'
|
|
367
|
+
autoload :IssuedControlsAllowedSchedule, 'moov/models/components/issuedcontrols_allowedschedule.rb'
|
|
368
|
+
autoload :IssuedVelocityLimit, 'moov/models/components/issuedvelocitylimit.rb'
|
|
362
369
|
autoload :IssuingAuthorizationStatus, 'moov/models/components/issuingauthorizationstatus.rb'
|
|
363
370
|
autoload :IssuingControls, 'moov/models/components/issuingcontrols.rb'
|
|
364
371
|
autoload :IssuingControlsError, 'moov/models/components/issuingcontrolserror.rb'
|
|
372
|
+
autoload :IssuingControlsRestrictionMode, 'moov/models/components/issuingcontrolsrestrictionmode.rb'
|
|
373
|
+
autoload :IssuingControlsAllowedSchedule, 'moov/models/components/issuingcontrols_allowedschedule.rb'
|
|
365
374
|
autoload :IssuingIntervalLimit, 'moov/models/components/issuingintervallimit.rb'
|
|
375
|
+
autoload :IssuingMerchantCategory, 'moov/models/components/issuingmerchantcategory.rb'
|
|
366
376
|
autoload :IssuingMerchantData, 'moov/models/components/issuingmerchantdata.rb'
|
|
377
|
+
autoload :IssuingScheduleDay, 'moov/models/components/issuingscheduleday.rb'
|
|
367
378
|
autoload :IssuingVelocityLimit, 'moov/models/components/issuingvelocitylimit.rb'
|
|
368
379
|
autoload :IssuingVelocityLimitError, 'moov/models/components/issuingvelocitylimiterror.rb'
|
|
369
380
|
autoload :ItemListNextPage, 'moov/models/components/itemlistnextpage.rb'
|
|
@@ -383,6 +394,14 @@ module Moov
|
|
|
383
394
|
autoload :MXAuthorizationCode, 'moov/models/components/mxauthorizationcode.rb'
|
|
384
395
|
autoload :ManualTermsOfService, 'moov/models/components/manualtermsofservice.rb'
|
|
385
396
|
autoload :ManualTermsOfServiceUpdate, 'moov/models/components/manualtermsofserviceupdate.rb'
|
|
397
|
+
autoload :MerchantCategories, 'moov/models/components/merchantcategories.rb'
|
|
398
|
+
autoload :MerchantCategory, 'moov/models/components/merchantcategory.rb'
|
|
399
|
+
autoload :MerchantCategoryRestrictions, 'moov/models/components/merchantcategoryrestrictions.rb'
|
|
400
|
+
autoload :MerchantCategoryRestrictionsError, 'moov/models/components/merchantcategoryrestrictionserror.rb'
|
|
401
|
+
autoload :MerchantEntry, 'moov/models/components/merchantentry.rb'
|
|
402
|
+
autoload :MerchantEntryError, 'moov/models/components/merchantentryerror.rb'
|
|
403
|
+
autoload :MerchantRestrictions, 'moov/models/components/merchantrestrictions.rb'
|
|
404
|
+
autoload :MerchantRestrictionsError, 'moov/models/components/merchantrestrictionserror.rb'
|
|
386
405
|
autoload :MicroDepositStatus, 'moov/models/components/microdepositstatus.rb'
|
|
387
406
|
autoload :MinimumCommitment, 'moov/models/components/minimumcommitment.rb'
|
|
388
407
|
autoload :Mode, 'moov/models/components/mode.rb'
|
|
@@ -457,6 +476,8 @@ module Moov
|
|
|
457
476
|
autoload :PlatformFees, 'moov/models/components/platformfees.rb'
|
|
458
477
|
autoload :PrimaryRegulator, 'moov/models/components/primaryregulator.rb'
|
|
459
478
|
autoload :Product, 'moov/models/components/product.rb'
|
|
479
|
+
autoload :ProductCategories, 'moov/models/components/productcategories.rb'
|
|
480
|
+
autoload :ProductCategory, 'moov/models/components/productcategory.rb'
|
|
460
481
|
autoload :ProductImageMetadata, 'moov/models/components/productimagemetadata.rb'
|
|
461
482
|
autoload :ProductOption, 'moov/models/components/productoption.rb'
|
|
462
483
|
autoload :ProductOptionGroup, 'moov/models/components/productoptiongroup.rb'
|
|
@@ -538,10 +559,14 @@ module Moov
|
|
|
538
559
|
autoload :ScheduleListResponse, 'moov/models/components/schedulelistresponse.rb'
|
|
539
560
|
autoload :SchedulePaymentMethod, 'moov/models/components/schedulepaymentmethod.rb'
|
|
540
561
|
autoload :ScheduleResponse, 'moov/models/components/scheduleresponse.rb'
|
|
562
|
+
autoload :ScheduleWindow, 'moov/models/components/schedulewindow.rb'
|
|
563
|
+
autoload :ScheduleWindowError, 'moov/models/components/schedulewindowerror.rb'
|
|
541
564
|
autoload :ScheduledTransferImageMetadata, 'moov/models/components/scheduledtransferimagemetadata.rb'
|
|
542
565
|
autoload :ScheduledTransferLineItem, 'moov/models/components/scheduledtransferlineitem.rb'
|
|
543
566
|
autoload :ScheduledTransferLineItemOption, 'moov/models/components/scheduledtransferlineitemoption.rb'
|
|
544
567
|
autoload :ScheduledTransferLineItems, 'moov/models/components/scheduledtransferlineitems.rb'
|
|
568
|
+
autoload :SchemeBasicAuth, 'moov/models/components/schemebasicauth.rb'
|
|
569
|
+
autoload :SchemeOAuth2Auth, 'moov/models/components/schemeoauth2auth.rb'
|
|
545
570
|
autoload :Security, 'moov/models/components/security.rb'
|
|
546
571
|
autoload :SendFunds, 'moov/models/components/sendfunds.rb'
|
|
547
572
|
autoload :SendFundsAch, 'moov/models/components/sendfundsach.rb'
|
|
@@ -553,6 +578,8 @@ module Moov
|
|
|
553
578
|
autoload :SendFundsPushToCardError, 'moov/models/components/sendfundspushtocarderror.rb'
|
|
554
579
|
autoload :SendFundsRtp, 'moov/models/components/sendfundsrtp.rb'
|
|
555
580
|
autoload :SendFundsRtpError, 'moov/models/components/sendfundsrtperror.rb'
|
|
581
|
+
autoload :SendFundsWire, 'moov/models/components/sendfundswire.rb'
|
|
582
|
+
autoload :SendFundsWireError, 'moov/models/components/sendfundswireerror.rb'
|
|
556
583
|
autoload :SentReceipt, 'moov/models/components/sentreceipt.rb'
|
|
557
584
|
autoload :Settings, 'moov/models/components/settings.rb'
|
|
558
585
|
autoload :ShareScopes, 'moov/models/components/sharescopes.rb'
|
|
@@ -593,11 +620,13 @@ module Moov
|
|
|
593
620
|
autoload :TransferACHAddendaRecord, 'moov/models/components/transferachaddendarecord.rb'
|
|
594
621
|
autoload :TransferAccount, 'moov/models/components/transferaccount.rb'
|
|
595
622
|
autoload :TransferAmountDetails, 'moov/models/components/transferamountdetails.rb'
|
|
623
|
+
autoload :TransferCapture, 'moov/models/components/transfercapture.rb'
|
|
596
624
|
autoload :TransferConfig, 'moov/models/components/transferconfig.rb'
|
|
597
625
|
autoload :TransferControls, 'moov/models/components/transfercontrols.rb'
|
|
598
626
|
autoload :TransferDestination, 'moov/models/components/transferdestination.rb'
|
|
599
627
|
autoload :TransferEntryMode, 'moov/models/components/transferentrymode.rb'
|
|
600
628
|
autoload :TransferFailureReason, 'moov/models/components/transferfailurereason.rb'
|
|
629
|
+
autoload :TransferFeePaidBy, 'moov/models/components/transferfeepaidby.rb'
|
|
601
630
|
autoload :TransferLineItem, 'moov/models/components/transferlineitem.rb'
|
|
602
631
|
autoload :TransferLineItemImageMetadata, 'moov/models/components/transferlineitemimagemetadata.rb'
|
|
603
632
|
autoload :TransferLineItemOption, 'moov/models/components/transferlineitemoption.rb'
|
|
@@ -623,6 +652,11 @@ module Moov
|
|
|
623
652
|
autoload :UpdateInvoice, 'moov/models/components/updateinvoice.rb'
|
|
624
653
|
autoload :UpdateIssuedCard, 'moov/models/components/updateissuedcard.rb'
|
|
625
654
|
autoload :UpdateIssuedCardState, 'moov/models/components/updateissuedcardstate.rb'
|
|
655
|
+
autoload :UpdateIssuingControls, 'moov/models/components/updateissuingcontrols.rb'
|
|
656
|
+
autoload :UpdateIssuingControlsError, 'moov/models/components/updateissuingcontrolserror.rb'
|
|
657
|
+
autoload :UpdateIssuingControlsAllowedSchedule, 'moov/models/components/updateissuingcontrols_allowedschedule.rb'
|
|
658
|
+
autoload :UpdateIssuingControlsMerchantCategoryRestrictions, 'moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rb'
|
|
659
|
+
autoload :UpdateIssuingControlsMerchantRestrictions, 'moov/models/components/updateissuingcontrols_merchantrestrictions.rb'
|
|
626
660
|
autoload :UpdatePaymentLink, 'moov/models/components/updatepaymentlink.rb'
|
|
627
661
|
autoload :UpdatePaymentLinkAmountDetails, 'moov/models/components/updatepaymentlinkamountdetails.rb'
|
|
628
662
|
autoload :UpdatePaymentLinkAmountDetailsValidationError, 'moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rb'
|
|
@@ -22,16 +22,19 @@ module Moov
|
|
|
22
22
|
field :images, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::AssignProductImageValidationError)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('images') } }
|
|
23
23
|
|
|
24
24
|
field :option_groups, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::ProductOptionGroupValidationError)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('optionGroups') } }
|
|
25
|
+
|
|
26
|
+
field :category_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('categoryID') } }
|
|
25
27
|
# Raw HTTP response; suitable for custom response parsing
|
|
26
28
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
27
29
|
|
|
28
|
-
sig { params(title: T.nilable(::String), description: T.nilable(::String), base_price: T.nilable(Models::Components::AmountDecimalValidationError), images: T.nilable(T::Hash[Symbol, Models::Components::AssignProductImageValidationError]), option_groups: T.nilable(T::Hash[Symbol, Models::Components::ProductOptionGroupValidationError]), raw_response: T.nilable(::Faraday::Response)).void }
|
|
29
|
-
def initialize(title: nil, description: nil, base_price: nil, images: nil, option_groups: nil, raw_response: nil)
|
|
30
|
+
sig { params(title: T.nilable(::String), description: T.nilable(::String), base_price: T.nilable(Models::Components::AmountDecimalValidationError), images: T.nilable(T::Hash[Symbol, Models::Components::AssignProductImageValidationError]), option_groups: T.nilable(T::Hash[Symbol, Models::Components::ProductOptionGroupValidationError]), category_id: T.nilable(::String), raw_response: T.nilable(::Faraday::Response)).void }
|
|
31
|
+
def initialize(title: nil, description: nil, base_price: nil, images: nil, option_groups: nil, category_id: nil, raw_response: nil)
|
|
30
32
|
@title = title
|
|
31
33
|
@description = description
|
|
32
34
|
@base_price = base_price
|
|
33
35
|
@images = images
|
|
34
36
|
@option_groups = option_groups
|
|
37
|
+
@category_id = category_id
|
|
35
38
|
@raw_response = raw_response
|
|
36
39
|
end
|
|
37
40
|
|
|
@@ -43,6 +46,7 @@ module Moov
|
|
|
43
46
|
return false unless @base_price == other.base_price
|
|
44
47
|
return false unless @images == other.images
|
|
45
48
|
return false unless @option_groups == other.option_groups
|
|
49
|
+
return false unless @category_id == other.category_id
|
|
46
50
|
return false unless @raw_response == other.raw_response
|
|
47
51
|
true
|
|
48
52
|
end
|
|
@@ -18,6 +18,8 @@ class Moov::Models::Errors::ProductRequestValidationError
|
|
|
18
18
|
def images=(str_); end
|
|
19
19
|
def option_groups(); end
|
|
20
20
|
def option_groups=(str_); end
|
|
21
|
+
def category_id(); end
|
|
22
|
+
def category_id=(str_); end
|
|
21
23
|
def raw_response(); end
|
|
22
24
|
def raw_response=(str_); end
|
|
23
25
|
end
|
|
@@ -71,11 +71,13 @@ module Moov
|
|
|
71
71
|
field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
|
|
72
72
|
|
|
73
73
|
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') } }
|
|
74
76
|
# Raw HTTP response; suitable for custom response parsing
|
|
75
77
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
76
78
|
|
|
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)
|
|
79
|
+
sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), invoice_id: T.nilable(::String), amount_details: T.nilable(Models::Components::TransferAmountDetails), capture: T.nilable(Models::Components::TransferCapture), raw_response: T.nilable(::Faraday::Response)).void }
|
|
80
|
+
def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, foreign_id: nil, line_items: nil, invoice_id: nil, amount_details: nil, capture: nil, raw_response: nil)
|
|
79
81
|
@transfer_id = transfer_id
|
|
80
82
|
@created_on = created_on
|
|
81
83
|
@source = source
|
|
@@ -105,6 +107,7 @@ module Moov
|
|
|
105
107
|
@line_items = line_items
|
|
106
108
|
@invoice_id = invoice_id
|
|
107
109
|
@amount_details = amount_details
|
|
110
|
+
@capture = capture
|
|
108
111
|
@raw_response = raw_response
|
|
109
112
|
end
|
|
110
113
|
|
|
@@ -140,6 +143,7 @@ module Moov
|
|
|
140
143
|
return false unless @line_items == other.line_items
|
|
141
144
|
return false unless @invoice_id == other.invoice_id
|
|
142
145
|
return false unless @amount_details == other.amount_details
|
|
146
|
+
return false unless @capture == other.capture
|
|
143
147
|
return false unless @raw_response == other.raw_response
|
|
144
148
|
true
|
|
145
149
|
end
|
|
@@ -20,15 +20,18 @@ module Moov
|
|
|
20
20
|
field :metadata, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
|
|
21
21
|
|
|
22
22
|
field :billing_address, Crystalline::Nilable.new(Models::Components::AddressError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billingAddress') } }
|
|
23
|
+
|
|
24
|
+
field :controls, Crystalline::Nilable.new(Models::Components::UpdateIssuingControlsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('controls') } }
|
|
23
25
|
# Raw HTTP response; suitable for custom response parsing
|
|
24
26
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
25
27
|
|
|
26
|
-
sig { params(state: T.nilable(::String), nickname: T.nilable(::String), metadata: T.nilable(::String), billing_address: T.nilable(Models::Components::AddressError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
27
|
-
def initialize(state: nil, nickname: nil, metadata: nil, billing_address: nil, raw_response: nil)
|
|
28
|
+
sig { params(state: T.nilable(::String), nickname: T.nilable(::String), metadata: T.nilable(::String), billing_address: T.nilable(Models::Components::AddressError), controls: T.nilable(Models::Components::UpdateIssuingControlsError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
29
|
+
def initialize(state: nil, nickname: nil, metadata: nil, billing_address: nil, controls: nil, raw_response: nil)
|
|
28
30
|
@state = state
|
|
29
31
|
@nickname = nickname
|
|
30
32
|
@metadata = metadata
|
|
31
33
|
@billing_address = billing_address
|
|
34
|
+
@controls = controls
|
|
32
35
|
@raw_response = raw_response
|
|
33
36
|
end
|
|
34
37
|
|
|
@@ -39,6 +42,7 @@ module Moov
|
|
|
39
42
|
return false unless @nickname == other.nickname
|
|
40
43
|
return false unless @metadata == other.metadata
|
|
41
44
|
return false unless @billing_address == other.billing_address
|
|
45
|
+
return false unless @controls == other.controls
|
|
42
46
|
return false unless @raw_response == other.raw_response
|
|
43
47
|
true
|
|
44
48
|
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Moov
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
|
|
11
|
+
class DeleteAvatarRequest
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The accountID to delete the avatar for. Only accountID values are accepted for writes.
|
|
16
|
+
field :unique_id, ::String, { 'path_param': { 'field_name': 'uniqueID', 'style': 'simple', 'explode': false } }
|
|
17
|
+
|
|
18
|
+
sig { params(unique_id: ::String).void }
|
|
19
|
+
def initialize(unique_id:)
|
|
20
|
+
@unique_id = unique_id
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
24
|
+
def ==(other)
|
|
25
|
+
return false unless other.is_a? self.class
|
|
26
|
+
return false unless @unique_id == other.unique_id
|
|
27
|
+
true
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::DeleteAvatarRequest
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::DeleteAvatarRequest
|
|
11
|
+
def unique_id(); end
|
|
12
|
+
def unique_id=(str_); end
|
|
13
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Moov
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
|
|
11
|
+
class DeleteAvatarResponse
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# HTTP response content type for this operation
|
|
16
|
+
field :content_type, ::String
|
|
17
|
+
# HTTP response status code for this operation
|
|
18
|
+
field :status_code, ::Integer
|
|
19
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
20
|
+
field :raw_response, ::Faraday::Response
|
|
21
|
+
|
|
22
|
+
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
23
|
+
|
|
24
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]]).void }
|
|
25
|
+
def initialize(content_type:, status_code:, raw_response:, headers:)
|
|
26
|
+
@content_type = content_type
|
|
27
|
+
@status_code = status_code
|
|
28
|
+
@raw_response = raw_response
|
|
29
|
+
@headers = headers
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
33
|
+
def ==(other)
|
|
34
|
+
return false unless other.is_a? self.class
|
|
35
|
+
return false unless @content_type == other.content_type
|
|
36
|
+
return false unless @status_code == other.status_code
|
|
37
|
+
return false unless @raw_response == other.raw_response
|
|
38
|
+
return false unless @headers == other.headers
|
|
39
|
+
true
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::DeleteAvatarResponse
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::DeleteAvatarResponse
|
|
11
|
+
def content_type(); end
|
|
12
|
+
def content_type=(str_); end
|
|
13
|
+
def status_code(); end
|
|
14
|
+
def status_code=(str_); end
|
|
15
|
+
def raw_response(); end
|
|
16
|
+
def raw_response=(str_); end
|
|
17
|
+
def headers(); end
|
|
18
|
+
def headers=(str_); end
|
|
19
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Moov
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
|
|
11
|
+
class DeleteAvatarSecurity
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :basic_auth, Crystalline::Nilable.new(Models::Components::SchemeBasicAuth), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic' } }
|
|
17
|
+
|
|
18
|
+
field :o_auth2_auth, Crystalline::Nilable.new(Models::Components::SchemeOAuth2Auth), { 'security': { 'scheme': true, 'type': 'oauth2', 'sub_type': 'client_credentials' } }
|
|
19
|
+
|
|
20
|
+
sig { params(basic_auth: T.nilable(Models::Components::SchemeBasicAuth), o_auth2_auth: T.nilable(Models::Components::SchemeOAuth2Auth)).void }
|
|
21
|
+
def initialize(basic_auth: nil, o_auth2_auth: nil)
|
|
22
|
+
@basic_auth = basic_auth
|
|
23
|
+
@o_auth2_auth = o_auth2_auth
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
27
|
+
def ==(other)
|
|
28
|
+
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @basic_auth == other.basic_auth
|
|
30
|
+
return false unless @o_auth2_auth == other.o_auth2_auth
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::DeleteAvatarSecurity
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::DeleteAvatarSecurity
|
|
11
|
+
def basic_auth(); end
|
|
12
|
+
def basic_auth=(str_); end
|
|
13
|
+
def o_auth2_auth(); end
|
|
14
|
+
def o_auth2_auth=(str_); end
|
|
15
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Moov
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
|
|
11
|
+
class ListIssuingMerchantCategoriesResponse
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# HTTP response content type for this operation
|
|
16
|
+
field :content_type, ::String
|
|
17
|
+
# HTTP response status code for this operation
|
|
18
|
+
field :status_code, ::Integer
|
|
19
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
20
|
+
field :raw_response, ::Faraday::Response
|
|
21
|
+
|
|
22
|
+
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
23
|
+
# The request completed successfully.
|
|
24
|
+
field :merchant_categories, Crystalline::Nilable.new(Models::Components::MerchantCategories)
|
|
25
|
+
|
|
26
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], merchant_categories: T.nilable(Models::Components::MerchantCategories)).void }
|
|
27
|
+
def initialize(content_type:, status_code:, raw_response:, headers:, merchant_categories: nil)
|
|
28
|
+
@content_type = content_type
|
|
29
|
+
@status_code = status_code
|
|
30
|
+
@raw_response = raw_response
|
|
31
|
+
@headers = headers
|
|
32
|
+
@merchant_categories = merchant_categories
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
36
|
+
def ==(other)
|
|
37
|
+
return false unless other.is_a? self.class
|
|
38
|
+
return false unless @content_type == other.content_type
|
|
39
|
+
return false unless @status_code == other.status_code
|
|
40
|
+
return false unless @raw_response == other.raw_response
|
|
41
|
+
return false unless @headers == other.headers
|
|
42
|
+
return false unless @merchant_categories == other.merchant_categories
|
|
43
|
+
true
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::ListIssuingMerchantCategoriesResponse
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::ListIssuingMerchantCategoriesResponse
|
|
11
|
+
def content_type(); end
|
|
12
|
+
def content_type=(str_); end
|
|
13
|
+
def status_code(); end
|
|
14
|
+
def status_code=(str_); end
|
|
15
|
+
def raw_response(); end
|
|
16
|
+
def raw_response=(str_); end
|
|
17
|
+
def headers(); end
|
|
18
|
+
def headers=(str_); end
|
|
19
|
+
def merchant_categories(); end
|
|
20
|
+
def merchant_categories=(str_); end
|
|
21
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Moov
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
|
|
11
|
+
class ListProductCategoriesResponse
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# HTTP response content type for this operation
|
|
16
|
+
field :content_type, ::String
|
|
17
|
+
# HTTP response status code for this operation
|
|
18
|
+
field :status_code, ::Integer
|
|
19
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
20
|
+
field :raw_response, ::Faraday::Response
|
|
21
|
+
|
|
22
|
+
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
23
|
+
# The request completed successfully.
|
|
24
|
+
field :product_categories, Crystalline::Nilable.new(Models::Components::ProductCategories)
|
|
25
|
+
|
|
26
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], product_categories: T.nilable(Models::Components::ProductCategories)).void }
|
|
27
|
+
def initialize(content_type:, status_code:, raw_response:, headers:, product_categories: nil)
|
|
28
|
+
@content_type = content_type
|
|
29
|
+
@status_code = status_code
|
|
30
|
+
@raw_response = raw_response
|
|
31
|
+
@headers = headers
|
|
32
|
+
@product_categories = product_categories
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
36
|
+
def ==(other)
|
|
37
|
+
return false unless other.is_a? self.class
|
|
38
|
+
return false unless @content_type == other.content_type
|
|
39
|
+
return false unless @status_code == other.status_code
|
|
40
|
+
return false unless @raw_response == other.raw_response
|
|
41
|
+
return false unless @headers == other.headers
|
|
42
|
+
return false unless @product_categories == other.product_categories
|
|
43
|
+
true
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::ListProductCategoriesResponse
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::ListProductCategoriesResponse
|
|
11
|
+
def content_type(); end
|
|
12
|
+
def content_type=(str_); end
|
|
13
|
+
def status_code(); end
|
|
14
|
+
def status_code=(str_); end
|
|
15
|
+
def raw_response(); end
|
|
16
|
+
def raw_response=(str_); end
|
|
17
|
+
def headers(); end
|
|
18
|
+
def headers=(str_); end
|
|
19
|
+
def product_categories(); end
|
|
20
|
+
def product_categories=(str_); end
|
|
21
|
+
end
|
|
@@ -16,15 +16,20 @@ module Moov
|
|
|
16
16
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
17
|
# Allows filtering products by title. This supports partial matches and is case-insensitive
|
|
18
18
|
field :title, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'title', 'style': 'form', 'explode': false } }
|
|
19
|
+
# Filter products by category. Accepts a category ID at any level of the taxonomy;
|
|
20
|
+
# a product matches when the given category is anywhere in its category's breadcrumb
|
|
21
|
+
# (i.e. filtering by a top-level category returns products in any of its descendants).
|
|
22
|
+
field :category, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'category', 'style': 'form', 'explode': false } }
|
|
19
23
|
|
|
20
24
|
field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
|
|
21
25
|
|
|
22
26
|
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
23
27
|
|
|
24
|
-
sig { params(account_id: ::String, title: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
|
|
25
|
-
def initialize(account_id:, title: nil, skip: nil, count: nil)
|
|
28
|
+
sig { params(account_id: ::String, title: T.nilable(::String), category: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
|
|
29
|
+
def initialize(account_id:, title: nil, category: nil, skip: nil, count: nil)
|
|
26
30
|
@account_id = account_id
|
|
27
31
|
@title = title
|
|
32
|
+
@category = category
|
|
28
33
|
@skip = skip
|
|
29
34
|
@count = count
|
|
30
35
|
end
|
|
@@ -34,6 +39,7 @@ module Moov
|
|
|
34
39
|
return false unless other.is_a? self.class
|
|
35
40
|
return false unless @account_id == other.account_id
|
|
36
41
|
return false unless @title == other.title
|
|
42
|
+
return false unless @category == other.category
|
|
37
43
|
return false unless @skip == other.skip
|
|
38
44
|
return false unless @count == other.count
|
|
39
45
|
true
|
|
@@ -34,13 +34,17 @@ module Moov
|
|
|
34
34
|
field :disputed, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'query_param': { 'field_name': 'disputed', 'style': 'form', 'explode': false } }
|
|
35
35
|
# Optional alias from a foreign/external system which can be used to reference this resource.
|
|
36
36
|
field :foreign_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'foreignID', 'style': 'form', 'explode': false } }
|
|
37
|
+
# Optional comma-separated IDs to filter for transfers associated with specific card authorizations.
|
|
38
|
+
field :authorization_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'authorizationIDs', 'style': 'form', 'explode': false } }
|
|
39
|
+
# Optional comma-separated IDs to filter for transfers associated with specific card captures.
|
|
40
|
+
field :capture_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'captureIDs', 'style': 'form', 'explode': false } }
|
|
37
41
|
|
|
38
42
|
field :skip, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'skip', 'style': 'form', 'explode': false } }
|
|
39
43
|
|
|
40
44
|
field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
|
|
41
45
|
|
|
42
|
-
sig { params(account_id: ::String, account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
|
|
43
|
-
def initialize(account_id:, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, skip: nil, count: nil)
|
|
46
|
+
sig { params(account_id: ::String, account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), authorization_i_ds: T.nilable(T::Array[::String]), capture_i_ds: T.nilable(T::Array[::String]), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
|
|
47
|
+
def initialize(account_id:, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, authorization_i_ds: nil, capture_i_ds: nil, skip: nil, count: nil)
|
|
44
48
|
@account_id = account_id
|
|
45
49
|
@account_i_ds = account_i_ds
|
|
46
50
|
@status = status
|
|
@@ -52,6 +56,8 @@ module Moov
|
|
|
52
56
|
@refunded = refunded
|
|
53
57
|
@disputed = disputed
|
|
54
58
|
@foreign_id = foreign_id
|
|
59
|
+
@authorization_i_ds = authorization_i_ds
|
|
60
|
+
@capture_i_ds = capture_i_ds
|
|
55
61
|
@skip = skip
|
|
56
62
|
@count = count
|
|
57
63
|
end
|
|
@@ -70,6 +76,8 @@ module Moov
|
|
|
70
76
|
return false unless @refunded == other.refunded
|
|
71
77
|
return false unless @disputed == other.disputed
|
|
72
78
|
return false unless @foreign_id == other.foreign_id
|
|
79
|
+
return false unless @authorization_i_ds == other.authorization_i_ds
|
|
80
|
+
return false unless @capture_i_ds == other.capture_i_ds
|
|
73
81
|
return false unless @skip == other.skip
|
|
74
82
|
return false unless @count == other.count
|
|
75
83
|
true
|