cybersource_rest_client 0.0.86 → 0.0.87

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 (200) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/util/CertificateUtility.rb +14 -6
  3. data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +24 -24
  4. data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
  5. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
  6. data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +3 -3
  7. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +9 -9
  8. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
  9. data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
  10. data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -2
  11. data/lib/cybersource_rest_client/api/transaction_details_api.rb +1 -1
  12. data/lib/cybersource_rest_client/api/transaction_query_api.rb +3 -3
  13. data/lib/cybersource_rest_client/api/visa_protect_risk_insights_api.rb +104 -0
  14. data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
  15. data/lib/cybersource_rest_client/models/inline_response_200_17.rb +5 -5
  16. data/lib/cybersource_rest_client/models/inline_response_200_18.rb +5 -5
  17. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +1 -1
  18. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +1 -1
  19. data/lib/cybersource_rest_client/models/inline_response_201_10.rb +18 -93
  20. data/lib/cybersource_rest_client/models/inline_response_201_11.rb +103 -8
  21. data/lib/cybersource_rest_client/models/{inline_response_201_12_client_reference_information.rb → inline_response_201_11_client_reference_information.rb} +1 -1
  22. data/lib/cybersource_rest_client/models/{inline_response_201_12_error_information.rb → inline_response_201_11_error_information.rb} +1 -1
  23. data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information.rb → inline_response_201_11_order_information.rb} +2 -2
  24. 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
  25. 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
  26. data/lib/cybersource_rest_client/models/{inline_response_201_12_processor_information.rb → inline_response_201_11_processor_information.rb} +1 -1
  27. data/lib/cybersource_rest_client/models/inline_response_201_12.rb +110 -89
  28. data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_address.rb → inline_response_201_12_fulfillment_address.rb} +1 -1
  29. data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_options.rb → inline_response_201_12_fulfillment_options.rb} +1 -1
  30. data/lib/cybersource_rest_client/models/{inline_response_201_14_item.rb → inline_response_201_12_item.rb} +20 -20
  31. data/lib/cybersource_rest_client/models/inline_response_201_12_line_items.rb +256 -0
  32. data/lib/cybersource_rest_client/models/{inline_response_201_13_links.rb → inline_response_201_12_links.rb} +1 -1
  33. data/lib/cybersource_rest_client/models/{inline_response_201_13_messages.rb → inline_response_201_12_messages.rb} +1 -1
  34. data/lib/cybersource_rest_client/models/{inline_response_201_13_payment_provider.rb → inline_response_201_12_payment_provider.rb} +1 -1
  35. data/lib/cybersource_rest_client/models/{inline_response_201_13_totals.rb → inline_response_201_12_totals.rb} +1 -1
  36. data/lib/cybersource_rest_client/models/inline_response_201_13.rb +61 -67
  37. data/lib/cybersource_rest_client/models/{inline_response_201_14_discounts.rb → inline_response_201_13_discounts.rb} +1 -1
  38. data/lib/cybersource_rest_client/models/{inline_response_201_14_fulfillment.rb → inline_response_201_13_fulfillment.rb} +1 -1
  39. data/lib/cybersource_rest_client/models/inline_response_201_13_item.rb +19 -19
  40. data/lib/cybersource_rest_client/models/inline_response_201_13_line_items.rb +20 -51
  41. data/lib/cybersource_rest_client/models/{inline_response_201_14_order.rb → inline_response_201_13_order.rb} +1 -1
  42. data/lib/cybersource_rest_client/models/{inline_response_201_14_payment.rb → inline_response_201_13_payment.rb} +1 -1
  43. data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp.rb → inline_response_201_13_ucp.rb} +2 -2
  44. data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp_capabilities.rb → inline_response_201_13_ucp_capabilities.rb} +1 -1
  45. data/lib/cybersource_rest_client/models/inline_response_201_3.rb +82 -39
  46. data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information.rb → inline_response_201_3_error_information.rb} +3 -3
  47. data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information_details.rb → inline_response_201_3_error_information_details.rb} +2 -2
  48. data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information.rb → inline_response_201_3_order_information.rb} +2 -2
  49. data/lib/cybersource_rest_client/models/inline_response_201_3_order_information_amount_details.rb +315 -0
  50. data/lib/cybersource_rest_client/models/inline_response_201_3_processing_information.rb +189 -0
  51. data/lib/cybersource_rest_client/models/{inline_response_201_4_processing_information_routing.rb → inline_response_201_3_processing_information_routing.rb} +1 -1
  52. data/lib/cybersource_rest_client/models/inline_response_201_3_processor_information.rb +213 -0
  53. data/lib/cybersource_rest_client/models/inline_response_201_4.rb +41 -30
  54. data/lib/cybersource_rest_client/models/{inline_response_201_5__links.rb → inline_response_201_4__links.rb} +2 -2
  55. data/lib/cybersource_rest_client/models/{inline_response_201_5__links_self.rb → inline_response_201_4__links_self.rb} +1 -1
  56. data/lib/cybersource_rest_client/models/{inline_response_201_5_acquirer_information.rb → inline_response_201_4_acquirer_information.rb} +1 -1
  57. data/lib/cybersource_rest_client/models/{inline_response_201_5_client_reference_information.rb → inline_response_201_4_client_reference_information.rb} +1 -1
  58. data/lib/cybersource_rest_client/models/inline_response_201_4_error_information.rb +1 -1
  59. data/lib/cybersource_rest_client/models/inline_response_201_4_error_information_details.rb +1 -1
  60. data/lib/cybersource_rest_client/models/{inline_response_201_5_merchant_information.rb → inline_response_201_4_merchant_information.rb} +1 -1
  61. data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +46 -97
  62. data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information.rb → inline_response_201_4_payment_information.rb} +2 -2
  63. data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information_card.rb → inline_response_201_4_payment_information_card.rb} +1 -1
  64. data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +59 -8
  65. 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
  66. data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +342 -7
  67. 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
  68. data/lib/cybersource_rest_client/models/{inline_response_201_5_transactions.rb → inline_response_201_4_transactions.rb} +7 -7
  69. data/lib/cybersource_rest_client/models/inline_response_201_5.rb +35 -68
  70. data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information.rb → inline_response_201_5_payout_information.rb} +3 -3
  71. 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
  72. 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
  73. data/lib/cybersource_rest_client/models/inline_response_201_6.rb +59 -26
  74. data/lib/cybersource_rest_client/models/{inline_response_201_7_integration_information.rb → inline_response_201_6_integration_information.rb} +2 -2
  75. 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
  76. data/lib/cybersource_rest_client/models/{inline_response_201_7_organization_information.rb → inline_response_201_6_organization_information.rb} +1 -1
  77. data/lib/cybersource_rest_client/models/{inline_response_201_7_product_information_setups.rb → inline_response_201_6_product_information_setups.rb} +2 -2
  78. data/lib/cybersource_rest_client/models/{inline_response_201_7_registration_information.rb → inline_response_201_6_registration_information.rb} +1 -1
  79. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups.rb → inline_response_201_6_setups.rb} +4 -4
  80. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_commerce_solutions.rb → inline_response_201_6_setups_commerce_solutions.rb} +1 -1
  81. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_risk.rb → inline_response_201_6_setups_risk.rb} +1 -1
  82. data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_value_added_services.rb → inline_response_201_6_setups_value_added_services.rb} +1 -1
  83. data/lib/cybersource_rest_client/models/inline_response_201_7.rb +19 -78
  84. data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information.rb → inline_response_201_7_key_information.rb} +2 -2
  85. 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
  86. 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
  87. data/lib/cybersource_rest_client/models/inline_response_201_8.rb +117 -25
  88. data/lib/cybersource_rest_client/models/inline_response_201_9.rb +68 -105
  89. data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads.rb → inline_response_201_9_payloads.rb} +2 -2
  90. data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads_test_payload.rb → inline_response_201_9_payloads_test_payload.rb} +1 -1
  91. data/lib/cybersource_rest_client/models/inline_response_400_3.rb +1 -1
  92. data/lib/cybersource_rest_client/models/inline_response_400_4.rb +1 -1
  93. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_merchant_defined_field_values_with_definition.rb +11 -1
  94. data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +16 -5
  95. data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +11 -1
  96. data/lib/cybersource_rest_client/models/ucv1sessions_data_acquirer_information.rb +196 -0
  97. data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +1 -1
  98. data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +16 -5
  99. data/lib/cybersource_rest_client/models/{inline_response_201_14_line_items.rb → unified_risk_post201_response.rb} +28 -42
  100. data/lib/cybersource_rest_client/models/{inline_response_201_3_results.rb → unified_risk_post201_response_results.rb} +3 -3
  101. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights.rb +291 -0
  102. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_client.rb +208 -0
  103. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_error.rb +202 -0
  104. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages.rb +190 -0
  105. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights.rb +250 -0
  106. data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights_insights.rb +219 -0
  107. data/lib/cybersource_rest_client/models/unified_risk_post201_response_transaction_insights_insights_warnings.rb +214 -0
  108. data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response.rb → unified_risk_post400_response.rb} +2 -2
  109. data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response_errors.rb → unified_risk_post400_response_errors.rb} +1 -1
  110. data/lib/cybersource_rest_client/models/unifiedrisk_account.rb +190 -0
  111. data/lib/cybersource_rest_client/models/unifiedrisk_acquirer.rb +302 -0
  112. data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account.rb +234 -0
  113. data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account_security_amount.rb +246 -0
  114. data/lib/cybersource_rest_client/models/unifiedrisk_authentication.rb +402 -0
  115. data/lib/cybersource_rest_client/models/unifiedrisk_authentication_challenge.rb +202 -0
  116. data/lib/cybersource_rest_client/models/unifiedrisk_authorization.rb +212 -0
  117. data/lib/cybersource_rest_client/models/unifiedrisk_browser.rb +420 -0
  118. data/lib/cybersource_rest_client/models/unifiedrisk_customer.rb +403 -0
  119. data/lib/cybersource_rest_client/models/unifiedrisk_customer_address.rb +279 -0
  120. data/lib/cybersource_rest_client/models/{inline_response_201_5_processing_information.rb → unifiedrisk_customer_personal_identification.rb} +99 -42
  121. data/lib/cybersource_rest_client/models/unifiedrisk_device.rb +681 -0
  122. data/lib/cybersource_rest_client/models/unifiedrisk_device_point_of_sale.rb +344 -0
  123. data/lib/cybersource_rest_client/models/unifiedrisk_initiating_party.rb +223 -0
  124. data/lib/cybersource_rest_client/models/unifiedrisk_merchant.rb +326 -0
  125. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_address.rb +328 -0
  126. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor.rb +389 -0
  127. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_annual_sales.rb +268 -0
  128. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_average_ticket_size.rb +246 -0
  129. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_monthly_sales.rb +268 -0
  130. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_hierarchy.rb +224 -0
  131. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_limit_value.rb +257 -0
  132. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_trading_address.rb +301 -0
  133. data/lib/cybersource_rest_client/models/{label_request.rb → unifiedrisk_order.rb} +60 -72
  134. data/lib/cybersource_rest_client/models/unifiedrisk_order_billing.rb +360 -0
  135. data/lib/cybersource_rest_client/models/unifiedrisk_order_line_items.rb +262 -0
  136. data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping.rb +464 -0
  137. data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store.rb +251 -0
  138. data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store_address.rb +191 -0
  139. data/lib/cybersource_rest_client/models/{inline_response_201_3_results_risk_insights.rb → unifiedrisk_order_shipping_store_store_address.rb} +43 -43
  140. data/lib/cybersource_rest_client/models/unifiedrisk_partner.rb +214 -0
  141. data/lib/cybersource_rest_client/models/unifiedrisk_payment.rb +423 -0
  142. data/lib/cybersource_rest_client/models/unifiedrisk_payment_approvals.rb +193 -0
  143. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account.rb +451 -0
  144. data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information_amount_details.rb → unifiedrisk_payment_bank_account_balance_before.rb} +49 -56
  145. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_branch_address.rb +328 -0
  146. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_credit_limit.rb +257 -0
  147. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_financial_institution.rb +212 -0
  148. data/lib/cybersource_rest_client/models/unifiedrisk_payment_batch.rb +323 -0
  149. data/lib/cybersource_rest_client/models/unifiedrisk_payment_card.rb +461 -0
  150. data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_par_details.rb +196 -0
  151. data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_token_details.rb +380 -0
  152. data/lib/cybersource_rest_client/models/unifiedrisk_payment_check.rb +289 -0
  153. data/lib/cybersource_rest_client/models/unifiedrisk_payment_check_deposit_location.rb +279 -0
  154. data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty.rb +287 -0
  155. data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_address.rb +279 -0
  156. data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_branch_address.rb +279 -0
  157. data/lib/cybersource_rest_client/models/unifiedrisk_payment_sdk.rb +268 -0
  158. data/lib/cybersource_rest_client/models/unifiedrisk_payment_token.rb +213 -0
  159. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification.rb +230 -0
  160. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_additional.rb +256 -0
  161. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication.rb +232 -0
  162. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_pin.rb +201 -0
  163. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_three_ds.rb +190 -0
  164. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security.rb +199 -0
  165. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_avs.rb +218 -0
  166. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_cvv.rb +196 -0
  167. data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_digital.rb +212 -0
  168. data/lib/cybersource_rest_client/models/unifiedrisk_payment_wallet.rb +201 -0
  169. data/lib/cybersource_rest_client/models/unifiedrisk_payment_wire.rb +364 -0
  170. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment.rb +308 -0
  171. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history.rb +276 -0
  172. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_account_history.rb +207 -0
  173. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_customer_account.rb +273 -0
  174. data/lib/cybersource_rest_client/models/{inline_response_201_14.rb → unifiedrisk_risk_assessment_buyer_history_customer_account_alertnate_authentication.rb} +59 -114
  175. data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_vital4.rb +191 -0
  176. data/lib/cybersource_rest_client/models/unifiedrisk_session.rb +202 -0
  177. data/lib/cybersource_rest_client/models/unifiedrisk_terminal.rb +238 -0
  178. data/lib/cybersource_rest_client/models/unifiedrisk_terminal_address.rb +301 -0
  179. data/lib/cybersource_rest_client/models/unifiedrisk_terminal_capabilities.rb +234 -0
  180. data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk.rb +708 -0
  181. data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk_raw_data.rb +189 -0
  182. data/lib/cybersource_rest_client/models/unifiedrisk_transaction.rb +305 -12
  183. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_additional_fees.rb +257 -0
  184. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_amount.rb +257 -0
  185. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details.rb +220 -0
  186. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_credits_amount.rb +246 -0
  187. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_debits_amount.rb +246 -0
  188. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_credits.rb +246 -0
  189. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_debits.rb +246 -0
  190. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details.rb +190 -0
  191. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details_deposited_cash_amount.rb +246 -0
  192. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_recurring_details.rb +341 -0
  193. data/lib/cybersource_rest_client/models/unifiedrisk_travel.rb +279 -0
  194. data/lib/cybersource_rest_client/models/vpri_request.rb +505 -0
  195. data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data.rb +190 -0
  196. data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data_card_bin_data.rb +357 -0
  197. data/lib/cybersource_rest_client.rb +153 -61
  198. metadata +155 -63
  199. data/lib/cybersource_rest_client/api/transaction_risk_labeling_api.rb +0 -104
  200. data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information.rb +0 -548
@@ -13,33 +13,151 @@ require 'date'
13
13
 
14
14
  module CyberSource
15
15
  class InlineResponse2014ProcessorInformation
16
- # For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value.
16
+ # Reject reason code if the transaction was rejected by VisaNet.
17
+ attr_accessor :reject_reason_code
18
+
19
+ # This field contains reject reason text if the transaction was rejected by VisaNet and generic MasterCard Status reason.
20
+ attr_accessor :reject_reason_text
21
+
22
+ # Authorization code. Returned only when the processor returns this value.
23
+ attr_accessor :approval_code
24
+
25
+ attr_accessor :card_verification
26
+
27
+ attr_accessor :consumer_authentication_response
28
+
29
+ # Short text description of the Acquirer IRF (Interchange Reimbursement Fee) indicator.
30
+ attr_accessor :fee_program_description
31
+
32
+ # This field identifies the interchange fee program applicable to each financial transaction. Fee-program indicator (FPI) values correspond to the fee descriptor and rate for each existing fee program. This field can be regarded as informational only in all authorization messages.
33
+ attr_accessor :fee_program_id
34
+
35
+ # Network ID on which the transaction was performed. Takes the format of 000x where x is a number.
36
+ attr_accessor :network
37
+
38
+ # The date that transaction was processed.
39
+ attr_accessor :processing_date
40
+
41
+ # The name of the processor that was used to complete the transaction.
42
+ attr_accessor :processor
43
+
44
+ # The reason code description contains the reason explaining: - An acquirer-generated advice, reversal, cancellation, adjustment, chargeback (validation request or advice). - An chargeback reversal, representment (validation request or advice).
45
+ attr_accessor :reason_code_details
46
+
47
+ # A four digit number that correlates to reasonCodeDetails.
48
+ attr_accessor :reason_code_value
49
+
50
+ # Transaction status from the processor.
17
51
  attr_accessor :response_code
18
52
 
19
- # This field might contain information about a decline.
53
+ # This field might contain information about a decline.
20
54
  attr_accessor :response_details
21
55
 
56
+ # This field might contain the original information about a decline.
57
+ attr_accessor :response_details_original
58
+
59
+ # This field contains a number that is used with other data elements as a key to identify and track all messages related to a given cardholder transaction; that is, to a given transaction set. Recommended format: ydddhhnnnnnn Positions 1-4: The yddd equivalent of the date, where y = 0-9 and ddd = 001 – 366. Positions 5-12: A unique identification number generated by the merchant or assigned by CyberSource.
60
+ attr_accessor :retrieval_reference_number
61
+
62
+ # The date and time that transaction was settled.
63
+ attr_accessor :settlement_date_time
64
+
65
+ # Specifies status of the transaction processing.
66
+ attr_accessor :status_code
67
+
68
+ # This field is returned by authorization and incremental authorization services. System trace number that must be printed on the customer's receipt.
69
+ attr_accessor :system_trace_audit_number
70
+
71
+ # The date and time that transaction was processed.
72
+ attr_accessor :transaction_date_time
73
+
74
+ # Network transaction identifier (TID). This value can be used to identify a specific transaction when you are discussing the transaction with your processor.
75
+ attr_accessor :transaction_id
76
+
77
+ # Identifies the type of transaction originally sent.
78
+ attr_accessor :transaction_type
79
+
22
80
  # Attribute mapping from ruby-style variable name to JSON key.
23
81
  def self.attribute_map
24
82
  {
83
+ :'reject_reason_code' => :'rejectReasonCode',
84
+ :'reject_reason_text' => :'rejectReasonText',
85
+ :'approval_code' => :'approvalCode',
86
+ :'card_verification' => :'cardVerification',
87
+ :'consumer_authentication_response' => :'consumerAuthenticationResponse',
88
+ :'fee_program_description' => :'feeProgramDescription',
89
+ :'fee_program_id' => :'feeProgramId',
90
+ :'network' => :'network',
91
+ :'processing_date' => :'processingDate',
92
+ :'processor' => :'processor',
93
+ :'reason_code_details' => :'reasonCodeDetails',
94
+ :'reason_code_value' => :'reasonCodeValue',
25
95
  :'response_code' => :'responseCode',
26
- :'response_details' => :'responseDetails'
96
+ :'response_details' => :'responseDetails',
97
+ :'response_details_original' => :'responseDetailsOriginal',
98
+ :'retrieval_reference_number' => :'retrievalReferenceNumber',
99
+ :'settlement_date_time' => :'settlementDateTime',
100
+ :'status_code' => :'statusCode',
101
+ :'system_trace_audit_number' => :'systemTraceAuditNumber',
102
+ :'transaction_date_time' => :'transactionDateTime',
103
+ :'transaction_id' => :'transactionId',
104
+ :'transaction_type' => :'transactionType'
27
105
  }
28
106
  end
29
107
 
30
108
  # Attribute mapping from JSON key to ruby-style variable name.
31
109
  def self.json_map
32
110
  {
111
+ :'reject_reason_code' => :'reject_reason_code',
112
+ :'reject_reason_text' => :'reject_reason_text',
113
+ :'approval_code' => :'approval_code',
114
+ :'card_verification' => :'card_verification',
115
+ :'consumer_authentication_response' => :'consumer_authentication_response',
116
+ :'fee_program_description' => :'fee_program_description',
117
+ :'fee_program_id' => :'fee_program_id',
118
+ :'network' => :'network',
119
+ :'processing_date' => :'processing_date',
120
+ :'processor' => :'processor',
121
+ :'reason_code_details' => :'reason_code_details',
122
+ :'reason_code_value' => :'reason_code_value',
33
123
  :'response_code' => :'response_code',
34
- :'response_details' => :'response_details'
124
+ :'response_details' => :'response_details',
125
+ :'response_details_original' => :'response_details_original',
126
+ :'retrieval_reference_number' => :'retrieval_reference_number',
127
+ :'settlement_date_time' => :'settlement_date_time',
128
+ :'status_code' => :'status_code',
129
+ :'system_trace_audit_number' => :'system_trace_audit_number',
130
+ :'transaction_date_time' => :'transaction_date_time',
131
+ :'transaction_id' => :'transaction_id',
132
+ :'transaction_type' => :'transaction_type'
35
133
  }
36
134
  end
37
135
 
38
136
  # Attribute type mapping.
39
137
  def self.swagger_types
40
138
  {
139
+ :'reject_reason_code' => :'String',
140
+ :'reject_reason_text' => :'String',
141
+ :'approval_code' => :'String',
142
+ :'card_verification' => :'InlineResponse2014ProcessorInformationCardVerification',
143
+ :'consumer_authentication_response' => :'ConsumerAuthenticationResponse',
144
+ :'fee_program_description' => :'String',
145
+ :'fee_program_id' => :'String',
146
+ :'network' => :'String',
147
+ :'processing_date' => :'String',
148
+ :'processor' => :'String',
149
+ :'reason_code_details' => :'String',
150
+ :'reason_code_value' => :'String',
41
151
  :'response_code' => :'String',
42
- :'response_details' => :'String'
152
+ :'response_details' => :'String',
153
+ :'response_details_original' => :'String',
154
+ :'retrieval_reference_number' => :'String',
155
+ :'settlement_date_time' => :'String',
156
+ :'status_code' => :'String',
157
+ :'system_trace_audit_number' => :'String',
158
+ :'transaction_date_time' => :'String',
159
+ :'transaction_id' => :'String',
160
+ :'transaction_type' => :'String'
43
161
  }
44
162
  end
45
163
 
@@ -51,6 +169,54 @@ module CyberSource
51
169
  # convert string to symbol for hash key
52
170
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
53
171
 
172
+ if attributes.has_key?(:'rejectReasonCode')
173
+ self.reject_reason_code = attributes[:'rejectReasonCode']
174
+ end
175
+
176
+ if attributes.has_key?(:'rejectReasonText')
177
+ self.reject_reason_text = attributes[:'rejectReasonText']
178
+ end
179
+
180
+ if attributes.has_key?(:'approvalCode')
181
+ self.approval_code = attributes[:'approvalCode']
182
+ end
183
+
184
+ if attributes.has_key?(:'cardVerification')
185
+ self.card_verification = attributes[:'cardVerification']
186
+ end
187
+
188
+ if attributes.has_key?(:'consumerAuthenticationResponse')
189
+ self.consumer_authentication_response = attributes[:'consumerAuthenticationResponse']
190
+ end
191
+
192
+ if attributes.has_key?(:'feeProgramDescription')
193
+ self.fee_program_description = attributes[:'feeProgramDescription']
194
+ end
195
+
196
+ if attributes.has_key?(:'feeProgramId')
197
+ self.fee_program_id = attributes[:'feeProgramId']
198
+ end
199
+
200
+ if attributes.has_key?(:'network')
201
+ self.network = attributes[:'network']
202
+ end
203
+
204
+ if attributes.has_key?(:'processingDate')
205
+ self.processing_date = attributes[:'processingDate']
206
+ end
207
+
208
+ if attributes.has_key?(:'processor')
209
+ self.processor = attributes[:'processor']
210
+ end
211
+
212
+ if attributes.has_key?(:'reasonCodeDetails')
213
+ self.reason_code_details = attributes[:'reasonCodeDetails']
214
+ end
215
+
216
+ if attributes.has_key?(:'reasonCodeValue')
217
+ self.reason_code_value = attributes[:'reasonCodeValue']
218
+ end
219
+
54
220
  if attributes.has_key?(:'responseCode')
55
221
  self.response_code = attributes[:'responseCode']
56
222
  end
@@ -58,21 +224,118 @@ module CyberSource
58
224
  if attributes.has_key?(:'responseDetails')
59
225
  self.response_details = attributes[:'responseDetails']
60
226
  end
227
+
228
+ if attributes.has_key?(:'responseDetailsOriginal')
229
+ self.response_details_original = attributes[:'responseDetailsOriginal']
230
+ end
231
+
232
+ if attributes.has_key?(:'retrievalReferenceNumber')
233
+ self.retrieval_reference_number = attributes[:'retrievalReferenceNumber']
234
+ end
235
+
236
+ if attributes.has_key?(:'settlementDateTime')
237
+ self.settlement_date_time = attributes[:'settlementDateTime']
238
+ end
239
+
240
+ if attributes.has_key?(:'statusCode')
241
+ self.status_code = attributes[:'statusCode']
242
+ end
243
+
244
+ if attributes.has_key?(:'systemTraceAuditNumber')
245
+ self.system_trace_audit_number = attributes[:'systemTraceAuditNumber']
246
+ end
247
+
248
+ if attributes.has_key?(:'transactionDateTime')
249
+ self.transaction_date_time = attributes[:'transactionDateTime']
250
+ end
251
+
252
+ if attributes.has_key?(:'transactionId')
253
+ self.transaction_id = attributes[:'transactionId']
254
+ end
255
+
256
+ if attributes.has_key?(:'transactionType')
257
+ self.transaction_type = attributes[:'transactionType']
258
+ end
61
259
  end
62
260
 
63
261
  # Show invalid properties with the reasons. Usually used together with valid?
64
262
  # @return Array for valid properties with the reasons
65
263
  def list_invalid_properties
66
264
  invalid_properties = Array.new
265
+ if @transaction_id.nil?
266
+ invalid_properties.push('invalid value for "transaction_id", transaction_id cannot be nil.')
267
+ end
268
+
67
269
  invalid_properties
68
270
  end
69
271
 
70
272
  # Check to see if the all the properties in the model are valid
71
273
  # @return true if the model is valid
72
274
  def valid?
275
+ return false if @transaction_id.nil?
73
276
  true
74
277
  end
75
278
 
279
+ # Custom attribute writer method with validation
280
+ # @param [Object] reject_reason_code Value to be assigned
281
+ def reject_reason_code=(reject_reason_code)
282
+ @reject_reason_code = reject_reason_code
283
+ end
284
+
285
+ # Custom attribute writer method with validation
286
+ # @param [Object] reject_reason_text Value to be assigned
287
+ def reject_reason_text=(reject_reason_text)
288
+ @reject_reason_text = reject_reason_text
289
+ end
290
+
291
+ # Custom attribute writer method with validation
292
+ # @param [Object] approval_code Value to be assigned
293
+ def approval_code=(approval_code)
294
+ @approval_code = approval_code
295
+ end
296
+
297
+ # Custom attribute writer method with validation
298
+ # @param [Object] fee_program_description Value to be assigned
299
+ def fee_program_description=(fee_program_description)
300
+ @fee_program_description = fee_program_description
301
+ end
302
+
303
+ # Custom attribute writer method with validation
304
+ # @param [Object] fee_program_id Value to be assigned
305
+ def fee_program_id=(fee_program_id)
306
+ @fee_program_id = fee_program_id
307
+ end
308
+
309
+ # Custom attribute writer method with validation
310
+ # @param [Object] network Value to be assigned
311
+ def network=(network)
312
+ @network = network
313
+ end
314
+
315
+ # Custom attribute writer method with validation
316
+ # @param [Object] processing_date Value to be assigned
317
+ def processing_date=(processing_date)
318
+ @processing_date = processing_date
319
+ end
320
+
321
+ # Custom attribute writer method with validation
322
+ # @param [Object] processor Value to be assigned
323
+ def processor=(processor)
324
+ @processor = processor
325
+ end
326
+
327
+ # Custom attribute writer method with validation
328
+ # @param [Object] reason_code_details Value to be assigned
329
+ def reason_code_details=(reason_code_details)
330
+ @reason_code_details = reason_code_details
331
+ end
332
+
333
+ # Custom attribute writer method with validation
334
+ # @param [Object] reason_code_value Value to be assigned
335
+ def reason_code_value=(reason_code_value)
336
+ @reason_code_value = reason_code_value
337
+ end
338
+
76
339
  # Custom attribute writer method with validation
77
340
  # @param [Object] response_code Value to be assigned
78
341
  def response_code=(response_code)
@@ -85,13 +348,85 @@ module CyberSource
85
348
  @response_details = response_details
86
349
  end
87
350
 
351
+ # Custom attribute writer method with validation
352
+ # @param [Object] response_details_original Value to be assigned
353
+ def response_details_original=(response_details_original)
354
+ @response_details_original = response_details_original
355
+ end
356
+
357
+ # Custom attribute writer method with validation
358
+ # @param [Object] retrieval_reference_number Value to be assigned
359
+ def retrieval_reference_number=(retrieval_reference_number)
360
+ @retrieval_reference_number = retrieval_reference_number
361
+ end
362
+
363
+ # Custom attribute writer method with validation
364
+ # @param [Object] settlement_date_time Value to be assigned
365
+ def settlement_date_time=(settlement_date_time)
366
+ @settlement_date_time = settlement_date_time
367
+ end
368
+
369
+ # Custom attribute writer method with validation
370
+ # @param [Object] status_code Value to be assigned
371
+ def status_code=(status_code)
372
+ @status_code = status_code
373
+ end
374
+
375
+ # Custom attribute writer method with validation
376
+ # @param [Object] system_trace_audit_number Value to be assigned
377
+ def system_trace_audit_number=(system_trace_audit_number)
378
+ @system_trace_audit_number = system_trace_audit_number
379
+ end
380
+
381
+ # Custom attribute writer method with validation
382
+ # @param [Object] transaction_date_time Value to be assigned
383
+ def transaction_date_time=(transaction_date_time)
384
+ @transaction_date_time = transaction_date_time
385
+ end
386
+
387
+ # Custom attribute writer method with validation
388
+ # @param [Object] transaction_id Value to be assigned
389
+ def transaction_id=(transaction_id)
390
+ #if transaction_id.nil?
391
+ #fail ArgumentError, 'transaction_id cannot be nil'
392
+ #end
393
+
394
+ @transaction_id = transaction_id
395
+ end
396
+
397
+ # Custom attribute writer method with validation
398
+ # @param [Object] transaction_type Value to be assigned
399
+ def transaction_type=(transaction_type)
400
+ @transaction_type = transaction_type
401
+ end
402
+
88
403
  # Checks equality by comparing each attribute.
89
404
  # @param [Object] Object to be compared
90
405
  def ==(o)
91
406
  return true if self.equal?(o)
92
407
  self.class == o.class &&
408
+ reject_reason_code == o.reject_reason_code &&
409
+ reject_reason_text == o.reject_reason_text &&
410
+ approval_code == o.approval_code &&
411
+ card_verification == o.card_verification &&
412
+ consumer_authentication_response == o.consumer_authentication_response &&
413
+ fee_program_description == o.fee_program_description &&
414
+ fee_program_id == o.fee_program_id &&
415
+ network == o.network &&
416
+ processing_date == o.processing_date &&
417
+ processor == o.processor &&
418
+ reason_code_details == o.reason_code_details &&
419
+ reason_code_value == o.reason_code_value &&
93
420
  response_code == o.response_code &&
94
- response_details == o.response_details
421
+ response_details == o.response_details &&
422
+ response_details_original == o.response_details_original &&
423
+ retrieval_reference_number == o.retrieval_reference_number &&
424
+ settlement_date_time == o.settlement_date_time &&
425
+ status_code == o.status_code &&
426
+ system_trace_audit_number == o.system_trace_audit_number &&
427
+ transaction_date_time == o.transaction_date_time &&
428
+ transaction_id == o.transaction_id &&
429
+ transaction_type == o.transaction_type
95
430
  end
96
431
 
97
432
  # @see the `==` method
@@ -103,7 +438,7 @@ module CyberSource
103
438
  # Calculates hash code according to all attributes.
104
439
  # @return [Fixnum] Hash code
105
440
  def hash
106
- [response_code, response_details].hash
441
+ [reject_reason_code, reject_reason_text, approval_code, card_verification, consumer_authentication_response, fee_program_description, fee_program_id, network, processing_date, processor, reason_code_details, reason_code_value, response_code, response_details, response_details_original, retrieval_reference_number, settlement_date_time, status_code, system_trace_audit_number, transaction_date_time, transaction_id, transaction_type].hash
107
442
  end
108
443
 
109
444
  # 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 InlineResponse2015ProcessorInformationCardVerification
15
+ class InlineResponse2014ProcessorInformationCardVerification
16
16
  # CVN result code.
17
17
  attr_accessor :result_code
18
18
 
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- class InlineResponse2015Transactions
15
+ class InlineResponse2014Transactions
16
16
  attr_accessor :merchant_information
17
17
 
18
18
  attr_accessor :order_information
@@ -52,12 +52,12 @@ module CyberSource
52
52
  # Attribute type mapping.
53
53
  def self.swagger_types
54
54
  {
55
- :'merchant_information' => :'InlineResponse2015MerchantInformation',
56
- :'order_information' => :'InlineResponse2015OrderInformation',
57
- :'payment_information' => :'InlineResponse2015PaymentInformation',
58
- :'acquirer_information' => :'InlineResponse2015AcquirerInformation',
59
- :'processing_information' => :'InlineResponse2015ProcessingInformation',
60
- :'processor_information' => :'InlineResponse2015ProcessorInformation'
55
+ :'merchant_information' => :'InlineResponse2014MerchantInformation',
56
+ :'order_information' => :'InlineResponse2014OrderInformation',
57
+ :'payment_information' => :'InlineResponse2014PaymentInformation',
58
+ :'acquirer_information' => :'InlineResponse2014AcquirerInformation',
59
+ :'processing_information' => :'InlineResponse2014ProcessingInformation',
60
+ :'processor_information' => :'InlineResponse2014ProcessorInformation'
61
61
  }
62
62
  end
63
63
 
@@ -13,33 +13,30 @@ require 'date'
13
13
 
14
14
  module CyberSource
15
15
  class InlineResponse2015
16
- # A unique identification number to identify the submitted request. It is also appended to the endpoint of the resource.
16
+ # An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.
17
17
  attr_accessor :id
18
18
 
19
- # The status of the submitted transaction. Possible values: - `COMPLETED` - `SERVER_ERROR` - `INVALID_REQUEST` - `DECLINED`
20
- attr_accessor :status
21
-
22
- # Time of request in UTC. Format: `YYYY-MM-DD'T'HH:mm:ssZ` Example: `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC.
23
- attr_accessor :submit_time_stamp_utc
19
+ # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
20
+ attr_accessor :submit_time_utc
24
21
 
25
- attr_accessor :_links
22
+ # The status of the submitted transaction. Possible values: - COMPLETED - MULTIPLE - NO MATCH
23
+ attr_accessor :status
26
24
 
27
- attr_accessor :transactions
25
+ attr_accessor :payment_account_information
28
26
 
29
- attr_accessor :client_reference_information
27
+ attr_accessor :issuer_information
30
28
 
31
- attr_accessor :error_information
29
+ attr_accessor :payout_information
32
30
 
33
31
  # Attribute mapping from ruby-style variable name to JSON key.
34
32
  def self.attribute_map
35
33
  {
36
34
  :'id' => :'id',
35
+ :'submit_time_utc' => :'submitTimeUtc',
37
36
  :'status' => :'status',
38
- :'submit_time_stamp_utc' => :'submitTimeStampUtc',
39
- :'_links' => :'_links',
40
- :'transactions' => :'transactions',
41
- :'client_reference_information' => :'clientReferenceInformation',
42
- :'error_information' => :'errorInformation'
37
+ :'payment_account_information' => :'paymentAccountInformation',
38
+ :'issuer_information' => :'issuerInformation',
39
+ :'payout_information' => :'payoutInformation'
43
40
  }
44
41
  end
45
42
 
@@ -47,12 +44,11 @@ module CyberSource
47
44
  def self.json_map
48
45
  {
49
46
  :'id' => :'id',
47
+ :'submit_time_utc' => :'submit_time_utc',
50
48
  :'status' => :'status',
51
- :'submit_time_stamp_utc' => :'submit_time_stamp_utc',
52
- :'_links' => :'_links',
53
- :'transactions' => :'transactions',
54
- :'client_reference_information' => :'client_reference_information',
55
- :'error_information' => :'error_information'
49
+ :'payment_account_information' => :'payment_account_information',
50
+ :'issuer_information' => :'issuer_information',
51
+ :'payout_information' => :'payout_information'
56
52
  }
57
53
  end
58
54
 
@@ -60,12 +56,11 @@ module CyberSource
60
56
  def self.swagger_types
61
57
  {
62
58
  :'id' => :'String',
59
+ :'submit_time_utc' => :'String',
63
60
  :'status' => :'String',
64
- :'submit_time_stamp_utc' => :'String',
65
- :'_links' => :'InlineResponse2015Links',
66
- :'transactions' => :'Array<InlineResponse2015Transactions>',
67
- :'client_reference_information' => :'InlineResponse2015ClientReferenceInformation',
68
- :'error_information' => :'InlineResponse2015ErrorInformation'
61
+ :'payment_account_information' => :'TmsBinLookupPaymentAccountInformation',
62
+ :'issuer_information' => :'TmsBinLookupIssuerInformation',
63
+ :'payout_information' => :'InlineResponse2015PayoutInformation'
69
64
  }
70
65
  end
71
66
 
@@ -81,30 +76,24 @@ module CyberSource
81
76
  self.id = attributes[:'id']
82
77
  end
83
78
 
84
- if attributes.has_key?(:'status')
85
- self.status = attributes[:'status']
86
- end
87
-
88
- if attributes.has_key?(:'submitTimeStampUtc')
89
- self.submit_time_stamp_utc = attributes[:'submitTimeStampUtc']
79
+ if attributes.has_key?(:'submitTimeUtc')
80
+ self.submit_time_utc = attributes[:'submitTimeUtc']
90
81
  end
91
82
 
92
- if attributes.has_key?(:'_links')
93
- self._links = attributes[:'_links']
83
+ if attributes.has_key?(:'status')
84
+ self.status = attributes[:'status']
94
85
  end
95
86
 
96
- if attributes.has_key?(:'transactions')
97
- if (value = attributes[:'transactions']).is_a?(Array)
98
- self.transactions = value
99
- end
87
+ if attributes.has_key?(:'paymentAccountInformation')
88
+ self.payment_account_information = attributes[:'paymentAccountInformation']
100
89
  end
101
90
 
102
- if attributes.has_key?(:'clientReferenceInformation')
103
- self.client_reference_information = attributes[:'clientReferenceInformation']
91
+ if attributes.has_key?(:'issuerInformation')
92
+ self.issuer_information = attributes[:'issuerInformation']
104
93
  end
105
94
 
106
- if attributes.has_key?(:'errorInformation')
107
- self.error_information = attributes[:'errorInformation']
95
+ if attributes.has_key?(:'payoutInformation')
96
+ self.payout_information = attributes[:'payoutInformation']
108
97
  end
109
98
  end
110
99
 
@@ -112,17 +101,12 @@ module CyberSource
112
101
  # @return Array for valid properties with the reasons
113
102
  def list_invalid_properties
114
103
  invalid_properties = Array.new
115
- if @status.nil?
116
- invalid_properties.push('invalid value for "status", status cannot be nil.')
117
- end
118
-
119
104
  invalid_properties
120
105
  end
121
106
 
122
107
  # Check to see if the all the properties in the model are valid
123
108
  # @return true if the model is valid
124
109
  def valid?
125
- return false if @status.nil?
126
110
  true
127
111
  end
128
112
 
@@ -132,34 +116,17 @@ module CyberSource
132
116
  @id = id
133
117
  end
134
118
 
135
- # Custom attribute writer method with validation
136
- # @param [Object] status Value to be assigned
137
- def status=(status)
138
- #if status.nil?
139
- #fail ArgumentError, 'status cannot be nil'
140
- #end
141
-
142
- @status = status
143
- end
144
-
145
- # Custom attribute writer method with validation
146
- # @param [Object] submit_time_stamp_utc Value to be assigned
147
- def submit_time_stamp_utc=(submit_time_stamp_utc)
148
- @submit_time_stamp_utc = submit_time_stamp_utc
149
- end
150
-
151
119
  # Checks equality by comparing each attribute.
152
120
  # @param [Object] Object to be compared
153
121
  def ==(o)
154
122
  return true if self.equal?(o)
155
123
  self.class == o.class &&
156
124
  id == o.id &&
125
+ submit_time_utc == o.submit_time_utc &&
157
126
  status == o.status &&
158
- submit_time_stamp_utc == o.submit_time_stamp_utc &&
159
- _links == o._links &&
160
- transactions == o.transactions &&
161
- client_reference_information == o.client_reference_information &&
162
- error_information == o.error_information
127
+ payment_account_information == o.payment_account_information &&
128
+ issuer_information == o.issuer_information &&
129
+ payout_information == o.payout_information
163
130
  end
164
131
 
165
132
  # @see the `==` method
@@ -171,7 +138,7 @@ module CyberSource
171
138
  # Calculates hash code according to all attributes.
172
139
  # @return [Fixnum] Hash code
173
140
  def hash
174
- [id, status, submit_time_stamp_utc, _links, transactions, client_reference_information, error_information].hash
141
+ [id, submit_time_utc, status, payment_account_information, issuer_information, payout_information].hash
175
142
  end
176
143
 
177
144
  # 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 InlineResponse2016PayoutInformation
15
+ class InlineResponse2015PayoutInformation
16
16
  attr_accessor :push_funds
17
17
 
18
18
  attr_accessor :pull_funds
@@ -41,8 +41,8 @@ module CyberSource
41
41
  # Attribute type mapping.
42
42
  def self.swagger_types
43
43
  {
44
- :'push_funds' => :'InlineResponse2016PayoutInformationPushFunds',
45
- :'pull_funds' => :'InlineResponse2016PayoutInformationPullFunds',
44
+ :'push_funds' => :'InlineResponse2015PayoutInformationPushFunds',
45
+ :'pull_funds' => :'InlineResponse2015PayoutInformationPullFunds',
46
46
  :'geo_restriction_indicator' => :'String'
47
47
  }
48
48
  end