cybersource_rest_client 0.0.53 → 0.0.55

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +2 -2
  3. data/lib/AuthenticationSDK/authentication/http/HttpSignatureHeader.rb +6 -6
  4. data/lib/AuthenticationSDK/core/MerchantConfig.rb +6 -0
  5. data/lib/AuthenticationSDK/util/Cache.rb +15 -1
  6. data/lib/AuthenticationSDK/util/Constants.rb +1 -1
  7. data/lib/AuthenticationSDK/util/JWEUtility.rb +14 -0
  8. data/lib/cybersource_rest_client/api/batches_api.rb +12 -12
  9. data/lib/cybersource_rest_client/api/billing_agreements_api.rb +231 -0
  10. data/lib/cybersource_rest_client/api/decision_manager_api.rb +142 -0
  11. data/lib/cybersource_rest_client/api/invoice_settings_api.rb +2 -2
  12. data/lib/cybersource_rest_client/api/invoices_api.rb +6 -6
  13. data/lib/cybersource_rest_client/api/keymanagement_api.rb +3 -3
  14. data/lib/cybersource_rest_client/api/payments_api.rb +2 -2
  15. data/lib/cybersource_rest_client/api/plans_api.rb +32 -32
  16. data/lib/cybersource_rest_client/api/subscriptions_api.rb +32 -32
  17. data/lib/cybersource_rest_client/api/void_api.rb +2 -2
  18. data/lib/cybersource_rest_client/models/access_token_response.rb +244 -244
  19. data/lib/cybersource_rest_client/models/activate_deactivate_plan_response.rb +239 -0
  20. data/lib/cybersource_rest_client/models/{inline_response_200_9.rb → activate_subscription_response.rb} +2 -2
  21. data/lib/cybersource_rest_client/models/{inline_response_200_9_subscription_information.rb → activate_subscription_response_subscription_information.rb} +1 -1
  22. data/lib/cybersource_rest_client/models/bad_request_error.rb +192 -192
  23. data/lib/cybersource_rest_client/models/{inline_response_202_1.rb → cancel_subscription_response.rb} +2 -2
  24. data/lib/cybersource_rest_client/models/{inline_response_202_subscription_information.rb → cancel_subscription_response_subscription_information.rb} +1 -1
  25. data/lib/cybersource_rest_client/models/case_management_actions_request.rb +200 -0
  26. data/lib/cybersource_rest_client/models/case_management_comments_request.rb +206 -0
  27. data/lib/cybersource_rest_client/models/create_access_token_request.rb +254 -254
  28. data/lib/cybersource_rest_client/models/{inline_response_200_14.rb → create_billing_agreement.rb} +65 -88
  29. data/lib/cybersource_rest_client/models/create_bundled_decision_manager_case_request.rb +15 -5
  30. data/lib/cybersource_rest_client/models/create_plan_response.rb +239 -0
  31. data/lib/cybersource_rest_client/models/{inline_response_201_plan_information.rb → create_plan_response_plan_information.rb} +1 -1
  32. data/lib/cybersource_rest_client/models/create_subscription_request.rb +1 -1
  33. data/lib/cybersource_rest_client/models/{inline_response_201_1.rb → create_subscription_response.rb} +3 -3
  34. data/lib/cybersource_rest_client/models/{inline_response_201_1__links.rb → create_subscription_response__links.rb} +1 -1
  35. data/lib/cybersource_rest_client/models/{inline_response_201_1_subscription_information.rb → create_subscription_response_subscription_information.rb} +1 -1
  36. data/lib/cybersource_rest_client/models/delete_plan_response.rb +202 -0
  37. data/lib/cybersource_rest_client/models/{inline_response_202_2.rb → get_all_plans_response.rb} +31 -18
  38. data/lib/cybersource_rest_client/models/{inline_response_200__links.rb → get_all_plans_response__links.rb} +1 -1
  39. data/lib/cybersource_rest_client/models/{inline_response_200_order_information.rb → get_all_plans_response_order_information.rb} +2 -2
  40. data/lib/cybersource_rest_client/models/{inline_response_200_order_information_amount_details.rb → get_all_plans_response_order_information_amount_details.rb} +1 -1
  41. data/lib/cybersource_rest_client/models/{inline_response_200_plan_information.rb → get_all_plans_response_plan_information.rb} +3 -3
  42. data/lib/cybersource_rest_client/models/{inline_response_200_plan_information_billing_cycles.rb → get_all_plans_response_plan_information_billing_cycles.rb} +1 -1
  43. data/lib/cybersource_rest_client/models/{inline_response_200_plan_information_billing_period.rb → get_all_plans_response_plan_information_billing_period.rb} +1 -1
  44. data/lib/cybersource_rest_client/models/{inline_response_200_plans.rb → get_all_plans_response_plans.rb} +3 -3
  45. data/lib/cybersource_rest_client/models/{inline_response_200_6.rb → get_all_subscriptions_response.rb} +3 -3
  46. data/lib/cybersource_rest_client/models/{inline_response_200_6__links.rb → get_all_subscriptions_response__links.rb} +1 -1
  47. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information.rb +200 -0
  48. data/lib/cybersource_rest_client/models/{inline_response_200_6_order_information_bill_to.rb → get_all_subscriptions_response_order_information_bill_to.rb} +1 -1
  49. data/lib/cybersource_rest_client/models/{inline_response_200_6_payment_information.rb → get_all_subscriptions_response_payment_information.rb} +2 -2
  50. data/lib/cybersource_rest_client/models/{inline_response_200_6_payment_information_customer.rb → get_all_subscriptions_response_payment_information_customer.rb} +1 -1
  51. data/lib/cybersource_rest_client/models/{inline_response_200_6_plan_information.rb → get_all_subscriptions_response_plan_information.rb} +3 -3
  52. data/lib/cybersource_rest_client/models/{inline_response_200_6_plan_information_billing_cycles.rb → get_all_subscriptions_response_plan_information_billing_cycles.rb} +1 -1
  53. data/lib/cybersource_rest_client/models/{inline_response_200_6_subscription_information.rb → get_all_subscriptions_response_subscription_information.rb} +1 -1
  54. data/lib/cybersource_rest_client/models/{inline_response_200_6_subscriptions.rb → get_all_subscriptions_response_subscriptions.rb} +6 -6
  55. data/lib/cybersource_rest_client/models/{inline_response_200_5.rb → get_plan_code_response.rb} +1 -1
  56. data/lib/cybersource_rest_client/models/get_plan_response.rb +238 -0
  57. data/lib/cybersource_rest_client/models/{inline_response_200_10.rb → get_subscription_code_response.rb} +1 -1
  58. data/lib/cybersource_rest_client/models/{inline_response_200_7.rb → get_subscription_response.rb} +6 -6
  59. data/lib/cybersource_rest_client/models/inline_response_200.rb +30 -25
  60. data/lib/cybersource_rest_client/models/inline_response_200_1.rb +50 -40
  61. data/lib/cybersource_rest_client/models/{inline_response_200_11_keys.rb → inline_response_200_1_keys.rb} +1 -1
  62. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +67 -17
  63. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded.rb → inline_response_200_2__embedded.rb} +2 -2
  64. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded__links.rb → inline_response_200_2__embedded__links.rb} +2 -2
  65. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded__links_reports.rb → inline_response_200_2__embedded__links_reports.rb} +1 -1
  66. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded_batches.rb → inline_response_200_2__embedded_batches.rb} +3 -3
  67. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded_totals.rb → inline_response_200_2__embedded_totals.rb} +1 -1
  68. data/lib/cybersource_rest_client/models/{inline_response_200_12__links.rb → inline_response_200_2__links.rb} +1 -1
  69. data/lib/cybersource_rest_client/models/inline_response_200_3.rb +81 -29
  70. data/lib/cybersource_rest_client/models/{inline_response_200_13__links.rb → inline_response_200_3__links.rb} +3 -3
  71. data/lib/cybersource_rest_client/models/{inline_response_202_2__links_status.rb → inline_response_200_3__links_report.rb} +1 -1
  72. data/lib/cybersource_rest_client/models/{inline_response_200_13_billing.rb → inline_response_200_3_billing.rb} +1 -1
  73. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +96 -42
  74. data/lib/cybersource_rest_client/models/{inline_response_200_14_records.rb → inline_response_200_4_records.rb} +3 -3
  75. data/lib/cybersource_rest_client/models/{inline_response_200_14_response_record.rb → inline_response_200_4_response_record.rb} +2 -2
  76. data/lib/cybersource_rest_client/models/{inline_response_200_14_response_record_additional_updates.rb → inline_response_200_4_response_record_additional_updates.rb} +1 -1
  77. data/lib/cybersource_rest_client/models/{inline_response_200_14_source_record.rb → inline_response_200_4_source_record.rb} +1 -1
  78. data/lib/cybersource_rest_client/models/inline_response_200__embedded.rb +201 -0
  79. data/lib/cybersource_rest_client/models/inline_response_200__embedded_capture.rb +202 -0
  80. data/lib/cybersource_rest_client/models/inline_response_200__embedded_capture__links.rb +191 -0
  81. data/lib/cybersource_rest_client/models/inline_response_200__embedded_capture__links_self.rb +203 -0
  82. data/lib/cybersource_rest_client/models/inline_response_200__embedded_reversal.rb +202 -0
  83. data/lib/cybersource_rest_client/models/inline_response_200__embedded_reversal__links.rb +191 -0
  84. data/lib/cybersource_rest_client/models/inline_response_200__embedded_reversal__links_self.rb +203 -0
  85. data/lib/cybersource_rest_client/models/inline_response_201.rb +7 -27
  86. data/lib/cybersource_rest_client/models/inline_response_202.rb +17 -45
  87. data/lib/cybersource_rest_client/models/{inline_response_202_2__links.rb → inline_response_202__links.rb} +2 -2
  88. data/lib/cybersource_rest_client/models/{inline_response_200_13__links_report.rb → inline_response_202__links_status.rb} +1 -1
  89. data/lib/cybersource_rest_client/models/inline_response_400_1.rb +3 -3
  90. data/lib/cybersource_rest_client/models/inline_response_400_2.rb +1 -1
  91. data/lib/cybersource_rest_client/models/inline_response_400_3.rb +37 -60
  92. data/lib/cybersource_rest_client/models/inline_response_400_4.rb +61 -37
  93. data/lib/cybersource_rest_client/models/{inline_response_400_3_fields.rb → inline_response_400_4_fields.rb} +1 -1
  94. data/lib/cybersource_rest_client/models/inline_response_400_5.rb +10 -11
  95. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +35 -75
  96. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +276 -0
  97. data/lib/cybersource_rest_client/models/{inline_response_400_6_details.rb → inline_response_400_7_details.rb} +1 -1
  98. data/lib/cybersource_rest_client/models/inline_response_403_1.rb +236 -0
  99. data/lib/cybersource_rest_client/models/inline_response_422.rb +236 -0
  100. data/lib/cybersource_rest_client/models/inline_response_500_1.rb +20 -8
  101. data/lib/cybersource_rest_client/models/inline_response_500_2.rb +224 -0
  102. data/lib/cybersource_rest_client/models/inline_response_502.rb +13 -12
  103. data/lib/cybersource_rest_client/models/inline_response_502_1.rb +235 -0
  104. data/lib/cybersource_rest_client/models/inline_response_503.rb +236 -0
  105. data/lib/cybersource_rest_client/models/{inline_response_200_12.rb → intimate_billing_agreement.rb} +37 -59
  106. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response.rb +1 -1
  107. data/lib/cybersource_rest_client/models/modify_billing_agreement.rb +270 -0
  108. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_1.rb +239 -0
  109. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_1_installment_information.rb +197 -0
  110. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_1_processor_information.rb +214 -0
  111. data/lib/cybersource_rest_client/models/ptsv2billingagreements_aggregator_information.rb +207 -0
  112. data/lib/cybersource_rest_client/models/ptsv2billingagreements_consumer_authentication_information.rb +242 -0
  113. data/lib/cybersource_rest_client/models/ptsv2billingagreements_device_information.rb +231 -0
  114. data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +327 -0
  115. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +235 -0
  116. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +242 -0
  117. data/lib/cybersource_rest_client/models/{inline_response_200_6_order_information.rb → ptsv2billingagreements_order_information.rb} +3 -3
  118. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to.rb +401 -0
  119. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information.rb +200 -0
  120. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_card.rb +259 -0
  121. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +276 -0
  122. data/lib/cybersource_rest_client/models/ptsv2billingagreements_processing_information.rb +210 -0
  123. data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +12 -1
  124. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +16 -5
  125. data/lib/cybersource_rest_client/models/rbsv1plans_plan_information.rb +1 -1
  126. data/lib/cybersource_rest_client/models/rbsv1plansid_plan_information.rb +1 -1
  127. data/lib/cybersource_rest_client/models/rbsv1subscriptions_plan_information.rb +1 -1
  128. data/lib/cybersource_rest_client/models/resource_not_found_error.rb +192 -192
  129. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +1 -1
  130. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_token_information.rb +22 -5
  131. data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +12 -1
  132. data/lib/cybersource_rest_client/models/riskv1decisions_processing_information.rb +1 -1
  133. data/lib/cybersource_rest_client/models/riskv1decisions_token_information.rb +197 -0
  134. data/lib/cybersource_rest_client/models/riskv1decisionsidactions_decision_information.rb +208 -0
  135. data/lib/cybersource_rest_client/models/riskv1decisionsidactions_processing_information.rb +193 -0
  136. data/lib/cybersource_rest_client/models/suspend_subscription_response.rb +239 -0
  137. data/lib/cybersource_rest_client/models/{inline_response_202_1_subscription_information.rb → suspend_subscription_response_subscription_information.rb} +1 -1
  138. data/lib/cybersource_rest_client/models/unauthorized_client_error.rb +192 -192
  139. data/lib/cybersource_rest_client/models/update_plan_request.rb +1 -1
  140. data/lib/cybersource_rest_client/models/update_plan_response.rb +239 -0
  141. data/lib/cybersource_rest_client/models/{inline_response_200_3_plan_information.rb → update_plan_response_plan_information.rb} +1 -1
  142. data/lib/cybersource_rest_client/models/{inline_response_200_8.rb → update_subscription_response.rb} +3 -3
  143. data/lib/cybersource_rest_client/models/validate_request.rb +15 -5
  144. data/lib/cybersource_rest_client/utilities/jwe_utility.rb +12 -0
  145. data/lib/cybersource_rest_client.rb +95 -54
  146. metadata +112 -57
  147. data/lib/cybersource_rest_client/models/inline_response_200_11.rb +0 -248
  148. data/lib/cybersource_rest_client/models/inline_response_200_13.rb +0 -291
@@ -24,7 +24,7 @@ module CyberSource
24
24
  # Activate a `CANCELLED` Or `SUSPENDED` Subscription
25
25
  # @param id Subscription Id
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [InlineResponse2009]
27
+ # @return [ActivateSubscriptionResponse]
28
28
  def activate_subscription(id, opts = {})
29
29
  data, status_code, headers = activate_subscription_with_http_info(id, opts)
30
30
  return data, status_code, headers
@@ -34,7 +34,7 @@ module CyberSource
34
34
  # Activate a `CANCELLED` Or `SUSPENDED` Subscription
35
35
  # @param id Subscription Id
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse2009, Fixnum, Hash)>] InlineResponse2009 data, response status code and response headers
37
+ # @return [Array<(ActivateSubscriptionResponse, Fixnum, Hash)>] ActivateSubscriptionResponse data, response status code and response headers
38
38
  def activate_subscription_with_http_info(id, opts = {})
39
39
 
40
40
  if @api_client.config.debugging
@@ -58,7 +58,7 @@ module CyberSource
58
58
  # header parameters
59
59
  header_params = {}
60
60
  # HTTP header 'Accept' (if needed)
61
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
61
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
62
62
  # HTTP header 'Content-Type'
63
63
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
64
64
 
@@ -78,7 +78,7 @@ module CyberSource
78
78
  :form_params => form_params,
79
79
  :body => post_body,
80
80
  :auth_names => auth_names,
81
- :return_type => 'InlineResponse2009')
81
+ :return_type => 'ActivateSubscriptionResponse')
82
82
  if @api_client.config.debugging
83
83
  begin
84
84
  raise
@@ -93,7 +93,7 @@ module CyberSource
93
93
  # Cancel a Subscription
94
94
  # @param id Subscription Id
95
95
  # @param [Hash] opts the optional parameters
96
- # @return [InlineResponse202]
96
+ # @return [CancelSubscriptionResponse]
97
97
  def cancel_subscription(id, opts = {})
98
98
  data, status_code, headers = cancel_subscription_with_http_info(id, opts)
99
99
  return data, status_code, headers
@@ -103,7 +103,7 @@ module CyberSource
103
103
  # Cancel a Subscription
104
104
  # @param id Subscription Id
105
105
  # @param [Hash] opts the optional parameters
106
- # @return [Array<(InlineResponse202, Fixnum, Hash)>] InlineResponse202 data, response status code and response headers
106
+ # @return [Array<(CancelSubscriptionResponse, Fixnum, Hash)>] CancelSubscriptionResponse data, response status code and response headers
107
107
  def cancel_subscription_with_http_info(id, opts = {})
108
108
 
109
109
  if @api_client.config.debugging
@@ -127,7 +127,7 @@ module CyberSource
127
127
  # header parameters
128
128
  header_params = {}
129
129
  # HTTP header 'Accept' (if needed)
130
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
130
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
131
131
  # HTTP header 'Content-Type'
132
132
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
133
133
 
@@ -147,7 +147,7 @@ module CyberSource
147
147
  :form_params => form_params,
148
148
  :body => post_body,
149
149
  :auth_names => auth_names,
150
- :return_type => 'InlineResponse202')
150
+ :return_type => 'CancelSubscriptionResponse')
151
151
  if @api_client.config.debugging
152
152
  begin
153
153
  raise
@@ -162,7 +162,7 @@ module CyberSource
162
162
  # Create a Recurring Billing Subscription
163
163
  # @param create_subscription_request
164
164
  # @param [Hash] opts the optional parameters
165
- # @return [InlineResponse2011]
165
+ # @return [CreateSubscriptionResponse]
166
166
  def create_subscription(create_subscription_request, opts = {})
167
167
  data, status_code, headers = create_subscription_with_http_info(create_subscription_request, opts)
168
168
  return data, status_code, headers
@@ -172,7 +172,7 @@ module CyberSource
172
172
  # Create a Recurring Billing Subscription
173
173
  # @param create_subscription_request
174
174
  # @param [Hash] opts the optional parameters
175
- # @return [Array<(InlineResponse2011, Fixnum, Hash)>] InlineResponse2011 data, response status code and response headers
175
+ # @return [Array<(CreateSubscriptionResponse, Fixnum, Hash)>] CreateSubscriptionResponse data, response status code and response headers
176
176
  def create_subscription_with_http_info(create_subscription_request, opts = {})
177
177
 
178
178
  if @api_client.config.debugging
@@ -196,7 +196,7 @@ module CyberSource
196
196
  # header parameters
197
197
  header_params = {}
198
198
  # HTTP header 'Accept' (if needed)
199
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
199
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
200
200
  # HTTP header 'Content-Type'
201
201
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
202
202
 
@@ -212,7 +212,7 @@ module CyberSource
212
212
  :form_params => form_params,
213
213
  :body => post_body,
214
214
  :auth_names => auth_names,
215
- :return_type => 'InlineResponse2011')
215
+ :return_type => 'CreateSubscriptionResponse')
216
216
  if @api_client.config.debugging
217
217
  begin
218
218
  raise
@@ -230,7 +230,7 @@ module CyberSource
230
230
  # @option opts [Integer] :limit Number of items to be returned. Default - &#x60;20&#x60;, Max - &#x60;100&#x60;
231
231
  # @option opts [String] :code Filter by Subscription Code
232
232
  # @option opts [String] :status Filter by Subscription Status
233
- # @return [InlineResponse2006]
233
+ # @return [GetAllSubscriptionsResponse]
234
234
  def get_all_subscriptions(opts = {})
235
235
  data, status_code, headers = get_all_subscriptions_with_http_info(opts)
236
236
  return data, status_code, headers
@@ -243,7 +243,7 @@ module CyberSource
243
243
  # @option opts [Integer] :limit Number of items to be returned. Default - &#x60;20&#x60;, Max - &#x60;100&#x60;
244
244
  # @option opts [String] :code Filter by Subscription Code
245
245
  # @option opts [String] :status Filter by Subscription Status
246
- # @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
246
+ # @return [Array<(GetAllSubscriptionsResponse, Fixnum, Hash)>] GetAllSubscriptionsResponse data, response status code and response headers
247
247
  def get_all_subscriptions_with_http_info(opts = {})
248
248
 
249
249
  if @api_client.config.debugging
@@ -267,7 +267,7 @@ module CyberSource
267
267
  # header parameters
268
268
  header_params = {}
269
269
  # HTTP header 'Accept' (if needed)
270
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
270
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
271
271
  # HTTP header 'Content-Type'
272
272
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
273
273
 
@@ -287,7 +287,7 @@ module CyberSource
287
287
  :form_params => form_params,
288
288
  :body => post_body,
289
289
  :auth_names => auth_names,
290
- :return_type => 'InlineResponse2006')
290
+ :return_type => 'GetAllSubscriptionsResponse')
291
291
  if @api_client.config.debugging
292
292
  begin
293
293
  raise
@@ -302,7 +302,7 @@ module CyberSource
302
302
  # Get a Subscription by Subscription Id
303
303
  # @param id Subscription Id
304
304
  # @param [Hash] opts the optional parameters
305
- # @return [InlineResponse2007]
305
+ # @return [GetSubscriptionResponse]
306
306
  def get_subscription(id, opts = {})
307
307
  data, status_code, headers = get_subscription_with_http_info(id, opts)
308
308
  return data, status_code, headers
@@ -312,7 +312,7 @@ module CyberSource
312
312
  # Get a Subscription by Subscription Id
313
313
  # @param id Subscription Id
314
314
  # @param [Hash] opts the optional parameters
315
- # @return [Array<(InlineResponse2007, Fixnum, Hash)>] InlineResponse2007 data, response status code and response headers
315
+ # @return [Array<(GetSubscriptionResponse, Fixnum, Hash)>] GetSubscriptionResponse data, response status code and response headers
316
316
  def get_subscription_with_http_info(id, opts = {})
317
317
 
318
318
  if @api_client.config.debugging
@@ -336,7 +336,7 @@ module CyberSource
336
336
  # header parameters
337
337
  header_params = {}
338
338
  # HTTP header 'Accept' (if needed)
339
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
339
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
340
340
  # HTTP header 'Content-Type'
341
341
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
342
342
 
@@ -356,7 +356,7 @@ module CyberSource
356
356
  :form_params => form_params,
357
357
  :body => post_body,
358
358
  :auth_names => auth_names,
359
- :return_type => 'InlineResponse2007')
359
+ :return_type => 'GetSubscriptionResponse')
360
360
  if @api_client.config.debugging
361
361
  begin
362
362
  raise
@@ -370,7 +370,7 @@ module CyberSource
370
370
  # Get a Subscription Code
371
371
  # Get a Unique Subscription Code
372
372
  # @param [Hash] opts the optional parameters
373
- # @return [InlineResponse20010]
373
+ # @return [GetSubscriptionCodeResponse]
374
374
  def get_subscription_code(opts = {})
375
375
  data, status_code, headers = get_subscription_code_with_http_info(opts)
376
376
  return data, status_code, headers
@@ -379,7 +379,7 @@ module CyberSource
379
379
  # Get a Subscription Code
380
380
  # Get a Unique Subscription Code
381
381
  # @param [Hash] opts the optional parameters
382
- # @return [Array<(InlineResponse20010, Fixnum, Hash)>] InlineResponse20010 data, response status code and response headers
382
+ # @return [Array<(GetSubscriptionCodeResponse, Fixnum, Hash)>] GetSubscriptionCodeResponse data, response status code and response headers
383
383
  def get_subscription_code_with_http_info(opts = {})
384
384
 
385
385
  if @api_client.config.debugging
@@ -399,7 +399,7 @@ module CyberSource
399
399
  # header parameters
400
400
  header_params = {}
401
401
  # HTTP header 'Accept' (if needed)
402
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
402
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
403
403
  # HTTP header 'Content-Type'
404
404
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
405
405
 
@@ -419,7 +419,7 @@ module CyberSource
419
419
  :form_params => form_params,
420
420
  :body => post_body,
421
421
  :auth_names => auth_names,
422
- :return_type => 'InlineResponse20010')
422
+ :return_type => 'GetSubscriptionCodeResponse')
423
423
  if @api_client.config.debugging
424
424
  begin
425
425
  raise
@@ -434,7 +434,7 @@ module CyberSource
434
434
  # Suspend a Subscription
435
435
  # @param id Subscription Id
436
436
  # @param [Hash] opts the optional parameters
437
- # @return [InlineResponse2021]
437
+ # @return [SuspendSubscriptionResponse]
438
438
  def suspend_subscription(id, opts = {})
439
439
  data, status_code, headers = suspend_subscription_with_http_info(id, opts)
440
440
  return data, status_code, headers
@@ -444,7 +444,7 @@ module CyberSource
444
444
  # Suspend a Subscription
445
445
  # @param id Subscription Id
446
446
  # @param [Hash] opts the optional parameters
447
- # @return [Array<(InlineResponse2021, Fixnum, Hash)>] InlineResponse2021 data, response status code and response headers
447
+ # @return [Array<(SuspendSubscriptionResponse, Fixnum, Hash)>] SuspendSubscriptionResponse data, response status code and response headers
448
448
  def suspend_subscription_with_http_info(id, opts = {})
449
449
 
450
450
  if @api_client.config.debugging
@@ -468,7 +468,7 @@ module CyberSource
468
468
  # header parameters
469
469
  header_params = {}
470
470
  # HTTP header 'Accept' (if needed)
471
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
471
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
472
472
  # HTTP header 'Content-Type'
473
473
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
474
474
 
@@ -488,7 +488,7 @@ module CyberSource
488
488
  :form_params => form_params,
489
489
  :body => post_body,
490
490
  :auth_names => auth_names,
491
- :return_type => 'InlineResponse2021')
491
+ :return_type => 'SuspendSubscriptionResponse')
492
492
  if @api_client.config.debugging
493
493
  begin
494
494
  raise
@@ -504,7 +504,7 @@ module CyberSource
504
504
  # @param id Subscription Id
505
505
  # @param update_subscription Update Subscription
506
506
  # @param [Hash] opts the optional parameters
507
- # @return [InlineResponse2008]
507
+ # @return [UpdateSubscriptionResponse]
508
508
  def update_subscription(id, update_subscription, opts = {})
509
509
  data, status_code, headers = update_subscription_with_http_info(id, update_subscription, opts)
510
510
  return data, status_code, headers
@@ -515,7 +515,7 @@ module CyberSource
515
515
  # @param id Subscription Id
516
516
  # @param update_subscription Update Subscription
517
517
  # @param [Hash] opts the optional parameters
518
- # @return [Array<(InlineResponse2008, Fixnum, Hash)>] InlineResponse2008 data, response status code and response headers
518
+ # @return [Array<(UpdateSubscriptionResponse, Fixnum, Hash)>] UpdateSubscriptionResponse data, response status code and response headers
519
519
  def update_subscription_with_http_info(id, update_subscription, opts = {})
520
520
 
521
521
  if @api_client.config.debugging
@@ -543,7 +543,7 @@ module CyberSource
543
543
  # header parameters
544
544
  header_params = {}
545
545
  # HTTP header 'Accept' (if needed)
546
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
546
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
547
547
  # HTTP header 'Content-Type'
548
548
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
549
549
 
@@ -559,7 +559,7 @@ module CyberSource
559
559
  :form_params => form_params,
560
560
  :body => post_body,
561
561
  :auth_names => auth_names,
562
- :return_type => 'InlineResponse2008')
562
+ :return_type => 'UpdateSubscriptionResponse')
563
563
  if @api_client.config.debugging
564
564
  begin
565
565
  raise
@@ -21,7 +21,7 @@ module CyberSource
21
21
  @api_client.set_configuration(config)
22
22
  end
23
23
  # Timeout Void
24
- # This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply(Mostly due to timeout). This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply(Mostly due to Timeout). To use this feature/API, make sure to pass unique value to field - clientReferenceInformation -> transactionId in your payment, capture, refund, or credit API call and use same transactionId in this API request payload to reverse the payment.
24
+ # This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply(Mostly due to timeout). To use this feature/API, make sure to pass unique value to field - clientReferenceInformation -> transactionId in your payment, capture, refund, or credit API call and use same transactionId in this API request payload to reverse the payment.
25
25
  # @param mit_void_request
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [PtsV2PaymentsVoidsPost201Response]
@@ -31,7 +31,7 @@ module CyberSource
31
31
  end
32
32
 
33
33
  # Timeout Void
34
- # This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply(Mostly due to timeout). This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply(Mostly due to Timeout). To use this feature/API, make sure to pass unique value to field - clientReferenceInformation -&gt; transactionId in your payment, capture, refund, or credit API call and use same transactionId in this API request payload to reverse the payment.
34
+ # This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply(Mostly due to timeout). To use this feature/API, make sure to pass unique value to field - clientReferenceInformation -&gt; transactionId in your payment, capture, refund, or credit API call and use same transactionId in this API request payload to reverse the payment.
35
35
  # @param mit_void_request
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @return [Array<(PtsV2PaymentsVoidsPost201Response, Fixnum, Hash)>] PtsV2PaymentsVoidsPost201Response data, response status code and response headers