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
@@ -44,12 +44,30 @@ module CyberSource
44
44
  # Raw Electronic Verification response code from the processor for the customer’s street address.
45
45
  attr_accessor :street_raw
46
46
 
47
- # Mapped Electronic Verification response code for the customer’s name.
47
+ # #### Visa Platform Connect Mapped Electronic Verification response code for the customer’s name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match
48
48
  attr_accessor :name
49
49
 
50
- # Raw Electronic Verification response code from the processor for the customer’s name.
50
+ # #### Visa Platform Connect Raw Electronic Verification response code from the processor for the customer’s name. Valid values : '01' Match '50' Partial Match '99' No Match
51
51
  attr_accessor :name_raw
52
52
 
53
+ # #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s first name. Valid values : '01' Match '50' Partial Match '99' No Match
54
+ attr_accessor :first_name_raw
55
+
56
+ # #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s first name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match
57
+ attr_accessor :first_name
58
+
59
+ # #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s middle name. Valid values : '01' Match '50' Partial Match '99' No Match
60
+ attr_accessor :middle_name_raw
61
+
62
+ # #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s middle name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match
63
+ attr_accessor :middle_name
64
+
65
+ # #### Visa Platform Connect Raw electronic verification response code from the processor for the customer’s last name. Valid values : '01' Match '50' Partial Match '99' No Match
66
+ attr_accessor :last_name_raw
67
+
68
+ # #### Visa Platform Connect Mapped electronic verification response code from the processor for the customer’s last name. Valid values : 'Y' Yes, the data Matches 'N' No Match 'O' Partial Match
69
+ attr_accessor :last_name
70
+
53
71
  # Attribute mapping from ruby-style variable name to JSON key.
54
72
  def self.attribute_map
55
73
  {
@@ -64,7 +82,13 @@ module CyberSource
64
82
  :'street' => :'street',
65
83
  :'street_raw' => :'streetRaw',
66
84
  :'name' => :'name',
67
- :'name_raw' => :'nameRaw'
85
+ :'name_raw' => :'nameRaw',
86
+ :'first_name_raw' => :'firstNameRaw',
87
+ :'first_name' => :'firstName',
88
+ :'middle_name_raw' => :'middleNameRaw',
89
+ :'middle_name' => :'middleName',
90
+ :'last_name_raw' => :'lastNameRaw',
91
+ :'last_name' => :'lastName'
68
92
  }
69
93
  end
70
94
 
@@ -82,7 +106,13 @@ module CyberSource
82
106
  :'street' => :'String',
83
107
  :'street_raw' => :'String',
84
108
  :'name' => :'String',
85
- :'name_raw' => :'String'
109
+ :'name_raw' => :'String',
110
+ :'first_name_raw' => :'String',
111
+ :'first_name' => :'String',
112
+ :'middle_name_raw' => :'String',
113
+ :'middle_name' => :'String',
114
+ :'last_name_raw' => :'String',
115
+ :'last_name' => :'String'
86
116
  }
87
117
  end
88
118
 
@@ -141,6 +171,30 @@ module CyberSource
141
171
  if attributes.has_key?(:'nameRaw')
142
172
  self.name_raw = attributes[:'nameRaw']
143
173
  end
174
+
175
+ if attributes.has_key?(:'firstNameRaw')
176
+ self.first_name_raw = attributes[:'firstNameRaw']
177
+ end
178
+
179
+ if attributes.has_key?(:'firstName')
180
+ self.first_name = attributes[:'firstName']
181
+ end
182
+
183
+ if attributes.has_key?(:'middleNameRaw')
184
+ self.middle_name_raw = attributes[:'middleNameRaw']
185
+ end
186
+
187
+ if attributes.has_key?(:'middleName')
188
+ self.middle_name = attributes[:'middleName']
189
+ end
190
+
191
+ if attributes.has_key?(:'lastNameRaw')
192
+ self.last_name_raw = attributes[:'lastNameRaw']
193
+ end
194
+
195
+ if attributes.has_key?(:'lastName')
196
+ self.last_name = attributes[:'lastName']
197
+ end
144
198
  end
145
199
 
146
200
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -228,6 +282,42 @@ module CyberSource
228
282
  @name_raw = name_raw
229
283
  end
230
284
 
285
+ # Custom attribute writer method with validation
286
+ # @param [Object] first_name_raw Value to be assigned
287
+ def first_name_raw=(first_name_raw)
288
+ @first_name_raw = first_name_raw
289
+ end
290
+
291
+ # Custom attribute writer method with validation
292
+ # @param [Object] first_name Value to be assigned
293
+ def first_name=(first_name)
294
+ @first_name = first_name
295
+ end
296
+
297
+ # Custom attribute writer method with validation
298
+ # @param [Object] middle_name_raw Value to be assigned
299
+ def middle_name_raw=(middle_name_raw)
300
+ @middle_name_raw = middle_name_raw
301
+ end
302
+
303
+ # Custom attribute writer method with validation
304
+ # @param [Object] middle_name Value to be assigned
305
+ def middle_name=(middle_name)
306
+ @middle_name = middle_name
307
+ end
308
+
309
+ # Custom attribute writer method with validation
310
+ # @param [Object] last_name_raw Value to be assigned
311
+ def last_name_raw=(last_name_raw)
312
+ @last_name_raw = last_name_raw
313
+ end
314
+
315
+ # Custom attribute writer method with validation
316
+ # @param [Object] last_name Value to be assigned
317
+ def last_name=(last_name)
318
+ @last_name = last_name
319
+ end
320
+
231
321
  # Checks equality by comparing each attribute.
232
322
  # @param [Object] Object to be compared
233
323
  def ==(o)
@@ -244,7 +334,13 @@ module CyberSource
244
334
  street == o.street &&
245
335
  street_raw == o.street_raw &&
246
336
  name == o.name &&
247
- name_raw == o.name_raw
337
+ name_raw == o.name_raw &&
338
+ first_name_raw == o.first_name_raw &&
339
+ first_name == o.first_name &&
340
+ middle_name_raw == o.middle_name_raw &&
341
+ middle_name == o.middle_name &&
342
+ last_name_raw == o.last_name_raw &&
343
+ last_name == o.last_name
248
344
  end
249
345
 
250
346
  # @see the `==` method
@@ -256,7 +352,7 @@ module CyberSource
256
352
  # Calculates hash code according to all attributes.
257
353
  # @return [Fixnum] Hash code
258
354
  def hash
259
- [code, code_raw, email, email_raw, phone_number, phone_number_raw, postal_code, postal_code_raw, street, street_raw, name, name_raw].hash
355
+ [code, code_raw, email, email_raw, phone_number, phone_number_raw, postal_code, postal_code_raw, street, street_raw, name, name_raw, first_name_raw, first_name, middle_name_raw, middle_name, last_name_raw, last_name].hash
260
356
  end
261
357
 
262
358
  # Builds the object from hash
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformation
16
+ class PtsV2PaymentsPost201ResponseWatchlistScreeningInformation
17
17
  # Likelihood that the country associated with the customer’s IP address was identified correctly. Returns a value from 1–100, where 100 indicates the highest likelihood. If the country cannot be determined, the value is –1.
18
18
  attr_accessor :ip_country_confidence
19
19
 
@@ -36,7 +36,7 @@ module CyberSource
36
36
  {
37
37
  :'ip_country_confidence' => :'Integer',
38
38
  :'info_codes' => :'Array<String>',
39
- :'watch_list' => :'RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList'
39
+ :'watch_list' => :'PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList'
40
40
  }
41
41
  end
42
42
 
@@ -67,36 +67,18 @@ module CyberSource
67
67
  # @return Array for valid properties with the reasons
68
68
  def list_invalid_properties
69
69
  invalid_properties = Array.new
70
- if !@ip_country_confidence.nil? && @ip_country_confidence > 100
71
- invalid_properties.push('invalid value for "ip_country_confidence", must be smaller than or equal to 100.')
72
- end
73
-
74
- if !@ip_country_confidence.nil? && @ip_country_confidence < -1
75
- invalid_properties.push('invalid value for "ip_country_confidence", must be greater than or equal to -1.')
76
- end
77
-
78
70
  invalid_properties
79
71
  end
80
72
 
81
73
  # Check to see if the all the properties in the model are valid
82
74
  # @return true if the model is valid
83
75
  def valid?
84
- return false if !@ip_country_confidence.nil? && @ip_country_confidence > 100
85
- return false if !@ip_country_confidence.nil? && @ip_country_confidence < -1
86
76
  true
87
77
  end
88
78
 
89
79
  # Custom attribute writer method with validation
90
80
  # @param [Object] ip_country_confidence Value to be assigned
91
81
  def ip_country_confidence=(ip_country_confidence)
92
- if !ip_country_confidence.nil? && ip_country_confidence > 100
93
- fail ArgumentError, 'invalid value for "ip_country_confidence", must be smaller than or equal to 100.'
94
- end
95
-
96
- if !ip_country_confidence.nil? && ip_country_confidence < -1
97
- fail ArgumentError, 'invalid value for "ip_country_confidence", must be greater than or equal to -1.'
98
- end
99
-
100
82
  @ip_country_confidence = ip_country_confidence
101
83
  end
102
84
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchList
16
+ class PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchList
17
17
  attr_accessor :matches
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -26,7 +26,7 @@ module CyberSource
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'matches' => :'Array<RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches>'
29
+ :'matches' => :'Array<PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches>'
30
30
  }
31
31
  end
32
32
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class RiskV1ExportComplianceInquiriesPost201ResponseExportComplianceInformationWatchListMatches
16
+ class PtsV2PaymentsPost201ResponseWatchlistScreeningInformationWatchListMatches
17
17
  # Address found on the list specified in export_matchN_list for the entity (name and address) in the request.
18
18
  attr_accessor :addresses
19
19
 
@@ -20,7 +20,7 @@ module CyberSource
20
20
  # The status of the submitted transaction. Possible values: - INVALID_REQUEST
21
21
  attr_accessor :status
22
22
 
23
- # The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_AMOUNT - INVALID_CARD_TYPE - INVALID_PAYMENT_ID
23
+ # The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_AMOUNT - INVALID_CARD_TYPE - INVALID_PAYMENT_ID - NOT_SUPPORTED
24
24
  attr_accessor :reason
25
25
 
26
26
  # The detail message related to the status and reason listed above.
@@ -20,7 +20,7 @@ module CyberSource
20
20
  # The status of the submitted transaction. Possible values: - INVALID_REQUEST
21
21
  attr_accessor :status
22
22
 
23
- # The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - INVALID_MERCHANT_CONFIGURATION - INVALID_AMOUNT - CAPTURE_ALREADY_VOIDED - ACCOUNT_NOT_ALLOWED_CREDIT
23
+ # The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - INVALID_MERCHANT_CONFIGURATION - INVALID_AMOUNT - CAPTURE_ALREADY_VOIDED - ACCOUNT_NOT_ALLOWED_CREDIT - NOT_SUPPORTED
24
24
  attr_accessor :reason
25
25
 
26
26
  # The detail message related to the status and reason listed above.
@@ -20,7 +20,7 @@ module CyberSource
20
20
  # The status of the submitted transaction. Possible values: - INVALID_REQUEST
21
21
  attr_accessor :status
22
22
 
23
- # The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - AUTH_ALREADY_REVERSED - TRANSACTION_ALREADY_SETTLED - INVALID_AMOUNT - MISSING_AUTH - TRANSACTION_ALREADY_REVERSED_OR_SETTLED
23
+ # The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - AUTH_ALREADY_REVERSED - TRANSACTION_ALREADY_SETTLED - INVALID_AMOUNT - MISSING_AUTH - TRANSACTION_ALREADY_REVERSED_OR_SETTLED - NOT_SUPPORTED
24
24
  attr_accessor :reason
25
25
 
26
26
  # The detail message related to the status and reason listed above.
@@ -20,7 +20,7 @@ module CyberSource
20
20
  # The status of the submitted transaction. Possible values: - INVALID_REQUEST
21
21
  attr_accessor :status
22
22
 
23
- # The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION - NOT_VOIDABLE
23
+ # The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION - NOT_VOIDABLE - NOT_SUPPORTED
24
24
  attr_accessor :reason
25
25
 
26
26
  # The detail message related to the status and reason listed above.
@@ -174,22 +174,12 @@ module CyberSource
174
174
  # @return Array for valid properties with the reasons
175
175
  def list_invalid_properties
176
176
  invalid_properties = Array.new
177
- if !@sequence.nil? && @sequence > 99
178
- invalid_properties.push('invalid value for "sequence", must be smaller than or equal to 99.')
179
- end
180
-
181
- if !@total_count.nil? && @total_count > 99
182
- invalid_properties.push('invalid value for "total_count", must be smaller than or equal to 99.')
183
- end
184
-
185
177
  invalid_properties
186
178
  end
187
179
 
188
180
  # Check to see if the all the properties in the model are valid
189
181
  # @return true if the model is valid
190
182
  def valid?
191
- return false if !@sequence.nil? && @sequence > 99
192
- return false if !@total_count.nil? && @total_count > 99
193
183
  true
194
184
  end
195
185
 
@@ -214,10 +204,6 @@ module CyberSource
214
204
  # Custom attribute writer method with validation
215
205
  # @param [Object] sequence Value to be assigned
216
206
  def sequence=(sequence)
217
- if !sequence.nil? && sequence > 99
218
- fail ArgumentError, 'invalid value for "sequence", must be smaller than or equal to 99.'
219
- end
220
-
221
207
  @sequence = sequence
222
208
  end
223
209
 
@@ -230,10 +216,6 @@ module CyberSource
230
216
  # Custom attribute writer method with validation
231
217
  # @param [Object] total_count Value to be assigned
232
218
  def total_count=(total_count)
233
- if !total_count.nil? && total_count > 99
234
- fail ArgumentError, 'invalid value for "total_count", must be smaller than or equal to 99.'
235
- end
236
-
237
219
  @total_count = total_count
238
220
  end
239
221
 
@@ -54,6 +54,11 @@ module CyberSource
54
54
  # URL for displaying payment results to the consumer (notifications) after the transaction is processed. Usually this URL belongs to merchant and its behavior is defined by merchant
55
55
  attr_accessor :return_url
56
56
 
57
+ # #### Visa Platform Connect This field may be used for transactions on accounts issued under co-branding agreements when one of the co-branding partners.
58
+ attr_accessor :partner_id_code
59
+
60
+ attr_accessor :service_location
61
+
57
62
  # Use this field only if you are requesting payment with Payer Authentication service together. Your company’s name as you want it to appear to the customer in the issuing bank’s authentication form. This value overrides the value specified by your merchant bank.
58
63
  attr_accessor :merchant_name
59
64
 
@@ -74,6 +79,8 @@ module CyberSource
74
79
  :'success_url' => :'successUrl',
75
80
  :'failure_url' => :'failureUrl',
76
81
  :'return_url' => :'returnUrl',
82
+ :'partner_id_code' => :'partnerIdCode',
83
+ :'service_location' => :'serviceLocation',
77
84
  :'merchant_name' => :'merchantName'
78
85
  }
79
86
  end
@@ -95,6 +102,8 @@ module CyberSource
95
102
  :'success_url' => :'String',
96
103
  :'failure_url' => :'String',
97
104
  :'return_url' => :'String',
105
+ :'partner_id_code' => :'String',
106
+ :'service_location' => :'Ptsv2paymentsMerchantInformationServiceLocation',
98
107
  :'merchant_name' => :'String'
99
108
  }
100
109
  end
@@ -163,6 +172,14 @@ module CyberSource
163
172
  self.return_url = attributes[:'returnUrl']
164
173
  end
165
174
 
175
+ if attributes.has_key?(:'partnerIdCode')
176
+ self.partner_id_code = attributes[:'partnerIdCode']
177
+ end
178
+
179
+ if attributes.has_key?(:'serviceLocation')
180
+ self.service_location = attributes[:'serviceLocation']
181
+ end
182
+
166
183
  if attributes.has_key?(:'merchantName')
167
184
  self.merchant_name = attributes[:'merchantName']
168
185
  end
@@ -172,22 +189,12 @@ module CyberSource
172
189
  # @return Array for valid properties with the reasons
173
190
  def list_invalid_properties
174
191
  invalid_properties = Array.new
175
- if !@category_code.nil? && @category_code > 9999
176
- invalid_properties.push('invalid value for "category_code", must be smaller than or equal to 9999.')
177
- end
178
-
179
- if !@category_code_domestic.nil? && @category_code_domestic > 9999
180
- invalid_properties.push('invalid value for "category_code_domestic", must be smaller than or equal to 9999.')
181
- end
182
-
183
192
  invalid_properties
184
193
  end
185
194
 
186
195
  # Check to see if the all the properties in the model are valid
187
196
  # @return true if the model is valid
188
197
  def valid?
189
- return false if !@category_code.nil? && @category_code > 9999
190
- return false if !@category_code_domestic.nil? && @category_code_domestic > 9999
191
198
  true
192
199
  end
193
200
 
@@ -206,20 +213,12 @@ module CyberSource
206
213
  # Custom attribute writer method with validation
207
214
  # @param [Object] category_code Value to be assigned
208
215
  def category_code=(category_code)
209
- if !category_code.nil? && category_code > 9999
210
- fail ArgumentError, 'invalid value for "category_code", must be smaller than or equal to 9999.'
211
- end
212
-
213
216
  @category_code = category_code
214
217
  end
215
218
 
216
219
  # Custom attribute writer method with validation
217
220
  # @param [Object] category_code_domestic Value to be assigned
218
221
  def category_code_domestic=(category_code_domestic)
219
- if !category_code_domestic.nil? && category_code_domestic > 9999
220
- fail ArgumentError, 'invalid value for "category_code_domestic", must be smaller than or equal to 9999.'
221
- end
222
-
223
222
  @category_code_domestic = category_code_domestic
224
223
  end
225
224
 
@@ -271,6 +270,12 @@ module CyberSource
271
270
  @return_url = return_url
272
271
  end
273
272
 
273
+ # Custom attribute writer method with validation
274
+ # @param [Object] partner_id_code Value to be assigned
275
+ def partner_id_code=(partner_id_code)
276
+ @partner_id_code = partner_id_code
277
+ end
278
+
274
279
  # Custom attribute writer method with validation
275
280
  # @param [Object] merchant_name Value to be assigned
276
281
  def merchant_name=(merchant_name)
@@ -296,6 +301,8 @@ module CyberSource
296
301
  success_url == o.success_url &&
297
302
  failure_url == o.failure_url &&
298
303
  return_url == o.return_url &&
304
+ partner_id_code == o.partner_id_code &&
305
+ service_location == o.service_location &&
299
306
  merchant_name == o.merchant_name
300
307
  end
301
308
 
@@ -308,7 +315,7 @@ module CyberSource
308
315
  # Calculates hash code according to all attributes.
309
316
  # @return [Fixnum] Hash code
310
317
  def hash
311
- [merchant_descriptor, domain_name, sales_organization_id, category_code, category_code_domestic, tax_id, vat_registration_number, card_acceptor_reference_number, transaction_local_date_time, service_fee_descriptor, cancel_url, success_url, failure_url, return_url, merchant_name].hash
318
+ [merchant_descriptor, domain_name, sales_organization_id, category_code, category_code_domestic, tax_id, vat_registration_number, card_acceptor_reference_number, transaction_local_date_time, service_fee_descriptor, cancel_url, success_url, failure_url, return_url, partner_id_code, service_location, merchant_name].hash
312
319
  end
313
320
 
314
321
  # Builds the object from hash
@@ -47,6 +47,9 @@ module CyberSource
47
47
  # #### Visa Platform Connect This field will indicate merchant country of origin
48
48
  attr_accessor :country_of_origin
49
49
 
50
+ # #### Visa Platform Connect Indicates customer service phone number of Merchant.
51
+ attr_accessor :customer_service_phone_number
52
+
50
53
  # Attribute mapping from ruby-style variable name to JSON key.
51
54
  def self.attribute_map
52
55
  {
@@ -60,7 +63,8 @@ module CyberSource
60
63
  :'administrative_area' => :'administrativeArea',
61
64
  :'phone' => :'phone',
62
65
  :'url' => :'url',
63
- :'country_of_origin' => :'countryOfOrigin'
66
+ :'country_of_origin' => :'countryOfOrigin',
67
+ :'customer_service_phone_number' => :'customerServicePhoneNumber'
64
68
  }
65
69
  end
66
70
 
@@ -77,7 +81,8 @@ module CyberSource
77
81
  :'administrative_area' => :'String',
78
82
  :'phone' => :'String',
79
83
  :'url' => :'String',
80
- :'country_of_origin' => :'String'
84
+ :'country_of_origin' => :'String',
85
+ :'customer_service_phone_number' => :'String'
81
86
  }
82
87
  end
83
88
 
@@ -132,6 +137,10 @@ module CyberSource
132
137
  if attributes.has_key?(:'countryOfOrigin')
133
138
  self.country_of_origin = attributes[:'countryOfOrigin']
134
139
  end
140
+
141
+ if attributes.has_key?(:'customerServicePhoneNumber')
142
+ self.customer_service_phone_number = attributes[:'customerServicePhoneNumber']
143
+ end
135
144
  end
136
145
 
137
146
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -201,6 +210,12 @@ module CyberSource
201
210
  @country_of_origin = country_of_origin
202
211
  end
203
212
 
213
+ # Custom attribute writer method with validation
214
+ # @param [Object] customer_service_phone_number Value to be assigned
215
+ def customer_service_phone_number=(customer_service_phone_number)
216
+ @customer_service_phone_number = customer_service_phone_number
217
+ end
218
+
204
219
  # Checks equality by comparing each attribute.
205
220
  # @param [Object] Object to be compared
206
221
  def ==(o)
@@ -216,7 +231,8 @@ module CyberSource
216
231
  administrative_area == o.administrative_area &&
217
232
  phone == o.phone &&
218
233
  url == o.url &&
219
- country_of_origin == o.country_of_origin
234
+ country_of_origin == o.country_of_origin &&
235
+ customer_service_phone_number == o.customer_service_phone_number
220
236
  end
221
237
 
222
238
  # @see the `==` method
@@ -228,7 +244,7 @@ module CyberSource
228
244
  # Calculates hash code according to all attributes.
229
245
  # @return [Fixnum] Hash code
230
246
  def hash
231
- [name, alternate_name, contact, address1, locality, country, postal_code, administrative_area, phone, url, country_of_origin].hash
247
+ [name, alternate_name, contact, address1, locality, country, postal_code, administrative_area, phone, url, country_of_origin, customer_service_phone_number].hash
232
248
  end
233
249
 
234
250
  # Builds the object from hash