moov_ruby 0.0.0.pre.dev.22 → 0.0.0.pre.dev.24
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 +275 -0
- 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/cardbrandfees.rb +6 -2
- data/lib/moov/models/components/cardbrandfees.rbi +2 -0
- data/lib/moov/models/components/contributingrule.rb +32 -0
- data/lib/moov/models/components/contributingrule.rbi +13 -0
- 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/filedetails.rb +1 -1
- data/lib/moov/models/components/filepurpose.rb +1 -1
- 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/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/onboardinginvite.rb +1 -1
- data/lib/moov/models/components/partnerriskoutcomesresponse.rb +38 -0
- data/lib/moov/models/components/partnerriskoutcomesresponse.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/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/transferfeepaidby.rb +32 -0
- data/lib/moov/models/components/transferfeepaidby.rbi +13 -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.rb +31 -0
- data/lib/moov/models/errors/productrequestvalidationerror.rb +6 -2
- data/lib/moov/models/errors/productrequestvalidationerror.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/gettransferriskoutcomes_request.rb +37 -0
- data/lib/moov/models/operations/gettransferriskoutcomes_request.rbi +15 -0
- data/lib/moov/models/operations/gettransferriskoutcomes_response.rb +48 -0
- data/lib/moov/models/operations/gettransferriskoutcomes_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/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 +9 -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/transfers.rb +125 -0
- metadata +84 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::UpdateIssuingControlsMerchantRestrictions
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::UpdateIssuingControlsMerchantRestrictions
|
|
11
|
+
def mode(); end
|
|
12
|
+
def mode=(str_); end
|
|
13
|
+
def merchants(); end
|
|
14
|
+
def merchants=(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 Components
|
|
10
|
+
|
|
11
|
+
class UpdateIssuingControlsError
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :velocity_limits, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::IssuingVelocityLimitError)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('velocityLimits') } }
|
|
17
|
+
|
|
18
|
+
field :merchant_category_restrictions, Crystalline::Nilable.new(Models::Components::MerchantCategoryRestrictionsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantCategoryRestrictions') } }
|
|
19
|
+
|
|
20
|
+
field :merchant_restrictions, Crystalline::Nilable.new(Models::Components::MerchantRestrictionsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantRestrictions') } }
|
|
21
|
+
|
|
22
|
+
field :allowed_schedule, Crystalline::Nilable.new(Models::Components::AllowedScheduleError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('allowedSchedule') } }
|
|
23
|
+
|
|
24
|
+
field :expires_on, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn') } }
|
|
25
|
+
|
|
26
|
+
sig { params(velocity_limits: T.nilable(T::Hash[Symbol, Models::Components::IssuingVelocityLimitError]), merchant_category_restrictions: T.nilable(Models::Components::MerchantCategoryRestrictionsError), merchant_restrictions: T.nilable(Models::Components::MerchantRestrictionsError), allowed_schedule: T.nilable(Models::Components::AllowedScheduleError), expires_on: T.nilable(::String)).void }
|
|
27
|
+
def initialize(velocity_limits: nil, merchant_category_restrictions: nil, merchant_restrictions: nil, allowed_schedule: nil, expires_on: nil)
|
|
28
|
+
@velocity_limits = velocity_limits
|
|
29
|
+
@merchant_category_restrictions = merchant_category_restrictions
|
|
30
|
+
@merchant_restrictions = merchant_restrictions
|
|
31
|
+
@allowed_schedule = allowed_schedule
|
|
32
|
+
@expires_on = expires_on
|
|
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 @velocity_limits == other.velocity_limits
|
|
39
|
+
return false unless @merchant_category_restrictions == other.merchant_category_restrictions
|
|
40
|
+
return false unless @merchant_restrictions == other.merchant_restrictions
|
|
41
|
+
return false unless @allowed_schedule == other.allowed_schedule
|
|
42
|
+
return false unless @expires_on == other.expires_on
|
|
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::Components::UpdateIssuingControlsError
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::UpdateIssuingControlsError
|
|
11
|
+
def velocity_limits(); end
|
|
12
|
+
def velocity_limits=(str_); end
|
|
13
|
+
def merchant_category_restrictions(); end
|
|
14
|
+
def merchant_category_restrictions=(str_); end
|
|
15
|
+
def merchant_restrictions(); end
|
|
16
|
+
def merchant_restrictions=(str_); end
|
|
17
|
+
def allowed_schedule(); end
|
|
18
|
+
def allowed_schedule=(str_); end
|
|
19
|
+
def expires_on(); end
|
|
20
|
+
def expires_on=(str_); end
|
|
21
|
+
end
|
|
@@ -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'
|
|
@@ -164,6 +167,7 @@ module Moov
|
|
|
164
167
|
autoload :CompleteMicroDeposits, 'moov/models/components/completemicrodeposits.rb'
|
|
165
168
|
autoload :CompletedMicroDeposits, 'moov/models/components/completedmicrodeposits.rb'
|
|
166
169
|
autoload :Contact, 'moov/models/components/contact.rb'
|
|
170
|
+
autoload :ContributingRule, 'moov/models/components/contributingrule.rb'
|
|
167
171
|
autoload :CreateAccount, 'moov/models/components/createaccount.rb'
|
|
168
172
|
autoload :CreateAccountSettings, 'moov/models/components/createaccountsettings.rb'
|
|
169
173
|
autoload :CreateAccountType, 'moov/models/components/createaccounttype.rb'
|
|
@@ -276,6 +280,7 @@ module Moov
|
|
|
276
280
|
autoload :FedNowServices, 'moov/models/components/fednowservices.rb'
|
|
277
281
|
autoload :FeeCategory, 'moov/models/components/feecategory.rb'
|
|
278
282
|
autoload :FeeModel, 'moov/models/components/feemodel.rb'
|
|
283
|
+
autoload :FeePaidBy, 'moov/models/components/feepaidby.rb'
|
|
279
284
|
autoload :FeePlan, 'moov/models/components/feeplan.rb'
|
|
280
285
|
autoload :FeePlanAgreement, 'moov/models/components/feeplanagreement.rb'
|
|
281
286
|
autoload :FeePlanAgreementStatus, 'moov/models/components/feeplanagreementstatus.rb'
|
|
@@ -359,11 +364,18 @@ module Moov
|
|
|
359
364
|
autoload :IssuedCardFormFactor, 'moov/models/components/issuedcardformfactor.rb'
|
|
360
365
|
autoload :IssuedCardState, 'moov/models/components/issuedcardstate.rb'
|
|
361
366
|
autoload :IssuedCardTransaction, 'moov/models/components/issuedcardtransaction.rb'
|
|
367
|
+
autoload :IssuedControls, 'moov/models/components/issuedcontrols.rb'
|
|
368
|
+
autoload :IssuedControlsAllowedSchedule, 'moov/models/components/issuedcontrols_allowedschedule.rb'
|
|
369
|
+
autoload :IssuedVelocityLimit, 'moov/models/components/issuedvelocitylimit.rb'
|
|
362
370
|
autoload :IssuingAuthorizationStatus, 'moov/models/components/issuingauthorizationstatus.rb'
|
|
363
371
|
autoload :IssuingControls, 'moov/models/components/issuingcontrols.rb'
|
|
364
372
|
autoload :IssuingControlsError, 'moov/models/components/issuingcontrolserror.rb'
|
|
373
|
+
autoload :IssuingControlsRestrictionMode, 'moov/models/components/issuingcontrolsrestrictionmode.rb'
|
|
374
|
+
autoload :IssuingControlsAllowedSchedule, 'moov/models/components/issuingcontrols_allowedschedule.rb'
|
|
365
375
|
autoload :IssuingIntervalLimit, 'moov/models/components/issuingintervallimit.rb'
|
|
376
|
+
autoload :IssuingMerchantCategory, 'moov/models/components/issuingmerchantcategory.rb'
|
|
366
377
|
autoload :IssuingMerchantData, 'moov/models/components/issuingmerchantdata.rb'
|
|
378
|
+
autoload :IssuingScheduleDay, 'moov/models/components/issuingscheduleday.rb'
|
|
367
379
|
autoload :IssuingVelocityLimit, 'moov/models/components/issuingvelocitylimit.rb'
|
|
368
380
|
autoload :IssuingVelocityLimitError, 'moov/models/components/issuingvelocitylimiterror.rb'
|
|
369
381
|
autoload :ItemListNextPage, 'moov/models/components/itemlistnextpage.rb'
|
|
@@ -383,6 +395,12 @@ module Moov
|
|
|
383
395
|
autoload :MXAuthorizationCode, 'moov/models/components/mxauthorizationcode.rb'
|
|
384
396
|
autoload :ManualTermsOfService, 'moov/models/components/manualtermsofservice.rb'
|
|
385
397
|
autoload :ManualTermsOfServiceUpdate, 'moov/models/components/manualtermsofserviceupdate.rb'
|
|
398
|
+
autoload :MerchantCategoryRestrictions, 'moov/models/components/merchantcategoryrestrictions.rb'
|
|
399
|
+
autoload :MerchantCategoryRestrictionsError, 'moov/models/components/merchantcategoryrestrictionserror.rb'
|
|
400
|
+
autoload :MerchantEntry, 'moov/models/components/merchantentry.rb'
|
|
401
|
+
autoload :MerchantEntryError, 'moov/models/components/merchantentryerror.rb'
|
|
402
|
+
autoload :MerchantRestrictions, 'moov/models/components/merchantrestrictions.rb'
|
|
403
|
+
autoload :MerchantRestrictionsError, 'moov/models/components/merchantrestrictionserror.rb'
|
|
386
404
|
autoload :MicroDepositStatus, 'moov/models/components/microdepositstatus.rb'
|
|
387
405
|
autoload :MinimumCommitment, 'moov/models/components/minimumcommitment.rb'
|
|
388
406
|
autoload :Mode, 'moov/models/components/mode.rb'
|
|
@@ -412,6 +430,7 @@ module Moov
|
|
|
412
430
|
autoload :PartialScheduleAccount, 'moov/models/components/partialscheduleaccount.rb'
|
|
413
431
|
autoload :PartnerFees, 'moov/models/components/partnerfees.rb'
|
|
414
432
|
autoload :PartnerPricingAgreement, 'moov/models/components/partnerpricingagreement.rb'
|
|
433
|
+
autoload :PartnerRiskOutcomesResponse, 'moov/models/components/partnerriskoutcomesresponse.rb'
|
|
415
434
|
autoload :PatchAccount, 'moov/models/components/patchaccount.rb'
|
|
416
435
|
autoload :PatchAccountCustomerSupport, 'moov/models/components/patchaccount_customersupport.rb'
|
|
417
436
|
autoload :PatchBusiness, 'moov/models/components/patchbusiness.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'
|
|
@@ -599,6 +624,7 @@ module Moov
|
|
|
599
624
|
autoload :TransferDestination, 'moov/models/components/transferdestination.rb'
|
|
600
625
|
autoload :TransferEntryMode, 'moov/models/components/transferentrymode.rb'
|
|
601
626
|
autoload :TransferFailureReason, 'moov/models/components/transferfailurereason.rb'
|
|
627
|
+
autoload :TransferFeePaidBy, 'moov/models/components/transferfeepaidby.rb'
|
|
602
628
|
autoload :TransferLineItem, 'moov/models/components/transferlineitem.rb'
|
|
603
629
|
autoload :TransferLineItemImageMetadata, 'moov/models/components/transferlineitemimagemetadata.rb'
|
|
604
630
|
autoload :TransferLineItemOption, 'moov/models/components/transferlineitemoption.rb'
|
|
@@ -624,6 +650,11 @@ module Moov
|
|
|
624
650
|
autoload :UpdateInvoice, 'moov/models/components/updateinvoice.rb'
|
|
625
651
|
autoload :UpdateIssuedCard, 'moov/models/components/updateissuedcard.rb'
|
|
626
652
|
autoload :UpdateIssuedCardState, 'moov/models/components/updateissuedcardstate.rb'
|
|
653
|
+
autoload :UpdateIssuingControls, 'moov/models/components/updateissuingcontrols.rb'
|
|
654
|
+
autoload :UpdateIssuingControlsError, 'moov/models/components/updateissuingcontrolserror.rb'
|
|
655
|
+
autoload :UpdateIssuingControlsAllowedSchedule, 'moov/models/components/updateissuingcontrols_allowedschedule.rb'
|
|
656
|
+
autoload :UpdateIssuingControlsMerchantCategoryRestrictions, 'moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rb'
|
|
657
|
+
autoload :UpdateIssuingControlsMerchantRestrictions, 'moov/models/components/updateissuingcontrols_merchantrestrictions.rb'
|
|
627
658
|
autoload :UpdatePaymentLink, 'moov/models/components/updatepaymentlink.rb'
|
|
628
659
|
autoload :UpdatePaymentLinkAmountDetails, 'moov/models/components/updatepaymentlinkamountdetails.rb'
|
|
629
660
|
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
|
|
@@ -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,37 @@
|
|
|
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 GetTransferRiskOutcomesRequest
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# Identifier for the transfer.
|
|
16
|
+
field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
|
|
17
|
+
# The account the transfer belongs to. When omitted, the account is resolved
|
|
18
|
+
# from the calling credentials.
|
|
19
|
+
field :x_account_id, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Account-ID', 'style': 'simple', 'explode': false } }
|
|
20
|
+
|
|
21
|
+
sig { params(transfer_id: ::String, x_account_id: T.nilable(::String)).void }
|
|
22
|
+
def initialize(transfer_id:, x_account_id: nil)
|
|
23
|
+
@transfer_id = transfer_id
|
|
24
|
+
@x_account_id = x_account_id
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
28
|
+
def ==(other)
|
|
29
|
+
return false unless other.is_a? self.class
|
|
30
|
+
return false unless @transfer_id == other.transfer_id
|
|
31
|
+
return false unless @x_account_id == other.x_account_id
|
|
32
|
+
true
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::GetTransferRiskOutcomesRequest
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::GetTransferRiskOutcomesRequest
|
|
11
|
+
def transfer_id(); end
|
|
12
|
+
def transfer_id=(str_); end
|
|
13
|
+
def x_account_id(); end
|
|
14
|
+
def x_account_id=(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 GetTransferRiskOutcomesResponse
|
|
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 :partner_risk_outcomes_response, Crystalline::Nilable.new(Models::Components::PartnerRiskOutcomesResponse)
|
|
25
|
+
|
|
26
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], partner_risk_outcomes_response: T.nilable(Models::Components::PartnerRiskOutcomesResponse)).void }
|
|
27
|
+
def initialize(content_type:, status_code:, raw_response:, headers:, partner_risk_outcomes_response: nil)
|
|
28
|
+
@content_type = content_type
|
|
29
|
+
@status_code = status_code
|
|
30
|
+
@raw_response = raw_response
|
|
31
|
+
@headers = headers
|
|
32
|
+
@partner_risk_outcomes_response = partner_risk_outcomes_response
|
|
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 @partner_risk_outcomes_response == other.partner_risk_outcomes_response
|
|
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::GetTransferRiskOutcomesResponse
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::GetTransferRiskOutcomesResponse
|
|
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 partner_risk_outcomes_response(); end
|
|
20
|
+
def partner_risk_outcomes_response=(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
|