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
@@ -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
 
@@ -134,7 +134,7 @@ module CyberSource
134
134
  # header parameters
135
135
  header_params = {}
136
136
  # HTTP header 'Accept' (if needed)
137
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
137
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
138
138
  # HTTP header 'Content-Type'
139
139
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
140
140
 
@@ -203,7 +203,7 @@ module CyberSource
203
203
  # header parameters
204
204
  header_params = {}
205
205
  # HTTP header 'Accept' (if needed)
206
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
206
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
207
207
  # HTTP header 'Content-Type'
208
208
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
209
209
 
@@ -272,7 +272,7 @@ module CyberSource
272
272
  # header parameters
273
273
  header_params = {}
274
274
  # HTTP header 'Accept' (if needed)
275
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
275
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
276
276
  # HTTP header 'Content-Type'
277
277
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
278
278
 
@@ -341,7 +341,7 @@ module CyberSource
341
341
  # header parameters
342
342
  header_params = {}
343
343
  # HTTP header 'Accept' (if needed)
344
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
344
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
345
345
  # HTTP header 'Content-Type'
346
346
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
347
347
 
@@ -416,7 +416,7 @@ module CyberSource
416
416
  # header parameters
417
417
  header_params = {}
418
418
  # HTTP header 'Accept' (if needed)
419
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
419
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
420
420
  # HTTP header 'Content-Type'
421
421
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
422
422
 
@@ -31,7 +31,7 @@ module CyberSource
31
31
  # @option opts [Array<String>] :key_types Key Type, Possible values - certificate, password, pgp and scmp_api. When Key Type is provided atleast one more filter needs to be provided
32
32
  # @option opts [DateTime] :expiration_start_date Expiry Filter Start Date. When Expiration Date filter is provided, atleast one more filter needs to be provided
33
33
  # @option opts [DateTime] :expiration_end_date Expiry Filter End Date. When Expiration Date filter is provided, atleast one more filter needs to be provided
34
- # @return [InlineResponse20011]
34
+ # @return [InlineResponse2001]
35
35
  def search_keys(opts = {})
36
36
  data, status_code, headers = search_keys_with_http_info(opts)
37
37
  return data, status_code, headers
@@ -48,7 +48,7 @@ module CyberSource
48
48
  # @option opts [Array<String>] :key_types Key Type, Possible values - certificate, password, pgp and scmp_api. When Key Type is provided atleast one more filter needs to be provided
49
49
  # @option opts [DateTime] :expiration_start_date Expiry Filter Start Date. When Expiration Date filter is provided, atleast one more filter needs to be provided
50
50
  # @option opts [DateTime] :expiration_end_date Expiry Filter End Date. When Expiration Date filter is provided, atleast one more filter needs to be provided
51
- # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
51
+ # @return [Array<(InlineResponse2001, Fixnum, Hash)>] InlineResponse2001 data, response status code and response headers
52
52
  def search_keys_with_http_info(opts = {})
53
53
 
54
54
  if @api_client.config.debugging
@@ -104,7 +104,7 @@ module CyberSource
104
104
  :form_params => form_params,
105
105
  :body => post_body,
106
106
  :auth_names => auth_names,
107
- :return_type => 'InlineResponse20011')
107
+ :return_type => 'InlineResponse2001')
108
108
  if @api_client.config.debugging
109
109
  begin
110
110
  raise
@@ -21,7 +21,7 @@ module CyberSource
21
21
  @api_client.set_configuration(config)
22
22
  end
23
23
  # Process a Payment
24
- # A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
24
+ # A payment authorizes the amount for the transaction. There are a number of supported payment features, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
25
25
  # @param create_payment_request
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [PtsV2PaymentsPost201Response]
@@ -31,7 +31,7 @@ module CyberSource
31
31
  end
32
32
 
33
33
  # Process a Payment
34
- # A payment authorizes the amount for the transaction. There are a number of supported payment feature, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
34
+ # A payment authorizes the amount for the transaction. There are a number of supported payment features, such as E-commerce and Card Present - Credit Card/Debit Card, Echeck, e-Wallets, Level II/III Data, etc.. A payment response includes the status of the request. It also includes processor-specific information when the request is successful and errors if unsuccessful. See the [Payments Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/payments/developer/ctv/rest/payments/payments-intro.html). Authorization can be requested with Capture, Decision Manager, Payer Authentication(3ds), and Token Creation.
35
35
  # @param create_payment_request
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @return [Array<(PtsV2PaymentsPost201Response, Fixnum, Hash)>] PtsV2PaymentsPost201Response data, response status code and response headers
@@ -24,7 +24,7 @@ module CyberSource
24
24
  # Activate a Plan
25
25
  # @param id Plan Id
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [InlineResponse2004]
27
+ # @return [ActivateDeactivatePlanResponse]
28
28
  def activate_plan(id, opts = {})
29
29
  data, status_code, headers = activate_plan_with_http_info(id, opts)
30
30
  return data, status_code, headers
@@ -34,7 +34,7 @@ module CyberSource
34
34
  # Activate a Plan
35
35
  # @param id Plan Id
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse2004, Fixnum, Hash)>] InlineResponse2004 data, response status code and response headers
37
+ # @return [Array<(ActivateDeactivatePlanResponse, Fixnum, Hash)>] ActivateDeactivatePlanResponse data, response status code and response headers
38
38
  def activate_plan_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 => 'InlineResponse2004')
81
+ :return_type => 'ActivateDeactivatePlanResponse')
82
82
  if @api_client.config.debugging
83
83
  begin
84
84
  raise
@@ -93,7 +93,7 @@ module CyberSource
93
93
  # The recurring billing service enables you to manage payment plans and subscriptions for recurring payment schedules. It securely stores your customer's payment information and personal data within secure Visa data centers, reducing storage risks and PCI DSS scope through the use of *Token Management* (*TMS*). The three key elements of *Cybersource* Recurring Billing are: -  **Token**: stores customer billing, shipping, and payment details. -  **Plan**: stores the billing schedule. -  **Subscription**: combines the token and plan, and defines the subscription start date, name, and description. The APIs in this section demonstrate the management of the Plans and Subscriptions. For Tokens please refer to [Token Management](#token-management)
94
94
  # @param create_plan_request
95
95
  # @param [Hash] opts the optional parameters
96
- # @return [InlineResponse201]
96
+ # @return [CreatePlanResponse]
97
97
  def create_plan(create_plan_request, opts = {})
98
98
  data, status_code, headers = create_plan_with_http_info(create_plan_request, opts)
99
99
  return data, status_code, headers
@@ -103,7 +103,7 @@ module CyberSource
103
103
  # The recurring billing service enables you to manage payment plans and subscriptions for recurring payment schedules. It securely stores your customer&#39;s payment information and personal data within secure Visa data centers, reducing storage risks and PCI DSS scope through the use of *Token Management* (*TMS*). The three key elements of *Cybersource* Recurring Billing are: -  **Token**: stores customer billing, shipping, and payment details. -  **Plan**: stores the billing schedule. -  **Subscription**: combines the token and plan, and defines the subscription start date, name, and description. The APIs in this section demonstrate the management of the Plans and Subscriptions. For Tokens please refer to [Token Management](#token-management)
104
104
  # @param create_plan_request
105
105
  # @param [Hash] opts the optional parameters
106
- # @return [Array<(InlineResponse201, Fixnum, Hash)>] InlineResponse201 data, response status code and response headers
106
+ # @return [Array<(CreatePlanResponse, Fixnum, Hash)>] CreatePlanResponse data, response status code and response headers
107
107
  def create_plan_with_http_info(create_plan_request, 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
 
@@ -143,7 +143,7 @@ module CyberSource
143
143
  :form_params => form_params,
144
144
  :body => post_body,
145
145
  :auth_names => auth_names,
146
- :return_type => 'InlineResponse201')
146
+ :return_type => 'CreatePlanResponse')
147
147
  if @api_client.config.debugging
148
148
  begin
149
149
  raise
@@ -158,7 +158,7 @@ module CyberSource
158
158
  # Deactivate a Plan
159
159
  # @param id Plan Id
160
160
  # @param [Hash] opts the optional parameters
161
- # @return [InlineResponse2004]
161
+ # @return [ActivateDeactivatePlanResponse]
162
162
  def deactivate_plan(id, opts = {})
163
163
  data, status_code, headers = deactivate_plan_with_http_info(id, opts)
164
164
  return data, status_code, headers
@@ -168,7 +168,7 @@ module CyberSource
168
168
  # Deactivate a Plan
169
169
  # @param id Plan Id
170
170
  # @param [Hash] opts the optional parameters
171
- # @return [Array<(InlineResponse2004, Fixnum, Hash)>] InlineResponse2004 data, response status code and response headers
171
+ # @return [Array<(ActivateDeactivatePlanResponse, Fixnum, Hash)>] ActivateDeactivatePlanResponse data, response status code and response headers
172
172
  def deactivate_plan_with_http_info(id, opts = {})
173
173
 
174
174
  if @api_client.config.debugging
@@ -192,7 +192,7 @@ module CyberSource
192
192
  # header parameters
193
193
  header_params = {}
194
194
  # HTTP header 'Accept' (if needed)
195
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
195
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
196
196
  # HTTP header 'Content-Type'
197
197
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
198
198
 
@@ -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 => 'InlineResponse2004')
215
+ :return_type => 'ActivateDeactivatePlanResponse')
216
216
  if @api_client.config.debugging
217
217
  begin
218
218
  raise
@@ -227,7 +227,7 @@ module CyberSource
227
227
  # Delete a Plan is only allowed: - plan status is in `DRAFT` - plan status is in `ACTIVE`, and `INACTIVE` only allowed when no subscriptions attached to a plan in the lifetime of a plan
228
228
  # @param id Plan Id
229
229
  # @param [Hash] opts the optional parameters
230
- # @return [InlineResponse2002]
230
+ # @return [DeletePlanResponse]
231
231
  def delete_plan(id, opts = {})
232
232
  data, status_code, headers = delete_plan_with_http_info(id, opts)
233
233
  return data, status_code, headers
@@ -237,7 +237,7 @@ module CyberSource
237
237
  # Delete a Plan is only allowed: - plan status is in &#x60;DRAFT&#x60; - plan status is in &#x60;ACTIVE&#x60;, and &#x60;INACTIVE&#x60; only allowed when no subscriptions attached to a plan in the lifetime of a plan
238
238
  # @param id Plan Id
239
239
  # @param [Hash] opts the optional parameters
240
- # @return [Array<(InlineResponse2002, Fixnum, Hash)>] InlineResponse2002 data, response status code and response headers
240
+ # @return [Array<(DeletePlanResponse, Fixnum, Hash)>] DeletePlanResponse data, response status code and response headers
241
241
  def delete_plan_with_http_info(id, opts = {})
242
242
 
243
243
  if @api_client.config.debugging
@@ -261,7 +261,7 @@ module CyberSource
261
261
  # header parameters
262
262
  header_params = {}
263
263
  # HTTP header 'Accept' (if needed)
264
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
264
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
265
265
  # HTTP header 'Content-Type'
266
266
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
267
267
 
@@ -281,7 +281,7 @@ module CyberSource
281
281
  :form_params => form_params,
282
282
  :body => post_body,
283
283
  :auth_names => auth_names,
284
- :return_type => 'InlineResponse2002')
284
+ :return_type => 'DeletePlanResponse')
285
285
  if @api_client.config.debugging
286
286
  begin
287
287
  raise
@@ -296,7 +296,7 @@ module CyberSource
296
296
  # Retrieve a Plan details by Plan Id.
297
297
  # @param id Plan Id
298
298
  # @param [Hash] opts the optional parameters
299
- # @return [InlineResponse2001]
299
+ # @return [GetPlanResponse]
300
300
  def get_plan(id, opts = {})
301
301
  data, status_code, headers = get_plan_with_http_info(id, opts)
302
302
  return data, status_code, headers
@@ -306,7 +306,7 @@ module CyberSource
306
306
  # Retrieve a Plan details by Plan Id.
307
307
  # @param id Plan Id
308
308
  # @param [Hash] opts the optional parameters
309
- # @return [Array<(InlineResponse2001, Fixnum, Hash)>] InlineResponse2001 data, response status code and response headers
309
+ # @return [Array<(GetPlanResponse, Fixnum, Hash)>] GetPlanResponse data, response status code and response headers
310
310
  def get_plan_with_http_info(id, opts = {})
311
311
 
312
312
  if @api_client.config.debugging
@@ -330,7 +330,7 @@ module CyberSource
330
330
  # header parameters
331
331
  header_params = {}
332
332
  # HTTP header 'Accept' (if needed)
333
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
333
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
334
334
  # HTTP header 'Content-Type'
335
335
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
336
336
 
@@ -350,7 +350,7 @@ module CyberSource
350
350
  :form_params => form_params,
351
351
  :body => post_body,
352
352
  :auth_names => auth_names,
353
- :return_type => 'InlineResponse2001')
353
+ :return_type => 'GetPlanResponse')
354
354
  if @api_client.config.debugging
355
355
  begin
356
356
  raise
@@ -364,7 +364,7 @@ module CyberSource
364
364
  # Get a Plan Code
365
365
  # Get a Unique Plan Code
366
366
  # @param [Hash] opts the optional parameters
367
- # @return [InlineResponse2005]
367
+ # @return [GetPlanCodeResponse]
368
368
  def get_plan_code(opts = {})
369
369
  data, status_code, headers = get_plan_code_with_http_info(opts)
370
370
  return data, status_code, headers
@@ -373,7 +373,7 @@ module CyberSource
373
373
  # Get a Plan Code
374
374
  # Get a Unique Plan Code
375
375
  # @param [Hash] opts the optional parameters
376
- # @return [Array<(InlineResponse2005, Fixnum, Hash)>] InlineResponse2005 data, response status code and response headers
376
+ # @return [Array<(GetPlanCodeResponse, Fixnum, Hash)>] GetPlanCodeResponse data, response status code and response headers
377
377
  def get_plan_code_with_http_info(opts = {})
378
378
 
379
379
  if @api_client.config.debugging
@@ -393,7 +393,7 @@ module CyberSource
393
393
  # header parameters
394
394
  header_params = {}
395
395
  # HTTP header 'Accept' (if needed)
396
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
396
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
397
397
  # HTTP header 'Content-Type'
398
398
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
399
399
 
@@ -413,7 +413,7 @@ module CyberSource
413
413
  :form_params => form_params,
414
414
  :body => post_body,
415
415
  :auth_names => auth_names,
416
- :return_type => 'InlineResponse2005')
416
+ :return_type => 'GetPlanCodeResponse')
417
417
  if @api_client.config.debugging
418
418
  begin
419
419
  raise
@@ -432,7 +432,7 @@ module CyberSource
432
432
  # @option opts [String] :code Filter by Plan Code
433
433
  # @option opts [String] :status Filter by Plan Status
434
434
  # @option opts [String] :name Filter by Plan Name. (First sub string or full string) **[Not Recommended]**
435
- # @return [InlineResponse200]
435
+ # @return [GetAllPlansResponse]
436
436
  def get_plans(opts = {})
437
437
  data, status_code, headers = get_plans_with_http_info(opts)
438
438
  return data, status_code, headers
@@ -446,7 +446,7 @@ module CyberSource
446
446
  # @option opts [String] :code Filter by Plan Code
447
447
  # @option opts [String] :status Filter by Plan Status
448
448
  # @option opts [String] :name Filter by Plan Name. (First sub string or full string) **[Not Recommended]**
449
- # @return [Array<(InlineResponse200, Fixnum, Hash)>] InlineResponse200 data, response status code and response headers
449
+ # @return [Array<(GetAllPlansResponse, Fixnum, Hash)>] GetAllPlansResponse data, response status code and response headers
450
450
  def get_plans_with_http_info(opts = {})
451
451
 
452
452
  if @api_client.config.debugging
@@ -471,7 +471,7 @@ module CyberSource
471
471
  # header parameters
472
472
  header_params = {}
473
473
  # HTTP header 'Accept' (if needed)
474
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
474
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
475
475
  # HTTP header 'Content-Type'
476
476
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
477
477
 
@@ -491,7 +491,7 @@ module CyberSource
491
491
  :form_params => form_params,
492
492
  :body => post_body,
493
493
  :auth_names => auth_names,
494
- :return_type => 'InlineResponse200')
494
+ :return_type => 'GetAllPlansResponse')
495
495
  if @api_client.config.debugging
496
496
  begin
497
497
  raise
@@ -507,7 +507,7 @@ module CyberSource
507
507
  # @param id Plan Id
508
508
  # @param update_plan_request
509
509
  # @param [Hash] opts the optional parameters
510
- # @return [InlineResponse2003]
510
+ # @return [UpdatePlanResponse]
511
511
  def update_plan(id, update_plan_request, opts = {})
512
512
  data, status_code, headers = update_plan_with_http_info(id, update_plan_request, opts)
513
513
  return data, status_code, headers
@@ -518,7 +518,7 @@ module CyberSource
518
518
  # @param id Plan Id
519
519
  # @param update_plan_request
520
520
  # @param [Hash] opts the optional parameters
521
- # @return [Array<(InlineResponse2003, Fixnum, Hash)>] InlineResponse2003 data, response status code and response headers
521
+ # @return [Array<(UpdatePlanResponse, Fixnum, Hash)>] UpdatePlanResponse data, response status code and response headers
522
522
  def update_plan_with_http_info(id, update_plan_request, opts = {})
523
523
 
524
524
  if @api_client.config.debugging
@@ -546,7 +546,7 @@ module CyberSource
546
546
  # header parameters
547
547
  header_params = {}
548
548
  # HTTP header 'Accept' (if needed)
549
- header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
549
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/hal+json', 'application/json;charset=utf-8', 'application/hal+json;charset=utf-8'])
550
550
  # HTTP header 'Content-Type'
551
551
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
552
552
 
@@ -562,7 +562,7 @@ module CyberSource
562
562
  :form_params => form_params,
563
563
  :body => post_body,
564
564
  :auth_names => auth_names,
565
- :return_type => 'InlineResponse2003')
565
+ :return_type => 'UpdatePlanResponse')
566
566
  if @api_client.config.debugging
567
567
  begin
568
568
  raise