moov_ruby 25.1.0.pre.dev.0 → 25.1.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/fee_plans.rb +0 -124
- data/lib/moov/models/components.rb +0 -1
- data/lib/moov/models/operations.rb +0 -2
- data/lib/moov/sdkconfiguration.rb +3 -3
- metadata +4 -10
- data/lib/moov/models/components/partnerpricing.rb +0 -66
- data/lib/moov/models/components/partnerpricing.rbi +0 -29
- data/lib/moov/models/operations/listpartnerpricing_request.rb +0 -49
- data/lib/moov/models/operations/listpartnerpricing_request.rbi +0 -17
- data/lib/moov/models/operations/listpartnerpricing_response.rb +0 -48
- data/lib/moov/models/operations/listpartnerpricing_response.rbi +0 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 20336b8e3d85847237c4f455f7db7d4bf831a80804076b9c72387efff86a9c3f
|
|
4
|
+
data.tar.gz: fc336244fd733e0c6daa96140f3b30cacfcaeae67b7e4966345af7276153442e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 85b0156d843ab522b78db5e6d278904cd19f499bd3c67388fe307f34ffa2903efdec3994ae07e538ac79ca30aafbde1b254f86caab0dbc4b8ace24d9e1749e00
|
|
7
|
+
data.tar.gz: 5c90086a01c46b12775b739299eeb664dd3e1f8da157ef8e996de377e9a40812122a8a8982bbaa2a07a9956f9da3bbca559f2e65fe07aa02692a2a93ec49e386
|
data/lib/moov/fee_plans.rb
CHANGED
|
@@ -818,130 +818,6 @@ module Moov
|
|
|
818
818
|
end
|
|
819
819
|
|
|
820
820
|
|
|
821
|
-
sig { params(account_id: ::String, x_moov_version: T.nilable(::String), plan_i_ds: T.nilable(T::Array[::String]), timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListPartnerPricingResponse) }
|
|
822
|
-
def list_partner_pricing(account_id:, x_moov_version: nil, plan_i_ds: nil, timeout_ms: nil)
|
|
823
|
-
# list_partner_pricing - List all partner pricing plans available for use by an account.
|
|
824
|
-
#
|
|
825
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
826
|
-
# you'll need to specify the `/accounts/{accountID}/profile.read` scope.
|
|
827
|
-
request = Models::Operations::ListPartnerPricingRequest.new(
|
|
828
|
-
account_id: account_id,
|
|
829
|
-
x_moov_version: x_moov_version,
|
|
830
|
-
plan_i_ds: plan_i_ds
|
|
831
|
-
)
|
|
832
|
-
url, params = @sdk_configuration.get_server_details
|
|
833
|
-
base_url = Utils.template_url(url, params)
|
|
834
|
-
url = Utils.generate_url(
|
|
835
|
-
Models::Operations::ListPartnerPricingRequest,
|
|
836
|
-
base_url,
|
|
837
|
-
'/accounts/{accountID}/partner-pricing',
|
|
838
|
-
request,
|
|
839
|
-
@sdk_configuration.globals
|
|
840
|
-
)
|
|
841
|
-
headers = Utils.get_headers(request, @sdk_configuration.globals)
|
|
842
|
-
headers = T.cast(headers, T::Hash[String, String])
|
|
843
|
-
query_params = Utils.get_query_params(Models::Operations::ListPartnerPricingRequest, request, nil, @sdk_configuration.globals)
|
|
844
|
-
headers['Accept'] = 'application/json'
|
|
845
|
-
headers['user-agent'] = @sdk_configuration.user_agent
|
|
846
|
-
|
|
847
|
-
security = @sdk_configuration.security_source&.call
|
|
848
|
-
|
|
849
|
-
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
850
|
-
timeout ||= @sdk_configuration.timeout
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
connection = @sdk_configuration.client
|
|
854
|
-
|
|
855
|
-
hook_ctx = SDKHooks::HookContext.new(
|
|
856
|
-
config: @sdk_configuration,
|
|
857
|
-
base_url: base_url,
|
|
858
|
-
oauth2_scopes: nil,
|
|
859
|
-
operation_id: 'listPartnerPricing',
|
|
860
|
-
security_source: @sdk_configuration.security_source
|
|
861
|
-
)
|
|
862
|
-
|
|
863
|
-
error = T.let(nil, T.nilable(StandardError))
|
|
864
|
-
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
begin
|
|
868
|
-
http_response = T.must(connection).get(url) do |req|
|
|
869
|
-
req.headers.merge!(headers)
|
|
870
|
-
req.options.timeout = timeout unless timeout.nil?
|
|
871
|
-
req.params = query_params
|
|
872
|
-
Utils.configure_request_security(req, security)
|
|
873
|
-
|
|
874
|
-
@sdk_configuration.hooks.before_request(
|
|
875
|
-
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
876
|
-
hook_ctx: hook_ctx
|
|
877
|
-
),
|
|
878
|
-
request: req
|
|
879
|
-
)
|
|
880
|
-
end
|
|
881
|
-
rescue StandardError => e
|
|
882
|
-
error = e
|
|
883
|
-
ensure
|
|
884
|
-
if http_response.nil? || Utils.error_status?(http_response.status)
|
|
885
|
-
http_response = @sdk_configuration.hooks.after_error(
|
|
886
|
-
error: error,
|
|
887
|
-
hook_ctx: SDKHooks::AfterErrorHookContext.new(
|
|
888
|
-
hook_ctx: hook_ctx
|
|
889
|
-
),
|
|
890
|
-
response: http_response
|
|
891
|
-
)
|
|
892
|
-
else
|
|
893
|
-
http_response = @sdk_configuration.hooks.after_success(
|
|
894
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
895
|
-
hook_ctx: hook_ctx
|
|
896
|
-
),
|
|
897
|
-
response: http_response
|
|
898
|
-
)
|
|
899
|
-
end
|
|
900
|
-
|
|
901
|
-
if http_response.nil?
|
|
902
|
-
raise error if !error.nil?
|
|
903
|
-
raise 'no response'
|
|
904
|
-
end
|
|
905
|
-
end
|
|
906
|
-
|
|
907
|
-
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
908
|
-
if Utils.match_status_code(http_response.status, ['200'])
|
|
909
|
-
if Utils.match_content_type(content_type, 'application/json')
|
|
910
|
-
http_response = @sdk_configuration.hooks.after_success(
|
|
911
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
912
|
-
hook_ctx: hook_ctx
|
|
913
|
-
),
|
|
914
|
-
response: http_response
|
|
915
|
-
)
|
|
916
|
-
response_data = http_response.env.response_body
|
|
917
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Crystalline::Array.new(Models::Components::PartnerPricing))
|
|
918
|
-
response = Models::Operations::ListPartnerPricingResponse.new(
|
|
919
|
-
status_code: http_response.status,
|
|
920
|
-
content_type: content_type,
|
|
921
|
-
raw_response: http_response,
|
|
922
|
-
headers: http_response.headers,
|
|
923
|
-
partner_pricings: T.unsafe(obj)
|
|
924
|
-
)
|
|
925
|
-
|
|
926
|
-
return response
|
|
927
|
-
else
|
|
928
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
929
|
-
end
|
|
930
|
-
elsif Utils.match_status_code(http_response.status, ['401', '403', '429'])
|
|
931
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
932
|
-
elsif Utils.match_status_code(http_response.status, ['500', '504'])
|
|
933
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
934
|
-
elsif Utils.match_status_code(http_response.status, ['4XX'])
|
|
935
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
936
|
-
elsif Utils.match_status_code(http_response.status, ['5XX'])
|
|
937
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
938
|
-
else
|
|
939
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown status code received'
|
|
940
|
-
|
|
941
|
-
end
|
|
942
|
-
end
|
|
943
|
-
|
|
944
|
-
|
|
945
821
|
sig { params(request: Models::Operations::ListPartnerPricingAgreementsRequest, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListPartnerPricingAgreementsResponse) }
|
|
946
822
|
def list_partner_pricing_agreements(request:, timeout_ms: nil)
|
|
947
823
|
# list_partner_pricing_agreements - List all partner pricing agreements associated with an account.
|
|
@@ -305,7 +305,6 @@ module Moov
|
|
|
305
305
|
autoload :OtherCardFees, 'moov/models/components/othercardfees.rb'
|
|
306
306
|
autoload :PartialScheduleAccount, 'moov/models/components/partialscheduleaccount.rb'
|
|
307
307
|
autoload :PartnerFees, 'moov/models/components/partnerfees.rb'
|
|
308
|
-
autoload :PartnerPricing, 'moov/models/components/partnerpricing.rb'
|
|
309
308
|
autoload :PartnerPricingAgreement, 'moov/models/components/partnerpricingagreement.rb'
|
|
310
309
|
autoload :PatchAccount, 'moov/models/components/patchaccount.rb'
|
|
311
310
|
autoload :PatchAccountCustomerSupport, 'moov/models/components/patchaccount_customersupport.rb'
|
|
@@ -239,8 +239,6 @@ module Moov
|
|
|
239
239
|
autoload :ListOnboardingInvitesResponse, 'moov/models/operations/listonboardinginvites_response.rb'
|
|
240
240
|
autoload :ListPartnerPricingAgreementsRequest, 'moov/models/operations/listpartnerpricingagreements_request.rb'
|
|
241
241
|
autoload :ListPartnerPricingAgreementsResponse, 'moov/models/operations/listpartnerpricingagreements_response.rb'
|
|
242
|
-
autoload :ListPartnerPricingRequest, 'moov/models/operations/listpartnerpricing_request.rb'
|
|
243
|
-
autoload :ListPartnerPricingResponse, 'moov/models/operations/listpartnerpricing_response.rb'
|
|
244
242
|
autoload :ListPaymentLinksRequest, 'moov/models/operations/listpaymentlinks_request.rb'
|
|
245
243
|
autoload :ListPaymentLinksResponse, 'moov/models/operations/listpaymentlinks_response.rb'
|
|
246
244
|
autoload :ListPaymentMethodsRequest, 'moov/models/operations/listpaymentmethods_request.rb'
|
|
@@ -95,9 +95,9 @@ module Moov
|
|
|
95
95
|
@globals = globals.nil? ? {} : globals
|
|
96
96
|
@language = 'ruby'
|
|
97
97
|
@openapi_doc_version = 'v2025.01.00'
|
|
98
|
-
@sdk_version = '25.1.
|
|
99
|
-
@gen_version = '2.
|
|
100
|
-
@user_agent = 'speakeasy-sdk/ruby 25.1.
|
|
98
|
+
@sdk_version = '25.1.1'
|
|
99
|
+
@gen_version = '2.803.3'
|
|
100
|
+
@user_agent = 'speakeasy-sdk/ruby 25.1.1 2.803.3 v2025.01.00 moov_ruby'
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moov_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 25.1.
|
|
4
|
+
version: 25.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Speakeasy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -867,8 +867,6 @@ files:
|
|
|
867
867
|
- lib/moov/models/components/partialscheduleaccount.rbi
|
|
868
868
|
- lib/moov/models/components/partnerfees.rb
|
|
869
869
|
- lib/moov/models/components/partnerfees.rbi
|
|
870
|
-
- lib/moov/models/components/partnerpricing.rb
|
|
871
|
-
- lib/moov/models/components/partnerpricing.rbi
|
|
872
870
|
- lib/moov/models/components/partnerpricingagreement.rb
|
|
873
871
|
- lib/moov/models/components/partnerpricingagreement.rbi
|
|
874
872
|
- lib/moov/models/components/patchaccount.rb
|
|
@@ -1873,10 +1871,6 @@ files:
|
|
|
1873
1871
|
- lib/moov/models/operations/listonboardinginvites_request.rbi
|
|
1874
1872
|
- lib/moov/models/operations/listonboardinginvites_response.rb
|
|
1875
1873
|
- lib/moov/models/operations/listonboardinginvites_response.rbi
|
|
1876
|
-
- lib/moov/models/operations/listpartnerpricing_request.rb
|
|
1877
|
-
- lib/moov/models/operations/listpartnerpricing_request.rbi
|
|
1878
|
-
- lib/moov/models/operations/listpartnerpricing_response.rb
|
|
1879
|
-
- lib/moov/models/operations/listpartnerpricing_response.rbi
|
|
1880
1874
|
- lib/moov/models/operations/listpartnerpricingagreements_request.rb
|
|
1881
1875
|
- lib/moov/models/operations/listpartnerpricingagreements_request.rbi
|
|
1882
1876
|
- lib/moov/models/operations/listpartnerpricingagreements_response.rb
|
|
@@ -2126,9 +2120,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
2126
2120
|
version: '3.2'
|
|
2127
2121
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2128
2122
|
requirements:
|
|
2129
|
-
- - "
|
|
2123
|
+
- - ">="
|
|
2130
2124
|
- !ruby/object:Gem::Version
|
|
2131
|
-
version:
|
|
2125
|
+
version: '0'
|
|
2132
2126
|
requirements: []
|
|
2133
2127
|
rubygems_version: 3.4.19
|
|
2134
2128
|
signing_key:
|
|
@@ -1,66 +0,0 @@
|
|
|
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 PartnerPricing
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
field :plan_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('planID'), required: true } }
|
|
17
|
-
# The name of the partner pricing plan.
|
|
18
|
-
field :name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('name'), required: true } }
|
|
19
|
-
# The decimal-formatted numerical string of the revenue split for partner.
|
|
20
|
-
#
|
|
21
|
-
# For example, 2.25% is '2.25'.
|
|
22
|
-
field :revenue_share, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('revenueShare'), required: true } }
|
|
23
|
-
# Specifies the card processing pricing model
|
|
24
|
-
field :card_acquiring_model, Models::Components::CardAcquiringModel, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardAcquiringModel'), required: true, 'decoder': Utils.enum_from_string(Models::Components::CardAcquiringModel, false) } }
|
|
25
|
-
|
|
26
|
-
field :billable_fees, Crystalline::Array.new(Models::Components::BillableFee), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billableFees'), required: true } }
|
|
27
|
-
# The minimum spending amount that must be met in the billing period. If actual usage is below the minimum amount, account is charged the difference.
|
|
28
|
-
field :minimum_commitment, Models::Components::MinimumCommitment, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('minimumCommitment'), required: true } }
|
|
29
|
-
# Fixed recurring amount paid in the billing period regardless of usage.
|
|
30
|
-
field :monthly_platform_fee, Models::Components::MonthlyPlatformFee, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('monthlyPlatformFee'), required: true } }
|
|
31
|
-
|
|
32
|
-
field :created_at, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdAt'), required: true, 'decoder': Utils.datetime_from_iso_format(false) } }
|
|
33
|
-
# A description of the fee plan.
|
|
34
|
-
field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
|
|
35
|
-
|
|
36
|
-
sig { params(plan_id: ::String, name: ::String, revenue_share: ::String, card_acquiring_model: Models::Components::CardAcquiringModel, billable_fees: T::Array[Models::Components::BillableFee], minimum_commitment: Models::Components::MinimumCommitment, monthly_platform_fee: Models::Components::MonthlyPlatformFee, created_at: ::DateTime, description: T.nilable(::String)).void }
|
|
37
|
-
def initialize(plan_id:, name:, revenue_share:, card_acquiring_model:, billable_fees:, minimum_commitment:, monthly_platform_fee:, created_at:, description: nil)
|
|
38
|
-
@plan_id = plan_id
|
|
39
|
-
@name = name
|
|
40
|
-
@revenue_share = revenue_share
|
|
41
|
-
@card_acquiring_model = card_acquiring_model
|
|
42
|
-
@billable_fees = billable_fees
|
|
43
|
-
@minimum_commitment = minimum_commitment
|
|
44
|
-
@monthly_platform_fee = monthly_platform_fee
|
|
45
|
-
@created_at = created_at
|
|
46
|
-
@description = description
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
50
|
-
def ==(other)
|
|
51
|
-
return false unless other.is_a? self.class
|
|
52
|
-
return false unless @plan_id == other.plan_id
|
|
53
|
-
return false unless @name == other.name
|
|
54
|
-
return false unless @revenue_share == other.revenue_share
|
|
55
|
-
return false unless @card_acquiring_model == other.card_acquiring_model
|
|
56
|
-
return false unless @billable_fees == other.billable_fees
|
|
57
|
-
return false unless @minimum_commitment == other.minimum_commitment
|
|
58
|
-
return false unless @monthly_platform_fee == other.monthly_platform_fee
|
|
59
|
-
return false unless @created_at == other.created_at
|
|
60
|
-
return false unless @description == other.description
|
|
61
|
-
true
|
|
62
|
-
end
|
|
63
|
-
end
|
|
64
|
-
end
|
|
65
|
-
end
|
|
66
|
-
end
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::PartnerPricing
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::PartnerPricing
|
|
11
|
-
def plan_id(); end
|
|
12
|
-
def plan_id=(str_); end
|
|
13
|
-
def name(); end
|
|
14
|
-
def name=(str_); end
|
|
15
|
-
def revenue_share(); end
|
|
16
|
-
def revenue_share=(str_); end
|
|
17
|
-
def card_acquiring_model(); end
|
|
18
|
-
def card_acquiring_model=(str_); end
|
|
19
|
-
def billable_fees(); end
|
|
20
|
-
def billable_fees=(str_); end
|
|
21
|
-
def minimum_commitment(); end
|
|
22
|
-
def minimum_commitment=(str_); end
|
|
23
|
-
def monthly_platform_fee(); end
|
|
24
|
-
def monthly_platform_fee=(str_); end
|
|
25
|
-
def created_at(); end
|
|
26
|
-
def created_at=(str_); end
|
|
27
|
-
def description(); end
|
|
28
|
-
def description=(str_); end
|
|
29
|
-
end
|
|
@@ -1,49 +0,0 @@
|
|
|
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 ListPartnerPricingRequest
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
|
-
# Specify an API version.
|
|
18
|
-
#
|
|
19
|
-
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
20
|
-
# - `YYYY` is the year
|
|
21
|
-
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
22
|
-
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
23
|
-
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
24
|
-
#
|
|
25
|
-
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
26
|
-
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
27
|
-
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
28
|
-
# A comma-separated list of plan IDs to filter the results by.
|
|
29
|
-
field :plan_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'planIDs', 'style': 'form', 'explode': false } }
|
|
30
|
-
|
|
31
|
-
sig { params(account_id: ::String, x_moov_version: T.nilable(::String), plan_i_ds: T.nilable(T::Array[::String])).void }
|
|
32
|
-
def initialize(account_id:, x_moov_version: nil, plan_i_ds: nil)
|
|
33
|
-
@account_id = account_id
|
|
34
|
-
@x_moov_version = x_moov_version
|
|
35
|
-
@plan_i_ds = plan_i_ds
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
39
|
-
def ==(other)
|
|
40
|
-
return false unless other.is_a? self.class
|
|
41
|
-
return false unless @account_id == other.account_id
|
|
42
|
-
return false unless @x_moov_version == other.x_moov_version
|
|
43
|
-
return false unless @plan_i_ds == other.plan_i_ds
|
|
44
|
-
true
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::ListPartnerPricingRequest
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::ListPartnerPricingRequest
|
|
11
|
-
def account_id(); end
|
|
12
|
-
def account_id=(str_); end
|
|
13
|
-
def x_moov_version(); end
|
|
14
|
-
def x_moov_version=(str_); end
|
|
15
|
-
def plan_i_ds(); end
|
|
16
|
-
def plan_i_ds=(str_); end
|
|
17
|
-
end
|
|
@@ -1,48 +0,0 @@
|
|
|
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 ListPartnerPricingResponse
|
|
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_pricings, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::PartnerPricing))
|
|
25
|
-
|
|
26
|
-
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], partner_pricings: T.nilable(T::Array[Models::Components::PartnerPricing])).void }
|
|
27
|
-
def initialize(content_type:, status_code:, raw_response:, headers:, partner_pricings: nil)
|
|
28
|
-
@content_type = content_type
|
|
29
|
-
@status_code = status_code
|
|
30
|
-
@raw_response = raw_response
|
|
31
|
-
@headers = headers
|
|
32
|
-
@partner_pricings = partner_pricings
|
|
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_pricings == other.partner_pricings
|
|
43
|
-
true
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::ListPartnerPricingResponse
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::ListPartnerPricingResponse
|
|
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_pricings(); end
|
|
20
|
-
def partner_pricings=(str_); end
|
|
21
|
-
end
|