cybersource_rest_client 0.0.86 → 0.0.88

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 (285) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/util/CertificateUtility.rb +14 -6
  3. data/lib/cybersource_rest_client/api/acp_checkout_api.rb +553 -0
  4. data/lib/cybersource_rest_client/api/agent_registration_api.rb +721 -0
  5. data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +0 -1
  6. data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
  7. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
  8. data/lib/cybersource_rest_client/api/enrollment_api.rb +104 -0
  9. data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +3 -3
  10. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +9 -9
  11. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
  12. data/lib/cybersource_rest_client/api/{merchant_capabilities_api.rb → merchant_registration_api.rb} +47 -391
  13. data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
  14. data/lib/cybersource_rest_client/api/payment_events_api.rb +197 -0
  15. data/lib/cybersource_rest_client/api/product_feed_api.rb +365 -0
  16. data/lib/cybersource_rest_client/api/purchase_intent_api.rb +278 -0
  17. data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -2
  18. data/lib/cybersource_rest_client/api/transaction_details_api.rb +1 -1
  19. data/lib/cybersource_rest_client/api/transaction_query_api.rb +3 -3
  20. data/lib/cybersource_rest_client/api/ucp_checkout_api.rb +453 -0
  21. data/lib/cybersource_rest_client/api/visa_protect_risk_insights_api.rb +104 -0
  22. data/lib/cybersource_rest_client/models/activate_merchant_key_response200.rb +1 -1
  23. data/lib/cybersource_rest_client/models/add_agent_key_response201.rb +11 -11
  24. data/lib/cybersource_rest_client/models/agent_registration_response201.rb +13 -15
  25. data/lib/cybersource_rest_client/models/agent_registration_response201_keys.rb +8 -8
  26. data/lib/cybersource_rest_client/models/agent_request.rb +9 -11
  27. data/lib/cybersource_rest_client/models/agent_update.rb +7 -9
  28. data/lib/cybersource_rest_client/models/auth_reversal_request.rb +1 -1
  29. data/lib/cybersource_rest_client/models/boarding_payouts_configurations.rb +1 -1
  30. data/lib/cybersource_rest_client/models/boarding_payouts_configurations_acquirer.rb +216 -0
  31. data/lib/cybersource_rest_client/models/boarding_payouts_configurations_merchant_descriptor.rb +205 -0
  32. data/lib/cybersource_rest_client/models/boarding_payouts_configurations_processors.rb +581 -0
  33. data/lib/cybersource_rest_client/models/capture_payment_request.rb +1 -1
  34. data/lib/cybersource_rest_client/models/create_order_request.rb +11 -1
  35. data/lib/cybersource_rest_client/models/create_payment_request.rb +14 -1
  36. data/lib/cybersource_rest_client/models/create_session_req.rb +14 -1
  37. data/lib/cybersource_rest_client/models/create_session_request.rb +14 -1
  38. data/lib/cybersource_rest_client/models/iccv1agents_keys.rb +4 -4
  39. data/lib/cybersource_rest_client/models/iccv1merchants_api_integrations.rb +2 -2
  40. data/lib/cybersource_rest_client/models/iccv1merchants_encryption_key.rb +6 -6
  41. data/lib/cybersource_rest_client/models/iccv1merchants_protocol_interactions.rb +1 -1
  42. data/lib/cybersource_rest_client/models/iccv1merchants_web_integrations.rb +2 -2
  43. data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
  44. data/lib/cybersource_rest_client/models/inline_response_200_17.rb +60 -5
  45. data/lib/cybersource_rest_client/models/inline_response_200_18.rb +45 -5
  46. data/lib/cybersource_rest_client/models/inline_response_200_19.rb +30 -107
  47. data/lib/cybersource_rest_client/models/inline_response_200_19_processing.rb +213 -0
  48. data/lib/cybersource_rest_client/models/inline_response_200_19_syndication.rb +224 -0
  49. data/lib/cybersource_rest_client/models/inline_response_200_20_products.rb +80 -682
  50. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +1 -1
  51. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +1 -1
  52. data/lib/cybersource_rest_client/models/inline_response_201_10.rb +18 -93
  53. data/lib/cybersource_rest_client/models/inline_response_201_11.rb +103 -8
  54. data/lib/cybersource_rest_client/models/{inline_response_201_12_client_reference_information.rb → inline_response_201_11_client_reference_information.rb} +1 -1
  55. data/lib/cybersource_rest_client/models/{inline_response_201_12_error_information.rb → inline_response_201_11_error_information.rb} +1 -1
  56. data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information.rb → inline_response_201_11_order_information.rb} +2 -2
  57. data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information_currency_conversion.rb → inline_response_201_11_order_information_currency_conversion.rb} +2 -2
  58. data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information_currency_conversion_offer.rb → inline_response_201_11_order_information_currency_conversion_offer.rb} +1 -1
  59. data/lib/cybersource_rest_client/models/{inline_response_201_12_processor_information.rb → inline_response_201_11_processor_information.rb} +1 -1
  60. data/lib/cybersource_rest_client/models/inline_response_201_12.rb +141 -80
  61. data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_address.rb → inline_response_201_12_fulfillment_address.rb} +1 -1
  62. data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_options.rb → inline_response_201_12_fulfillment_options.rb} +31 -1
  63. data/lib/cybersource_rest_client/models/{inline_response_201_14_item.rb → inline_response_201_12_item.rb} +20 -20
  64. data/lib/cybersource_rest_client/models/inline_response_201_12_line_items.rb +256 -0
  65. data/lib/cybersource_rest_client/models/{inline_response_201_13_links.rb → inline_response_201_12_links.rb} +1 -1
  66. data/lib/cybersource_rest_client/models/{inline_response_201_13_messages.rb → inline_response_201_12_messages.rb} +1 -1
  67. data/lib/cybersource_rest_client/models/{inline_response_201_13_payment_provider.rb → inline_response_201_12_payment_provider.rb} +1 -1
  68. data/lib/cybersource_rest_client/models/{inline_response_201_13_totals.rb → inline_response_201_12_totals.rb} +16 -1
  69. data/lib/cybersource_rest_client/models/inline_response_201_13.rb +61 -67
  70. data/lib/cybersource_rest_client/models/{inline_response_201_14_discounts.rb → inline_response_201_13_discounts.rb} +1 -1
  71. data/lib/cybersource_rest_client/models/{inline_response_201_14_fulfillment.rb → inline_response_201_13_fulfillment.rb} +1 -1
  72. data/lib/cybersource_rest_client/models/inline_response_201_13_item.rb +19 -19
  73. data/lib/cybersource_rest_client/models/inline_response_201_13_line_items.rb +20 -51
  74. data/lib/cybersource_rest_client/models/{inline_response_201_14_order.rb → inline_response_201_13_order.rb} +1 -1
  75. data/lib/cybersource_rest_client/models/{inline_response_201_14_payment.rb → inline_response_201_13_payment.rb} +1 -1
  76. data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp.rb → inline_response_201_13_ucp.rb} +2 -2
  77. data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp_capabilities.rb → inline_response_201_13_ucp_capabilities.rb} +1 -1
  78. data/lib/cybersource_rest_client/models/inline_response_201_3.rb +82 -39
  79. data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information.rb → inline_response_201_3_error_information.rb} +3 -3
  80. data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information_details.rb → inline_response_201_3_error_information_details.rb} +2 -2
  81. data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information.rb → inline_response_201_3_order_information.rb} +2 -2
  82. data/lib/cybersource_rest_client/models/inline_response_201_3_order_information_amount_details.rb +315 -0
  83. data/lib/cybersource_rest_client/models/inline_response_201_3_processing_information.rb +189 -0
  84. data/lib/cybersource_rest_client/models/{inline_response_201_4_processing_information_routing.rb → inline_response_201_3_processing_information_routing.rb} +1 -1
  85. data/lib/cybersource_rest_client/models/inline_response_201_3_processor_information.rb +213 -0
  86. data/lib/cybersource_rest_client/models/inline_response_201_4.rb +41 -30
  87. data/lib/cybersource_rest_client/models/{inline_response_201_5__links.rb → inline_response_201_4__links.rb} +2 -2
  88. data/lib/cybersource_rest_client/models/{inline_response_201_5__links_self.rb → inline_response_201_4__links_self.rb} +1 -1
  89. data/lib/cybersource_rest_client/models/{inline_response_201_5_acquirer_information.rb → inline_response_201_4_acquirer_information.rb} +1 -1
  90. data/lib/cybersource_rest_client/models/{inline_response_201_5_client_reference_information.rb → inline_response_201_4_client_reference_information.rb} +1 -1
  91. data/lib/cybersource_rest_client/models/inline_response_201_4_error_information.rb +1 -1
  92. data/lib/cybersource_rest_client/models/inline_response_201_4_error_information_details.rb +1 -1
  93. data/lib/cybersource_rest_client/models/{inline_response_201_5_merchant_information.rb → inline_response_201_4_merchant_information.rb} +1 -1
  94. data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +46 -97
  95. data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information.rb → inline_response_201_4_payment_information.rb} +2 -2
  96. data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information_card.rb → inline_response_201_4_payment_information_card.rb} +1 -1
  97. data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +59 -8
  98. data/lib/cybersource_rest_client/models/{inline_response_201_5_processing_information_payouts_options.rb → inline_response_201_4_processing_information_payouts_options.rb} +1 -1
  99. data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +342 -7
  100. data/lib/cybersource_rest_client/models/{inline_response_201_5_processor_information_card_verification.rb → inline_response_201_4_processor_information_card_verification.rb} +1 -1
  101. data/lib/cybersource_rest_client/models/{inline_response_201_5_transactions.rb → inline_response_201_4_transactions.rb} +7 -7
  102. data/lib/cybersource_rest_client/models/inline_response_201_5.rb +35 -68
  103. data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information.rb → inline_response_201_5_payout_information.rb} +3 -3
  104. data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information_pull_funds.rb → inline_response_201_5_payout_information_pull_funds.rb} +1 -1
  105. data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information_push_funds.rb → inline_response_201_5_payout_information_push_funds.rb} +1 -1
  106. data/lib/cybersource_rest_client/models/inline_response_201_6.rb +59 -26
  107. data/lib/cybersource_rest_client/models/{inline_response_201_7_integration_information.rb → inline_response_201_6_integration_information.rb} +2 -2
  108. data/lib/cybersource_rest_client/models/{inline_response_201_7_integration_information_tenant_configurations.rb → inline_response_201_6_integration_information_tenant_configurations.rb} +1 -1
  109. data/lib/cybersource_rest_client/models/{inline_response_201_7_organization_information.rb → inline_response_201_6_organization_information.rb} +1 -1
  110. data/lib/cybersource_rest_client/models/{inline_response_201_7_product_information_setups.rb → inline_response_201_6_product_information_setups.rb} +2 -2
  111. data/lib/cybersource_rest_client/models/{inline_response_201_7_registration_information.rb → inline_response_201_6_registration_information.rb} +1 -1
  112. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups.rb → inline_response_201_6_setups.rb} +4 -4
  113. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_commerce_solutions.rb → inline_response_201_6_setups_commerce_solutions.rb} +1 -1
  114. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_risk.rb → inline_response_201_6_setups_risk.rb} +16 -6
  115. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_value_added_services.rb → inline_response_201_6_setups_value_added_services.rb} +16 -6
  116. data/lib/cybersource_rest_client/models/inline_response_201_7.rb +19 -78
  117. data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information.rb → inline_response_201_7_key_information.rb} +2 -2
  118. data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information_error_information.rb → inline_response_201_7_key_information_error_information.rb} +2 -2
  119. data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information_error_information_details.rb → inline_response_201_7_key_information_error_information_details.rb} +1 -1
  120. data/lib/cybersource_rest_client/models/inline_response_201_8.rb +117 -25
  121. data/lib/cybersource_rest_client/models/inline_response_201_9.rb +68 -105
  122. data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads.rb → inline_response_201_9_payloads.rb} +2 -2
  123. data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads_test_payload.rb → inline_response_201_9_payloads_test_payload.rb} +1 -1
  124. data/lib/cybersource_rest_client/models/inline_response_202_1.rb +191 -0
  125. data/lib/cybersource_rest_client/models/inline_response_400_3.rb +1 -1
  126. data/lib/cybersource_rest_client/models/inline_response_400_4.rb +1 -1
  127. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_merchant_defined_field_values_with_definition.rb +11 -1
  128. data/lib/cybersource_rest_client/models/key_request.rb +4 -4
  129. data/lib/cybersource_rest_client/models/key_request_1.rb +5 -5
  130. data/lib/cybersource_rest_client/models/key_update.rb +5 -5
  131. data/lib/cybersource_rest_client/models/key_update_1.rb +5 -5
  132. data/lib/cybersource_rest_client/models/list_agent_keys_response200.rb +2 -2
  133. data/lib/cybersource_rest_client/models/merchant_registration_response201.rb +10 -10
  134. data/lib/cybersource_rest_client/models/merchant_registration_response201_api_integrations.rb +225 -0
  135. data/lib/cybersource_rest_client/models/merchant_registration_response201_keys.rb +1 -1
  136. data/lib/cybersource_rest_client/models/merchant_registration_response201_web_integrations.rb +225 -0
  137. data/lib/cybersource_rest_client/models/merchant_request.rb +7 -7
  138. data/lib/cybersource_rest_client/models/merchant_update.rb +7 -7
  139. data/lib/cybersource_rest_client/models/mit_reversal_request.rb +1 -1
  140. data/lib/cybersource_rest_client/models/mit_void_request.rb +15 -5
  141. data/lib/cybersource_rest_client/models/payments_configuration_setup.rb +11 -1
  142. data/lib/cybersource_rest_client/models/payments_products.rb +11 -1
  143. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +12 -1
  144. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1.rb +12 -1
  145. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information.rb +44 -1
  146. data/lib/cybersource_rest_client/models/{pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb → pts_v2_payments_post201_response_1_order_information_merchant_descriptor.rb} +1 -1
  147. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +18 -1
  148. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +101 -5
  149. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_ship_to.rb +12 -1
  150. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +22 -5
  151. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +22 -5
  152. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +22 -5
  153. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +1 -1
  154. data/lib/cybersource_rest_client/models/{ptsv2paymentsidreversals_point_of_sale_information.rb → pts_v2_payments_reversals_post201_response_point_of_sale_information.rb} +2 -2
  155. data/lib/cybersource_rest_client/models/{ptsv2paymentsidreversals_point_of_sale_information_emv.rb → pts_v2_payments_reversals_post201_response_point_of_sale_information_emv.rb} +1 -1
  156. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +22 -5
  157. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information.rb +1 -1
  158. data/lib/cybersource_rest_client/models/ptsv2intents_buyer_information.rb +196 -0
  159. data/lib/cybersource_rest_client/models/ptsv2intents_merchant_information_merchant_descriptor.rb +18 -1
  160. data/lib/cybersource_rest_client/models/ptsv2intents_order_information_bill_to.rb +154 -1
  161. data/lib/cybersource_rest_client/models/ptsv2intents_order_information_line_items.rb +16 -5
  162. data/lib/cybersource_rest_client/models/ptsv2intentsid_merchant_information.rb +1 -1
  163. data/lib/cybersource_rest_client/models/ptsv2intentsid_merchant_information_merchant_descriptor.rb +207 -0
  164. data/lib/cybersource_rest_client/models/ptsv2payments_buyer.rb +247 -0
  165. data/lib/cybersource_rest_client/models/{inline_response_201_3_results_risk_insights.rb → ptsv2payments_order_history.rb} +39 -36
  166. data/lib/cybersource_rest_client/models/ptsv2payments_ship_to.rb +281 -0
  167. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb +1 -1
  168. data/lib/cybersource_rest_client/models/{ptsv2paymentsidcaptures_point_of_sale_information_emv.rb → ptsv2paymentsidrefunds_point_of_sale_information_emv.rb} +1 -1
  169. data/lib/cybersource_rest_client/models/risk_products.rb +15 -5
  170. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +1 -1
  171. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +1 -1
  172. data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +16 -5
  173. data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +11 -1
  174. data/lib/cybersource_rest_client/models/ucv1sessions_data_acquirer_information.rb +196 -0
  175. data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +1 -1
  176. data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +16 -5
  177. data/lib/cybersource_rest_client/models/{inline_response_201_14_line_items.rb → unified_risk_post201_response.rb} +28 -42
  178. data/lib/cybersource_rest_client/models/{inline_response_201_3_results.rb → unified_risk_post201_response_results.rb} +3 -3
  179. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights.rb +291 -0
  180. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_client.rb +208 -0
  181. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_error.rb +202 -0
  182. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages.rb +190 -0
  183. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights.rb +250 -0
  184. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights_insights.rb +219 -0
  185. data/lib/cybersource_rest_client/models/unified_risk_post201_response_transaction_insights_insights_warnings.rb +214 -0
  186. data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response.rb → unified_risk_post400_response.rb} +2 -2
  187. data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response_errors.rb → unified_risk_post400_response_errors.rb} +1 -1
  188. data/lib/cybersource_rest_client/models/{deactivate_merchant_key_response200.rb → unifiedrisk_account.rb} +10 -16
  189. data/lib/cybersource_rest_client/models/unifiedrisk_acquirer.rb +302 -0
  190. data/lib/cybersource_rest_client/models/{inline_response_200_19_google_merchant.rb → unifiedrisk_acquirer_merchant_account.rb} +42 -45
  191. data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account_security_amount.rb +246 -0
  192. data/lib/cybersource_rest_client/models/unifiedrisk_authentication.rb +402 -0
  193. data/lib/cybersource_rest_client/models/unifiedrisk_authentication_challenge.rb +202 -0
  194. data/lib/cybersource_rest_client/models/unifiedrisk_authorization.rb +212 -0
  195. data/lib/cybersource_rest_client/models/unifiedrisk_browser.rb +420 -0
  196. data/lib/cybersource_rest_client/models/unifiedrisk_customer.rb +403 -0
  197. data/lib/cybersource_rest_client/models/unifiedrisk_customer_address.rb +279 -0
  198. data/lib/cybersource_rest_client/models/{inline_response_201_5_processing_information.rb → unifiedrisk_customer_personal_identification.rb} +99 -42
  199. data/lib/cybersource_rest_client/models/unifiedrisk_device.rb +681 -0
  200. data/lib/cybersource_rest_client/models/unifiedrisk_device_point_of_sale.rb +344 -0
  201. data/lib/cybersource_rest_client/models/unifiedrisk_initiating_party.rb +223 -0
  202. data/lib/cybersource_rest_client/models/unifiedrisk_merchant.rb +326 -0
  203. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_address.rb +328 -0
  204. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor.rb +389 -0
  205. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_annual_sales.rb +268 -0
  206. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_average_ticket_size.rb +246 -0
  207. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_monthly_sales.rb +268 -0
  208. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_hierarchy.rb +224 -0
  209. data/lib/cybersource_rest_client/models/{label_request.rb → unifiedrisk_merchant_merchant_descriptor_limit_value.rb} +62 -73
  210. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_trading_address.rb +301 -0
  211. data/lib/cybersource_rest_client/models/{inline_response_200_19_google_merchant_products.rb → unifiedrisk_order.rb} +58 -61
  212. data/lib/cybersource_rest_client/models/unifiedrisk_order_billing.rb +360 -0
  213. data/lib/cybersource_rest_client/models/unifiedrisk_order_line_items.rb +262 -0
  214. data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping.rb +464 -0
  215. data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store.rb +251 -0
  216. data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store_address.rb +191 -0
  217. data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store_store_address.rb +235 -0
  218. data/lib/cybersource_rest_client/models/unifiedrisk_partner.rb +214 -0
  219. data/lib/cybersource_rest_client/models/unifiedrisk_payment.rb +423 -0
  220. data/lib/cybersource_rest_client/models/unifiedrisk_payment_approvals.rb +193 -0
  221. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account.rb +451 -0
  222. data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information_amount_details.rb → unifiedrisk_payment_bank_account_balance_before.rb} +49 -56
  223. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_branch_address.rb +328 -0
  224. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_credit_limit.rb +257 -0
  225. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_financial_institution.rb +212 -0
  226. data/lib/cybersource_rest_client/models/unifiedrisk_payment_batch.rb +323 -0
  227. data/lib/cybersource_rest_client/models/unifiedrisk_payment_card.rb +461 -0
  228. data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_par_details.rb +196 -0
  229. data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_token_details.rb +380 -0
  230. data/lib/cybersource_rest_client/models/unifiedrisk_payment_check.rb +289 -0
  231. data/lib/cybersource_rest_client/models/unifiedrisk_payment_check_deposit_location.rb +279 -0
  232. data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty.rb +287 -0
  233. data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_address.rb +279 -0
  234. data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_branch_address.rb +279 -0
  235. data/lib/cybersource_rest_client/models/unifiedrisk_payment_sdk.rb +268 -0
  236. data/lib/cybersource_rest_client/models/unifiedrisk_payment_token.rb +213 -0
  237. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification.rb +230 -0
  238. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_additional.rb +256 -0
  239. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication.rb +232 -0
  240. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_pin.rb +201 -0
  241. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_three_ds.rb +190 -0
  242. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security.rb +199 -0
  243. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_avs.rb +218 -0
  244. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_cvv.rb +196 -0
  245. data/lib/cybersource_rest_client/models/{inline_response_200_19_errors.rb → unifiedrisk_payment_verification_digital.rb} +26 -27
  246. data/lib/cybersource_rest_client/models/unifiedrisk_payment_wallet.rb +201 -0
  247. data/lib/cybersource_rest_client/models/unifiedrisk_payment_wire.rb +364 -0
  248. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment.rb +308 -0
  249. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history.rb +276 -0
  250. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_account_history.rb +207 -0
  251. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_customer_account.rb +273 -0
  252. data/lib/cybersource_rest_client/models/{inline_response_201_14.rb → unifiedrisk_risk_assessment_buyer_history_customer_account_alertnate_authentication.rb} +59 -114
  253. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_vital4.rb +191 -0
  254. data/lib/cybersource_rest_client/models/unifiedrisk_session.rb +202 -0
  255. data/lib/cybersource_rest_client/models/unifiedrisk_terminal.rb +238 -0
  256. data/lib/cybersource_rest_client/models/unifiedrisk_terminal_address.rb +301 -0
  257. data/lib/cybersource_rest_client/models/unifiedrisk_terminal_capabilities.rb +234 -0
  258. data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk.rb +708 -0
  259. data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk_raw_data.rb +189 -0
  260. data/lib/cybersource_rest_client/models/unifiedrisk_transaction.rb +305 -12
  261. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_additional_fees.rb +257 -0
  262. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_amount.rb +257 -0
  263. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details.rb +220 -0
  264. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_credits_amount.rb +246 -0
  265. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_debits_amount.rb +246 -0
  266. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_credits.rb +246 -0
  267. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_debits.rb +246 -0
  268. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details.rb +190 -0
  269. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details_deposited_cash_amount.rb +246 -0
  270. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_recurring_details.rb +341 -0
  271. data/lib/cybersource_rest_client/models/unifiedrisk_travel.rb +279 -0
  272. data/lib/cybersource_rest_client/models/value_added_services_products.rb +15 -5
  273. data/lib/cybersource_rest_client/models/void_capture_request.rb +15 -5
  274. data/lib/cybersource_rest_client/models/void_credit_request.rb +15 -5
  275. data/lib/cybersource_rest_client/models/void_payment_request.rb +15 -5
  276. data/lib/cybersource_rest_client/models/void_refund_request.rb +15 -5
  277. data/lib/cybersource_rest_client/models/vpri_request.rb +505 -0
  278. data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data.rb +190 -0
  279. data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data_card_bin_data.rb +357 -0
  280. data/lib/cybersource_rest_client.rb +178 -72
  281. metadata +180 -74
  282. data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +0 -2279
  283. data/lib/cybersource_rest_client/api/transaction_risk_labeling_api.rb +0 -104
  284. data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information.rb +0 -548
  285. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +0 -223
@@ -13,6 +13,17 @@ require 'date'
13
13
 
14
14
  module CyberSource
15
15
  class PtsV2PaymentsPost201Response1OrderInformation
16
+ # Merchant-generated order reference or tracking number for the payment.
17
+ attr_accessor :reference_id
18
+
19
+ # Description of the order, as provided by the merchant in the original request.
20
+ attr_accessor :description
21
+
22
+ # Merchant-defined custom identifier for the order.
23
+ attr_accessor :custom_id
24
+
25
+ attr_accessor :merchant_descriptor
26
+
16
27
  attr_accessor :bill_to
17
28
 
18
29
  attr_accessor :ship_to
@@ -22,6 +33,10 @@ module CyberSource
22
33
  # Attribute mapping from ruby-style variable name to JSON key.
23
34
  def self.attribute_map
24
35
  {
36
+ :'reference_id' => :'referenceId',
37
+ :'description' => :'description',
38
+ :'custom_id' => :'customId',
39
+ :'merchant_descriptor' => :'merchantDescriptor',
25
40
  :'bill_to' => :'billTo',
26
41
  :'ship_to' => :'shipTo',
27
42
  :'amount_details' => :'amountDetails'
@@ -31,6 +46,10 @@ module CyberSource
31
46
  # Attribute mapping from JSON key to ruby-style variable name.
32
47
  def self.json_map
33
48
  {
49
+ :'reference_id' => :'reference_id',
50
+ :'description' => :'description',
51
+ :'custom_id' => :'custom_id',
52
+ :'merchant_descriptor' => :'merchant_descriptor',
34
53
  :'bill_to' => :'bill_to',
35
54
  :'ship_to' => :'ship_to',
36
55
  :'amount_details' => :'amount_details'
@@ -40,6 +59,10 @@ module CyberSource
40
59
  # Attribute type mapping.
41
60
  def self.swagger_types
42
61
  {
62
+ :'reference_id' => :'String',
63
+ :'description' => :'String',
64
+ :'custom_id' => :'String',
65
+ :'merchant_descriptor' => :'PtsV2PaymentsPost201Response1OrderInformationMerchantDescriptor',
43
66
  :'bill_to' => :'PtsV2PaymentsPost201Response1OrderInformationBillTo',
44
67
  :'ship_to' => :'PtsV2PaymentsPost201Response1OrderInformationShipTo',
45
68
  :'amount_details' => :'PtsV2PaymentsPost201Response1OrderInformationAmountDetails'
@@ -54,6 +77,22 @@ module CyberSource
54
77
  # convert string to symbol for hash key
55
78
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
56
79
 
80
+ if attributes.has_key?(:'referenceId')
81
+ self.reference_id = attributes[:'referenceId']
82
+ end
83
+
84
+ if attributes.has_key?(:'description')
85
+ self.description = attributes[:'description']
86
+ end
87
+
88
+ if attributes.has_key?(:'customId')
89
+ self.custom_id = attributes[:'customId']
90
+ end
91
+
92
+ if attributes.has_key?(:'merchantDescriptor')
93
+ self.merchant_descriptor = attributes[:'merchantDescriptor']
94
+ end
95
+
57
96
  if attributes.has_key?(:'billTo')
58
97
  self.bill_to = attributes[:'billTo']
59
98
  end
@@ -85,6 +124,10 @@ module CyberSource
85
124
  def ==(o)
86
125
  return true if self.equal?(o)
87
126
  self.class == o.class &&
127
+ reference_id == o.reference_id &&
128
+ description == o.description &&
129
+ custom_id == o.custom_id &&
130
+ merchant_descriptor == o.merchant_descriptor &&
88
131
  bill_to == o.bill_to &&
89
132
  ship_to == o.ship_to &&
90
133
  amount_details == o.amount_details
@@ -99,7 +142,7 @@ module CyberSource
99
142
  # Calculates hash code according to all attributes.
100
143
  # @return [Fixnum] Hash code
101
144
  def hash
102
- [bill_to, ship_to, amount_details].hash
145
+ [reference_id, description, custom_id, merchant_descriptor, bill_to, ship_to, amount_details].hash
103
146
  end
104
147
 
105
148
  # Builds the object from hash
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class PtsV2PayoutsPost201ResponseMerchantInformationMerchantDescriptor
15
+ class PtsV2PaymentsPost201Response1OrderInformationMerchantDescriptor
16
16
  # Your merchant name. **Note** For Paymentech processor using Cybersource Payouts, the maximum data length is 22. #### PIN debit Your business name. This name is displayed on the cardholder's statement. When you include more than one consecutive space, extra spaces are removed. When you do not include this value in your PIN debit request, the merchant name from your account is used. **Important** This value must consist of English characters. Optional field for PIN debit credit or PIN debit purchase requests. #### Airline processing Your merchant name. This name is displayed on the cardholder's statement. When you include more than one consecutive space, extra spaces are removed. **Note** Some airline fee programs may require the original ticket number (ticket identifier) or the ancillary service description in positions 13 through 23 of this field. **Important** This value must consist of English characters. Required for captures and credits.
17
17
  attr_accessor :name
18
18
 
@@ -33,6 +33,9 @@ module CyberSource
33
33
 
34
34
  attr_accessor :seller_protection
35
35
 
36
+ # Direct the customer to this URL to complete the payment.
37
+ attr_accessor :payment_url
38
+
36
39
  attr_accessor :avs
37
40
 
38
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,6 +48,7 @@ module CyberSource
45
48
  :'response_details' => :'responseDetails',
46
49
  :'response_code' => :'responseCode',
47
50
  :'seller_protection' => :'sellerProtection',
51
+ :'payment_url' => :'paymentUrl',
48
52
  :'avs' => :'avs'
49
53
  }
50
54
  end
@@ -59,6 +63,7 @@ module CyberSource
59
63
  :'response_details' => :'response_details',
60
64
  :'response_code' => :'response_code',
61
65
  :'seller_protection' => :'seller_protection',
66
+ :'payment_url' => :'payment_url',
62
67
  :'avs' => :'avs'
63
68
  }
64
69
  end
@@ -73,6 +78,7 @@ module CyberSource
73
78
  :'response_details' => :'String',
74
79
  :'response_code' => :'String',
75
80
  :'seller_protection' => :'ProcessorInformationSellerProtection',
81
+ :'payment_url' => :'String',
76
82
  :'avs' => :'PtsV2PaymentsPost201Response1ProcessorInformationAvs'
77
83
  }
78
84
  end
@@ -113,6 +119,10 @@ module CyberSource
113
119
  self.seller_protection = attributes[:'sellerProtection']
114
120
  end
115
121
 
122
+ if attributes.has_key?(:'paymentUrl')
123
+ self.payment_url = attributes[:'paymentUrl']
124
+ end
125
+
116
126
  if attributes.has_key?(:'avs')
117
127
  self.avs = attributes[:'avs']
118
128
  end
@@ -155,6 +165,12 @@ module CyberSource
155
165
  @response_details = response_details
156
166
  end
157
167
 
168
+ # Custom attribute writer method with validation
169
+ # @param [Object] payment_url Value to be assigned
170
+ def payment_url=(payment_url)
171
+ @payment_url = payment_url
172
+ end
173
+
158
174
  # Checks equality by comparing each attribute.
159
175
  # @param [Object] Object to be compared
160
176
  def ==(o)
@@ -167,6 +183,7 @@ module CyberSource
167
183
  response_details == o.response_details &&
168
184
  response_code == o.response_code &&
169
185
  seller_protection == o.seller_protection &&
186
+ payment_url == o.payment_url &&
170
187
  avs == o.avs
171
188
  end
172
189
 
@@ -179,7 +196,7 @@ module CyberSource
179
196
  # Calculates hash code according to all attributes.
180
197
  # @return [Fixnum] Hash code
181
198
  def hash
182
- [transaction_id, trade_number, raw_response, raw_response_local, response_details, response_code, seller_protection, avs].hash
199
+ [transaction_id, trade_number, raw_response, raw_response_local, response_details, response_code, seller_protection, payment_url, avs].hash
183
200
  end
184
201
 
185
202
  # Builds the object from hash
@@ -91,6 +91,24 @@ module CyberSource
91
91
  # Date of the first installment payment. Format: YYMMDD. When you do not include this field, CyberSource sends a string of six zeros (000000) to the processor. This field is supported only for Crediario installment payments in Brazil on CyberSource through VisaNet. The value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR9 - Position: 42-47 - Field: Date of First Installment
92
92
  attr_accessor :first_installment_date
93
93
 
94
+ # Grace period requested by the customer before the first installment payment is due. When you include this field in a request, you must also include the grace period duration type field. The value for this field corresponds to the following data in the TC 33 capture file3: Record: CP01 TCR5, Position: 100-101, Field: Mastercard Grace Period Details. This field is supported only for Mastercard installment payments in Brazil and Greece.
95
+ attr_accessor :grace_period_duration
96
+
97
+ # Payment plan for the installments. This field is supported only for installment payments on Visa Platform Connect, RuPay and SPG-KSA seamless flow. Possible values for a standing-instruction (SI) merchant-initiated transaction (MIT) with Diners Club or Mastercard in India or with an India-issued card: - 1: SI with a fixed amount. - 2: SI with a maximum amount. - 3: Other kind of SI. Possible values for a type of Installment transaction for on-soil transaction in Kingdom of Saudi Arabia - 1: Registration or first transaction. - 2: Subsequent transaction. Possible values for other kinds of installment payments: - 0 (default): Regular installment. This value is not allowed for airline transactions. - 1: Installment payment with down payment. - 2: Installment payment without down payment. This value is supported only for airline transactions. - 3: Installment payment; down payment and boarding fee will follow. This value is supported only for airline transactions. - 4: Down payment only; regular installment payment will follow. - 5: Boarding fee only. This value is supported only for airline transactions. - 6: SI de-registration on RuPay for the payer authentication seamless flow.
98
+ attr_accessor :payment_type
99
+
100
+ # Valid Values from Issuer - Percentage = 999v99 Example P123.12 - Amount = 9(10)v99 Example A123.12
101
+ attr_accessor :amount_type
102
+
103
+ # Valid Values from Issuer
104
+ attr_accessor :percentage_discount
105
+
106
+ # Indicates if the installment plan has interest. Possible values: -Y - with interest -N - without interest -NULL - Do not send the field if no information available
107
+ attr_accessor :interest_indicator
108
+
109
+ # Valid Values from Issuer
110
+ attr_accessor :financing_currency
111
+
94
112
  # Attribute mapping from ruby-style variable name to JSON key.
95
113
  def self.attribute_map
96
114
  {
@@ -119,7 +137,13 @@ module CyberSource
119
137
  :'minimum_total_count' => :'minimumTotalCount',
120
138
  :'maximum_total_count' => :'maximumTotalCount',
121
139
  :'first_installment_amount' => :'firstInstallmentAmount',
122
- :'first_installment_date' => :'firstInstallmentDate'
140
+ :'first_installment_date' => :'firstInstallmentDate',
141
+ :'grace_period_duration' => :'gracePeriodDuration',
142
+ :'payment_type' => :'paymentType',
143
+ :'amount_type' => :'amountType',
144
+ :'percentage_discount' => :'percentageDiscount',
145
+ :'interest_indicator' => :'interestIndicator',
146
+ :'financing_currency' => :'financingCurrency'
123
147
  }
124
148
  end
125
149
 
@@ -151,7 +175,13 @@ module CyberSource
151
175
  :'minimum_total_count' => :'minimum_total_count',
152
176
  :'maximum_total_count' => :'maximum_total_count',
153
177
  :'first_installment_amount' => :'first_installment_amount',
154
- :'first_installment_date' => :'first_installment_date'
178
+ :'first_installment_date' => :'first_installment_date',
179
+ :'grace_period_duration' => :'grace_period_duration',
180
+ :'payment_type' => :'payment_type',
181
+ :'amount_type' => :'amount_type',
182
+ :'percentage_discount' => :'percentage_discount',
183
+ :'interest_indicator' => :'interest_indicator',
184
+ :'financing_currency' => :'financing_currency'
155
185
  }
156
186
  end
157
187
 
@@ -183,7 +213,13 @@ module CyberSource
183
213
  :'minimum_total_count' => :'String',
184
214
  :'maximum_total_count' => :'String',
185
215
  :'first_installment_amount' => :'String',
186
- :'first_installment_date' => :'String'
216
+ :'first_installment_date' => :'String',
217
+ :'grace_period_duration' => :'String',
218
+ :'payment_type' => :'String',
219
+ :'amount_type' => :'String',
220
+ :'percentage_discount' => :'String',
221
+ :'interest_indicator' => :'String',
222
+ :'financing_currency' => :'String'
187
223
  }
188
224
  end
189
225
 
@@ -298,6 +334,30 @@ module CyberSource
298
334
  if attributes.has_key?(:'firstInstallmentDate')
299
335
  self.first_installment_date = attributes[:'firstInstallmentDate']
300
336
  end
337
+
338
+ if attributes.has_key?(:'gracePeriodDuration')
339
+ self.grace_period_duration = attributes[:'gracePeriodDuration']
340
+ end
341
+
342
+ if attributes.has_key?(:'paymentType')
343
+ self.payment_type = attributes[:'paymentType']
344
+ end
345
+
346
+ if attributes.has_key?(:'amountType')
347
+ self.amount_type = attributes[:'amountType']
348
+ end
349
+
350
+ if attributes.has_key?(:'percentageDiscount')
351
+ self.percentage_discount = attributes[:'percentageDiscount']
352
+ end
353
+
354
+ if attributes.has_key?(:'interestIndicator')
355
+ self.interest_indicator = attributes[:'interestIndicator']
356
+ end
357
+
358
+ if attributes.has_key?(:'financingCurrency')
359
+ self.financing_currency = attributes[:'financingCurrency']
360
+ end
301
361
  end
302
362
 
303
363
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -457,6 +517,36 @@ module CyberSource
457
517
  @first_installment_date = first_installment_date
458
518
  end
459
519
 
520
+ # Custom attribute writer method with validation
521
+ # @param [Object] payment_type Value to be assigned
522
+ def payment_type=(payment_type)
523
+ @payment_type = payment_type
524
+ end
525
+
526
+ # Custom attribute writer method with validation
527
+ # @param [Object] amount_type Value to be assigned
528
+ def amount_type=(amount_type)
529
+ @amount_type = amount_type
530
+ end
531
+
532
+ # Custom attribute writer method with validation
533
+ # @param [Object] percentage_discount Value to be assigned
534
+ def percentage_discount=(percentage_discount)
535
+ @percentage_discount = percentage_discount
536
+ end
537
+
538
+ # Custom attribute writer method with validation
539
+ # @param [Object] interest_indicator Value to be assigned
540
+ def interest_indicator=(interest_indicator)
541
+ @interest_indicator = interest_indicator
542
+ end
543
+
544
+ # Custom attribute writer method with validation
545
+ # @param [Object] financing_currency Value to be assigned
546
+ def financing_currency=(financing_currency)
547
+ @financing_currency = financing_currency
548
+ end
549
+
460
550
  # Checks equality by comparing each attribute.
461
551
  # @param [Object] Object to be compared
462
552
  def ==(o)
@@ -487,7 +577,13 @@ module CyberSource
487
577
  minimum_total_count == o.minimum_total_count &&
488
578
  maximum_total_count == o.maximum_total_count &&
489
579
  first_installment_amount == o.first_installment_amount &&
490
- first_installment_date == o.first_installment_date
580
+ first_installment_date == o.first_installment_date &&
581
+ grace_period_duration == o.grace_period_duration &&
582
+ payment_type == o.payment_type &&
583
+ amount_type == o.amount_type &&
584
+ percentage_discount == o.percentage_discount &&
585
+ interest_indicator == o.interest_indicator &&
586
+ financing_currency == o.financing_currency
491
587
  end
492
588
 
493
589
  # @see the `==` method
@@ -499,7 +595,7 @@ module CyberSource
499
595
  # Calculates hash code according to all attributes.
500
596
  # @return [Fixnum] Hash code
501
597
  def hash
502
- [additional_costs, additional_costs_percentage, amount, amount_funded, amount_requested_percentage, annual_financing_cost, annual_interest_rate, expenses, expenses_percentage, fees, fees_percentage, frequency, insurance, insurance_percentage, invoice_data, monthly_interest_rate, plan_type, sequence, taxes, taxes_percentage, total_amount, total_count, minimum_total_count, maximum_total_count, first_installment_amount, first_installment_date].hash
598
+ [additional_costs, additional_costs_percentage, amount, amount_funded, amount_requested_percentage, annual_financing_cost, annual_interest_rate, expenses, expenses_percentage, fees, fees_percentage, frequency, insurance, insurance_percentage, invoice_data, monthly_interest_rate, plan_type, sequence, taxes, taxes_percentage, total_amount, total_count, minimum_total_count, maximum_total_count, first_installment_amount, first_installment_date, grace_period_duration, payment_type, amount_type, percentage_discount, interest_indicator, financing_currency].hash
503
599
  end
504
600
 
505
601
  # Builds the object from hash
@@ -37,6 +37,9 @@ module CyberSource
37
37
  # Country of shipping address. This is a two-character ISO Standard Country Codes.
38
38
  attr_accessor :country
39
39
 
40
+ # Email address of the shipping recipient.
41
+ attr_accessor :email
42
+
40
43
  # Phone number of the recipient.
41
44
  attr_accessor :phone_number
42
45
 
@@ -51,6 +54,7 @@ module CyberSource
51
54
  :'administrative_area' => :'administrativeArea',
52
55
  :'postal_code' => :'postalCode',
53
56
  :'country' => :'country',
57
+ :'email' => :'email',
54
58
  :'phone_number' => :'phoneNumber'
55
59
  }
56
60
  end
@@ -66,6 +70,7 @@ module CyberSource
66
70
  :'administrative_area' => :'administrative_area',
67
71
  :'postal_code' => :'postal_code',
68
72
  :'country' => :'country',
73
+ :'email' => :'email',
69
74
  :'phone_number' => :'phone_number'
70
75
  }
71
76
  end
@@ -81,6 +86,7 @@ module CyberSource
81
86
  :'administrative_area' => :'String',
82
87
  :'postal_code' => :'String',
83
88
  :'country' => :'String',
89
+ :'email' => :'String',
84
90
  :'phone_number' => :'String'
85
91
  }
86
92
  end
@@ -125,6 +131,10 @@ module CyberSource
125
131
  self.country = attributes[:'country']
126
132
  end
127
133
 
134
+ if attributes.has_key?(:'email')
135
+ self.email = attributes[:'email']
136
+ end
137
+
128
138
  if attributes.has_key?(:'phoneNumber')
129
139
  self.phone_number = attributes[:'phoneNumber']
130
140
  end
@@ -210,6 +220,7 @@ module CyberSource
210
220
  administrative_area == o.administrative_area &&
211
221
  postal_code == o.postal_code &&
212
222
  country == o.country &&
223
+ email == o.email &&
213
224
  phone_number == o.phone_number
214
225
  end
215
226
 
@@ -222,7 +233,7 @@ module CyberSource
222
233
  # Calculates hash code according to all attributes.
223
234
  # @return [Fixnum] Hash code
224
235
  def hash
225
- [firstname, lastname, address1, address2, locality, administrative_area, postal_code, country, phone_number].hash
236
+ [firstname, lastname, address1, address2, locality, administrative_area, postal_code, country, email, phone_number].hash
226
237
  end
227
238
 
228
239
  # Builds the object from hash
@@ -21,12 +21,16 @@ module CyberSource
21
21
  # Identifier for the terminal at your retail location. You can define this value yourself, but consult the processor for requirements. #### CyberSource through VisaNet A list of all possible values is stored in your CyberSource account. If terminal ID validation is enabled for your CyberSource account, the value you send for this field is validated against the list each time you include the field in a request. To enable or disable terminal ID validation, contact CyberSource Customer Support. When you do not include this field in a request, CyberSource uses the default value that is defined in your CyberSource account. #### FDC Nashville Global To have your account configured to support this field, contact CyberSource Customer Support. This value must be a value that FDC Nashville Global issued to you. #### For Payouts This field is applicable for CyberSource through VisaNet. #### GPX Identifier for the terminal at your retail location. A list of all possible values is stored in your account. If terminal ID validation is enabled for your account, the value you send for this field is validated against the list each time you include the field in a request. To enable or disable terminal ID validation, contact customer support. When you do not include this field in a request, the default value that is defined in your account is used. Optional for authorizations. #### Used by **Authorization** Optional for the following processors. When you do not include this field in a request, the default value that is defined in your account is used. - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - SIX - Chase Paymentech Solutions: Optional field. If you include this field in your request, you must also include `pointOfSaleInformation.catLevel`. - FDMS Nashville: The default value that is defined in your account is used. - GPX - OmniPay Direct: Optional field. For the following processors, this field is not used. - GPN - JCN Gateway - RBS WorldPay Atlanta - TSYS Acquiring Solutions - Worldpay VAP #### Card Present reply Terminal identifier assigned by the acquirer. This value must be printed on the receipt.
22
22
  attr_accessor :terminal_id
23
23
 
24
+ # The issuers must use DE 123 (Receipt Free Text) to respond with free-text messages, if the transaction requires this message to be displayed on the POS device. The issuer must request their Customer Implementation Service agent to enable DE 123 for this use, as it is not enabled as a default feature. When enabled, consider the test case on DE 123 for this use (Issuer Mastercard and Debit Mastercard - MSR Product and Services - Receipt Free Text (Peru) - Authorization Requests).
25
+ attr_accessor :free_text
26
+
24
27
  # Attribute mapping from ruby-style variable name to JSON key.
25
28
  def self.attribute_map
26
29
  {
27
30
  :'emv' => :'emv',
28
31
  :'amex_capn_data' => :'amexCapnData',
29
- :'terminal_id' => :'terminalId'
32
+ :'terminal_id' => :'terminalId',
33
+ :'free_text' => :'freeText'
30
34
  }
31
35
  end
32
36
 
@@ -35,7 +39,8 @@ module CyberSource
35
39
  {
36
40
  :'emv' => :'emv',
37
41
  :'amex_capn_data' => :'amex_capn_data',
38
- :'terminal_id' => :'terminal_id'
42
+ :'terminal_id' => :'terminal_id',
43
+ :'free_text' => :'free_text'
39
44
  }
40
45
  end
41
46
 
@@ -44,7 +49,8 @@ module CyberSource
44
49
  {
45
50
  :'emv' => :'PtsV2PaymentsPost201ResponsePointOfSaleInformationEmv',
46
51
  :'amex_capn_data' => :'String',
47
- :'terminal_id' => :'String'
52
+ :'terminal_id' => :'String',
53
+ :'free_text' => :'String'
48
54
  }
49
55
  end
50
56
 
@@ -67,6 +73,10 @@ module CyberSource
67
73
  if attributes.has_key?(:'terminalId')
68
74
  self.terminal_id = attributes[:'terminalId']
69
75
  end
76
+
77
+ if attributes.has_key?(:'freeText')
78
+ self.free_text = attributes[:'freeText']
79
+ end
70
80
  end
71
81
 
72
82
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -94,6 +104,12 @@ module CyberSource
94
104
  @terminal_id = terminal_id
95
105
  end
96
106
 
107
+ # Custom attribute writer method with validation
108
+ # @param [Object] free_text Value to be assigned
109
+ def free_text=(free_text)
110
+ @free_text = free_text
111
+ end
112
+
97
113
  # Checks equality by comparing each attribute.
98
114
  # @param [Object] Object to be compared
99
115
  def ==(o)
@@ -101,7 +117,8 @@ module CyberSource
101
117
  self.class == o.class &&
102
118
  emv == o.emv &&
103
119
  amex_capn_data == o.amex_capn_data &&
104
- terminal_id == o.terminal_id
120
+ terminal_id == o.terminal_id &&
121
+ free_text == o.free_text
105
122
  end
106
123
 
107
124
  # @see the `==` method
@@ -113,7 +130,7 @@ module CyberSource
113
130
  # Calculates hash code according to all attributes.
114
131
  # @return [Fixnum] Hash code
115
132
  def hash
116
- [emv, amex_capn_data, terminal_id].hash
133
+ [emv, amex_capn_data, terminal_id, free_text].hash
117
134
  end
118
135
 
119
136
  # Builds the object from hash
@@ -145,6 +145,9 @@ module CyberSource
145
145
  # Merchant Commercial Enhanced Data Program (CEDP) verified indicator received in authorization response messages for U.S. domestic transactions containing a credential for the commercial credit products. This field flows in ISO field 34, DSID 02 tag DA, in AN, EBCDIC format. Possible values: - `Y`: Merchant CEDP verified This field is for internal processing only (TC33A usage) and is not sent back to the merchant. #### Used by **Authorization Response** Response field only.
146
146
  attr_accessor :cedp_verified_indicator
147
147
 
148
+ # Transaction Link Identifier (TLID). Links all messages within a transaction lifecycle for Mastercard transactions. Received from Mastercard in the authorization response and automatically replayed for lifecycle transactions (reversals, follow-on credits, authorization refresh). #### PIN Debit Also returned for PIN Debit purchase, credit, and reversal transactions. For PIN Debit (Visa Gateway) flows, this value is mapped to Visa Field 111 (DSI 07, Tag C0).
149
+ attr_accessor :transaction_link_identifier
150
+
148
151
  # Attribute mapping from ruby-style variable name to JSON key.
149
152
  def self.attribute_map
150
153
  {
@@ -195,7 +198,8 @@ module CyberSource
195
198
  :'order_status' => :'orderStatus',
196
199
  :'merchant_risk_prediction' => :'merchantRiskPrediction',
197
200
  :'network' => :'network',
198
- :'cedp_verified_indicator' => :'cedpVerifiedIndicator'
201
+ :'cedp_verified_indicator' => :'cedpVerifiedIndicator',
202
+ :'transaction_link_identifier' => :'transactionLinkIdentifier'
199
203
  }
200
204
  end
201
205
 
@@ -249,7 +253,8 @@ module CyberSource
249
253
  :'order_status' => :'order_status',
250
254
  :'merchant_risk_prediction' => :'merchant_risk_prediction',
251
255
  :'network' => :'network',
252
- :'cedp_verified_indicator' => :'cedp_verified_indicator'
256
+ :'cedp_verified_indicator' => :'cedp_verified_indicator',
257
+ :'transaction_link_identifier' => :'transaction_link_identifier'
253
258
  }
254
259
  end
255
260
 
@@ -303,7 +308,8 @@ module CyberSource
303
308
  :'order_status' => :'String',
304
309
  :'merchant_risk_prediction' => :'String',
305
310
  :'network' => :'Ptsv2paymentsProcessorInformationReversalNetwork',
306
- :'cedp_verified_indicator' => :'String'
311
+ :'cedp_verified_indicator' => :'String',
312
+ :'transaction_link_identifier' => :'String'
307
313
  }
308
314
  end
309
315
 
@@ -506,6 +512,10 @@ module CyberSource
506
512
  if attributes.has_key?(:'cedpVerifiedIndicator')
507
513
  self.cedp_verified_indicator = attributes[:'cedpVerifiedIndicator']
508
514
  end
515
+
516
+ if attributes.has_key?(:'transactionLinkIdentifier')
517
+ self.transaction_link_identifier = attributes[:'transactionLinkIdentifier']
518
+ end
509
519
  end
510
520
 
511
521
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -701,6 +711,12 @@ module CyberSource
701
711
  @cedp_verified_indicator = cedp_verified_indicator
702
712
  end
703
713
 
714
+ # Custom attribute writer method with validation
715
+ # @param [Object] transaction_link_identifier Value to be assigned
716
+ def transaction_link_identifier=(transaction_link_identifier)
717
+ @transaction_link_identifier = transaction_link_identifier
718
+ end
719
+
704
720
  # Checks equality by comparing each attribute.
705
721
  # @param [Object] Object to be compared
706
722
  def ==(o)
@@ -753,7 +769,8 @@ module CyberSource
753
769
  order_status == o.order_status &&
754
770
  merchant_risk_prediction == o.merchant_risk_prediction &&
755
771
  network == o.network &&
756
- cedp_verified_indicator == o.cedp_verified_indicator
772
+ cedp_verified_indicator == o.cedp_verified_indicator &&
773
+ transaction_link_identifier == o.transaction_link_identifier
757
774
  end
758
775
 
759
776
  # @see the `==` method
@@ -765,7 +782,7 @@ module CyberSource
765
782
  # Calculates hash code according to all attributes.
766
783
  # @return [Fixnum] Hash code
767
784
  def hash
768
- [auth_indicator, approval_code, card_reference_data, transaction_id, network_transaction_id, response_code, response_code_source, response_details, response_category_code, response_source_code, forwarded_acquirer_code, settlement_date, sequence_number, avs, card_verification, merchant_advice, electronic_verification_results, ach_verification, customer, consumer_authentication_response, system_trace_audit_number, payment_account_reference_number, transaction_integrity_code, amex_verbal_auth_reference_number, master_card_service_code, master_card_service_reply_code, master_card_authentication_type, name, routing, merchant_number, retrieval_reference_number, payment_url, complete_url, signature, public_key, seller_protection, transaction_expiry_date, custom_url, scheme_assigned_id, device_url, disbursement_mode, update_time_utc, expiration_time_utc, order_id, order_status, merchant_risk_prediction, network, cedp_verified_indicator].hash
785
+ [auth_indicator, approval_code, card_reference_data, transaction_id, network_transaction_id, response_code, response_code_source, response_details, response_category_code, response_source_code, forwarded_acquirer_code, settlement_date, sequence_number, avs, card_verification, merchant_advice, electronic_verification_results, ach_verification, customer, consumer_authentication_response, system_trace_audit_number, payment_account_reference_number, transaction_integrity_code, amex_verbal_auth_reference_number, master_card_service_code, master_card_service_reply_code, master_card_authentication_type, name, routing, merchant_number, retrieval_reference_number, payment_url, complete_url, signature, public_key, seller_protection, transaction_expiry_date, custom_url, scheme_assigned_id, device_url, disbursement_mode, update_time_utc, expiration_time_utc, order_id, order_status, merchant_risk_prediction, network, cedp_verified_indicator, transaction_link_identifier].hash
769
786
  end
770
787
 
771
788
  # Builds the object from hash
@@ -46,6 +46,9 @@ module CyberSource
46
46
 
47
47
  attr_accessor :merchant_advice
48
48
 
49
+ # Transaction Link Identifier (TLID). Links all messages within a transaction lifecycle for Mastercard transactions. Received from Mastercard in the authorization response and automatically replayed for lifecycle transactions (reversals, follow-on credits, authorization refresh). #### PIN Debit Also returned for PIN Debit purchase, credit, and reversal transactions. For PIN Debit (Visa Gateway) flows, this value is mapped to Visa Field 111 (DSI 07, Tag C0).
50
+ attr_accessor :transaction_link_identifier
51
+
49
52
  # Attribute mapping from ruby-style variable name to JSON key.
50
53
  def self.attribute_map
51
54
  {
@@ -60,7 +63,8 @@ module CyberSource
60
63
  :'settlement_date' => :'settlementDate',
61
64
  :'update_time_utc' => :'updateTimeUtc',
62
65
  :'network' => :'network',
63
- :'merchant_advice' => :'merchantAdvice'
66
+ :'merchant_advice' => :'merchantAdvice',
67
+ :'transaction_link_identifier' => :'transactionLinkIdentifier'
64
68
  }
65
69
  end
66
70
 
@@ -78,7 +82,8 @@ module CyberSource
78
82
  :'settlement_date' => :'settlement_date',
79
83
  :'update_time_utc' => :'update_time_utc',
80
84
  :'network' => :'network',
81
- :'merchant_advice' => :'merchant_advice'
85
+ :'merchant_advice' => :'merchant_advice',
86
+ :'transaction_link_identifier' => :'transaction_link_identifier'
82
87
  }
83
88
  end
84
89
 
@@ -96,7 +101,8 @@ module CyberSource
96
101
  :'settlement_date' => :'String',
97
102
  :'update_time_utc' => :'String',
98
103
  :'network' => :'Ptsv2paymentsProcessorInformationReversalNetwork',
99
- :'merchant_advice' => :'PtsV2PaymentsRefundPost201ResponseProcessorInformationMerchantAdvice'
104
+ :'merchant_advice' => :'PtsV2PaymentsRefundPost201ResponseProcessorInformationMerchantAdvice',
105
+ :'transaction_link_identifier' => :'String'
100
106
  }
101
107
  end
102
108
 
@@ -155,6 +161,10 @@ module CyberSource
155
161
  if attributes.has_key?(:'merchantAdvice')
156
162
  self.merchant_advice = attributes[:'merchantAdvice']
157
163
  end
164
+
165
+ if attributes.has_key?(:'transactionLinkIdentifier')
166
+ self.transaction_link_identifier = attributes[:'transactionLinkIdentifier']
167
+ end
158
168
  end
159
169
 
160
170
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -212,6 +222,12 @@ module CyberSource
212
222
  @settlement_date = settlement_date
213
223
  end
214
224
 
225
+ # Custom attribute writer method with validation
226
+ # @param [Object] transaction_link_identifier Value to be assigned
227
+ def transaction_link_identifier=(transaction_link_identifier)
228
+ @transaction_link_identifier = transaction_link_identifier
229
+ end
230
+
215
231
  # Checks equality by comparing each attribute.
216
232
  # @param [Object] Object to be compared
217
233
  def ==(o)
@@ -228,7 +244,8 @@ module CyberSource
228
244
  settlement_date == o.settlement_date &&
229
245
  update_time_utc == o.update_time_utc &&
230
246
  network == o.network &&
231
- merchant_advice == o.merchant_advice
247
+ merchant_advice == o.merchant_advice &&
248
+ transaction_link_identifier == o.transaction_link_identifier
232
249
  end
233
250
 
234
251
  # @see the `==` method
@@ -240,7 +257,7 @@ module CyberSource
240
257
  # Calculates hash code according to all attributes.
241
258
  # @return [Fixnum] Hash code
242
259
  def hash
243
- [approval_code, transaction_id, forwarded_acquirer_code, merchant_number, response_code, response_source_code, ach_verification, network_transaction_id, settlement_date, update_time_utc, network, merchant_advice].hash
260
+ [approval_code, transaction_id, forwarded_acquirer_code, merchant_number, response_code, response_source_code, ach_verification, network_transaction_id, settlement_date, update_time_utc, network, merchant_advice, transaction_link_identifier].hash
244
261
  end
245
262
 
246
263
  # Builds the object from hash
@@ -86,7 +86,7 @@ module CyberSource
86
86
  :'processor_information' => :'PtsV2PaymentsReversalsPost201ResponseProcessorInformation',
87
87
  :'issuer_information' => :'PtsV2PaymentsReversalsPost201ResponseIssuerInformation',
88
88
  :'authorization_information' => :'PtsV2PaymentsReversalsPost201ResponseAuthorizationInformation',
89
- :'point_of_sale_information' => :'Ptsv2paymentsidreversalsPointOfSaleInformation'
89
+ :'point_of_sale_information' => :'PtsV2PaymentsReversalsPost201ResponsePointOfSaleInformation'
90
90
  }
91
91
  end
92
92