cybersource_rest_client 0.0.55 → 0.0.56

Sign up to get free protection for your applications and to get access to all the features.
Files changed (275) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +6 -0
  3. data/lib/cybersource_rest_client/api/batches_api.rb +25 -23
  4. data/lib/cybersource_rest_client/api/billing_agreements_api.rb +6 -0
  5. data/lib/cybersource_rest_client/api/capture_api.rb +2 -0
  6. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +269 -0
  7. data/lib/cybersource_rest_client/api/credit_api.rb +2 -0
  8. data/lib/cybersource_rest_client/api/customer_api.rb +4 -0
  9. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +4 -0
  10. data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +4 -0
  11. data/lib/cybersource_rest_client/api/decision_manager_api.rb +10 -0
  12. data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +2 -0
  13. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +6 -0
  14. data/lib/cybersource_rest_client/api/invoice_settings_api.rb +6 -4
  15. data/lib/cybersource_rest_client/api/invoices_api.rb +16 -12
  16. data/lib/cybersource_rest_client/api/keymanagementpassword_api.rb +2 -0
  17. data/lib/cybersource_rest_client/api/keymanagementpgp_api.rb +2 -0
  18. data/lib/cybersource_rest_client/api/keymanagementscmp_api.rb +2 -0
  19. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +507 -0
  20. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +169 -0
  21. data/lib/cybersource_rest_client/api/microform_integration_api.rb +2 -0
  22. data/lib/cybersource_rest_client/api/payer_authentication_api.rb +6 -0
  23. data/lib/cybersource_rest_client/api/payment_instrument_api.rb +4 -0
  24. data/lib/cybersource_rest_client/api/payments_api.rb +6 -0
  25. data/lib/cybersource_rest_client/api/payouts_api.rb +2 -0
  26. data/lib/cybersource_rest_client/api/plans_api.rb +4 -0
  27. data/lib/cybersource_rest_client/api/push_funds_api.rb +2 -0
  28. data/lib/cybersource_rest_client/api/refund_api.rb +4 -0
  29. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +4 -0
  30. data/lib/cybersource_rest_client/api/reports_api.rb +2 -0
  31. data/lib/cybersource_rest_client/api/reversal_api.rb +4 -0
  32. data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -0
  33. data/lib/cybersource_rest_client/api/subscriptions_api.rb +4 -0
  34. data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +6 -0
  35. data/lib/cybersource_rest_client/api/taxes_api.rb +4 -0
  36. data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +2 -0
  37. data/lib/cybersource_rest_client/api/user_management_search_api.rb +2 -0
  38. data/lib/cybersource_rest_client/api/verification_api.rb +4 -0
  39. data/lib/cybersource_rest_client/api/void_api.rb +10 -0
  40. data/lib/cybersource_rest_client/models/boardingv1registrations_document_information.rb +192 -0
  41. data/lib/cybersource_rest_client/models/boardingv1registrations_document_information_signed_documents.rb +196 -0
  42. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information.rb +205 -0
  43. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_oauth2.rb +221 -0
  44. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +225 -0
  45. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_information.rb +197 -0
  46. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information.rb +356 -0
  47. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +484 -0
  48. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_address.rb +360 -0
  49. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_business_contact.rb +341 -0
  50. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc.rb +382 -0
  51. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc_deposit_bank_account.rb +331 -0
  52. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +526 -0
  53. data/lib/cybersource_rest_client/models/boardingv1registrations_product_information.rb +190 -0
  54. data/lib/cybersource_rest_client/models/boardingv1registrations_product_information_selected_products.rb +220 -0
  55. data/lib/cybersource_rest_client/models/boardingv1registrations_registration_information.rb +330 -0
  56. data/lib/cybersource_rest_client/models/capture_payment_request.rb +11 -1
  57. data/lib/cybersource_rest_client/models/commerce_solutions_products.rb +210 -0
  58. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater.rb +200 -0
  59. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information.rb +200 -0
  60. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations.rb +242 -0
  61. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_amex.rb +221 -0
  62. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_master_card.rb +222 -0
  63. data/lib/cybersource_rest_client/models/commerce_solutions_products_account_updater_configuration_information_configurations_visa.rb +222 -0
  64. data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup.rb +200 -0
  65. data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup_configuration_information.rb +190 -0
  66. data/lib/cybersource_rest_client/models/commerce_solutions_products_bin_lookup_configuration_information_configurations.rb +202 -0
  67. data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management.rb +200 -0
  68. data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management_configuration_information.rb +200 -0
  69. data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management_configuration_information_configurations.rb +191 -0
  70. data/lib/cybersource_rest_client/models/create_credit_request.rb +11 -1
  71. data/lib/cybersource_rest_client/models/create_payment_request.rb +11 -1
  72. data/lib/cybersource_rest_client/models/create_webhook.rb +290 -0
  73. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +54 -52
  74. data/lib/cybersource_rest_client/models/inline_response_200_2_integration_information.rb +205 -0
  75. data/lib/cybersource_rest_client/models/inline_response_200_2_integration_information_tenant_configurations.rb +297 -0
  76. data/lib/cybersource_rest_client/models/inline_response_200_3.rb +26 -103
  77. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +126 -83
  78. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +252 -0
  79. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded.rb → inline_response_200_5__embedded.rb} +2 -2
  80. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded__links.rb → inline_response_200_5__embedded__links.rb} +2 -2
  81. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded__links_reports.rb → inline_response_200_5__embedded__links_reports.rb} +1 -1
  82. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded_batches.rb → inline_response_200_5__embedded_batches.rb} +3 -3
  83. data/lib/cybersource_rest_client/models/{inline_response_200_2__embedded_totals.rb → inline_response_200_5__embedded_totals.rb} +1 -1
  84. data/lib/cybersource_rest_client/models/{inline_response_200_2__links.rb → inline_response_200_5__links.rb} +1 -1
  85. data/lib/cybersource_rest_client/models/inline_response_200_6.rb +291 -0
  86. data/lib/cybersource_rest_client/models/{inline_response_200_3__links.rb → inline_response_200_6__links.rb} +2 -2
  87. data/lib/cybersource_rest_client/models/{inline_response_200_3__links_report.rb → inline_response_200_6__links_report.rb} +1 -1
  88. data/lib/cybersource_rest_client/models/{inline_response_200_3_billing.rb → inline_response_200_6_billing.rb} +1 -1
  89. data/lib/cybersource_rest_client/models/inline_response_200_7.rb +293 -0
  90. data/lib/cybersource_rest_client/models/{inline_response_200_4_records.rb → inline_response_200_7_records.rb} +3 -3
  91. data/lib/cybersource_rest_client/models/{inline_response_200_4_response_record.rb → inline_response_200_7_response_record.rb} +2 -2
  92. data/lib/cybersource_rest_client/models/{inline_response_200_4_response_record_additional_updates.rb → inline_response_200_7_response_record_additional_updates.rb} +1 -1
  93. data/lib/cybersource_rest_client/models/{inline_response_200_4_source_record.rb → inline_response_200_7_source_record.rb} +1 -1
  94. data/lib/cybersource_rest_client/models/inline_response_201_1.rb +316 -0
  95. data/lib/cybersource_rest_client/models/inline_response_201_1_integration_information.rb +193 -0
  96. data/lib/cybersource_rest_client/models/inline_response_201_1_integration_information_tenant_configurations.rb +287 -0
  97. data/lib/cybersource_rest_client/models/inline_response_201_1_organization_information.rb +218 -0
  98. data/lib/cybersource_rest_client/models/inline_response_201_1_product_information_setups.rb +215 -0
  99. data/lib/cybersource_rest_client/models/inline_response_201_1_registration_information.rb +257 -0
  100. data/lib/cybersource_rest_client/models/inline_response_201_1_setups.rb +220 -0
  101. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_commerce_solutions.rb +210 -0
  102. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments.rb +340 -0
  103. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing.rb +200 -0
  104. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing_configuration_status.rb +300 -0
  105. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_card_processing_subscription_status.rb +279 -0
  106. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments_digital_payments.rb +190 -0
  107. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_risk.rb +200 -0
  108. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_value_added_services.rb +200 -0
  109. data/lib/cybersource_rest_client/models/inline_response_201_2.rb +223 -0
  110. data/lib/cybersource_rest_client/models/inline_response_201_2_key_information.rb +301 -0
  111. data/lib/cybersource_rest_client/models/inline_response_201_2_key_information_error_information.rb +203 -0
  112. data/lib/cybersource_rest_client/models/inline_response_201_2_key_information_error_information_details.rb +202 -0
  113. data/lib/cybersource_rest_client/models/inline_response_201_3.rb +348 -0
  114. data/lib/cybersource_rest_client/models/inline_response_201_4.rb +223 -0
  115. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +37 -43
  116. data/lib/cybersource_rest_client/models/inline_response_400_7_details.rb +17 -15
  117. data/lib/cybersource_rest_client/models/inline_response_400_8.rb +276 -0
  118. data/lib/cybersource_rest_client/models/inline_response_400_8_details.rb +200 -0
  119. data/lib/cybersource_rest_client/models/inline_response_404_1.rb +270 -0
  120. data/lib/cybersource_rest_client/models/inline_response_404_2.rb +212 -0
  121. data/lib/cybersource_rest_client/models/inline_response_404_2_details.rb +200 -0
  122. data/lib/cybersource_rest_client/models/inline_response_422_1.rb +270 -0
  123. data/lib/cybersource_rest_client/models/inline_response_500_3.rb +258 -0
  124. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +6 -0
  125. data/lib/cybersource_rest_client/models/kmsegressv2keysasym_client_reference_information.rb +198 -0
  126. data/lib/cybersource_rest_client/models/kmsegressv2keysasym_key_information.rb +280 -0
  127. data/lib/cybersource_rest_client/models/kmsegressv2keyssym_client_reference_information.rb +198 -0
  128. data/lib/cybersource_rest_client/models/kmsegressv2keyssym_key_information.rb +280 -0
  129. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1productsorganization_id_event_types.rb +234 -0
  130. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_notification_scope.rb +206 -0
  131. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_products.rb +203 -0
  132. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_retry_policy.rb +271 -0
  133. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy.rb +202 -0
  134. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1.rb +213 -0
  135. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config.rb +224 -0
  136. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config_additional_config.rb +221 -0
  137. data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_config.rb +214 -0
  138. data/lib/cybersource_rest_client/models/nrtfv1webhookswebhook_idreplays_by_delivery_status.rb +244 -0
  139. data/lib/cybersource_rest_client/models/payment_products.rb +350 -0
  140. data/lib/cybersource_rest_client/models/payment_products_card_present_connect.rb +200 -0
  141. data/lib/cybersource_rest_client/models/payment_products_card_present_connect_configuration_information.rb +200 -0
  142. data/lib/cybersource_rest_client/models/payment_products_card_present_connect_configuration_information_configurations.rb +191 -0
  143. data/lib/cybersource_rest_client/models/payment_products_card_present_connect_subscription_information.rb +237 -0
  144. data/lib/cybersource_rest_client/models/payment_products_card_processing.rb +200 -0
  145. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present.rb +236 -0
  146. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_installment.rb +202 -0
  147. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_payouts.rb +281 -0
  148. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_not_present_processors.rb +245 -0
  149. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_card_present_processors.rb +259 -0
  150. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_common_merchant_descriptor_info.rb +269 -0
  151. data/lib/cybersource_rest_client/models/payment_products_card_processing_config_features_card_not_present_payouts_currencies.rb +258 -0
  152. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information.rb +200 -0
  153. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations.rb +200 -0
  154. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common.rb +446 -0
  155. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_acquirer.rb +236 -0
  156. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_currencies.rb +258 -0
  157. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_currencies_1.rb +225 -0
  158. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_payment_types.rb +203 -0
  159. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_common_processors.rb +721 -0
  160. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_features.rb +200 -0
  161. data/lib/cybersource_rest_client/models/payment_products_card_processing_configuration_information_configurations_features_card_present.rb +204 -0
  162. data/lib/cybersource_rest_client/models/payment_products_card_processing_subscription_information.rb +250 -0
  163. data/lib/cybersource_rest_client/models/payment_products_card_processing_subscription_information_features.rb +190 -0
  164. data/lib/cybersource_rest_client/models/payment_products_currency_conversion.rb +200 -0
  165. data/lib/cybersource_rest_client/models/payment_products_currency_conversion_configuration_information.rb +200 -0
  166. data/lib/cybersource_rest_client/models/payment_products_currency_conversion_configuration_information_configurations.rb +192 -0
  167. data/lib/cybersource_rest_client/models/payment_products_currency_conversion_configuration_information_configurations_processors.rb +201 -0
  168. data/lib/cybersource_rest_client/models/payment_products_cybs_ready_terminal.rb +190 -0
  169. data/lib/cybersource_rest_client/models/payment_products_differential_fee.rb +190 -0
  170. data/lib/cybersource_rest_client/models/payment_products_differential_fee_subscription_information.rb +247 -0
  171. data/lib/cybersource_rest_client/models/payment_products_differential_fee_subscription_information_features.rb +190 -0
  172. data/lib/cybersource_rest_client/models/payment_products_digital_payments.rb +190 -0
  173. data/lib/cybersource_rest_client/models/payment_products_digital_payments_subscription_information.rb +250 -0
  174. data/lib/cybersource_rest_client/models/payment_products_e_check.rb +200 -0
  175. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service.rb +203 -0
  176. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_internal_only.rb +193 -0
  177. data/lib/cybersource_rest_client/models/payment_products_e_check_config_account_validation_service_processors.rb +262 -0
  178. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information.rb +200 -0
  179. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations.rb +210 -0
  180. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_common.rb +296 -0
  181. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_common_internal_only.rb +206 -0
  182. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_common_internal_only_processors.rb +242 -0
  183. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_common_processors.rb +261 -0
  184. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_features.rb +190 -0
  185. data/lib/cybersource_rest_client/models/payment_products_e_check_configuration_information_configurations_underwriting.rb +334 -0
  186. data/lib/cybersource_rest_client/models/payment_products_e_check_subscription_information.rb +250 -0
  187. data/lib/cybersource_rest_client/models/payment_products_payer_authentication.rb +200 -0
  188. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_j_cbj_secure.rb +221 -0
  189. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified.rb +204 -0
  190. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_config_card_types_verified_currencies.rb +244 -0
  191. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_configuration_information.rb +200 -0
  192. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_configuration_information_configurations.rb +190 -0
  193. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_configuration_information_configurations_card_types.rb +260 -0
  194. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_configuration_information_configurations_card_types_cb.rb +221 -0
  195. data/lib/cybersource_rest_client/models/payment_products_payer_authentication_subscription_information.rb +237 -0
  196. data/lib/cybersource_rest_client/models/payment_products_payouts.rb +200 -0
  197. data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information.rb +190 -0
  198. data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information_configurations.rb +204 -0
  199. data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information_configurations_processor_account.rb +237 -0
  200. data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information_configurations_pullfunds.rb +311 -0
  201. data/lib/cybersource_rest_client/models/payment_products_payouts_configuration_information_configurations_pushfunds.rb +336 -0
  202. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance.rb +200 -0
  203. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_customer_notifications.rb +258 -0
  204. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_notifications_merchant_notifications.rb +235 -0
  205. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types.rb +220 -0
  206. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_config_payment_types_card_types_discover.rb +257 -0
  207. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information.rb +200 -0
  208. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations.rb +251 -0
  209. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_checkout.rb +213 -0
  210. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_contact_information.rb +221 -0
  211. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_notifications.rb +200 -0
  212. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_payment_methods.rb +214 -0
  213. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_payment_types.rb +191 -0
  214. data/lib/cybersource_rest_client/models/payment_products_secure_acceptance_configuration_information_configurations_service.rb +257 -0
  215. data/lib/cybersource_rest_client/models/payment_products_tax.rb +190 -0
  216. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal.rb +200 -0
  217. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info.rb +210 -0
  218. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_global_payment_info_basic_info.rb +318 -0
  219. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_merchant_defined_data_fields.rb +430 -0
  220. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_payment_info.rb +338 -0
  221. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info.rb +210 -0
  222. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_email_receipt.rb +190 -0
  223. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_header.rb +190 -0
  224. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_config_card_not_present_receipt_info_order_info.rb +200 -0
  225. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_configuration_information.rb +200 -0
  226. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_configuration_information_configurations.rb +200 -0
  227. data/lib/cybersource_rest_client/models/payment_products_virtual_terminal_configuration_information_configurations_card_not_present.rb +200 -0
  228. data/lib/cybersource_rest_client/models/post_registration_body.rb +230 -0
  229. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +22 -5
  230. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +1 -1
  231. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +1 -1
  232. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +18 -1
  233. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_secure_information.rb +249 -0
  234. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -1
  235. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +22 -5
  236. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +15 -5
  237. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_vehicle_data.rb +214 -0
  238. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +22 -5
  239. data/lib/cybersource_rest_client/models/replay_webhooks.rb +202 -0
  240. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response.rb +1 -0
  241. data/lib/cybersource_rest_client/models/risk_products.rb +200 -0
  242. data/lib/cybersource_rest_client/models/risk_products_decision_manager.rb +200 -0
  243. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_accurint.rb +200 -0
  244. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_accurint_creds.rb +200 -0
  245. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_credilink.rb +220 -0
  246. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_credilink_creds.rb +210 -0
  247. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_ekata_creds.rb +190 -0
  248. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_emailage.rb +220 -0
  249. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_perseuss.rb +210 -0
  250. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_signifyd.rb +200 -0
  251. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_signifyd_creds.rb +220 -0
  252. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_targus.rb +210 -0
  253. data/lib/cybersource_rest_client/models/risk_products_decision_manager_config_thirdparty_provider_targus_creds.rb +210 -0
  254. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information.rb +200 -0
  255. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations.rb +220 -0
  256. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_organization.rb +191 -0
  257. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_portfolio_controls.rb +200 -0
  258. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_processing_options.rb +190 -0
  259. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty.rb +190 -0
  260. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty_provider.rb +250 -0
  261. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information_configurations_thirdparty_provider_ekata.rb +220 -0
  262. data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials.rb +200 -0
  263. data/lib/cybersource_rest_client/models/risk_products_fraud_management_essentials_configuration_information.rb +190 -0
  264. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -1
  265. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -1
  266. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -1
  267. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
  268. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -1
  269. data/lib/cybersource_rest_client/models/save_asym_egress_key.rb +216 -0
  270. data/lib/cybersource_rest_client/models/save_sym_egress_key.rb +216 -0
  271. data/lib/cybersource_rest_client/models/update_webhook.rb +315 -0
  272. data/lib/cybersource_rest_client/models/value_added_services_products.rb +200 -0
  273. data/lib/cybersource_rest_client/utilities/tracking/sdk_tracker.rb +71 -0
  274. data/lib/cybersource_rest_client.rb +214 -13
  275. metadata +216 -29
@@ -41,6 +41,8 @@ module CyberSource
41
41
  # The object containing the custom data that the merchant defines.
42
42
  attr_accessor :merchant_defined_information
43
43
 
44
+ attr_accessor :merchant_defined_secure_information
45
+
44
46
  attr_accessor :installment_information
45
47
 
46
48
  attr_accessor :travel_information
@@ -79,6 +81,7 @@ module CyberSource
79
81
  :'consumer_authentication_information' => :'consumerAuthenticationInformation',
80
82
  :'point_of_sale_information' => :'pointOfSaleInformation',
81
83
  :'merchant_defined_information' => :'merchantDefinedInformation',
84
+ :'merchant_defined_secure_information' => :'merchantDefinedSecureInformation',
82
85
  :'installment_information' => :'installmentInformation',
83
86
  :'travel_information' => :'travelInformation',
84
87
  :'health_care_information' => :'healthCareInformation',
@@ -109,6 +112,7 @@ module CyberSource
109
112
  :'consumer_authentication_information' => :'consumer_authentication_information',
110
113
  :'point_of_sale_information' => :'point_of_sale_information',
111
114
  :'merchant_defined_information' => :'merchant_defined_information',
115
+ :'merchant_defined_secure_information' => :'merchant_defined_secure_information',
112
116
  :'installment_information' => :'installment_information',
113
117
  :'travel_information' => :'travel_information',
114
118
  :'health_care_information' => :'health_care_information',
@@ -139,6 +143,7 @@ module CyberSource
139
143
  :'consumer_authentication_information' => :'Ptsv2paymentsConsumerAuthenticationInformation',
140
144
  :'point_of_sale_information' => :'Ptsv2paymentsPointOfSaleInformation',
141
145
  :'merchant_defined_information' => :'Array<Ptsv2paymentsMerchantDefinedInformation>',
146
+ :'merchant_defined_secure_information' => :'Ptsv2paymentsMerchantDefinedSecureInformation',
142
147
  :'installment_information' => :'Ptsv2paymentsInstallmentInformation',
143
148
  :'travel_information' => :'Ptsv2paymentsTravelInformation',
144
149
  :'health_care_information' => :'Ptsv2paymentsHealthCareInformation',
@@ -215,6 +220,10 @@ module CyberSource
215
220
  end
216
221
  end
217
222
 
223
+ if attributes.has_key?(:'merchantDefinedSecureInformation')
224
+ self.merchant_defined_secure_information = attributes[:'merchantDefinedSecureInformation']
225
+ end
226
+
218
227
  if attributes.has_key?(:'installmentInformation')
219
228
  self.installment_information = attributes[:'installmentInformation']
220
229
  end
@@ -291,6 +300,7 @@ module CyberSource
291
300
  consumer_authentication_information == o.consumer_authentication_information &&
292
301
  point_of_sale_information == o.point_of_sale_information &&
293
302
  merchant_defined_information == o.merchant_defined_information &&
303
+ merchant_defined_secure_information == o.merchant_defined_secure_information &&
294
304
  installment_information == o.installment_information &&
295
305
  travel_information == o.travel_information &&
296
306
  health_care_information == o.health_care_information &&
@@ -313,7 +323,7 @@ module CyberSource
313
323
  # Calculates hash code according to all attributes.
314
324
  # @return [Fixnum] Hash code
315
325
  def hash
316
- [client_reference_information, processing_information, issuer_information, payment_information, order_information, buyer_information, recipient_information, device_information, merchant_information, aggregator_information, consumer_authentication_information, point_of_sale_information, merchant_defined_information, installment_information, travel_information, health_care_information, promotion_information, token_information, invoice_details, processor_information, risk_information, acquirer_information, recurring_payment_information, watchlist_screening_information].hash
326
+ [client_reference_information, processing_information, issuer_information, payment_information, order_information, buyer_information, recipient_information, device_information, merchant_information, aggregator_information, consumer_authentication_information, point_of_sale_information, merchant_defined_information, merchant_defined_secure_information, installment_information, travel_information, health_care_information, promotion_information, token_information, invoice_details, processor_information, risk_information, acquirer_information, recurring_payment_information, watchlist_screening_information].hash
317
327
  end
318
328
 
319
329
  # Builds the object from hash
@@ -0,0 +1,290 @@
1
+ =begin
2
+ #CyberSource Merged Spec
3
+
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
+
6
+ OpenAPI spec version: 0.0.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CyberSource
16
+ class CreateWebhook
17
+ # Client friendly webhook name.
18
+ attr_accessor :name
19
+
20
+ # Client friendly webhook description.
21
+ attr_accessor :description
22
+
23
+ # Organization Identifier (OrgId) or Merchant Identifier (MID).
24
+ attr_accessor :organization_id
25
+
26
+ # To see the valid productId and eventTypes, call the \"Create and Manage Webhooks - Retrieve a list of event types\" endpoint.
27
+ attr_accessor :product_id
28
+
29
+ # Array of the different events for a given product id.
30
+ attr_accessor :event_types
31
+
32
+ # The client's endpoint (URL) to receive webhooks.
33
+ attr_accessor :webhook_url
34
+
35
+ # The client's health check endpoint (URL). This should be as close as possible to the actual webhookUrl. If the user does not provide the health check URL, it is the user's responsibility to re-activate the webhook if it is deactivated by calling the test endpoint.
36
+ attr_accessor :health_check_url
37
+
38
+ # The webhook scope. 1. SELF The Webhook is used to deliver webhooks for only this Organization (or Merchant). 2. DESCENDANTS The Webhook is used to deliver webhooks for this Organization and its children. 3. CUSTOM The Webhook is used to deliver webhooks for the OrgIds (or MiDs) explicitly listed in scopeData field.
39
+ attr_accessor :notification_scope
40
+
41
+ attr_accessor :retry_policy
42
+
43
+ attr_accessor :security_policy
44
+
45
+ # Attribute mapping from ruby-style variable name to JSON key.
46
+ def self.attribute_map
47
+ {
48
+ :'name' => :'name',
49
+ :'description' => :'description',
50
+ :'organization_id' => :'organizationId',
51
+ :'product_id' => :'productId',
52
+ :'event_types' => :'eventTypes',
53
+ :'webhook_url' => :'webhookUrl',
54
+ :'health_check_url' => :'healthCheckUrl',
55
+ :'notification_scope' => :'notificationScope',
56
+ :'retry_policy' => :'retryPolicy',
57
+ :'security_policy' => :'securityPolicy'
58
+ }
59
+ end
60
+
61
+ # Attribute mapping from JSON key to ruby-style variable name.
62
+ def self.json_map
63
+ {
64
+ :'name' => :'name',
65
+ :'description' => :'description',
66
+ :'organization_id' => :'organization_id',
67
+ :'product_id' => :'product_id',
68
+ :'event_types' => :'event_types',
69
+ :'webhook_url' => :'webhook_url',
70
+ :'health_check_url' => :'health_check_url',
71
+ :'notification_scope' => :'notification_scope',
72
+ :'retry_policy' => :'retry_policy',
73
+ :'security_policy' => :'security_policy'
74
+ }
75
+ end
76
+
77
+ # Attribute type mapping.
78
+ def self.swagger_types
79
+ {
80
+ :'name' => :'String',
81
+ :'description' => :'String',
82
+ :'organization_id' => :'String',
83
+ :'product_id' => :'String',
84
+ :'event_types' => :'Array<String>',
85
+ :'webhook_url' => :'String',
86
+ :'health_check_url' => :'String',
87
+ :'notification_scope' => :'String',
88
+ :'retry_policy' => :'Notificationsubscriptionsv1webhooksRetryPolicy',
89
+ :'security_policy' => :'Notificationsubscriptionsv1webhooksSecurityPolicy1'
90
+ }
91
+ end
92
+
93
+ # Initializes the object
94
+ # @param [Hash] attributes Model attributes in the form of hash
95
+ def initialize(attributes = {})
96
+ return unless attributes.is_a?(Hash)
97
+
98
+ # convert string to symbol for hash key
99
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
100
+
101
+ if attributes.has_key?(:'name')
102
+ self.name = attributes[:'name']
103
+ end
104
+
105
+ if attributes.has_key?(:'description')
106
+ self.description = attributes[:'description']
107
+ end
108
+
109
+ if attributes.has_key?(:'organizationId')
110
+ self.organization_id = attributes[:'organizationId']
111
+ end
112
+
113
+ if attributes.has_key?(:'productId')
114
+ self.product_id = attributes[:'productId']
115
+ end
116
+
117
+ if attributes.has_key?(:'eventTypes')
118
+ if (value = attributes[:'eventTypes']).is_a?(Array)
119
+ self.event_types = value
120
+ end
121
+ end
122
+
123
+ if attributes.has_key?(:'webhookUrl')
124
+ self.webhook_url = attributes[:'webhookUrl']
125
+ end
126
+
127
+ if attributes.has_key?(:'healthCheckUrl')
128
+ self.health_check_url = attributes[:'healthCheckUrl']
129
+ end
130
+
131
+ if attributes.has_key?(:'notificationScope')
132
+ self.notification_scope = attributes[:'notificationScope']
133
+ end
134
+
135
+ if attributes.has_key?(:'retryPolicy')
136
+ self.retry_policy = attributes[:'retryPolicy']
137
+ end
138
+
139
+ if attributes.has_key?(:'securityPolicy')
140
+ self.security_policy = attributes[:'securityPolicy']
141
+ end
142
+ end
143
+
144
+ # Show invalid properties with the reasons. Usually used together with valid?
145
+ # @return Array for valid properties with the reasons
146
+ def list_invalid_properties
147
+ invalid_properties = Array.new
148
+ invalid_properties
149
+ end
150
+
151
+ # Check to see if the all the properties in the model are valid
152
+ # @return true if the model is valid
153
+ def valid?
154
+ true
155
+ end
156
+
157
+ # Checks equality by comparing each attribute.
158
+ # @param [Object] Object to be compared
159
+ def ==(o)
160
+ return true if self.equal?(o)
161
+ self.class == o.class &&
162
+ name == o.name &&
163
+ description == o.description &&
164
+ organization_id == o.organization_id &&
165
+ product_id == o.product_id &&
166
+ event_types == o.event_types &&
167
+ webhook_url == o.webhook_url &&
168
+ health_check_url == o.health_check_url &&
169
+ notification_scope == o.notification_scope &&
170
+ retry_policy == o.retry_policy &&
171
+ security_policy == o.security_policy
172
+ end
173
+
174
+ # @see the `==` method
175
+ # @param [Object] Object to be compared
176
+ def eql?(o)
177
+ self == o
178
+ end
179
+
180
+ # Calculates hash code according to all attributes.
181
+ # @return [Fixnum] Hash code
182
+ def hash
183
+ [name, description, organization_id, product_id, event_types, webhook_url, health_check_url, notification_scope, retry_policy, security_policy].hash
184
+ end
185
+
186
+ # Builds the object from hash
187
+ # @param [Hash] attributes Model attributes in the form of hash
188
+ # @return [Object] Returns the model itself
189
+ def build_from_hash(attributes)
190
+ return nil unless attributes.is_a?(Hash)
191
+ self.class.swagger_types.each_pair do |key, type|
192
+ if type =~ /\AArray<(.*)>/i
193
+ # check to ensure the input is an array given that the the attribute
194
+ # is documented as an array but the input is not
195
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
196
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
197
+ end
198
+ elsif !attributes[self.class.attribute_map[key]].nil?
199
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
200
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
201
+ end
202
+
203
+ self
204
+ end
205
+
206
+ # Deserializes the data based on type
207
+ # @param string type Data type
208
+ # @param string value Value to be deserialized
209
+ # @return [Object] Deserialized data
210
+ def _deserialize(type, value)
211
+ case type.to_sym
212
+ when :DateTime
213
+ DateTime.parse(value)
214
+ when :Date
215
+ Date.parse(value)
216
+ when :String
217
+ value.to_s
218
+ when :Integer
219
+ value.to_i
220
+ when :Float
221
+ value.to_f
222
+ when :BOOLEAN
223
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
224
+ true
225
+ else
226
+ false
227
+ end
228
+ when :Object
229
+ # generic object (usually a Hash), return directly
230
+ value
231
+ when /\AArray<(?<inner_type>.+)>\z/
232
+ inner_type = Regexp.last_match[:inner_type]
233
+ value.map { |v| _deserialize(inner_type, v) }
234
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
235
+ k_type = Regexp.last_match[:k_type]
236
+ v_type = Regexp.last_match[:v_type]
237
+ {}.tap do |hash|
238
+ value.each do |k, v|
239
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
240
+ end
241
+ end
242
+ else # model
243
+ temp_model = CyberSource.const_get(type).new
244
+ temp_model.build_from_hash(value)
245
+ end
246
+ end
247
+
248
+ # Returns the string representation of the object
249
+ # @return [String] String presentation of the object
250
+ def to_s
251
+ to_hash.to_s
252
+ end
253
+
254
+ # to_body is an alias to to_hash (backward compatibility)
255
+ # @return [Hash] Returns the object in the form of hash
256
+ def to_body
257
+ to_hash
258
+ end
259
+
260
+ # Returns the object in the form of hash
261
+ # @return [Hash] Returns the object in the form of hash
262
+ def to_hash
263
+ hash = {}
264
+ self.class.attribute_map.each_pair do |attr, param|
265
+ value = self.send(attr)
266
+ next if value.nil?
267
+ hash[param] = _to_hash(value)
268
+ end
269
+ hash
270
+ end
271
+
272
+ # Outputs non-array value in the form of hash
273
+ # For object, use to_hash. Otherwise, just return the value
274
+ # @param [Object] value Any valid value
275
+ # @return [Hash] Returns the value in the form of hash
276
+ def _to_hash(value)
277
+ if value.is_a?(Array)
278
+ value.compact.map { |v| _to_hash(v) }
279
+ elsif value.is_a?(Hash)
280
+ {}.tap do |hash|
281
+ value.each { |k, v| hash[k] = _to_hash(v) }
282
+ end
283
+ elsif value.respond_to? :to_hash
284
+ value.to_hash
285
+ else
286
+ value
287
+ end
288
+ end
289
+ end
290
+ end
@@ -14,56 +14,56 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class InlineResponse2002
17
- attr_accessor :_links
17
+ attr_accessor :registration_information
18
18
 
19
- attr_accessor :object
19
+ attr_accessor :integration_information
20
20
 
21
- attr_accessor :offset
21
+ attr_accessor :organization_information
22
22
 
23
- attr_accessor :limit
23
+ attr_accessor :product_information
24
24
 
25
- attr_accessor :count
25
+ attr_accessor :product_information_setups
26
26
 
27
- attr_accessor :total
27
+ attr_accessor :document_information
28
28
 
29
- attr_accessor :_embedded
29
+ attr_accessor :details
30
30
 
31
31
  # Attribute mapping from ruby-style variable name to JSON key.
32
32
  def self.attribute_map
33
33
  {
34
- :'_links' => :'_links',
35
- :'object' => :'object',
36
- :'offset' => :'offset',
37
- :'limit' => :'limit',
38
- :'count' => :'count',
39
- :'total' => :'total',
40
- :'_embedded' => :'_embedded'
34
+ :'registration_information' => :'registrationInformation',
35
+ :'integration_information' => :'integrationInformation',
36
+ :'organization_information' => :'organizationInformation',
37
+ :'product_information' => :'productInformation',
38
+ :'product_information_setups' => :'productInformationSetups',
39
+ :'document_information' => :'documentInformation',
40
+ :'details' => :'details'
41
41
  }
42
42
  end
43
43
 
44
44
  # Attribute mapping from JSON key to ruby-style variable name.
45
45
  def self.json_map
46
46
  {
47
- :'_links' => :'_links',
48
- :'object' => :'object',
49
- :'offset' => :'offset',
50
- :'limit' => :'limit',
51
- :'count' => :'count',
52
- :'total' => :'total',
53
- :'_embedded' => :'_embedded'
47
+ :'registration_information' => :'registration_information',
48
+ :'integration_information' => :'integration_information',
49
+ :'organization_information' => :'organization_information',
50
+ :'product_information' => :'product_information',
51
+ :'product_information_setups' => :'product_information_setups',
52
+ :'document_information' => :'document_information',
53
+ :'details' => :'details'
54
54
  }
55
55
  end
56
56
 
57
57
  # Attribute type mapping.
58
58
  def self.swagger_types
59
59
  {
60
- :'_links' => :'Array<InlineResponse2002Links>',
61
- :'object' => :'String',
62
- :'offset' => :'Integer',
63
- :'limit' => :'Integer',
64
- :'count' => :'Integer',
65
- :'total' => :'Integer',
66
- :'_embedded' => :'InlineResponse2002Embedded'
60
+ :'registration_information' => :'Boardingv1registrationsRegistrationInformation',
61
+ :'integration_information' => :'InlineResponse2002IntegrationInformation',
62
+ :'organization_information' => :'Boardingv1registrationsOrganizationInformation',
63
+ :'product_information' => :'Boardingv1registrationsProductInformation',
64
+ :'product_information_setups' => :'Array<InlineResponse2011ProductInformationSetups>',
65
+ :'document_information' => :'Boardingv1registrationsDocumentInformation',
66
+ :'details' => :'Hash<String, Array<Object>>'
67
67
  }
68
68
  end
69
69
 
@@ -75,34 +75,36 @@ module CyberSource
75
75
  # convert string to symbol for hash key
76
76
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
77
77
 
78
- if attributes.has_key?(:'_links')
79
- if (value = attributes[:'_links']).is_a?(Array)
80
- self._links = value
81
- end
78
+ if attributes.has_key?(:'registrationInformation')
79
+ self.registration_information = attributes[:'registrationInformation']
82
80
  end
83
81
 
84
- if attributes.has_key?(:'object')
85
- self.object = attributes[:'object']
82
+ if attributes.has_key?(:'integrationInformation')
83
+ self.integration_information = attributes[:'integrationInformation']
86
84
  end
87
85
 
88
- if attributes.has_key?(:'offset')
89
- self.offset = attributes[:'offset']
86
+ if attributes.has_key?(:'organizationInformation')
87
+ self.organization_information = attributes[:'organizationInformation']
90
88
  end
91
89
 
92
- if attributes.has_key?(:'limit')
93
- self.limit = attributes[:'limit']
90
+ if attributes.has_key?(:'productInformation')
91
+ self.product_information = attributes[:'productInformation']
94
92
  end
95
93
 
96
- if attributes.has_key?(:'count')
97
- self.count = attributes[:'count']
94
+ if attributes.has_key?(:'productInformationSetups')
95
+ if (value = attributes[:'productInformationSetups']).is_a?(Array)
96
+ self.product_information_setups = value
97
+ end
98
98
  end
99
99
 
100
- if attributes.has_key?(:'total')
101
- self.total = attributes[:'total']
100
+ if attributes.has_key?(:'documentInformation')
101
+ self.document_information = attributes[:'documentInformation']
102
102
  end
103
103
 
104
- if attributes.has_key?(:'_embedded')
105
- self._embedded = attributes[:'_embedded']
104
+ if attributes.has_key?(:'details')
105
+ if (value = attributes[:'details']).is_a?(Hash)
106
+ self.details = value
107
+ end
106
108
  end
107
109
  end
108
110
 
@@ -124,13 +126,13 @@ module CyberSource
124
126
  def ==(o)
125
127
  return true if self.equal?(o)
126
128
  self.class == o.class &&
127
- _links == o._links &&
128
- object == o.object &&
129
- offset == o.offset &&
130
- limit == o.limit &&
131
- count == o.count &&
132
- total == o.total &&
133
- _embedded == o._embedded
129
+ registration_information == o.registration_information &&
130
+ integration_information == o.integration_information &&
131
+ organization_information == o.organization_information &&
132
+ product_information == o.product_information &&
133
+ product_information_setups == o.product_information_setups &&
134
+ document_information == o.document_information &&
135
+ details == o.details
134
136
  end
135
137
 
136
138
  # @see the `==` method
@@ -142,7 +144,7 @@ module CyberSource
142
144
  # Calculates hash code according to all attributes.
143
145
  # @return [Fixnum] Hash code
144
146
  def hash
145
- [_links, object, offset, limit, count, total, _embedded].hash
147
+ [registration_information, integration_information, organization_information, product_information, product_information_setups, document_information, details].hash
146
148
  end
147
149
 
148
150
  # Builds the object from hash