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,23 +21,25 @@ module CyberSource
21
21
  @api_client.set_configuration(config)
22
22
  end
23
23
  # Delete a Customer Shipping Address
24
- # @param customer_token_id The TokenId of a customer.
25
- # @param shipping_address_token_id The TokenId of an shipping address.
24
+ # | | | | | --- | --- | --- | |**Customer Shipping Address**<br>A Customer Shipping Address represents tokenized customer shipping information.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Deleting a Customers Shipping Address**<br>Your system can use this API to delete an existing Shipping Address for a Customer.<br>If a customer has more than one Shipping Address then the default Shipping Address cannot be deleted without first selecting a [new default Shipping Address](#token-management_customer-shipping-address_update-a-customer-shipping-address_samplerequests-dropdown_make-customer-shipping-address-the-default_liveconsole-tab-request-body).
25
+ # @param customer_id The Id of a Customer.
26
+ # @param shipping_address_id The Id of a shipping address.
26
27
  # @param [Hash] opts the optional parameters
27
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
28
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
28
29
  # @return [nil]
29
- def delete_customer_shipping_address(customer_token_id, shipping_address_token_id, opts = {})
30
- data, status_code, headers = delete_customer_shipping_address_with_http_info(customer_token_id, shipping_address_token_id, opts)
30
+ def delete_customer_shipping_address(customer_id, shipping_address_id, opts = {})
31
+ data, status_code, headers = delete_customer_shipping_address_with_http_info(customer_id, shipping_address_id, opts)
31
32
  return data, status_code, headers
32
33
  end
33
34
 
34
35
  # Delete a Customer Shipping Address
35
- # @param customer_token_id The TokenId of a customer.
36
- # @param shipping_address_token_id The TokenId of an shipping address.
36
+ # | | | | | --- | --- | --- | |**Customer Shipping Address**&lt;br&gt;A Customer Shipping Address represents tokenized customer shipping information.&lt;br&gt;A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|**Deleting a Customers Shipping Address**&lt;br&gt;Your system can use this API to delete an existing Shipping Address for a Customer.&lt;br&gt;If a customer has more than one Shipping Address then the default Shipping Address cannot be deleted without first selecting a [new default Shipping Address](#token-management_customer-shipping-address_update-a-customer-shipping-address_samplerequests-dropdown_make-customer-shipping-address-the-default_liveconsole-tab-request-body).
37
+ # @param customer_id The Id of a Customer.
38
+ # @param shipping_address_id The Id of a shipping address.
37
39
  # @param [Hash] opts the optional parameters
38
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
40
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
39
41
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
40
- def delete_customer_shipping_address_with_http_info(customer_token_id, shipping_address_token_id, opts = {})
42
+ def delete_customer_shipping_address_with_http_info(customer_id, shipping_address_id, opts = {})
41
43
 
42
44
  if @api_client.config.debugging
43
45
  begin
@@ -47,28 +49,28 @@ module CyberSource
47
49
  puts 'Cannot write to log'
48
50
  end
49
51
  end
50
- # verify the required parameter 'customer_token_id' is set
51
- if @api_client.config.client_side_validation && customer_token_id.nil?
52
- fail ArgumentError, "Missing the required parameter 'customer_token_id' when calling CustomerShippingAddressApi.delete_customer_shipping_address"
52
+ # verify the required parameter 'customer_id' is set
53
+ if @api_client.config.client_side_validation && customer_id.nil?
54
+ fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerShippingAddressApi.delete_customer_shipping_address"
53
55
  end
54
- if @api_client.config.client_side_validation && customer_token_id.to_s.length > 32
55
- fail ArgumentError, 'invalid value for "customer_token_id" when calling CustomerShippingAddressApi.delete_customer_shipping_address, the character length must be smaller than or equal to 32.'
56
+ if @api_client.config.client_side_validation && customer_id.to_s.length > 32
57
+ fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.delete_customer_shipping_address, the character length must be smaller than or equal to 32.'
56
58
  end
57
59
 
58
- if @api_client.config.client_side_validation && customer_token_id.to_s.length < 1
59
- fail ArgumentError, 'invalid value for "customer_token_id" when calling CustomerShippingAddressApi.delete_customer_shipping_address, the character length must be great than or equal to 1.'
60
+ if @api_client.config.client_side_validation && customer_id.to_s.length < 1
61
+ fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.delete_customer_shipping_address, the character length must be great than or equal to 1.'
60
62
  end
61
63
 
62
- # verify the required parameter 'shipping_address_token_id' is set
63
- if @api_client.config.client_side_validation && shipping_address_token_id.nil?
64
- fail ArgumentError, "Missing the required parameter 'shipping_address_token_id' when calling CustomerShippingAddressApi.delete_customer_shipping_address"
64
+ # verify the required parameter 'shipping_address_id' is set
65
+ if @api_client.config.client_side_validation && shipping_address_id.nil?
66
+ fail ArgumentError, "Missing the required parameter 'shipping_address_id' when calling CustomerShippingAddressApi.delete_customer_shipping_address"
65
67
  end
66
- if @api_client.config.client_side_validation && shipping_address_token_id.to_s.length > 32
67
- fail ArgumentError, 'invalid value for "shipping_address_token_id" when calling CustomerShippingAddressApi.delete_customer_shipping_address, the character length must be smaller than or equal to 32.'
68
+ if @api_client.config.client_side_validation && shipping_address_id.to_s.length > 32
69
+ fail ArgumentError, 'invalid value for "shipping_address_id" when calling CustomerShippingAddressApi.delete_customer_shipping_address, the character length must be smaller than or equal to 32.'
68
70
  end
69
71
 
70
- if @api_client.config.client_side_validation && shipping_address_token_id.to_s.length < 1
71
- fail ArgumentError, 'invalid value for "shipping_address_token_id" when calling CustomerShippingAddressApi.delete_customer_shipping_address, the character length must be great than or equal to 1.'
72
+ if @api_client.config.client_side_validation && shipping_address_id.to_s.length < 1
73
+ fail ArgumentError, 'invalid value for "shipping_address_id" when calling CustomerShippingAddressApi.delete_customer_shipping_address, the character length must be great than or equal to 1.'
72
74
  end
73
75
 
74
76
  if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
@@ -80,7 +82,7 @@ module CyberSource
80
82
  end
81
83
 
82
84
  # resource path
83
- local_var_path = 'tms/v2/customers/{customerTokenId}/shipping-addresses/{shippingAddressTokenId}'.sub('{' + 'customerTokenId' + '}', customer_token_id.to_s).sub('{' + 'shippingAddressTokenId' + '}', shipping_address_token_id.to_s)
85
+ local_var_path = 'tms/v2/customers/{customerId}/shipping-addresses/{shippingAddressId}'.sub('{' + 'customerId' + '}', customer_id.to_s).sub('{' + 'shippingAddressId' + '}', shipping_address_id.to_s)
84
86
 
85
87
  # query parameters
86
88
  query_params = {}
@@ -120,23 +122,25 @@ module CyberSource
120
122
  return data, status_code, headers
121
123
  end
122
124
  # Retrieve a Customer Shipping Address
123
- # @param customer_token_id The TokenId of a customer.
124
- # @param shipping_address_token_id The TokenId of an shipping address.
125
+ # | | | | | --- | --- | --- | |**Customer Shipping Address**<br>A Customer Shipping Address represents tokenized customer shipping information.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Retrieving a Customer Shipping Address**<br>Your system can use this API to retrieve an existing Shipping Address for a Customer.<br>To perform a payment with a particular Shipping Address simply specify the [Shipping Address Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body).
126
+ # @param customer_id The Id of a Customer.
127
+ # @param shipping_address_id The Id of a shipping address.
125
128
  # @param [Hash] opts the optional parameters
126
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
129
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
127
130
  # @return [Tmsv2customersEmbeddedDefaultShippingAddress]
128
- def get_customer_shipping_address(customer_token_id, shipping_address_token_id, opts = {})
129
- data, status_code, headers = get_customer_shipping_address_with_http_info(customer_token_id, shipping_address_token_id, opts)
131
+ def get_customer_shipping_address(customer_id, shipping_address_id, opts = {})
132
+ data, status_code, headers = get_customer_shipping_address_with_http_info(customer_id, shipping_address_id, opts)
130
133
  return data, status_code, headers
131
134
  end
132
135
 
133
136
  # Retrieve a Customer Shipping Address
134
- # @param customer_token_id The TokenId of a customer.
135
- # @param shipping_address_token_id The TokenId of an shipping address.
137
+ # | | | | | --- | --- | --- | |**Customer Shipping Address**&lt;br&gt;A Customer Shipping Address represents tokenized customer shipping information.&lt;br&gt;A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|**Retrieving a Customer Shipping Address**&lt;br&gt;Your system can use this API to retrieve an existing Shipping Address for a Customer.&lt;br&gt;To perform a payment with a particular Shipping Address simply specify the [Shipping Address Id in the payments request](#payments_payments_process-a-payment_samplerequests-dropdown_authorization-using-tokens_authorization-with-customer-payment-instrument-and-shipping-address-token-id_liveconsole-tab-request-body).
138
+ # @param customer_id The Id of a Customer.
139
+ # @param shipping_address_id The Id of a shipping address.
136
140
  # @param [Hash] opts the optional parameters
137
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
141
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
138
142
  # @return [Array<(Tmsv2customersEmbeddedDefaultShippingAddress, Fixnum, Hash)>] Tmsv2customersEmbeddedDefaultShippingAddress data, response status code and response headers
139
- def get_customer_shipping_address_with_http_info(customer_token_id, shipping_address_token_id, opts = {})
143
+ def get_customer_shipping_address_with_http_info(customer_id, shipping_address_id, opts = {})
140
144
 
141
145
  if @api_client.config.debugging
142
146
  begin
@@ -146,28 +150,28 @@ module CyberSource
146
150
  puts 'Cannot write to log'
147
151
  end
148
152
  end
149
- # verify the required parameter 'customer_token_id' is set
150
- if @api_client.config.client_side_validation && customer_token_id.nil?
151
- fail ArgumentError, "Missing the required parameter 'customer_token_id' when calling CustomerShippingAddressApi.get_customer_shipping_address"
153
+ # verify the required parameter 'customer_id' is set
154
+ if @api_client.config.client_side_validation && customer_id.nil?
155
+ fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerShippingAddressApi.get_customer_shipping_address"
152
156
  end
153
- if @api_client.config.client_side_validation && customer_token_id.to_s.length > 32
154
- fail ArgumentError, 'invalid value for "customer_token_id" when calling CustomerShippingAddressApi.get_customer_shipping_address, the character length must be smaller than or equal to 32.'
157
+ if @api_client.config.client_side_validation && customer_id.to_s.length > 32
158
+ fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.get_customer_shipping_address, the character length must be smaller than or equal to 32.'
155
159
  end
156
160
 
157
- if @api_client.config.client_side_validation && customer_token_id.to_s.length < 1
158
- fail ArgumentError, 'invalid value for "customer_token_id" when calling CustomerShippingAddressApi.get_customer_shipping_address, the character length must be great than or equal to 1.'
161
+ if @api_client.config.client_side_validation && customer_id.to_s.length < 1
162
+ fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.get_customer_shipping_address, the character length must be great than or equal to 1.'
159
163
  end
160
164
 
161
- # verify the required parameter 'shipping_address_token_id' is set
162
- if @api_client.config.client_side_validation && shipping_address_token_id.nil?
163
- fail ArgumentError, "Missing the required parameter 'shipping_address_token_id' when calling CustomerShippingAddressApi.get_customer_shipping_address"
165
+ # verify the required parameter 'shipping_address_id' is set
166
+ if @api_client.config.client_side_validation && shipping_address_id.nil?
167
+ fail ArgumentError, "Missing the required parameter 'shipping_address_id' when calling CustomerShippingAddressApi.get_customer_shipping_address"
164
168
  end
165
- if @api_client.config.client_side_validation && shipping_address_token_id.to_s.length > 32
166
- fail ArgumentError, 'invalid value for "shipping_address_token_id" when calling CustomerShippingAddressApi.get_customer_shipping_address, the character length must be smaller than or equal to 32.'
169
+ if @api_client.config.client_side_validation && shipping_address_id.to_s.length > 32
170
+ fail ArgumentError, 'invalid value for "shipping_address_id" when calling CustomerShippingAddressApi.get_customer_shipping_address, the character length must be smaller than or equal to 32.'
167
171
  end
168
172
 
169
- if @api_client.config.client_side_validation && shipping_address_token_id.to_s.length < 1
170
- fail ArgumentError, 'invalid value for "shipping_address_token_id" when calling CustomerShippingAddressApi.get_customer_shipping_address, the character length must be great than or equal to 1.'
173
+ if @api_client.config.client_side_validation && shipping_address_id.to_s.length < 1
174
+ fail ArgumentError, 'invalid value for "shipping_address_id" when calling CustomerShippingAddressApi.get_customer_shipping_address, the character length must be great than or equal to 1.'
171
175
  end
172
176
 
173
177
  if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
@@ -179,7 +183,7 @@ module CyberSource
179
183
  end
180
184
 
181
185
  # resource path
182
- local_var_path = 'tms/v2/customers/{customerTokenId}/shipping-addresses/{shippingAddressTokenId}'.sub('{' + 'customerTokenId' + '}', customer_token_id.to_s).sub('{' + 'shippingAddressTokenId' + '}', shipping_address_token_id.to_s)
186
+ local_var_path = 'tms/v2/customers/{customerId}/shipping-addresses/{shippingAddressId}'.sub('{' + 'customerId' + '}', customer_id.to_s).sub('{' + 'shippingAddressId' + '}', shipping_address_id.to_s)
183
187
 
184
188
  # query parameters
185
189
  query_params = {}
@@ -220,25 +224,27 @@ module CyberSource
220
224
  return data, status_code, headers
221
225
  end
222
226
  # List Shipping Addresses for a Customer
223
- # @param customer_token_id The TokenId of a customer.
227
+ # | | | | | --- | --- | --- | |**Customer Shipping Address**<br>A Customer Shipping Address represents tokenized customer shipping information.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Retrieving all Customer Shipping Addresses**<br>Your system can use this API to retrieve all existing Shipping Addresses for a Customer.
228
+ # @param customer_id The Id of a Customer.
224
229
  # @param [Hash] opts the optional parameters
225
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
230
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
226
231
  # @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)
227
232
  # @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)
228
233
  # @return [ShippingAddressListForCustomer]
229
- def get_customer_shipping_addresses_list(customer_token_id, opts = {})
230
- data, status_code, headers = get_customer_shipping_addresses_list_with_http_info(customer_token_id, opts)
234
+ def get_customer_shipping_addresses_list(customer_id, opts = {})
235
+ data, status_code, headers = get_customer_shipping_addresses_list_with_http_info(customer_id, opts)
231
236
  return data, status_code, headers
232
237
  end
233
238
 
234
239
  # List Shipping Addresses for a Customer
235
- # @param customer_token_id The TokenId of a customer.
240
+ # | | | | | --- | --- | --- | |**Customer Shipping Address**&lt;br&gt;A Customer Shipping Address represents tokenized customer shipping information.&lt;br&gt;A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|**Retrieving all Customer Shipping Addresses**&lt;br&gt;Your system can use this API to retrieve all existing Shipping Addresses for a Customer.
241
+ # @param customer_id The Id of a Customer.
236
242
  # @param [Hash] opts the optional parameters
237
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
243
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
238
244
  # @option opts [Integer] :offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
239
245
  # @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.
240
246
  # @return [Array<(ShippingAddressListForCustomer, Fixnum, Hash)>] ShippingAddressListForCustomer data, response status code and response headers
241
- def get_customer_shipping_addresses_list_with_http_info(customer_token_id, opts = {})
247
+ def get_customer_shipping_addresses_list_with_http_info(customer_id, opts = {})
242
248
 
243
249
  if @api_client.config.debugging
244
250
  begin
@@ -248,16 +254,16 @@ module CyberSource
248
254
  puts 'Cannot write to log'
249
255
  end
250
256
  end
251
- # verify the required parameter 'customer_token_id' is set
252
- if @api_client.config.client_side_validation && customer_token_id.nil?
253
- fail ArgumentError, "Missing the required parameter 'customer_token_id' when calling CustomerShippingAddressApi.get_customer_shipping_addresses_list"
257
+ # verify the required parameter 'customer_id' is set
258
+ if @api_client.config.client_side_validation && customer_id.nil?
259
+ fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerShippingAddressApi.get_customer_shipping_addresses_list"
254
260
  end
255
- if @api_client.config.client_side_validation && customer_token_id.to_s.length > 32
256
- fail ArgumentError, 'invalid value for "customer_token_id" when calling CustomerShippingAddressApi.get_customer_shipping_addresses_list, the character length must be smaller than or equal to 32.'
261
+ if @api_client.config.client_side_validation && customer_id.to_s.length > 32
262
+ fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.get_customer_shipping_addresses_list, the character length must be smaller than or equal to 32.'
257
263
  end
258
264
 
259
- if @api_client.config.client_side_validation && customer_token_id.to_s.length < 1
260
- fail ArgumentError, 'invalid value for "customer_token_id" when calling CustomerShippingAddressApi.get_customer_shipping_addresses_list, the character length must be great than or equal to 1.'
265
+ if @api_client.config.client_side_validation && customer_id.to_s.length < 1
266
+ fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.get_customer_shipping_addresses_list, the character length must be great than or equal to 1.'
261
267
  end
262
268
 
263
269
  if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
@@ -281,7 +287,7 @@ module CyberSource
281
287
  end
282
288
 
283
289
  # resource path
284
- local_var_path = 'tms/v2/customers/{customerTokenId}/shipping-addresses'.sub('{' + 'customerTokenId' + '}', customer_token_id.to_s)
290
+ local_var_path = 'tms/v2/customers/{customerId}/shipping-addresses'.sub('{' + 'customerId' + '}', customer_id.to_s)
285
291
 
286
292
  # query parameters
287
293
  query_params = {}
@@ -324,27 +330,29 @@ module CyberSource
324
330
  return data, status_code, headers
325
331
  end
326
332
  # Update a Customer Shipping Address
327
- # @param customer_token_id The TokenId of a customer.
328
- # @param shipping_address_token_id The TokenId of an shipping address.
333
+ # | | | | | --- | --- | --- | |**Customer Shipping Address**<br>A Customer Shipping Address represents tokenized customer shipping information.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Updating a Customers Shipping Address**<br>Your system can use this API to update an existing Shipping Addresses for a Customer, including selecting a [default Shipping Address](#token-management_customer-shipping-address_update-a-customer-shipping-address_samplerequests-dropdown_make-customer-shipping-address-the-default_liveconsole-tab-request-body) for use in payments.
334
+ # @param customer_id The Id of a Customer.
335
+ # @param shipping_address_id The Id of a shipping address.
329
336
  # @param patch_customer_shipping_address_request
330
337
  # @param [Hash] opts the optional parameters
331
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
338
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
332
339
  # @option opts [String] :if_match Contains an ETag value from a GET request to make the request conditional.
333
340
  # @return [Tmsv2customersEmbeddedDefaultShippingAddress]
334
- def patch_customers_shipping_address(customer_token_id, shipping_address_token_id, patch_customer_shipping_address_request, opts = {})
335
- data, status_code, headers = patch_customers_shipping_address_with_http_info(customer_token_id, shipping_address_token_id, patch_customer_shipping_address_request, opts)
341
+ def patch_customers_shipping_address(customer_id, shipping_address_id, patch_customer_shipping_address_request, opts = {})
342
+ data, status_code, headers = patch_customers_shipping_address_with_http_info(customer_id, shipping_address_id, patch_customer_shipping_address_request, opts)
336
343
  return data, status_code, headers
337
344
  end
338
345
 
339
346
  # Update a Customer Shipping Address
340
- # @param customer_token_id The TokenId of a customer.
341
- # @param shipping_address_token_id The TokenId of an shipping address.
347
+ # | | | | | --- | --- | --- | |**Customer Shipping Address**&lt;br&gt;A Customer Shipping Address represents tokenized customer shipping information.&lt;br&gt;A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|**Updating a Customers Shipping Address**&lt;br&gt;Your system can use this API to update an existing Shipping Addresses for a Customer, including selecting a [default Shipping Address](#token-management_customer-shipping-address_update-a-customer-shipping-address_samplerequests-dropdown_make-customer-shipping-address-the-default_liveconsole-tab-request-body) for use in payments.
348
+ # @param customer_id The Id of a Customer.
349
+ # @param shipping_address_id The Id of a shipping address.
342
350
  # @param patch_customer_shipping_address_request
343
351
  # @param [Hash] opts the optional parameters
344
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
352
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
345
353
  # @option opts [String] :if_match Contains an ETag value from a GET request to make the request conditional.
346
354
  # @return [Array<(Tmsv2customersEmbeddedDefaultShippingAddress, Fixnum, Hash)>] Tmsv2customersEmbeddedDefaultShippingAddress data, response status code and response headers
347
- def patch_customers_shipping_address_with_http_info(customer_token_id, shipping_address_token_id, patch_customer_shipping_address_request, opts = {})
355
+ def patch_customers_shipping_address_with_http_info(customer_id, shipping_address_id, patch_customer_shipping_address_request, opts = {})
348
356
 
349
357
  if @api_client.config.debugging
350
358
  begin
@@ -354,28 +362,28 @@ module CyberSource
354
362
  puts 'Cannot write to log'
355
363
  end
356
364
  end
357
- # verify the required parameter 'customer_token_id' is set
358
- if @api_client.config.client_side_validation && customer_token_id.nil?
359
- fail ArgumentError, "Missing the required parameter 'customer_token_id' when calling CustomerShippingAddressApi.patch_customers_shipping_address"
365
+ # verify the required parameter 'customer_id' is set
366
+ if @api_client.config.client_side_validation && customer_id.nil?
367
+ fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerShippingAddressApi.patch_customers_shipping_address"
360
368
  end
361
- if @api_client.config.client_side_validation && customer_token_id.to_s.length > 32
362
- fail ArgumentError, 'invalid value for "customer_token_id" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be smaller than or equal to 32.'
369
+ if @api_client.config.client_side_validation && customer_id.to_s.length > 32
370
+ fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be smaller than or equal to 32.'
363
371
  end
364
372
 
365
- if @api_client.config.client_side_validation && customer_token_id.to_s.length < 1
366
- fail ArgumentError, 'invalid value for "customer_token_id" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be great than or equal to 1.'
373
+ if @api_client.config.client_side_validation && customer_id.to_s.length < 1
374
+ fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be great than or equal to 1.'
367
375
  end
368
376
 
369
- # verify the required parameter 'shipping_address_token_id' is set
370
- if @api_client.config.client_side_validation && shipping_address_token_id.nil?
371
- fail ArgumentError, "Missing the required parameter 'shipping_address_token_id' when calling CustomerShippingAddressApi.patch_customers_shipping_address"
377
+ # verify the required parameter 'shipping_address_id' is set
378
+ if @api_client.config.client_side_validation && shipping_address_id.nil?
379
+ fail ArgumentError, "Missing the required parameter 'shipping_address_id' when calling CustomerShippingAddressApi.patch_customers_shipping_address"
372
380
  end
373
- if @api_client.config.client_side_validation && shipping_address_token_id.to_s.length > 32
374
- fail ArgumentError, 'invalid value for "shipping_address_token_id" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be smaller than or equal to 32.'
381
+ if @api_client.config.client_side_validation && shipping_address_id.to_s.length > 32
382
+ fail ArgumentError, 'invalid value for "shipping_address_id" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be smaller than or equal to 32.'
375
383
  end
376
384
 
377
- if @api_client.config.client_side_validation && shipping_address_token_id.to_s.length < 1
378
- fail ArgumentError, 'invalid value for "shipping_address_token_id" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be great than or equal to 1.'
385
+ if @api_client.config.client_side_validation && shipping_address_id.to_s.length < 1
386
+ fail ArgumentError, 'invalid value for "shipping_address_id" when calling CustomerShippingAddressApi.patch_customers_shipping_address, the character length must be great than or equal to 1.'
379
387
  end
380
388
 
381
389
  # verify the required parameter 'patch_customer_shipping_address_request' is set
@@ -399,7 +407,7 @@ module CyberSource
399
407
  end
400
408
 
401
409
  # resource path
402
- local_var_path = 'tms/v2/customers/{customerTokenId}/shipping-addresses/{shippingAddressTokenId}'.sub('{' + 'customerTokenId' + '}', customer_token_id.to_s).sub('{' + 'shippingAddressTokenId' + '}', shipping_address_token_id.to_s)
410
+ local_var_path = 'tms/v2/customers/{customerId}/shipping-addresses/{shippingAddressId}'.sub('{' + 'customerId' + '}', customer_id.to_s).sub('{' + 'shippingAddressId' + '}', shipping_address_id.to_s)
403
411
 
404
412
  # query parameters
405
413
  query_params = {}
@@ -437,25 +445,25 @@ module CyberSource
437
445
  return data, status_code, headers
438
446
  end
439
447
  # Create a Customer Shipping Address
440
- # Include an existing TMS Customer token id in the request URI. * A Customer token can be created by calling: **POST */tms/v2/customers***
441
- # @param customer_token_id The TokenId of a customer.
448
+ # | | | | | --- | --- | --- | |**Customer Shipping Address**<br>A Customer Shipping Address represents tokenized customer shipping information.<br>A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|**Creating a Customer Shipping Address**<br>Your system can use this API to create an existing Customers default or non default Shipping Address.<br>You can also create additional Customer Shipping Addresses via the [Payments API](#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).
449
+ # @param customer_id The Id of a Customer.
442
450
  # @param post_customer_shipping_address_request
443
451
  # @param [Hash] opts the optional parameters
444
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
452
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
445
453
  # @return [Tmsv2customersEmbeddedDefaultShippingAddress]
446
- def post_customer_shipping_address(customer_token_id, post_customer_shipping_address_request, opts = {})
447
- data, status_code, headers = post_customer_shipping_address_with_http_info(customer_token_id, post_customer_shipping_address_request, opts)
454
+ def post_customer_shipping_address(customer_id, post_customer_shipping_address_request, opts = {})
455
+ data, status_code, headers = post_customer_shipping_address_with_http_info(customer_id, post_customer_shipping_address_request, opts)
448
456
  return data, status_code, headers
449
457
  end
450
458
 
451
459
  # Create a Customer Shipping Address
452
- # Include an existing TMS Customer token id in the request URI. * A Customer token can be created by calling: **POST */tms/v2/customers***
453
- # @param customer_token_id The TokenId of a customer.
460
+ # | | | | | --- | --- | --- | |**Customer Shipping Address**&lt;br&gt;A Customer Shipping Address represents tokenized customer shipping information.&lt;br&gt;A [Customer](#token-management_customer_create-a-customer) can have [one or more Shipping Addresses](#token-management_customer-shipping-address_list-shipping-addresses-for-a-customer), with one allocated as the Customers default for use in payments.|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|**Creating a Customer Shipping Address**&lt;br&gt;Your system can use this API to create an existing Customers default or non default Shipping Address.&lt;br&gt;You can also create additional Customer Shipping Addresses via the [Payments API](#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).
461
+ # @param customer_id The Id of a Customer.
454
462
  # @param post_customer_shipping_address_request
455
463
  # @param [Hash] opts the optional parameters
456
- # @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
464
+ # @option opts [String] :profile_id The Id of a profile containing user specific TMS configuration.
457
465
  # @return [Array<(Tmsv2customersEmbeddedDefaultShippingAddress, Fixnum, Hash)>] Tmsv2customersEmbeddedDefaultShippingAddress data, response status code and response headers
458
- def post_customer_shipping_address_with_http_info(customer_token_id, post_customer_shipping_address_request, opts = {})
466
+ def post_customer_shipping_address_with_http_info(customer_id, post_customer_shipping_address_request, opts = {})
459
467
 
460
468
  if @api_client.config.debugging
461
469
  begin
@@ -465,16 +473,16 @@ module CyberSource
465
473
  puts 'Cannot write to log'
466
474
  end
467
475
  end
468
- # verify the required parameter 'customer_token_id' is set
469
- if @api_client.config.client_side_validation && customer_token_id.nil?
470
- fail ArgumentError, "Missing the required parameter 'customer_token_id' when calling CustomerShippingAddressApi.post_customer_shipping_address"
476
+ # verify the required parameter 'customer_id' is set
477
+ if @api_client.config.client_side_validation && customer_id.nil?
478
+ fail ArgumentError, "Missing the required parameter 'customer_id' when calling CustomerShippingAddressApi.post_customer_shipping_address"
471
479
  end
472
- if @api_client.config.client_side_validation && customer_token_id.to_s.length > 32
473
- fail ArgumentError, 'invalid value for "customer_token_id" when calling CustomerShippingAddressApi.post_customer_shipping_address, the character length must be smaller than or equal to 32.'
480
+ if @api_client.config.client_side_validation && customer_id.to_s.length > 32
481
+ fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.post_customer_shipping_address, the character length must be smaller than or equal to 32.'
474
482
  end
475
483
 
476
- if @api_client.config.client_side_validation && customer_token_id.to_s.length < 1
477
- fail ArgumentError, 'invalid value for "customer_token_id" when calling CustomerShippingAddressApi.post_customer_shipping_address, the character length must be great than or equal to 1.'
484
+ if @api_client.config.client_side_validation && customer_id.to_s.length < 1
485
+ fail ArgumentError, 'invalid value for "customer_id" when calling CustomerShippingAddressApi.post_customer_shipping_address, the character length must be great than or equal to 1.'
478
486
  end
479
487
 
480
488
  # verify the required parameter 'post_customer_shipping_address_request' is set
@@ -490,7 +498,7 @@ module CyberSource
490
498
  end
491
499
 
492
500
  # resource path
493
- local_var_path = 'tms/v2/customers/{customerTokenId}/shipping-addresses'.sub('{' + 'customerTokenId' + '}', customer_token_id.to_s)
501
+ local_var_path = 'tms/v2/customers/{customerId}/shipping-addresses'.sub('{' + 'customerId' + '}', customer_id.to_s)
494
502
 
495
503
  # query parameters
496
504
  query_params = {}