cybersource_rest_client 0.0.49 → 0.0.51

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.
Files changed (278) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/core/MerchantConfig.rb +5 -0
  3. data/lib/AuthenticationSDK/util/Constants.rb +2 -0
  4. data/lib/cybersource_rest_client/api/batches_api.rb +330 -0
  5. data/lib/cybersource_rest_client/api/customer_api.rb +55 -47
  6. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +112 -104
  7. data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +112 -104
  8. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +93 -81
  9. data/lib/cybersource_rest_client/api/keymanagement_api.rb +3 -3
  10. data/lib/cybersource_rest_client/api/microform_integration_api.rb +89 -0
  11. data/lib/cybersource_rest_client/api/payment_instrument_api.rb +55 -49
  12. data/lib/cybersource_rest_client/api/payments_api.rb +2 -2
  13. data/lib/cybersource_rest_client/api/plans_api.rb +573 -0
  14. data/lib/cybersource_rest_client/api/subscriptions_api.rb +568 -0
  15. data/lib/cybersource_rest_client/api/taxes_api.rb +2 -2
  16. data/lib/cybersource_rest_client/api/token_api.rb +112 -0
  17. data/lib/cybersource_rest_client/api/transient_token_data_api.rb +2 -2
  18. data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +6 -5
  19. data/lib/cybersource_rest_client/api_client.rb +11 -0
  20. data/lib/cybersource_rest_client/models/accountupdaterv1batches_included.rb +185 -0
  21. data/lib/cybersource_rest_client/models/accountupdaterv1batches_included_tokens.rb +228 -0
  22. data/lib/cybersource_rest_client/models/body.rb +42 -32
  23. data/lib/cybersource_rest_client/models/create_bundled_decision_manager_case_request.rb +13 -4
  24. data/lib/cybersource_rest_client/models/create_payment_request.rb +13 -4
  25. data/lib/cybersource_rest_client/models/create_plan_request.rb +201 -0
  26. data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +0 -18
  27. data/lib/cybersource_rest_client/models/{flexv1tokens_card_info.rb → create_subscription_request.rb} +44 -40
  28. data/lib/cybersource_rest_client/models/generate_capture_context_request.rb +216 -0
  29. data/lib/cybersource_rest_client/models/generate_unified_checkout_capture_context_request.rb +1 -1
  30. data/lib/cybersource_rest_client/models/inline_response_200.rb +19 -41
  31. data/lib/cybersource_rest_client/models/inline_response_200_1.rb +227 -0
  32. data/lib/cybersource_rest_client/models/inline_response_200_10.rb +200 -0
  33. data/lib/cybersource_rest_client/models/inline_response_200_11.rb +236 -0
  34. data/lib/cybersource_rest_client/models/{inline_response_200_keys.rb → inline_response_200_11_keys.rb} +1 -1
  35. data/lib/cybersource_rest_client/models/inline_response_200_12.rb +239 -0
  36. data/lib/cybersource_rest_client/models/inline_response_200_12__embedded.rb +185 -0
  37. data/lib/cybersource_rest_client/models/inline_response_200_12__embedded__links.rb +185 -0
  38. data/lib/cybersource_rest_client/models/inline_response_200_12__embedded__links_reports.rb +184 -0
  39. data/lib/cybersource_rest_client/models/inline_response_200_12__embedded_batches.rb +280 -0
  40. data/lib/cybersource_rest_client/models/inline_response_200_12__embedded_totals.rb +219 -0
  41. data/lib/cybersource_rest_client/models/inline_response_200_12__links.rb +193 -0
  42. data/lib/cybersource_rest_client/models/inline_response_200_13.rb +275 -0
  43. data/lib/cybersource_rest_client/models/inline_response_200_13__links.rb +194 -0
  44. data/lib/cybersource_rest_client/models/inline_response_200_13__links_report.rb +183 -0
  45. data/lib/cybersource_rest_client/models/{tokenize_request.rb → inline_response_200_13_billing.rb} +32 -20
  46. data/lib/cybersource_rest_client/models/inline_response_200_14.rb +277 -0
  47. data/lib/cybersource_rest_client/models/inline_response_200_14_records.rb +201 -0
  48. data/lib/cybersource_rest_client/models/inline_response_200_14_response_record.rb +292 -0
  49. data/lib/cybersource_rest_client/models/inline_response_200_14_response_record_additional_updates.rb +232 -0
  50. data/lib/cybersource_rest_client/models/inline_response_200_14_source_record.rb +282 -0
  51. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +194 -0
  52. data/lib/cybersource_rest_client/models/inline_response_200_3.rb +228 -0
  53. data/lib/cybersource_rest_client/models/inline_response_200_3_plan_information.rb +200 -0
  54. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +228 -0
  55. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +200 -0
  56. data/lib/cybersource_rest_client/models/inline_response_200_6.rb +214 -0
  57. data/lib/cybersource_rest_client/models/inline_response_200_6__links.rb +210 -0
  58. data/lib/cybersource_rest_client/models/inline_response_200_6_order_information.rb +192 -0
  59. data/lib/cybersource_rest_client/models/inline_response_200_6_order_information_bill_to.rb +206 -0
  60. data/lib/cybersource_rest_client/models/inline_response_200_6_payment_information.rb +183 -0
  61. data/lib/cybersource_rest_client/models/inline_response_200_6_payment_information_customer.rb +190 -0
  62. data/lib/cybersource_rest_client/models/{flex_v1_keys_post200_response_jwk.rb → inline_response_200_6_plan_information.rb} +40 -41
  63. data/lib/cybersource_rest_client/models/inline_response_200_6_plan_information_billing_cycles.rb +194 -0
  64. data/lib/cybersource_rest_client/models/inline_response_200_6_subscription_information.rb +242 -0
  65. data/lib/cybersource_rest_client/models/inline_response_200_6_subscriptions.rb +236 -0
  66. data/lib/cybersource_rest_client/models/inline_response_200_7.rb +245 -0
  67. data/lib/cybersource_rest_client/models/inline_response_200_8.rb +228 -0
  68. data/lib/cybersource_rest_client/models/{generate_public_key_request.rb → inline_response_200_9.rb} +50 -21
  69. data/lib/cybersource_rest_client/models/inline_response_200_9_subscription_information.rb +200 -0
  70. data/lib/cybersource_rest_client/models/{flex_v1_keys_post200_response.rb → inline_response_200__links.rb} +20 -21
  71. data/lib/cybersource_rest_client/models/inline_response_200_order_information.rb +183 -0
  72. data/lib/cybersource_rest_client/models/inline_response_200_order_information_amount_details.rb +222 -0
  73. data/lib/cybersource_rest_client/models/inline_response_200_plan_information.rb +250 -0
  74. data/lib/cybersource_rest_client/models/inline_response_200_plan_information_billing_cycles.rb +184 -0
  75. data/lib/cybersource_rest_client/models/inline_response_200_plan_information_billing_period.rb +195 -0
  76. data/lib/cybersource_rest_client/models/inline_response_200_plans.rb +218 -0
  77. data/lib/cybersource_rest_client/models/inline_response_201.rb +228 -0
  78. data/lib/cybersource_rest_client/models/inline_response_201_1.rb +228 -0
  79. data/lib/cybersource_rest_client/models/{invoicing_v2_invoices_all_get200_response__links_1.rb → inline_response_201_1__links.rb} +23 -14
  80. data/lib/cybersource_rest_client/models/inline_response_201_1_subscription_information.rb +200 -0
  81. data/lib/cybersource_rest_client/models/inline_response_201_plan_information.rb +200 -0
  82. data/lib/cybersource_rest_client/models/inline_response_202.rb +228 -0
  83. data/lib/cybersource_rest_client/models/inline_response_202_1.rb +228 -0
  84. data/lib/cybersource_rest_client/models/inline_response_202_1_subscription_information.rb +200 -0
  85. data/lib/cybersource_rest_client/models/inline_response_202_2.rb +202 -0
  86. data/lib/cybersource_rest_client/models/inline_response_202_2__links.rb +194 -0
  87. data/lib/cybersource_rest_client/models/inline_response_202_2__links_status.rb +183 -0
  88. data/lib/cybersource_rest_client/models/inline_response_202_subscription_information.rb +200 -0
  89. data/lib/cybersource_rest_client/models/inline_response_400_1.rb +33 -55
  90. data/lib/cybersource_rest_client/models/inline_response_400_2.rb +10 -9
  91. data/lib/cybersource_rest_client/models/inline_response_400_3.rb +55 -33
  92. data/lib/cybersource_rest_client/models/{inline_response_400_1_fields.rb → inline_response_400_3_fields.rb} +1 -1
  93. data/lib/cybersource_rest_client/models/inline_response_400_4.rb +30 -71
  94. data/lib/cybersource_rest_client/models/inline_response_400_5.rb +225 -0
  95. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +265 -0
  96. data/lib/cybersource_rest_client/models/{inline_response_400_4_details.rb → inline_response_400_6_details.rb} +1 -1
  97. data/lib/cybersource_rest_client/models/inline_response_400_errors.rb +2 -2
  98. data/lib/cybersource_rest_client/models/inline_response_401.rb +241 -0
  99. data/lib/cybersource_rest_client/models/inline_response_401__links.rb +183 -0
  100. data/lib/cybersource_rest_client/models/inline_response_401__links_self.rb +183 -0
  101. data/lib/cybersource_rest_client/models/inline_response_401_fields.rb +202 -0
  102. data/lib/cybersource_rest_client/models/inline_response_403.rb +185 -0
  103. data/lib/cybersource_rest_client/models/inline_response_403_errors.rb +194 -0
  104. data/lib/cybersource_rest_client/models/inline_response_404.rb +194 -0
  105. data/lib/cybersource_rest_client/models/inline_response_409.rb +185 -0
  106. data/lib/cybersource_rest_client/models/inline_response_409_errors.rb +194 -0
  107. data/lib/cybersource_rest_client/models/inline_response_410.rb +185 -0
  108. data/lib/cybersource_rest_client/models/inline_response_410_errors.rb +194 -0
  109. data/lib/cybersource_rest_client/models/inline_response_412.rb +185 -0
  110. data/lib/cybersource_rest_client/models/inline_response_412_errors.rb +194 -0
  111. data/lib/cybersource_rest_client/models/inline_response_424.rb +185 -0
  112. data/lib/cybersource_rest_client/models/inline_response_424_errors.rb +194 -0
  113. data/lib/cybersource_rest_client/models/inline_response_500.rb +9 -38
  114. data/lib/cybersource_rest_client/models/inline_response_500_1.rb +214 -0
  115. data/lib/cybersource_rest_client/models/inline_response_500_errors.rb +194 -0
  116. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response.rb +1 -1
  117. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response__links.rb +22 -13
  118. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +1 -1
  119. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +1 -1
  120. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +1 -1
  121. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +0 -18
  122. data/lib/cybersource_rest_client/models/{flex_v1_tokens_post200_response.rb → microformv2sessions_checkout_api_initialization.rb} +68 -59
  123. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +15 -5
  124. data/lib/cybersource_rest_client/models/patch_customer_request.rb +1 -1
  125. data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +2 -2
  126. data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +4 -4
  127. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +15 -5
  128. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +15 -5
  129. data/lib/cybersource_rest_client/models/post_customer_request.rb +1 -1
  130. data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +2 -2
  131. data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +4 -4
  132. data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +4 -4
  133. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +15 -5
  134. data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +0 -18
  135. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch400_response.rb +1 -1
  136. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb +1 -1
  137. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +13 -4
  138. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_ship_to.rb +1 -1
  139. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +1 -1
  140. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +0 -18
  141. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information.rb +13 -4
  142. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_bill_to.rb +206 -0
  143. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +0 -9
  144. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +1 -1
  145. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +22 -6
  146. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +102 -6
  147. data/lib/cybersource_rest_client/models/{risk_v1_export_compliance_inquiries_post201_response_export_compliance_information.rb → pts_v2_payments_post201_response_watchlist_screening_information.rb} +2 -20
  148. data/lib/cybersource_rest_client/models/{risk_v1_export_compliance_inquiries_post201_response_export_compliance_information_watch_list.rb → pts_v2_payments_post201_response_watchlist_screening_information_watch_list.rb} +2 -2
  149. data/lib/cybersource_rest_client/models/{risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb → pts_v2_payments_post201_response_watchlist_screening_information_watch_list_matches.rb} +1 -1
  150. data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +1 -1
  151. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb +1 -1
  152. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post400_response.rb +1 -1
  153. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post400_response.rb +1 -1
  154. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +0 -18
  155. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +26 -19
  156. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +20 -4
  157. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_location.rb +238 -0
  158. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +36 -4
  159. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +0 -9
  160. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +27 -23
  161. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +1 -1
  162. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +1 -21
  163. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +1 -1
  164. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +22 -6
  165. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +12 -47
  166. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +1 -1
  167. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +14 -4
  168. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +0 -36
  169. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +0 -36
  170. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +0 -18
  171. data/lib/cybersource_rest_client/models/ptsv2payments_watchlist_screening_information.rb +215 -0
  172. data/lib/cybersource_rest_client/models/{riskv1exportcomplianceinquiries_export_compliance_information_weights.rb → ptsv2payments_watchlist_screening_information_weights.rb} +1 -1
  173. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +0 -18
  174. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +0 -9
  175. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +1 -1
  176. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options.rb +0 -36
  177. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +0 -9
  178. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +1 -19
  179. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +1 -1
  180. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +0 -18
  181. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +0 -9
  182. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +1 -1
  183. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +20 -4
  184. data/lib/cybersource_rest_client/models/rbsv1plans_client_reference_information.rb +229 -0
  185. data/lib/cybersource_rest_client/models/rbsv1plans_order_information.rb +183 -0
  186. data/lib/cybersource_rest_client/models/rbsv1plans_order_information_amount_details.rb +240 -0
  187. data/lib/cybersource_rest_client/models/rbsv1plans_plan_information.rb +259 -0
  188. data/lib/cybersource_rest_client/models/rbsv1plans_plan_information_billing_cycles.rb +185 -0
  189. data/lib/cybersource_rest_client/models/rbsv1plansid_plan_information.rb +250 -0
  190. data/lib/cybersource_rest_client/models/rbsv1plansid_processing_information.rb +183 -0
  191. data/lib/cybersource_rest_client/models/rbsv1plansid_processing_information_subscription_billing_options.rb +184 -0
  192. data/lib/cybersource_rest_client/models/rbsv1subscriptions_client_reference_information.rb +245 -0
  193. data/lib/cybersource_rest_client/models/rbsv1subscriptions_payment_information.rb +183 -0
  194. data/lib/cybersource_rest_client/models/rbsv1subscriptions_payment_information_customer.rb +199 -0
  195. data/lib/cybersource_rest_client/models/rbsv1subscriptions_plan_information.rb +192 -0
  196. data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information.rb +199 -0
  197. data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information_authorization_options.rb +183 -0
  198. data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information_authorization_options_initiator.rb +184 -0
  199. data/lib/cybersource_rest_client/models/rbsv1subscriptions_subscription_information.rb +246 -0
  200. data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_order_information.rb +183 -0
  201. data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_order_information_amount_details.rb +206 -0
  202. data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_plan_information.rb +183 -0
  203. data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_subscription_information.rb +232 -0
  204. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +10 -1
  205. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +88 -4
  206. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_error_information.rb +1 -1
  207. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +1 -1
  208. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +1 -19
  209. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +1 -1
  210. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +20 -4
  211. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -18
  212. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +1 -1
  213. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -1
  214. data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +14 -4
  215. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +17 -1
  216. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +152 -22
  217. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -1
  218. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -1
  219. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -1
  220. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -1
  221. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +14 -4
  222. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +27 -23
  223. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +34 -2
  224. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -1
  225. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -1
  226. data/lib/cybersource_rest_client/models/riskv1decisions_processing_information.rb +2 -2
  227. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb +1 -1
  228. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +1 -19
  229. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +1 -1
  230. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -1
  231. data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +1 -1
  232. data/lib/cybersource_rest_client/models/tmsv2customers__embedded.rb +1 -1
  233. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +15 -5
  234. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded.rb +1 -1
  235. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier.rb +4 -4
  236. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +1 -1
  237. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +3 -3
  238. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_metadata.rb +1 -1
  239. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bank_account.rb +1 -1
  240. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb +1 -1
  241. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card.rb +22 -4
  242. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +1 -1
  243. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb +1 -1
  244. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +1 -1
  245. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_metadata.rb +1 -1
  246. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information.rb +1 -1
  247. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb +1 -1
  248. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +2 -2
  249. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_metadata.rb +1 -1
  250. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_ship_to.rb +1 -1
  251. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_merchant_initiated_transaction.rb +20 -4
  252. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +15 -5
  253. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +1 -1
  254. data/lib/cybersource_rest_client/models/tmsv2customers_default_payment_instrument.rb +1 -1
  255. data/lib/cybersource_rest_client/models/tmsv2customers_default_shipping_address.rb +1 -1
  256. data/lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb +2 -2
  257. data/lib/cybersource_rest_client/models/tmsv2customers_metadata.rb +1 -1
  258. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_invoice_details.rb +0 -9
  259. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +0 -18
  260. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +1 -1
  261. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +0 -18
  262. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +2 -2
  263. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +1 -1
  264. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +13 -4
  265. data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_users.rb +15 -4
  266. data/lib/cybersource_rest_client/models/{flex_v1_keys_post200_response_der.rb → update_plan_request.rb} +20 -24
  267. data/lib/cybersource_rest_client/models/update_subscription.rb +219 -0
  268. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_tax_information.rb +2 -2
  269. data/lib/cybersource_rest_client/models/vas_v2_payments_post400_response.rb +1 -1
  270. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +1 -19
  271. data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_acceptance.rb +5 -5
  272. data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_origin.rb +5 -5
  273. data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +1 -1
  274. data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +3 -3
  275. data/lib/cybersource_rest_client.rb +119 -17
  276. metadata +121 -19
  277. data/lib/cybersource_rest_client/api/key_generation_api.rb +0 -96
  278. data/lib/cybersource_rest_client/api/tokenization_api.rb +0 -89
@@ -21,21 +21,23 @@ module CyberSource
21
21
  @api_client.set_configuration(config)
22
22
  end
23
23
  # Delete an Instrument Identifier
24
- # @param instrument_identifier_token_id The TokenId of a Instrument Identifier.
24
+ # | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing <br>and account numbers.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the <br>Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) <br>or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Deleting an Instrument Identifier**<br>Your system can use this API to delete an existing Instrument Identifier.<br>An Instrument Identifier cannot be deleted if it is linked to any Payment Instruments.<br>You can [retrieve all Payment Instruments associated with an Instrument Identifier](#token-management_instrument-identifier_list-payment-instruments-for-an-instrument-identifier).
25
+ # @param instrument_identifier_id The Id of an Instrument Identifier.
25
26
  # @param [Hash] opts the optional parameters
26
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
27
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
27
28
  # @return [nil]
28
- def delete_instrument_identifier(instrument_identifier_token_id, opts = {})
29
- data, status_code, headers = delete_instrument_identifier_with_http_info(instrument_identifier_token_id, opts)
29
+ def delete_instrument_identifier(instrument_identifier_id, opts = {})
30
+ data, status_code, headers = delete_instrument_identifier_with_http_info(instrument_identifier_id, opts)
30
31
  return data, status_code, headers
31
32
  end
32
33
 
33
34
  # Delete an Instrument Identifier
34
- # @param instrument_identifier_token_id The TokenId of a Instrument Identifier.
35
+ # | | | | | --- | --- | --- | |**Instrument Identifiers**&lt;br&gt;An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing &lt;br&gt;and account numbers.&lt;br&gt;The same token Id is returned for a specific card number or bank account &amp; routing number allowing the &lt;br&gt;Instrument Identifier Id to be used for cross-channel payment tracking.&lt;br&gt;An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) &lt;br&gt;or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|**Deleting an Instrument Identifier**&lt;br&gt;Your system can use this API to delete an existing Instrument Identifier.&lt;br&gt;An Instrument Identifier cannot be deleted if it is linked to any Payment Instruments.&lt;br&gt;You can [retrieve all Payment Instruments associated with an Instrument Identifier](#token-management_instrument-identifier_list-payment-instruments-for-an-instrument-identifier).
36
+ # @param instrument_identifier_id The Id of an Instrument Identifier.
35
37
  # @param [Hash] opts the optional parameters
36
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
38
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
37
39
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
38
- def delete_instrument_identifier_with_http_info(instrument_identifier_token_id, opts = {})
40
+ def delete_instrument_identifier_with_http_info(instrument_identifier_id, opts = {})
39
41
 
40
42
  if @api_client.config.debugging
41
43
  begin
@@ -45,16 +47,16 @@ module CyberSource
45
47
  puts 'Cannot write to log'
46
48
  end
47
49
  end
48
- # verify the required parameter 'instrument_identifier_token_id' is set
49
- if @api_client.config.client_side_validation && instrument_identifier_token_id.nil?
50
- fail ArgumentError, "Missing the required parameter 'instrument_identifier_token_id' when calling InstrumentIdentifierApi.delete_instrument_identifier"
50
+ # verify the required parameter 'instrument_identifier_id' is set
51
+ if @api_client.config.client_side_validation && instrument_identifier_id.nil?
52
+ fail ArgumentError, "Missing the required parameter 'instrument_identifier_id' when calling InstrumentIdentifierApi.delete_instrument_identifier"
51
53
  end
52
- if @api_client.config.client_side_validation && instrument_identifier_token_id.to_s.length > 32
53
- fail ArgumentError, 'invalid value for "instrument_identifier_token_id" when calling InstrumentIdentifierApi.delete_instrument_identifier, the character length must be smaller than or equal to 32.'
54
+ if @api_client.config.client_side_validation && instrument_identifier_id.to_s.length > 32
55
+ fail ArgumentError, 'invalid value for "instrument_identifier_id" when calling InstrumentIdentifierApi.delete_instrument_identifier, the character length must be smaller than or equal to 32.'
54
56
  end
55
57
 
56
- if @api_client.config.client_side_validation && instrument_identifier_token_id.to_s.length < 12
57
- fail ArgumentError, 'invalid value for "instrument_identifier_token_id" when calling InstrumentIdentifierApi.delete_instrument_identifier, the character length must be great than or equal to 12.'
58
+ if @api_client.config.client_side_validation && instrument_identifier_id.to_s.length < 12
59
+ fail ArgumentError, 'invalid value for "instrument_identifier_id" when calling InstrumentIdentifierApi.delete_instrument_identifier, the character length must be great than or equal to 12.'
58
60
  end
59
61
 
60
62
  if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
@@ -66,7 +68,7 @@ module CyberSource
66
68
  end
67
69
 
68
70
  # resource path
69
- local_var_path = 'tms/v1/instrumentidentifiers/{instrumentIdentifierTokenId}'.sub('{' + 'instrumentIdentifierTokenId' + '}', instrument_identifier_token_id.to_s)
71
+ local_var_path = 'tms/v1/instrumentidentifiers/{instrumentIdentifierId}'.sub('{' + 'instrumentIdentifierId' + '}', instrument_identifier_id.to_s)
70
72
 
71
73
  # query parameters
72
74
  query_params = {}
@@ -106,21 +108,23 @@ module CyberSource
106
108
  return data, status_code, headers
107
109
  end
108
110
  # Retrieve an Instrument Identifier
109
- # @param instrument_identifier_token_id The TokenId of a Instrument Identifier.
111
+ # | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing and account number.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).<br><br>**Retrieving an Instrument Identifier**<br>Your system can use this API to retrieve an Instrument Identifier.<br>**Note: the actual card data will be masked.**<br>The Instrument Identifier will also be returned when retrieving a [Customer](#token-management_customer_retrieve-a-customer), [Customer Payment Instrument](#token-management_customer-payment-instrument_retrieve-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_retrieve-a-payment-instrument).|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Network Tokens**<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.<br>A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).<br>For more information about Payment Network Tokens see the Developer Guide.<br><br>**Payments with Instrument Identifiers**<br>To perform a payment with an Instrument Identifier simply specify the [Instrument Identifier Id in the payments request along with the expiration date, card type, & billing address](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-instrument-identifier-token-id_liveconsole-tab-request-body).<br>When an Instrument Identifier is used in a payment the **_previousTransactionId_** and **_originalAuthorizedAmount_** values are automatically recorded.<br>These values will be added for you to future Merchant Initiated Transaction payments.
112
+ # @param instrument_identifier_id The Id of an Instrument Identifier.
110
113
  # @param [Hash] opts the optional parameters
111
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
114
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
112
115
  # @return [Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier]
113
- def get_instrument_identifier(instrument_identifier_token_id, opts = {})
114
- data, status_code, headers = get_instrument_identifier_with_http_info(instrument_identifier_token_id, opts)
116
+ def get_instrument_identifier(instrument_identifier_id, opts = {})
117
+ data, status_code, headers = get_instrument_identifier_with_http_info(instrument_identifier_id, opts)
115
118
  return data, status_code, headers
116
119
  end
117
120
 
118
121
  # Retrieve an Instrument Identifier
119
- # @param instrument_identifier_token_id The TokenId of a Instrument Identifier.
122
+ # | | | | | --- | --- | --- | |**Instrument Identifiers**&lt;br&gt;An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing and account number.&lt;br&gt;The same token Id is returned for a specific card number or bank account &amp; routing number allowing the Instrument Identifier Id to be used for cross-channel payment tracking.&lt;br&gt;An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).&lt;br&gt;&lt;br&gt;**Retrieving an Instrument Identifier**&lt;br&gt;Your system can use this API to retrieve an Instrument Identifier.&lt;br&gt;**Note: the actual card data will be masked.**&lt;br&gt;The Instrument Identifier will also be returned when retrieving a [Customer](#token-management_customer_retrieve-a-customer), [Customer Payment Instrument](#token-management_customer-payment-instrument_retrieve-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_retrieve-a-payment-instrument).|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|**Payment Network Tokens**&lt;br&gt;Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.&lt;br&gt;A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.&lt;br&gt;A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).&lt;br&gt;For more information about Payment Network Tokens see the Developer Guide.&lt;br&gt;&lt;br&gt;**Payments with Instrument Identifiers**&lt;br&gt;To perform a payment with an Instrument Identifier simply specify the [Instrument Identifier Id in the payments request along with the expiration date, card type, &amp; billing address](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-instrument-identifier-token-id_liveconsole-tab-request-body).&lt;br&gt;When an Instrument Identifier is used in a payment the **_previousTransactionId_** and **_originalAuthorizedAmount_** values are automatically recorded.&lt;br&gt;These values will be added for you to future Merchant Initiated Transaction payments.
123
+ # @param instrument_identifier_id The Id of an Instrument Identifier.
120
124
  # @param [Hash] opts the optional parameters
121
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
125
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
122
126
  # @return [Array<(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier, Fixnum, Hash)>] Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier data, response status code and response headers
123
- def get_instrument_identifier_with_http_info(instrument_identifier_token_id, opts = {})
127
+ def get_instrument_identifier_with_http_info(instrument_identifier_id, opts = {})
124
128
 
125
129
  if @api_client.config.debugging
126
130
  begin
@@ -130,16 +134,16 @@ module CyberSource
130
134
  puts 'Cannot write to log'
131
135
  end
132
136
  end
133
- # verify the required parameter 'instrument_identifier_token_id' is set
134
- if @api_client.config.client_side_validation && instrument_identifier_token_id.nil?
135
- fail ArgumentError, "Missing the required parameter 'instrument_identifier_token_id' when calling InstrumentIdentifierApi.get_instrument_identifier"
137
+ # verify the required parameter 'instrument_identifier_id' is set
138
+ if @api_client.config.client_side_validation && instrument_identifier_id.nil?
139
+ fail ArgumentError, "Missing the required parameter 'instrument_identifier_id' when calling InstrumentIdentifierApi.get_instrument_identifier"
136
140
  end
137
- if @api_client.config.client_side_validation && instrument_identifier_token_id.to_s.length > 32
138
- fail ArgumentError, 'invalid value for "instrument_identifier_token_id" when calling InstrumentIdentifierApi.get_instrument_identifier, the character length must be smaller than or equal to 32.'
141
+ if @api_client.config.client_side_validation && instrument_identifier_id.to_s.length > 32
142
+ fail ArgumentError, 'invalid value for "instrument_identifier_id" when calling InstrumentIdentifierApi.get_instrument_identifier, the character length must be smaller than or equal to 32.'
139
143
  end
140
144
 
141
- if @api_client.config.client_side_validation && instrument_identifier_token_id.to_s.length < 12
142
- fail ArgumentError, 'invalid value for "instrument_identifier_token_id" when calling InstrumentIdentifierApi.get_instrument_identifier, the character length must be great than or equal to 12.'
145
+ if @api_client.config.client_side_validation && instrument_identifier_id.to_s.length < 12
146
+ fail ArgumentError, 'invalid value for "instrument_identifier_id" when calling InstrumentIdentifierApi.get_instrument_identifier, the character length must be great than or equal to 12.'
143
147
  end
144
148
 
145
149
  if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
@@ -151,7 +155,7 @@ module CyberSource
151
155
  end
152
156
 
153
157
  # resource path
154
- local_var_path = 'tms/v1/instrumentidentifiers/{instrumentIdentifierTokenId}'.sub('{' + 'instrumentIdentifierTokenId' + '}', instrument_identifier_token_id.to_s)
158
+ local_var_path = 'tms/v1/instrumentidentifiers/{instrumentIdentifierId}'.sub('{' + 'instrumentIdentifierId' + '}', instrument_identifier_id.to_s)
155
159
 
156
160
  # query parameters
157
161
  query_params = {}
@@ -192,25 +196,27 @@ module CyberSource
192
196
  return data, status_code, headers
193
197
  end
194
198
  # List Payment Instruments for an Instrument Identifier
195
- # @param instrument_identifier_token_id The TokenId of a Instrument Identifier.
199
+ # | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing <br>and account numbers.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the <br>Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) <br>or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Retrieving all Payment Instruments associated with an Instrument Identifier**<br>Your system can use this API to retrieve all Payment Instruments linked to an Instrument Identifier.
200
+ # @param instrument_identifier_id The Id of an Instrument Identifier.
196
201
  # @param [Hash] opts the optional parameters
197
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
202
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
198
203
  # @option opts [Integer] :offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. (default to 0)
199
204
  # @option opts [Integer] :limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (default to 20)
200
205
  # @return [PaymentInstrumentList]
201
- def get_instrument_identifier_payment_instruments_list(instrument_identifier_token_id, opts = {})
202
- data, status_code, headers = get_instrument_identifier_payment_instruments_list_with_http_info(instrument_identifier_token_id, opts)
206
+ def get_instrument_identifier_payment_instruments_list(instrument_identifier_id, opts = {})
207
+ data, status_code, headers = get_instrument_identifier_payment_instruments_list_with_http_info(instrument_identifier_id, opts)
203
208
  return data, status_code, headers
204
209
  end
205
210
 
206
211
  # List Payment Instruments for an Instrument Identifier
207
- # @param instrument_identifier_token_id The TokenId of a Instrument Identifier.
212
+ # | | | | | --- | --- | --- | |**Instrument Identifiers**&lt;br&gt;An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing &lt;br&gt;and account numbers.&lt;br&gt;The same token Id is returned for a specific card number or bank account &amp; routing number allowing the &lt;br&gt;Instrument Identifier Id to be used for cross-channel payment tracking.&lt;br&gt;An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) &lt;br&gt;or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|**Retrieving all Payment Instruments associated with an Instrument Identifier**&lt;br&gt;Your system can use this API to retrieve all Payment Instruments linked to an Instrument Identifier.
213
+ # @param instrument_identifier_id The Id of an Instrument Identifier.
208
214
  # @param [Hash] opts the optional parameters
209
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
215
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
210
216
  # @option opts [Integer] :offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
211
217
  # @option opts [Integer] :limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
212
218
  # @return [Array<(PaymentInstrumentList, Fixnum, Hash)>] PaymentInstrumentList data, response status code and response headers
213
- def get_instrument_identifier_payment_instruments_list_with_http_info(instrument_identifier_token_id, opts = {})
219
+ def get_instrument_identifier_payment_instruments_list_with_http_info(instrument_identifier_id, opts = {})
214
220
 
215
221
  if @api_client.config.debugging
216
222
  begin
@@ -220,16 +226,16 @@ module CyberSource
220
226
  puts 'Cannot write to log'
221
227
  end
222
228
  end
223
- # verify the required parameter 'instrument_identifier_token_id' is set
224
- if @api_client.config.client_side_validation && instrument_identifier_token_id.nil?
225
- fail ArgumentError, "Missing the required parameter 'instrument_identifier_token_id' when calling InstrumentIdentifierApi.get_instrument_identifier_payment_instruments_list"
229
+ # verify the required parameter 'instrument_identifier_id' is set
230
+ if @api_client.config.client_side_validation && instrument_identifier_id.nil?
231
+ fail ArgumentError, "Missing the required parameter 'instrument_identifier_id' when calling InstrumentIdentifierApi.get_instrument_identifier_payment_instruments_list"
226
232
  end
227
- if @api_client.config.client_side_validation && instrument_identifier_token_id.to_s.length > 32
228
- fail ArgumentError, 'invalid value for "instrument_identifier_token_id" when calling InstrumentIdentifierApi.get_instrument_identifier_payment_instruments_list, the character length must be smaller than or equal to 32.'
233
+ if @api_client.config.client_side_validation && instrument_identifier_id.to_s.length > 32
234
+ fail ArgumentError, 'invalid value for "instrument_identifier_id" when calling InstrumentIdentifierApi.get_instrument_identifier_payment_instruments_list, the character length must be smaller than or equal to 32.'
229
235
  end
230
236
 
231
- if @api_client.config.client_side_validation && instrument_identifier_token_id.to_s.length < 12
232
- fail ArgumentError, 'invalid value for "instrument_identifier_token_id" when calling InstrumentIdentifierApi.get_instrument_identifier_payment_instruments_list, the character length must be great than or equal to 12.'
237
+ if @api_client.config.client_side_validation && instrument_identifier_id.to_s.length < 12
238
+ fail ArgumentError, 'invalid value for "instrument_identifier_id" when calling InstrumentIdentifierApi.get_instrument_identifier_payment_instruments_list, the character length must be great than or equal to 12.'
233
239
  end
234
240
 
235
241
  if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
@@ -253,7 +259,7 @@ module CyberSource
253
259
  end
254
260
 
255
261
  # resource path
256
- local_var_path = 'tms/v1/instrumentidentifiers/{instrumentIdentifierTokenId}/paymentinstruments'.sub('{' + 'instrumentIdentifierTokenId' + '}', instrument_identifier_token_id.to_s)
262
+ local_var_path = 'tms/v1/instrumentidentifiers/{instrumentIdentifierId}/paymentinstruments'.sub('{' + 'instrumentIdentifierId' + '}', instrument_identifier_id.to_s)
257
263
 
258
264
  # query parameters
259
265
  query_params = {}
@@ -296,25 +302,27 @@ module CyberSource
296
302
  return data, status_code, headers
297
303
  end
298
304
  # Update an Instrument Identifier
299
- # @param instrument_identifier_token_id The TokenId of a Instrument Identifier.
300
- # @param patch_instrument_identifier_request Specify the previous transaction ID to update.
305
+ # | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing and account number.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Updating an Instrument Identifier**<br>When an Instrument Identifier is used in a payment the **_previousTransactionId_** and **_originalAuthorizedAmount_** values are automatically recorded.<br>These values will be added for you to future Merchant Initiated Transaction payments.<br>Your system can use this API to update these values.
306
+ # @param instrument_identifier_id The Id of an Instrument Identifier.
307
+ # @param patch_instrument_identifier_request Specify the previous transaction Id to update.
301
308
  # @param [Hash] opts the optional parameters
302
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
309
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
303
310
  # @option opts [String] :if_match Contains an ETag value from a GET request to make the request conditional.
304
311
  # @return [Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier]
305
- def patch_instrument_identifier(instrument_identifier_token_id, patch_instrument_identifier_request, opts = {})
306
- data, status_code, headers = patch_instrument_identifier_with_http_info(instrument_identifier_token_id, patch_instrument_identifier_request, opts)
312
+ def patch_instrument_identifier(instrument_identifier_id, patch_instrument_identifier_request, opts = {})
313
+ data, status_code, headers = patch_instrument_identifier_with_http_info(instrument_identifier_id, patch_instrument_identifier_request, opts)
307
314
  return data, status_code, headers
308
315
  end
309
316
 
310
317
  # Update an Instrument Identifier
311
- # @param instrument_identifier_token_id The TokenId of a Instrument Identifier.
312
- # @param patch_instrument_identifier_request Specify the previous transaction ID to update.
318
+ # | | | | | --- | --- | --- | |**Instrument Identifiers**&lt;br&gt;An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing and account number.&lt;br&gt;The same token Id is returned for a specific card number or bank account &amp; routing number allowing the Instrument Identifier Id to be used for cross-channel payment tracking.&lt;br&gt;An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|**Updating an Instrument Identifier**&lt;br&gt;When an Instrument Identifier is used in a payment the **_previousTransactionId_** and **_originalAuthorizedAmount_** values are automatically recorded.&lt;br&gt;These values will be added for you to future Merchant Initiated Transaction payments.&lt;br&gt;Your system can use this API to update these values.
319
+ # @param instrument_identifier_id The Id of an Instrument Identifier.
320
+ # @param patch_instrument_identifier_request Specify the previous transaction Id to update.
313
321
  # @param [Hash] opts the optional parameters
314
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
322
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
315
323
  # @option opts [String] :if_match Contains an ETag value from a GET request to make the request conditional.
316
324
  # @return [Array<(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier, Fixnum, Hash)>] Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier data, response status code and response headers
317
- def patch_instrument_identifier_with_http_info(instrument_identifier_token_id, patch_instrument_identifier_request, opts = {})
325
+ def patch_instrument_identifier_with_http_info(instrument_identifier_id, patch_instrument_identifier_request, opts = {})
318
326
 
319
327
  if @api_client.config.debugging
320
328
  begin
@@ -324,16 +332,16 @@ module CyberSource
324
332
  puts 'Cannot write to log'
325
333
  end
326
334
  end
327
- # verify the required parameter 'instrument_identifier_token_id' is set
328
- if @api_client.config.client_side_validation && instrument_identifier_token_id.nil?
329
- fail ArgumentError, "Missing the required parameter 'instrument_identifier_token_id' when calling InstrumentIdentifierApi.patch_instrument_identifier"
335
+ # verify the required parameter 'instrument_identifier_id' is set
336
+ if @api_client.config.client_side_validation && instrument_identifier_id.nil?
337
+ fail ArgumentError, "Missing the required parameter 'instrument_identifier_id' when calling InstrumentIdentifierApi.patch_instrument_identifier"
330
338
  end
331
- if @api_client.config.client_side_validation && instrument_identifier_token_id.to_s.length > 32
332
- fail ArgumentError, 'invalid value for "instrument_identifier_token_id" when calling InstrumentIdentifierApi.patch_instrument_identifier, the character length must be smaller than or equal to 32.'
339
+ if @api_client.config.client_side_validation && instrument_identifier_id.to_s.length > 32
340
+ fail ArgumentError, 'invalid value for "instrument_identifier_id" when calling InstrumentIdentifierApi.patch_instrument_identifier, the character length must be smaller than or equal to 32.'
333
341
  end
334
342
 
335
- if @api_client.config.client_side_validation && instrument_identifier_token_id.to_s.length < 12
336
- fail ArgumentError, 'invalid value for "instrument_identifier_token_id" when calling InstrumentIdentifierApi.patch_instrument_identifier, the character length must be great than or equal to 12.'
343
+ if @api_client.config.client_side_validation && instrument_identifier_id.to_s.length < 12
344
+ fail ArgumentError, 'invalid value for "instrument_identifier_id" when calling InstrumentIdentifierApi.patch_instrument_identifier, the character length must be great than or equal to 12.'
337
345
  end
338
346
 
339
347
  # verify the required parameter 'patch_instrument_identifier_request' is set
@@ -357,7 +365,7 @@ module CyberSource
357
365
  end
358
366
 
359
367
  # resource path
360
- local_var_path = 'tms/v1/instrumentidentifiers/{instrumentIdentifierTokenId}'.sub('{' + 'instrumentIdentifierTokenId' + '}', instrument_identifier_token_id.to_s)
368
+ local_var_path = 'tms/v1/instrumentidentifiers/{instrumentIdentifierId}'.sub('{' + 'instrumentIdentifierId' + '}', instrument_identifier_id.to_s)
361
369
 
362
370
  # query parameters
363
371
  query_params = {}
@@ -395,9 +403,10 @@ module CyberSource
395
403
  return data, status_code, headers
396
404
  end
397
405
  # Create an Instrument Identifier
406
+ # | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing and account number.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).<br><br>**Creating an Instrument Identifier**<br>It is recommended you [create an Instrument Identifier via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-instrument-identifier-token-creation_liveconsole-tab-request-body), this can be for a zero amount.<br>An Instrument Identifier will also be created if you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body)<br>In Europe: You should perform Payer Authentication alongside the Authorization.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Payment Network Tokens**<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.<br>A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).<br>For more information about Payment Network Tokens see the Developer Guide.<br><br>**Payments with Instrument Identifiers**<br>To perform a payment with an Instrument Identifier simply specify the [Instrument Identifier Id in the payments request along with the expiration date, card type, & billing address](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-instrument-identifier-token-id_liveconsole-tab-request-body).<br>When an Instrument Identifier is used in a payment the **_previousTransactionId_** and **_originalAuthorizedAmount_** values are automatically recorded.<br>These values will be added for you to future Merchant Initiated Transaction payments.
398
407
  # @param post_instrument_identifier_request Specify either a Card, Bank Account or Enrollable Card
399
408
  # @param [Hash] opts the optional parameters
400
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
409
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
401
410
  # @return [Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier]
402
411
  def post_instrument_identifier(post_instrument_identifier_request, opts = {})
403
412
  data, status_code, headers = post_instrument_identifier_with_http_info(post_instrument_identifier_request, opts)
@@ -405,9 +414,10 @@ module CyberSource
405
414
  end
406
415
 
407
416
  # Create an Instrument Identifier
417
+ # | | | | | --- | --- | --- | |**Instrument Identifiers**&lt;br&gt;An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing and account number.&lt;br&gt;The same token Id is returned for a specific card number or bank account &amp; routing number allowing the Instrument Identifier Id to be used for cross-channel payment tracking.&lt;br&gt;An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).&lt;br&gt;&lt;br&gt;**Creating an Instrument Identifier**&lt;br&gt;It is recommended you [create an Instrument Identifier via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-instrument-identifier-token-creation_liveconsole-tab-request-body), this can be for a zero amount.&lt;br&gt;An Instrument Identifier will also be created if you [create a Customer via a Payment Authorization](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body)&lt;br&gt;In Europe: You should perform Payer Authentication alongside the Authorization.|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|**Payment Network Tokens**&lt;br&gt;Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.&lt;br&gt;A Payment Network Token will be automatically created and used in future payments if you are enabled for the service.&lt;br&gt;A Payment Network Token can also be [provisioned for an existing Instrument Identifier](#token-management_instrument-identifier_enroll-an-instrument-identifier-for-payment-network-token).&lt;br&gt;For more information about Payment Network Tokens see the Developer Guide.&lt;br&gt;&lt;br&gt;**Payments with Instrument Identifiers**&lt;br&gt;To perform a payment with an Instrument Identifier simply specify the [Instrument Identifier Id in the payments request along with the expiration date, card type, &amp; billing address](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-instrument-identifier-token-id_liveconsole-tab-request-body).&lt;br&gt;When an Instrument Identifier is used in a payment the **_previousTransactionId_** and **_originalAuthorizedAmount_** values are automatically recorded.&lt;br&gt;These values will be added for you to future Merchant Initiated Transaction payments.
408
418
  # @param post_instrument_identifier_request Specify either a Card, Bank Account or Enrollable Card
409
419
  # @param [Hash] opts the optional parameters
410
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
420
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
411
421
  # @return [Array<(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier, Fixnum, Hash)>] Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier data, response status code and response headers
412
422
  def post_instrument_identifier_with_http_info(post_instrument_identifier_request, opts = {})
413
423
 
@@ -468,24 +478,26 @@ module CyberSource
468
478
  end
469
479
  return data, status_code, headers
470
480
  end
471
- # Enroll an Instrument Identifier for Network Tokenization
472
- # @param instrument_identifier_token_id The TokenId of a Instrument Identifier.
481
+ # Enroll an Instrument Identifier for Payment Network Token
482
+ # | | | | | --- | --- | --- | |**Instrument Identifiers**<br>An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing and account number.<br>The same token Id is returned for a specific card number or bank account & routing number allowing the Instrument Identifier Id to be used for cross-channel payment tracking.<br>An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Enroll an Instrument Identifier for a Payment Network Token**<br>Your system can use this API to provision a Network token for an existing Instrument Identifier.<br>Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.<br>A Network token can be [provisioned when creating an Instrument Identifier](#token-management_instrument-identifier_create-an-instrument-identifier_samplerequests-dropdown_create-instrument-identifier-card-enroll-for-network-token_liveconsole-tab-request-body).This will occur automatically when creating a [Customer](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), [Payment Instrument](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-create-default-payment-instrument-shipping-address-for-existing-customer_liveconsole-tab-request-body) or [Instrument Identifier](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-instrument-identifier-token-creation_liveconsole-tab-request-body) via the Payments API.<br>For more information about Payment Network Tokens see the Developer Guide.
483
+ # @param instrument_identifier_id The Id of an Instrument Identifier.
473
484
  # @param post_instrument_identifier_enrollment_request Specify Enrollable Card details
474
485
  # @param [Hash] opts the optional parameters
475
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
486
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
476
487
  # @return [nil]
477
- def post_instrument_identifier_enrollment(instrument_identifier_token_id, post_instrument_identifier_enrollment_request, opts = {})
478
- data, status_code, headers = post_instrument_identifier_enrollment_with_http_info(instrument_identifier_token_id, post_instrument_identifier_enrollment_request, opts)
488
+ def post_instrument_identifier_enrollment(instrument_identifier_id, post_instrument_identifier_enrollment_request, opts = {})
489
+ data, status_code, headers = post_instrument_identifier_enrollment_with_http_info(instrument_identifier_id, post_instrument_identifier_enrollment_request, opts)
479
490
  return data, status_code, headers
480
491
  end
481
492
 
482
- # Enroll an Instrument Identifier for Network Tokenization
483
- # @param instrument_identifier_token_id The TokenId of a Instrument Identifier.
493
+ # Enroll an Instrument Identifier for Payment Network Token
494
+ # | | | | | --- | --- | --- | |**Instrument Identifiers**&lt;br&gt;An Instrument Identifier represents either a card number, or in the case of an ACH bank account, the routing and account number.&lt;br&gt;The same token Id is returned for a specific card number or bank account &amp; routing number allowing the Instrument Identifier Id to be used for cross-channel payment tracking.&lt;br&gt;An Instrument Identifier can exist independently but also be associated with a [Customer Payment Instrument](#token-management_customer-payment-instrument_create-a-customer-payment-instrument) or [Standalone Payment Instrument](#token-management_payment-instrument_create-a-payment-instrument).|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|**Enroll an Instrument Identifier for a Payment Network Token**&lt;br&gt;Your system can use this API to provision a Network token for an existing Instrument Identifier.&lt;br&gt;Network tokens perform better than regular card numbers and they are not necessarily invalidated when a cardholder loses their card, or it expires.&lt;br&gt;A Network token can be [provisioned when creating an Instrument Identifier](#token-management_instrument-identifier_create-an-instrument-identifier_samplerequests-dropdown_create-instrument-identifier-card-enroll-for-network-token_liveconsole-tab-request-body).This will occur automatically when creating a [Customer](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-customer-token-creation_liveconsole-tab-request-body), [Payment Instrument](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-create-default-payment-instrument-shipping-address-for-existing-customer_liveconsole-tab-request-body) or [Instrument Identifier](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-with-token-create_authorization-with-instrument-identifier-token-creation_liveconsole-tab-request-body) via the Payments API.&lt;br&gt;For more information about Payment Network Tokens see the Developer Guide.
495
+ # @param instrument_identifier_id The Id of an Instrument Identifier.
484
496
  # @param post_instrument_identifier_enrollment_request Specify Enrollable Card details
485
497
  # @param [Hash] opts the optional parameters
486
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
498
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
487
499
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
488
- def post_instrument_identifier_enrollment_with_http_info(instrument_identifier_token_id, post_instrument_identifier_enrollment_request, opts = {})
500
+ def post_instrument_identifier_enrollment_with_http_info(instrument_identifier_id, post_instrument_identifier_enrollment_request, opts = {})
489
501
 
490
502
  if @api_client.config.debugging
491
503
  begin
@@ -495,16 +507,16 @@ module CyberSource
495
507
  puts 'Cannot write to log'
496
508
  end
497
509
  end
498
- # verify the required parameter 'instrument_identifier_token_id' is set
499
- if @api_client.config.client_side_validation && instrument_identifier_token_id.nil?
500
- fail ArgumentError, "Missing the required parameter 'instrument_identifier_token_id' when calling InstrumentIdentifierApi.post_instrument_identifier_enrollment"
510
+ # verify the required parameter 'instrument_identifier_id' is set
511
+ if @api_client.config.client_side_validation && instrument_identifier_id.nil?
512
+ fail ArgumentError, "Missing the required parameter 'instrument_identifier_id' when calling InstrumentIdentifierApi.post_instrument_identifier_enrollment"
501
513
  end
502
- if @api_client.config.client_side_validation && instrument_identifier_token_id.to_s.length > 32
503
- fail ArgumentError, 'invalid value for "instrument_identifier_token_id" when calling InstrumentIdentifierApi.post_instrument_identifier_enrollment, the character length must be smaller than or equal to 32.'
514
+ if @api_client.config.client_side_validation && instrument_identifier_id.to_s.length > 32
515
+ fail ArgumentError, 'invalid value for "instrument_identifier_id" when calling InstrumentIdentifierApi.post_instrument_identifier_enrollment, the character length must be smaller than or equal to 32.'
504
516
  end
505
517
 
506
- if @api_client.config.client_side_validation && instrument_identifier_token_id.to_s.length < 12
507
- fail ArgumentError, 'invalid value for "instrument_identifier_token_id" when calling InstrumentIdentifierApi.post_instrument_identifier_enrollment, the character length must be great than or equal to 12.'
518
+ if @api_client.config.client_side_validation && instrument_identifier_id.to_s.length < 12
519
+ fail ArgumentError, 'invalid value for "instrument_identifier_id" when calling InstrumentIdentifierApi.post_instrument_identifier_enrollment, the character length must be great than or equal to 12.'
508
520
  end
509
521
 
510
522
  # verify the required parameter 'post_instrument_identifier_enrollment_request' is set
@@ -520,7 +532,7 @@ module CyberSource
520
532
  end
521
533
 
522
534
  # resource path
523
- local_var_path = 'tms/v1/instrumentidentifiers/{instrumentIdentifierTokenId}/enrollment'.sub('{' + 'instrumentIdentifierTokenId' + '}', instrument_identifier_token_id.to_s)
535
+ local_var_path = 'tms/v1/instrumentidentifiers/{instrumentIdentifierId}/enrollment'.sub('{' + 'instrumentIdentifierId' + '}', instrument_identifier_id.to_s)
524
536
 
525
537
  # query parameters
526
538
  query_params = {}
@@ -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 [InlineResponse200]
34
+ # @return [InlineResponse20011]
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<(InlineResponse200, Fixnum, Hash)>] InlineResponse200 data, response status code and response headers
51
+ # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 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 => 'InlineResponse200')
107
+ :return_type => 'InlineResponse20011')
108
108
  if @api_client.config.debugging
109
109
  begin
110
110
  raise
@@ -0,0 +1,89 @@
1
+ =begin
2
+ #CyberSource Merged Spec
3
+
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
+
6
+ OpenAPI spec version: 0.0.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'uri'
14
+
15
+ module CyberSource
16
+ class MicroformIntegrationApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default, config)
20
+ @api_client = api_client
21
+ @api_client.set_configuration(config)
22
+ end
23
+ # Generate Capture Context
24
+ # This API is used to generate the Capture Context data structure for the Microform Integration. Microform is a browser-based acceptance solution that allows a seller to capture payment information is a secure manner from their website. For more information about Flex Microform transactions, see the [Flex Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-flex/SAFlexibleToken.html). For examples on how to integrate Flex Microform within your webpage please see our [GitHub Flex Samples](https://github.com/CyberSource?q=flex&type=&language=) This API is a server-to-server API to generate the capture context that can be used to initiate instance of microform on a acceptance page. The capture context is a digitally signed JWT that provides authentication, one-time keys, and the target origin to the Microform Integration application.
25
+ # @param generate_capture_context_request
26
+ # @param [Hash] opts the optional parameters
27
+ # @return [String]
28
+ def generate_capture_context(generate_capture_context_request, opts = {})
29
+ data, status_code, headers = generate_capture_context_with_http_info(generate_capture_context_request, opts)
30
+ return data, status_code, headers
31
+ end
32
+
33
+ # Generate Capture Context
34
+ # This API is used to generate the Capture Context data structure for the Microform Integration. Microform is a browser-based acceptance solution that allows a seller to capture payment information is a secure manner from their website. For more information about Flex Microform transactions, see the [Flex Developer Guides Page](https://developer.cybersource.com/api/developer-guides/dita-flex/SAFlexibleToken.html). For examples on how to integrate Flex Microform within your webpage please see our [GitHub Flex Samples](https://github.com/CyberSource?q&#x3D;flex&amp;type&#x3D;&amp;language&#x3D;) This API is a server-to-server API to generate the capture context that can be used to initiate instance of microform on a acceptance page. The capture context is a digitally signed JWT that provides authentication, one-time keys, and the target origin to the Microform Integration application.
35
+ # @param generate_capture_context_request
36
+ # @param [Hash] opts the optional parameters
37
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
38
+ def generate_capture_context_with_http_info(generate_capture_context_request, opts = {})
39
+
40
+ if @api_client.config.debugging
41
+ begin
42
+ raise
43
+ @api_client.config.logger.debug 'Calling API: MicroformIntegrationApi.generate_capture_context ...'
44
+ rescue
45
+ puts 'Cannot write to log'
46
+ end
47
+ end
48
+ # verify the required parameter 'generate_capture_context_request' is set
49
+ if @api_client.config.client_side_validation && generate_capture_context_request.nil?
50
+ fail ArgumentError, "Missing the required parameter 'generate_capture_context_request' when calling MicroformIntegrationApi.generate_capture_context"
51
+ end
52
+ # resource path
53
+ local_var_path = 'microform/v2/sessions'
54
+
55
+ # query parameters
56
+ query_params = {}
57
+
58
+ # header parameters
59
+ header_params = {}
60
+ # HTTP header 'Accept' (if needed)
61
+ header_params['Accept'] = @api_client.select_header_accept(['application/jwt'])
62
+ # HTTP header 'Content-Type'
63
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
64
+
65
+ # form parameters
66
+ form_params = {}
67
+
68
+ # http body (model)
69
+ post_body = @api_client.object_to_http_body(generate_capture_context_request)
70
+ auth_names = []
71
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
72
+ :header_params => header_params,
73
+ :query_params => query_params,
74
+ :form_params => form_params,
75
+ :body => post_body,
76
+ :auth_names => auth_names,
77
+ :return_type => 'String')
78
+ if @api_client.config.debugging
79
+ begin
80
+ raise
81
+ @api_client.config.logger.debug "API called: MicroformIntegrationApi#generate_capture_context\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
+ rescue
83
+ puts 'Cannot write to log'
84
+ end
85
+ end
86
+ return data, status_code, headers
87
+ end
88
+ end
89
+ end