maxio-advanced-billing-sdk 4.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +45 -45
- data/lib/advanced_billing/configuration.rb +2 -2
- data/lib/advanced_billing/controllers/advance_invoice_controller.rb +24 -24
- data/lib/advanced_billing/controllers/api_exports_controller.rb +57 -57
- data/lib/advanced_billing/controllers/base_controller.rb +10 -10
- data/lib/advanced_billing/controllers/billing_portal_controller.rb +33 -32
- data/lib/advanced_billing/controllers/component_price_points_controller.rb +60 -60
- data/lib/advanced_billing/controllers/components_controller.rb +110 -107
- data/lib/advanced_billing/controllers/coupons_controller.rb +89 -89
- data/lib/advanced_billing/controllers/custom_fields_controller.rb +76 -76
- data/lib/advanced_billing/controllers/customers_controller.rb +45 -41
- data/lib/advanced_billing/controllers/events_based_billing_segments_controller.rb +53 -53
- data/lib/advanced_billing/controllers/events_controller.rb +16 -15
- data/lib/advanced_billing/controllers/insights_controller.rb +17 -17
- data/lib/advanced_billing/controllers/invoices_controller.rb +99 -99
- data/lib/advanced_billing/controllers/offers_controller.rb +18 -15
- data/lib/advanced_billing/controllers/payment_profiles_controller.rb +107 -104
- data/lib/advanced_billing/controllers/product_families_controller.rb +26 -26
- data/lib/advanced_billing/controllers/product_price_points_controller.rb +62 -62
- data/lib/advanced_billing/controllers/products_controller.rb +37 -37
- data/lib/advanced_billing/controllers/proforma_invoices_controller.rb +61 -61
- data/lib/advanced_billing/controllers/reason_codes_controller.rb +35 -35
- data/lib/advanced_billing/controllers/referral_codes_controller.rb +9 -8
- data/lib/advanced_billing/controllers/sales_commissions_controller.rb +13 -13
- data/lib/advanced_billing/controllers/sites_controller.rb +11 -10
- data/lib/advanced_billing/controllers/subscription_components_controller.rb +170 -161
- data/lib/advanced_billing/controllers/subscription_group_invoice_account_controller.rb +23 -23
- data/lib/advanced_billing/controllers/subscription_group_status_controller.rb +21 -21
- data/lib/advanced_billing/controllers/subscription_groups_controller.rb +54 -54
- data/lib/advanced_billing/controllers/subscription_invoice_account_controller.rb +37 -37
- data/lib/advanced_billing/controllers/subscription_notes_controller.rb +20 -16
- data/lib/advanced_billing/controllers/subscription_products_controller.rb +20 -18
- data/lib/advanced_billing/controllers/subscription_status_controller.rb +74 -74
- data/lib/advanced_billing/controllers/subscriptions_controller.rb +163 -160
- data/lib/advanced_billing/controllers/webhooks_controller.rb +45 -44
- data/lib/advanced_billing/exceptions/component_allocation_error_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/component_price_point_error_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/customer_error_response_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/error_array_map_response_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/error_list_response_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/error_string_map_response_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/event_based_billing_list_segments_errors_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/event_based_billing_segment_errors_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/event_based_billing_segment_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/product_price_point_error_response_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/proforma_bad_request_error_response_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/refund_prepayment_base_errors_response_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/single_error_response_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/single_string_error_response_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/subscription_add_coupon_error_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/subscription_component_allocation_error_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/subscription_group_create_error_response_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/subscription_group_signup_error_response_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/subscription_group_update_error_response_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/subscription_remove_coupon_errors_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/subscriptions_mrr_error_response_exception.rb +15 -15
- data/lib/advanced_billing/exceptions/too_many_management_link_requests_error_exception.rb +15 -15
- data/lib/advanced_billing/models/activate_event_based_component.rb +84 -0
- data/lib/advanced_billing/models/{current_vault.rb → all_vaults.rb} +28 -7
- data/lib/advanced_billing/models/allocation.rb +1 -0
- data/lib/advanced_billing/models/allocation_preview_item.rb +1 -0
- data/lib/advanced_billing/models/apple_pay_payment_profile.rb +232 -0
- data/lib/advanced_billing/models/apple_pay_vault.rb +20 -0
- data/lib/advanced_billing/models/bank_account_attributes.rb +2 -0
- data/lib/advanced_billing/models/bank_account_payment_profile.rb +25 -20
- data/lib/advanced_billing/models/bank_account_vault.rb +19 -9
- data/lib/advanced_billing/models/change_invoice_status_event_data.rb +6 -6
- data/lib/advanced_billing/models/component.rb +1 -0
- data/lib/advanced_billing/models/component_custom_price.rb +33 -14
- data/lib/advanced_billing/models/component_price_point_item.rb +3 -1
- data/lib/advanced_billing/models/create_component_price_point.rb +3 -1
- data/lib/advanced_billing/models/create_customer.rb +11 -1
- data/lib/advanced_billing/models/create_metafield.rb +2 -1
- data/lib/advanced_billing/models/create_or_update_product.rb +7 -4
- data/lib/advanced_billing/models/create_payment_profile.rb +1 -1
- data/lib/advanced_billing/models/create_prepaid_usage_component_price_point.rb +6 -5
- data/lib/advanced_billing/models/create_product_price_point.rb +5 -3
- data/lib/advanced_billing/models/create_subscription.rb +27 -25
- data/lib/advanced_billing/models/credit_card_payment_profile.rb +17 -16
- data/lib/advanced_billing/models/credit_card_vault.rb +117 -0
- data/lib/advanced_billing/models/credit_note.rb +2 -2
- data/lib/advanced_billing/models/customer.rb +11 -1
- data/lib/advanced_billing/models/customer_attributes.rb +12 -1
- data/lib/advanced_billing/models/ebb_component.rb +1 -0
- data/lib/advanced_billing/models/{extended_interval_unit.rb → expiration_interval_unit.rb} +4 -4
- data/lib/advanced_billing/models/full_subscription_group_response.rb +65 -50
- data/lib/advanced_billing/models/get_one_time_token_payment_profile.rb +1 -1
- data/lib/advanced_billing/models/invoice.rb +19 -9
- data/lib/advanced_billing/models/invoice_consolidation_level.rb +2 -2
- data/lib/advanced_billing/models/invoice_refund.rb +13 -1
- data/lib/advanced_billing/models/invoice_status.rb +2 -2
- data/lib/advanced_billing/models/invoice_tax.rb +29 -0
- data/lib/advanced_billing/models/invoice_tax_component_breakout.rb +101 -1
- data/lib/advanced_billing/models/issue_invoice_event_data.rb +6 -6
- data/lib/advanced_billing/models/metered_component.rb +4 -3
- data/lib/advanced_billing/models/offer_item.rb +3 -1
- data/lib/advanced_billing/models/on_off_component.rb +3 -2
- data/lib/advanced_billing/models/paid_invoice.rb +2 -2
- data/lib/advanced_billing/models/pay_pal_vault.rb +29 -0
- data/lib/advanced_billing/models/payment_profile_attributes.rb +5 -5
- data/lib/advanced_billing/models/payment_profile_response.rb +3 -3
- data/lib/advanced_billing/models/payment_type.rb +4 -1
- data/lib/advanced_billing/models/paypal_payment_profile.rb +242 -0
- data/lib/advanced_billing/models/prepaid_usage_component.rb +5 -4
- data/lib/advanced_billing/models/product.rb +2 -2
- data/lib/advanced_billing/models/product_price_point.rb +2 -2
- data/lib/advanced_billing/models/proforma_invoice.rb +6 -6
- data/lib/advanced_billing/models/quantity_based_component.rb +4 -3
- data/lib/advanced_billing/models/refund_invoice_event_data.rb +4 -4
- data/lib/advanced_billing/models/resent_invitation.rb +36 -0
- data/lib/advanced_billing/models/subscription.rb +13 -10
- data/lib/advanced_billing/models/subscription_component.rb +1 -0
- data/lib/advanced_billing/models/subscription_component_subscription.rb +26 -20
- data/lib/advanced_billing/models/subscription_custom_price.rb +5 -2
- data/lib/advanced_billing/models/subscription_group_bank_account.rb +2 -0
- data/lib/advanced_billing/models/subscription_group_credit_card.rb +1 -1
- data/lib/advanced_billing/models/subscription_group_signup_response.rb +39 -30
- data/lib/advanced_billing/models/subscription_state.rb +30 -30
- data/lib/advanced_billing/models/tax_configuration.rb +1 -2
- data/lib/advanced_billing/models/update_component_price_point.rb +3 -1
- data/lib/advanced_billing/models/update_customer.rb +12 -1
- data/lib/advanced_billing/models/update_payment_profile.rb +1 -1
- data/lib/advanced_billing/utilities/file_wrapper.rb +9 -9
- data/lib/advanced_billing/utilities/union_type_lookup.rb +17 -3
- data/lib/advanced_billing.rb +10 -4
- metadata +16 -10
@@ -9,15 +9,15 @@ module AdvancedBilling
|
|
9
9
|
# # Reason Codes Intro
|
10
10
|
# ReasonCodes are a way to gain a high level view of why your customers are
|
11
11
|
# cancelling the subcription to your product or service.
|
12
|
-
# Add a set of churn reason codes to be displayed in-app and/or the
|
12
|
+
# Add a set of churn reason codes to be displayed in-app and/or the Maxio
|
13
13
|
# Billing Portal. As your subscribers decide to cancel their subscription,
|
14
14
|
# learn why they decided to cancel.
|
15
15
|
# ## Reason Code Documentation
|
16
|
-
# Full documentation on how Reason Codes operate within
|
17
|
-
# located under the following links.
|
16
|
+
# Full documentation on how Reason Codes operate within Advanced Billing can
|
17
|
+
# be located under the following links.
|
18
18
|
# [Churn Reason
|
19
|
-
# Codes](https://
|
20
|
-
#
|
19
|
+
# Codes](https://maxio.zendesk.com/hc/en-us/articles/24286647554701-Churn-Re
|
20
|
+
# ason-Codes)
|
21
21
|
# ## Create Reason Code
|
22
22
|
# This method gives a merchant the option to create a reason codes for a
|
23
23
|
# given Site.
|
@@ -34,12 +34,12 @@ module AdvancedBilling
|
|
34
34
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
35
35
|
.auth(Single.new('BasicAuth')))
|
36
36
|
.response(new_response_handler
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
37
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
38
|
+
.deserialize_into(ReasonCodeResponse.method(:from_hash))
|
39
|
+
.local_error_template('422',
|
40
|
+
'HTTP Response Not OK. Status code: {$statusCode}.'\
|
41
|
+
' Response: \'{$response.body}\'.',
|
42
|
+
ErrorListResponseException))
|
43
43
|
.execute
|
44
44
|
end
|
45
45
|
|
@@ -67,16 +67,16 @@ module AdvancedBilling
|
|
67
67
|
.header_param(new_parameter('application/json', key: 'accept'))
|
68
68
|
.auth(Single.new('BasicAuth')))
|
69
69
|
.response(new_response_handler
|
70
|
-
|
71
|
-
|
72
|
-
|
70
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
71
|
+
.deserialize_into(ReasonCodeResponse.method(:from_hash))
|
72
|
+
.is_response_array(true))
|
73
73
|
.execute
|
74
74
|
end
|
75
75
|
|
76
76
|
# This method gives a merchant the option to retrieve a list of a particular
|
77
77
|
# code for a given Site by providing the unique numerical ID of the code.
|
78
|
-
# @param [Integer] reason_code_id Required parameter: The
|
79
|
-
# reason code
|
78
|
+
# @param [Integer] reason_code_id Required parameter: The Advanced Billing
|
79
|
+
# id of the reason code
|
80
80
|
# @return [ReasonCodeResponse] response from the API call
|
81
81
|
def read_reason_code(reason_code_id)
|
82
82
|
new_api_call_builder
|
@@ -89,18 +89,18 @@ module AdvancedBilling
|
|
89
89
|
.header_param(new_parameter('application/json', key: 'accept'))
|
90
90
|
.auth(Single.new('BasicAuth')))
|
91
91
|
.response(new_response_handler
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
92
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
93
|
+
.deserialize_into(ReasonCodeResponse.method(:from_hash))
|
94
|
+
.local_error_template('404',
|
95
|
+
'Not Found:\'{$response.body}\'',
|
96
|
+
APIException))
|
97
97
|
.execute
|
98
98
|
end
|
99
99
|
|
100
100
|
# This method gives a merchant the option to update an existing reason code
|
101
101
|
# for a given site.
|
102
|
-
# @param [Integer] reason_code_id Required parameter: The
|
103
|
-
# reason code
|
102
|
+
# @param [Integer] reason_code_id Required parameter: The Advanced Billing
|
103
|
+
# id of the reason code
|
104
104
|
# @param [UpdateReasonCodeRequest] body Optional parameter: Example:
|
105
105
|
# @return [ReasonCodeResponse] response from the API call
|
106
106
|
def update_reason_code(reason_code_id,
|
@@ -118,19 +118,19 @@ module AdvancedBilling
|
|
118
118
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
119
119
|
.auth(Single.new('BasicAuth')))
|
120
120
|
.response(new_response_handler
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
121
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
122
|
+
.deserialize_into(ReasonCodeResponse.method(:from_hash))
|
123
|
+
.local_error_template('404',
|
124
|
+
'Not Found:\'{$response.body}\'',
|
125
|
+
APIException))
|
126
126
|
.execute
|
127
127
|
end
|
128
128
|
|
129
129
|
# This method gives a merchant the option to delete one reason code from the
|
130
130
|
# Churn Reason Codes. This code will be immediately removed. This action is
|
131
131
|
# not reversable.
|
132
|
-
# @param [Integer] reason_code_id Required parameter: The
|
133
|
-
# reason code
|
132
|
+
# @param [Integer] reason_code_id Required parameter: The Advanced Billing
|
133
|
+
# id of the reason code
|
134
134
|
# @return [ReasonCodesJsonResponse] response from the API call
|
135
135
|
def delete_reason_code(reason_code_id)
|
136
136
|
new_api_call_builder
|
@@ -143,11 +143,11 @@ module AdvancedBilling
|
|
143
143
|
.header_param(new_parameter('application/json', key: 'accept'))
|
144
144
|
.auth(Single.new('BasicAuth')))
|
145
145
|
.response(new_response_handler
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
146
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
147
|
+
.deserialize_into(ReasonCodesJsonResponse.method(:from_hash))
|
148
|
+
.local_error_template('404',
|
149
|
+
'Not Found:\'{$response.body}\'',
|
150
|
+
APIException))
|
151
151
|
.execute
|
152
152
|
end
|
153
153
|
end
|
@@ -10,9 +10,10 @@ module AdvancedBilling
|
|
10
10
|
# within your Site. This method is useful for validating referral codes that
|
11
11
|
# are entered by a customer.
|
12
12
|
# ## Referrals Documentation
|
13
|
-
# Full documentation on how to use the referrals feature in the
|
14
|
-
# can be located
|
15
|
-
# [here](https://
|
13
|
+
# Full documentation on how to use the referrals feature in the Advanced
|
14
|
+
# Billing UI can be located
|
15
|
+
# [here](https://maxio.zendesk.com/hc/en-us/sections/24286965611405-Referral
|
16
|
+
# s).
|
16
17
|
# ## Server Response
|
17
18
|
# If the referral code is valid the status code will be `200` and the
|
18
19
|
# referral code will be returned. If the referral code is invalid, a `404`
|
@@ -30,11 +31,11 @@ module AdvancedBilling
|
|
30
31
|
.header_param(new_parameter('application/json', key: 'accept'))
|
31
32
|
.auth(Single.new('BasicAuth')))
|
32
33
|
.response(new_response_handler
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
34
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
35
|
+
.deserialize_into(ReferralValidationResponse.method(:from_hash))
|
36
|
+
.local_error_template('404',
|
37
|
+
'Invalid referral code.',
|
38
|
+
SingleStringErrorResponseException))
|
38
39
|
.execute
|
39
40
|
end
|
40
41
|
end
|
@@ -20,7 +20,7 @@ module AdvancedBilling
|
|
20
20
|
# Access to the Sales Commission API endpoints is available to users with
|
21
21
|
# financial access, where the seller has the Advanced Analytics component
|
22
22
|
# enabled. For further information on getting access to Advanced Analytics
|
23
|
-
# please contact
|
23
|
+
# please contact Maxio support.
|
24
24
|
# > Note: The request is at seller level, it means `<<subdomain>>` variable
|
25
25
|
# will be replaced by `app`
|
26
26
|
# @param [String] seller_id Required parameter: The Chargify id of your
|
@@ -57,9 +57,9 @@ module AdvancedBilling
|
|
57
57
|
.header_param(new_parameter('application/json', key: 'accept'))
|
58
58
|
.auth(Single.new('BasicAuth')))
|
59
59
|
.response(new_response_handler
|
60
|
-
|
61
|
-
|
62
|
-
|
60
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
61
|
+
.deserialize_into(SaleRepSettings.method(:from_hash))
|
62
|
+
.is_response_array(true))
|
63
63
|
.execute
|
64
64
|
end
|
65
65
|
|
@@ -77,7 +77,7 @@ module AdvancedBilling
|
|
77
77
|
# Access to the Sales Commission API endpoints is available to users with
|
78
78
|
# financial access, where the seller has the Advanced Analytics component
|
79
79
|
# enabled. For further information on getting access to Advanced Analytics
|
80
|
-
# please contact
|
80
|
+
# please contact Maxio support.
|
81
81
|
# > Note: The request is at seller level, it means `<<subdomain>>` variable
|
82
82
|
# will be replaced by `app`
|
83
83
|
# @param [String] seller_id Required parameter: The Chargify id of your
|
@@ -114,9 +114,9 @@ module AdvancedBilling
|
|
114
114
|
.header_param(new_parameter('application/json', key: 'accept'))
|
115
115
|
.auth(Single.new('BasicAuth')))
|
116
116
|
.response(new_response_handler
|
117
|
-
|
118
|
-
|
119
|
-
|
117
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
118
|
+
.deserialize_into(ListSaleRepItem.method(:from_hash))
|
119
|
+
.is_response_array(true))
|
120
120
|
.execute
|
121
121
|
end
|
122
122
|
|
@@ -134,13 +134,13 @@ module AdvancedBilling
|
|
134
134
|
# Access to the Sales Commission API endpoints is available to users with
|
135
135
|
# financial access, where the seller has the Advanced Analytics component
|
136
136
|
# enabled. For further information on getting access to Advanced Analytics
|
137
|
-
# please contact
|
137
|
+
# please contact Maxio support.
|
138
138
|
# > Note: The request is at seller level, it means `<<subdomain>>` variable
|
139
139
|
# will be replaced by `app`
|
140
140
|
# @param [String] seller_id Required parameter: The Chargify id of your
|
141
141
|
# seller account
|
142
|
-
# @param [String] sales_rep_id Required parameter: The
|
143
|
-
# rep.
|
142
|
+
# @param [String] sales_rep_id Required parameter: The Advanced Billing id
|
143
|
+
# of sales rep.
|
144
144
|
# @param [String] authorization Optional parameter: For authorization use
|
145
145
|
# user API key. See details
|
146
146
|
# [here](https://developers.chargify.com/docs/developer-docs/ZG9jOjMyNzk5NTg
|
@@ -181,8 +181,8 @@ module AdvancedBilling
|
|
181
181
|
.header_param(new_parameter('application/json', key: 'accept'))
|
182
182
|
.auth(Single.new('BasicAuth')))
|
183
183
|
.response(new_response_handler
|
184
|
-
|
185
|
-
|
184
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
185
|
+
.deserialize_into(SaleRep.method(:from_hash)))
|
186
186
|
.execute
|
187
187
|
end
|
188
188
|
end
|
@@ -7,11 +7,11 @@ module AdvancedBilling
|
|
7
7
|
# SitesController
|
8
8
|
class SitesController < BaseController
|
9
9
|
# This endpoint allows you to fetch some site data.
|
10
|
-
# Full documentation on Sites in the
|
11
|
-
# [here](https://
|
10
|
+
# Full documentation on Sites in the Advanced Billing UI can be located
|
11
|
+
# [here](https://maxio.zendesk.com/hc/en-us/sections/24250550707085-Sites).
|
12
12
|
# Specifically, the [Clearing Site
|
13
|
-
# Data](https://maxio
|
14
|
-
# section is extremely relevant to this endpoint documentation.
|
13
|
+
# Data](https://maxio.zendesk.com/hc/en-us/articles/24250617028365-Clearing-
|
14
|
+
# Site-Data) section is extremely relevant to this endpoint documentation.
|
15
15
|
# #### Relationship invoicing enabled
|
16
16
|
# If site has RI enabled then you will see more settings like:
|
17
17
|
# "customer_hierarchy_enabled": true,
|
@@ -19,7 +19,8 @@ module AdvancedBilling
|
|
19
19
|
# "whopays_default_payer": "self"
|
20
20
|
# You can read more about these settings here:
|
21
21
|
# [Who Pays & Customer
|
22
|
-
# Hierarchy](https://
|
22
|
+
# Hierarchy](https://maxio.zendesk.com/hc/en-us/articles/24252185211533-Cust
|
23
|
+
# omer-Hierarchies-WhoPays)
|
23
24
|
# @return [SiteResponse] response from the API call
|
24
25
|
def read_site
|
25
26
|
new_api_call_builder
|
@@ -29,8 +30,8 @@ module AdvancedBilling
|
|
29
30
|
.header_param(new_parameter('application/json', key: 'accept'))
|
30
31
|
.auth(Single.new('BasicAuth')))
|
31
32
|
.response(new_response_handler
|
32
|
-
|
33
|
-
|
33
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
34
|
+
.deserialize_into(SiteResponse.method(:from_hash)))
|
34
35
|
.execute
|
35
36
|
end
|
36
37
|
|
@@ -55,7 +56,7 @@ module AdvancedBilling
|
|
55
56
|
.query_param(new_parameter(cleanup_scope, key: 'cleanup_scope'))
|
56
57
|
.auth(Single.new('BasicAuth')))
|
57
58
|
.response(new_response_handler
|
58
|
-
|
59
|
+
.is_response_void(true))
|
59
60
|
.execute
|
60
61
|
end
|
61
62
|
|
@@ -82,8 +83,8 @@ module AdvancedBilling
|
|
82
83
|
.header_param(new_parameter('application/json', key: 'accept'))
|
83
84
|
.auth(Single.new('BasicAuth')))
|
84
85
|
.response(new_response_handler
|
85
|
-
|
86
|
-
|
86
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
87
|
+
.deserialize_into(ListPublicKeysResponse.method(:from_hash)))
|
87
88
|
.execute
|
88
89
|
end
|
89
90
|
end
|