cybersource_rest_client 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (217) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client.rb +68 -8
  3. data/lib/cybersource_rest_client/api/capture_api.rb +19 -8
  4. data/lib/cybersource_rest_client/api/conversion_details_api.rb +112 -0
  5. data/lib/cybersource_rest_client/api/credit_api.rb +19 -8
  6. data/lib/cybersource_rest_client/api/flex_token_api.rb +18 -7
  7. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +88 -55
  8. data/lib/cybersource_rest_client/api/instrument_identifiers_api.rb +24 -13
  9. data/lib/cybersource_rest_client/api/key_generation_api.rb +18 -7
  10. data/lib/cybersource_rest_client/api/net_fundings_api.rb +115 -0
  11. data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +20 -9
  12. data/lib/cybersource_rest_client/api/payment_instruments_api.rb +144 -89
  13. data/lib/cybersource_rest_client/api/payments_api.rb +19 -8
  14. data/lib/cybersource_rest_client/api/process_a_payout_api.rb +21 -9
  15. data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +27 -10
  16. data/lib/cybersource_rest_client/api/refund_api.rb +37 -15
  17. data/lib/cybersource_rest_client/api/report_definitions_api.rb +50 -19
  18. data/lib/cybersource_rest_client/api/report_downloads_api.rb +25 -10
  19. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +104 -43
  20. data/lib/cybersource_rest_client/api/reports_api.rb +83 -27
  21. data/lib/cybersource_rest_client/api/reversal_api.rb +19 -8
  22. data/lib/cybersource_rest_client/api/search_transactions_api.rb +39 -17
  23. data/lib/cybersource_rest_client/api/secure_file_share_api.rb +45 -15
  24. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +89 -13
  25. data/lib/cybersource_rest_client/api/transaction_details_api.rb +19 -8
  26. data/lib/cybersource_rest_client/api/user_management_api.rb +19 -8
  27. data/lib/cybersource_rest_client/api/void_api.rb +73 -29
  28. data/lib/cybersource_rest_client/api_client.rb +24 -12
  29. data/lib/cybersource_rest_client/configuration.rb +1 -1
  30. data/lib/cybersource_rest_client/models/capture_payment_request.rb +14 -5
  31. data/lib/cybersource_rest_client/models/create_credit_request.rb +1 -1
  32. data/lib/cybersource_rest_client/models/create_payment_request.rb +23 -5
  33. data/lib/cybersource_rest_client/models/inline_response_400.rb +59 -14
  34. data/lib/cybersource_rest_client/models/inline_response_400_1.rb +202 -0
  35. data/lib/cybersource_rest_client/models/{reporting_v3_notificationof_changes_get400_response_fields.rb → inline_response_400_fields.rb} +1 -1
  36. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response_transaction_batches.rb +7 -7
  37. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response.rb +286 -0
  38. data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_authorization_options_merchant_initiated_transaction.rb → pts_v1_transaction_batches_id_get200_response__links.rb} +10 -9
  39. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response__links_transactions.rb +193 -0
  40. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +20 -2
  41. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
  42. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information.rb +183 -0
  43. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information.rb +183 -0
  44. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +199 -0
  45. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +1 -1
  46. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +1 -1
  47. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb +2 -2
  48. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +34 -7
  49. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +40 -5
  50. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +1 -1
  51. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information_details.rb +1 -1
  52. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +519 -0
  53. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_processor_information_issuer.rb → pts_v2_payments_post201_response_issuer_information.rb} +31 -6
  54. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +1 -1
  55. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +1 -1
  56. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +13 -4
  57. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +1 -1
  58. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +208 -0
  59. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +199 -0
  60. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +2 -17
  61. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +1 -1
  62. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +183 -0
  63. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +224 -0
  64. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +75 -16
  65. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +224 -0
  66. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +0 -15
  67. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +2 -2
  68. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +249 -0
  69. data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +2 -2
  70. data/lib/cybersource_rest_client/models/pts_v2_payments_post502_response.rb +2 -2
  71. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +1 -1
  72. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +63 -4
  73. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
  74. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb +2 -2
  75. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +11 -2
  76. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb +29 -4
  77. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +199 -0
  78. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +1 -1
  79. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post400_response.rb +2 -2
  80. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +1 -1
  81. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +1 -1
  82. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post400_response.rb +2 -2
  83. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +350 -0
  84. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_error_information.rb +239 -0
  85. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_error_information_details.rb +228 -0
  86. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information.rb +183 -0
  87. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +234 -0
  88. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information.rb +183 -0
  89. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +274 -0
  90. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +299 -0
  91. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information.rb +183 -0
  92. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +224 -0
  93. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_status_information.rb +228 -0
  94. data/lib/cybersource_rest_client/models/pts_v2_payouts_post400_response.rb +1 -1
  95. data/lib/cybersource_rest_client/models/pts_v2_payouts_post502_response.rb +260 -0
  96. data/lib/cybersource_rest_client/models/pts_v2_payouts_post_response.rb +1 -1
  97. data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb +186 -4
  98. data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb +3 -3
  99. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +18 -9
  100. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +349 -0
  101. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +2 -2
  102. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +9 -9
  103. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +29 -4
  104. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +3 -2
  105. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +15 -6
  106. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +249 -0
  107. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +7 -7
  108. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +364 -0
  109. data/lib/cybersource_rest_client/models/{ptsv2payments_processing_information_issuer.rb → ptsv2payments_issuer_information.rb} +2 -2
  110. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +2 -2
  111. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +66 -7
  112. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +0 -6
  113. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +249 -0
  114. data/lib/cybersource_rest_client/models/{ptsv2payments_processing_information_authorization_options_merchant_initiated_transaction.rb → ptsv2payments_merchant_initiated_transaction.rb} +3 -3
  115. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +84 -9
  116. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +2 -2
  117. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +32 -7
  118. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +12 -28
  119. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +349 -0
  120. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +55 -5
  121. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +139 -14
  122. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +2 -2
  123. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +2 -2
  124. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +13 -4
  125. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +208 -0
  126. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +299 -0
  127. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +47 -37
  128. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -7
  129. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +4 -4
  130. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +3 -18
  131. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +253 -16
  132. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +12 -12
  133. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +20 -20
  134. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +32 -12
  135. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +4 -4
  136. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +424 -0
  137. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +1 -1
  138. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +2 -2
  139. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +3 -3
  140. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +2 -2
  141. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +8 -8
  142. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +1 -1
  143. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +579 -0
  144. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +39 -5
  145. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +59 -9
  146. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +11 -27
  147. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +1 -1
  148. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +1 -1
  149. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +2 -2
  150. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +5 -5
  151. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +2 -2
  152. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +30 -5
  153. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +9 -9
  154. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +22 -4
  155. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +5 -20
  156. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +4 -4
  157. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +1 -1
  158. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +14 -5
  159. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +224 -0
  160. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information.rb +10 -1
  161. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_amount_details.rb +199 -0
  162. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +2 -2
  163. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +5 -5
  164. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb +0 -15
  165. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +2 -2
  166. data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +199 -0
  167. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +0 -15
  168. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +0 -15
  169. data/lib/cybersource_rest_client/models/refund_capture_request.rb +1 -1
  170. data/lib/cybersource_rest_client/models/refund_payment_request.rb +1 -1
  171. data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response.rb +213 -0
  172. data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response_conversion_details.rb +275 -0
  173. data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response_notes.rb +204 -0
  174. data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response.rb +266 -0
  175. data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response_net_funding_summaries.rb +281 -0
  176. data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response_total_purchases.rb +203 -0
  177. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response.rb +273 -0
  178. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_authorizations.rb +255 -0
  179. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_fee_and_funding_details.rb +290 -0
  180. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_others.rb +260 -0
  181. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_request_details.rb +235 -0
  182. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlement_statuses.rb +240 -0
  183. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlements.rb +304 -0
  184. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response_report_definitions.rb +1 -0
  185. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response_attributes.rb +2 -0
  186. data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response_subscriptions.rb +13 -13
  187. data/lib/cybersource_rest_client/models/reporting_v3_reports_get200_response_reports.rb +18 -8
  188. data/lib/cybersource_rest_client/models/reporting_v3_reports_id_get200_response.rb +15 -15
  189. data/lib/cybersource_rest_client/models/{reporting_v3_report_subscriptions_get200_response_report_preferences.rb → reporting_v3_reports_id_get200_response_report_preferences.rb} +1 -1
  190. data/lib/cybersource_rest_client/models/{reporting_v3_notificationof_changes_get400_response.rb → reportingv3_report_downloads_get400_response.rb} +42 -52
  191. data/lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response_details.rb +195 -0
  192. data/lib/cybersource_rest_client/models/reportingv3reports_report_preferences.rb +229 -0
  193. data/lib/cybersource_rest_client/models/request_body.rb +74 -104
  194. data/lib/cybersource_rest_client/models/request_body_1.rb +159 -55
  195. data/lib/cybersource_rest_client/models/tms_v1_paymentinstruments_get200_response.rb +331 -0
  196. data/lib/cybersource_rest_client/models/tms_v1_paymentinstruments_post201_response.rb +1 -1
  197. data/lib/cybersource_rest_client/models/tms_v1_paymentinstruments_post201_response_card.rb +302 -0
  198. data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_bank_account.rb +48 -0
  199. data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_card.rb +24 -0
  200. data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_merchant_initiated_transaction.rb +199 -0
  201. data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_processing_information_authorization_options_initiator.rb +1 -1
  202. data/lib/cybersource_rest_client/models/tmsv1paymentinstruments_bill_to.rb +183 -0
  203. data/lib/cybersource_rest_client/models/tmsv1paymentinstruments_buyer_information.rb +39 -0
  204. data/lib/cybersource_rest_client/models/tmsv1paymentinstruments_instrument_identifier.rb +24 -0
  205. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_error_information.rb +1 -1
  206. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb +0 -15
  207. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb +1 -1
  208. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +0 -30
  209. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +184 -0
  210. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information.rb +1 -1
  211. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_amount_details.rb +224 -0
  212. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information.rb +1 -1
  213. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +0 -15
  214. data/lib/cybersource_rest_client/models/tss_v2_transactions_post400_response.rb +1 -1
  215. data/lib/cybersource_rest_client/models/ums_v1_users_get400_response.rb +271 -0
  216. metadata +70 -10
  217. data/lib/cybersource_rest_client/api/transaction_batch_api.rb +0 -77
@@ -18,7 +18,7 @@ module CyberSource
18
18
 
19
19
  def initialize(api_client = ApiClient.default, config)
20
20
  @api_client = api_client
21
- @api_client.set_configuration(config)
21
+ @api_client.set_configuration(config)
22
22
  end
23
23
  # Get user based on organization Id, username, permission and role
24
24
  # This endpoint is to get all the user information depending on the filter criteria passed in the query.
@@ -29,8 +29,8 @@ module CyberSource
29
29
  # @option opts [String] :role_id role of the user you are trying to search on.
30
30
  # @return [UmsV1UsersGet200Response]
31
31
  def get_users(opts = {})
32
- data, _status_code, _headers = get_users_with_http_info(opts)
33
- return data, _status_code, _headers
32
+ data, status_code, headers = get_users_with_http_info(opts)
33
+ return data, status_code, headers
34
34
  end
35
35
 
36
36
  # Get user based on organization Id, username, permission and role
@@ -42,8 +42,14 @@ module CyberSource
42
42
  # @option opts [String] :role_id role of the user you are trying to search on.
43
43
  # @return [Array<(UmsV1UsersGet200Response, Fixnum, Hash)>] UmsV1UsersGet200Response data, response status code and response headers
44
44
  def get_users_with_http_info(opts = {})
45
- if @api_client.config.debugging
46
- @api_client.config.logger.debug 'Calling API: UserManagementApi.get_users ...'
45
+
46
+ if @api_client.config.debugging
47
+ begin
48
+ raise
49
+ @api_client.config.logger.debug 'Calling API: UserManagementApi.get_users ...'
50
+ rescue
51
+ puts 'Cannot write to log'
52
+ end
47
53
  end
48
54
  # resource path
49
55
  local_var_path = 'ums/v1/users'
@@ -58,7 +64,7 @@ module CyberSource
58
64
  # header parameters
59
65
  header_params = {}
60
66
  # HTTP header 'Accept' (if needed)
61
- header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
67
+ header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
62
68
  # HTTP header 'Content-Type'
63
69
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
64
70
 
@@ -76,8 +82,13 @@ module CyberSource
76
82
  :auth_names => auth_names,
77
83
  :return_type => 'UmsV1UsersGet200Response')
78
84
  if @api_client.config.debugging
79
- @api_client.config.logger.debug "API called: UserManagementApi#get_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
80
- end
85
+ begin
86
+ raise
87
+ @api_client.config.logger.debug "API called: UserManagementApi#get_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ rescue
89
+ puts 'Cannot write to log'
90
+ end
91
+ end
81
92
  return data, status_code, headers
82
93
  end
83
94
  end
@@ -18,7 +18,7 @@ module CyberSource
18
18
 
19
19
  def initialize(api_client = ApiClient.default, config)
20
20
  @api_client = api_client
21
- @api_client.set_configuration(config)
21
+ @api_client.set_configuration(config)
22
22
  end
23
23
  # Void a Capture
24
24
  # Include the capture ID in the POST request to cancel the capture.
@@ -27,8 +27,8 @@ module CyberSource
27
27
  # @param [Hash] opts the optional parameters
28
28
  # @return [PtsV2PaymentsVoidsPost201Response]
29
29
  def void_capture(void_capture_request, id, opts = {})
30
- data, _status_code, _headers = void_capture_with_http_info(void_capture_request, id, opts)
31
- return data, _status_code, _headers
30
+ data, status_code, headers = void_capture_with_http_info(void_capture_request, id, opts)
31
+ return data, status_code, headers
32
32
  end
33
33
 
34
34
  # Void a Capture
@@ -38,8 +38,14 @@ module CyberSource
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [Array<(PtsV2PaymentsVoidsPost201Response, Fixnum, Hash)>] PtsV2PaymentsVoidsPost201Response data, response status code and response headers
40
40
  def void_capture_with_http_info(void_capture_request, id, opts = {})
41
- if @api_client.config.debugging
42
- @api_client.config.logger.debug 'Calling API: VoidApi.void_capture ...'
41
+
42
+ if @api_client.config.debugging
43
+ begin
44
+ raise
45
+ @api_client.config.logger.debug 'Calling API: VoidApi.void_capture ...'
46
+ rescue
47
+ puts 'Cannot write to log'
48
+ end
43
49
  end
44
50
  # verify the required parameter 'void_capture_request' is set
45
51
  if @api_client.config.client_side_validation && void_capture_request.nil?
@@ -58,7 +64,7 @@ module CyberSource
58
64
  # header parameters
59
65
  header_params = {}
60
66
  # HTTP header 'Accept' (if needed)
61
- header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
67
+ header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
62
68
  # HTTP header 'Content-Type'
63
69
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
64
70
 
@@ -76,8 +82,13 @@ module CyberSource
76
82
  :auth_names => auth_names,
77
83
  :return_type => 'PtsV2PaymentsVoidsPost201Response')
78
84
  if @api_client.config.debugging
79
- @api_client.config.logger.debug "API called: VoidApi#void_capture\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
80
- end
85
+ begin
86
+ raise
87
+ @api_client.config.logger.debug "API called: VoidApi#void_capture\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ rescue
89
+ puts 'Cannot write to log'
90
+ end
91
+ end
81
92
  return data, status_code, headers
82
93
  end
83
94
  # Void a Credit
@@ -87,8 +98,8 @@ module CyberSource
87
98
  # @param [Hash] opts the optional parameters
88
99
  # @return [PtsV2PaymentsVoidsPost201Response]
89
100
  def void_credit(void_credit_request, id, opts = {})
90
- data, _status_code, _headers = void_credit_with_http_info(void_credit_request, id, opts)
91
- return data, _status_code, _headers
101
+ data, status_code, headers = void_credit_with_http_info(void_credit_request, id, opts)
102
+ return data, status_code, headers
92
103
  end
93
104
 
94
105
  # Void a Credit
@@ -98,8 +109,14 @@ module CyberSource
98
109
  # @param [Hash] opts the optional parameters
99
110
  # @return [Array<(PtsV2PaymentsVoidsPost201Response, Fixnum, Hash)>] PtsV2PaymentsVoidsPost201Response data, response status code and response headers
100
111
  def void_credit_with_http_info(void_credit_request, id, opts = {})
101
- if @api_client.config.debugging
102
- @api_client.config.logger.debug 'Calling API: VoidApi.void_credit ...'
112
+
113
+ if @api_client.config.debugging
114
+ begin
115
+ raise
116
+ @api_client.config.logger.debug 'Calling API: VoidApi.void_credit ...'
117
+ rescue
118
+ puts 'Cannot write to log'
119
+ end
103
120
  end
104
121
  # verify the required parameter 'void_credit_request' is set
105
122
  if @api_client.config.client_side_validation && void_credit_request.nil?
@@ -118,7 +135,7 @@ module CyberSource
118
135
  # header parameters
119
136
  header_params = {}
120
137
  # HTTP header 'Accept' (if needed)
121
- header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
138
+ header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
122
139
  # HTTP header 'Content-Type'
123
140
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
124
141
 
@@ -136,8 +153,13 @@ module CyberSource
136
153
  :auth_names => auth_names,
137
154
  :return_type => 'PtsV2PaymentsVoidsPost201Response')
138
155
  if @api_client.config.debugging
139
- @api_client.config.logger.debug "API called: VoidApi#void_credit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
140
- end
156
+ begin
157
+ raise
158
+ @api_client.config.logger.debug "API called: VoidApi#void_credit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
159
+ rescue
160
+ puts 'Cannot write to log'
161
+ end
162
+ end
141
163
  return data, status_code, headers
142
164
  end
143
165
  # Void a Payment
@@ -147,8 +169,8 @@ module CyberSource
147
169
  # @param [Hash] opts the optional parameters
148
170
  # @return [PtsV2PaymentsVoidsPost201Response]
149
171
  def void_payment(void_payment_request, id, opts = {})
150
- data, _status_code, _headers = void_payment_with_http_info(void_payment_request, id, opts)
151
- return data, _status_code, _headers
172
+ data, status_code, headers = void_payment_with_http_info(void_payment_request, id, opts)
173
+ return data, status_code, headers
152
174
  end
153
175
 
154
176
  # Void a Payment
@@ -158,8 +180,14 @@ module CyberSource
158
180
  # @param [Hash] opts the optional parameters
159
181
  # @return [Array<(PtsV2PaymentsVoidsPost201Response, Fixnum, Hash)>] PtsV2PaymentsVoidsPost201Response data, response status code and response headers
160
182
  def void_payment_with_http_info(void_payment_request, id, opts = {})
161
- if @api_client.config.debugging
162
- @api_client.config.logger.debug 'Calling API: VoidApi.void_payment ...'
183
+
184
+ if @api_client.config.debugging
185
+ begin
186
+ raise
187
+ @api_client.config.logger.debug 'Calling API: VoidApi.void_payment ...'
188
+ rescue
189
+ puts 'Cannot write to log'
190
+ end
163
191
  end
164
192
  # verify the required parameter 'void_payment_request' is set
165
193
  if @api_client.config.client_side_validation && void_payment_request.nil?
@@ -178,7 +206,7 @@ module CyberSource
178
206
  # header parameters
179
207
  header_params = {}
180
208
  # HTTP header 'Accept' (if needed)
181
- header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
209
+ header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
182
210
  # HTTP header 'Content-Type'
183
211
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
184
212
 
@@ -196,8 +224,13 @@ module CyberSource
196
224
  :auth_names => auth_names,
197
225
  :return_type => 'PtsV2PaymentsVoidsPost201Response')
198
226
  if @api_client.config.debugging
199
- @api_client.config.logger.debug "API called: VoidApi#void_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
200
- end
227
+ begin
228
+ raise
229
+ @api_client.config.logger.debug "API called: VoidApi#void_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
230
+ rescue
231
+ puts 'Cannot write to log'
232
+ end
233
+ end
201
234
  return data, status_code, headers
202
235
  end
203
236
  # Void a Refund
@@ -207,8 +240,8 @@ module CyberSource
207
240
  # @param [Hash] opts the optional parameters
208
241
  # @return [PtsV2PaymentsVoidsPost201Response]
209
242
  def void_refund(void_refund_request, id, opts = {})
210
- data, _status_code, _headers = void_refund_with_http_info(void_refund_request, id, opts)
211
- return data, _status_code, _headers
243
+ data, status_code, headers = void_refund_with_http_info(void_refund_request, id, opts)
244
+ return data, status_code, headers
212
245
  end
213
246
 
214
247
  # Void a Refund
@@ -218,8 +251,14 @@ module CyberSource
218
251
  # @param [Hash] opts the optional parameters
219
252
  # @return [Array<(PtsV2PaymentsVoidsPost201Response, Fixnum, Hash)>] PtsV2PaymentsVoidsPost201Response data, response status code and response headers
220
253
  def void_refund_with_http_info(void_refund_request, id, opts = {})
221
- if @api_client.config.debugging
222
- @api_client.config.logger.debug 'Calling API: VoidApi.void_refund ...'
254
+
255
+ if @api_client.config.debugging
256
+ begin
257
+ raise
258
+ @api_client.config.logger.debug 'Calling API: VoidApi.void_refund ...'
259
+ rescue
260
+ puts 'Cannot write to log'
261
+ end
223
262
  end
224
263
  # verify the required parameter 'void_refund_request' is set
225
264
  if @api_client.config.client_side_validation && void_refund_request.nil?
@@ -238,7 +277,7 @@ module CyberSource
238
277
  # header parameters
239
278
  header_params = {}
240
279
  # HTTP header 'Accept' (if needed)
241
- header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
280
+ header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
242
281
  # HTTP header 'Content-Type'
243
282
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
244
283
 
@@ -256,8 +295,13 @@ module CyberSource
256
295
  :auth_names => auth_names,
257
296
  :return_type => 'PtsV2PaymentsVoidsPost201Response')
258
297
  if @api_client.config.debugging
259
- @api_client.config.logger.debug "API called: VoidApi#void_refund\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
260
- end
298
+ begin
299
+ raise
300
+ @api_client.config.logger.debug "API called: VoidApi#void_refund\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
301
+ rescue
302
+ puts 'Cannot write to log'
303
+ end
304
+ end
261
305
  return data, status_code, headers
262
306
  end
263
307
  end
@@ -31,7 +31,7 @@ module CyberSource
31
31
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
32
32
  def initialize(config = Configuration.default)
33
33
  @config = config
34
- @user_agent = "Mozilla/5.0"
34
+ @user_agent = "Swagger-Codegen/#{VERSION}/ruby"
35
35
  @default_headers = {
36
36
  'Content-Type' => 'application/json',
37
37
  'User-Agent' => @user_agent
@@ -49,9 +49,15 @@ module CyberSource
49
49
  def call_api(http_method, path, opts = {})
50
50
  request = build_request(http_method, path, opts)
51
51
  response = request.run
52
+
52
53
  if @config.debugging
53
- @config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
54
- end
54
+ begin
55
+ raise
56
+ @config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
57
+ rescue
58
+ puts 'Cannot write to log'
59
+ end
60
+ end
55
61
 
56
62
  unless response.success?
57
63
  if response.timed_out?
@@ -64,7 +70,7 @@ module CyberSource
64
70
  fail ApiError.new(:code => response.code,
65
71
  :response_headers => response.headers,
66
72
  :response_body => response.body),
67
- response.status_message
73
+ response.status_message
68
74
  end
69
75
  end
70
76
 
@@ -89,7 +95,7 @@ module CyberSource
89
95
  url = build_request_url(path)
90
96
  body_params = opts[:body] || {}
91
97
  query_params = opts[:query_params] || {}
92
- if !query_params.empty?
98
+ if !query_params.empty?
93
99
  query_params = URI.encode_www_form(query_params)
94
100
  end
95
101
  headers = CallAuthenticationHeader(http_method, path, body_params, opts[:header_params], query_params)
@@ -121,8 +127,13 @@ module CyberSource
121
127
  req_body = build_request_body(header_params, form_params, opts[:body])
122
128
  req_opts.update :body => req_body
123
129
  if @config.debugging
124
- @config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
125
- end
130
+ begin
131
+ raise
132
+ @config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
133
+ rescue
134
+ puts 'Cannot write to log'
135
+ end
136
+ end
126
137
  end
127
138
 
128
139
  request = Typhoeus::Request.new(url, req_opts)
@@ -130,11 +141,11 @@ module CyberSource
130
141
  request
131
142
  end
132
143
  # set merchantConfig
133
- def set_configuration(config)
134
- require_relative '../../AuthenticationSDK/core/Merchantconfig.rb'
135
- $merchantconfig_obj = Merchantconfig.new(config)
136
- @config.host = $merchantconfig_obj.requestHost
137
- end
144
+ def set_configuration(config)
145
+ require_relative '../../AuthenticationSDK/core/Merchantconfig.rb'
146
+ $merchantconfig_obj = Merchantconfig.new(config)
147
+ @config.host = $merchantconfig_obj.requestHost
148
+ end
138
149
  # Calling Authentication
139
150
  def CallAuthenticationHeader(http_method, path, body_params, header_params, query_params)
140
151
  require_relative '../../AuthenticationSDK/core/Authorization.rb'
@@ -187,6 +198,7 @@ module CyberSource
187
198
  end
188
199
  request_target
189
200
  end
201
+
190
202
  # Check if the given MIME is a JSON MIME.
191
203
  # JSON MIME examples:
192
204
  # application/json
@@ -140,7 +140,7 @@ module CyberSource
140
140
  @params_encoding = nil
141
141
  @cert_file = nil
142
142
  @key_file = nil
143
- @debugging = true
143
+ @debugging = false
144
144
  @inject_format = false
145
145
  @force_ending_format = false
146
146
  @logger = defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
@@ -32,9 +32,11 @@ module CyberSource
32
32
 
33
33
  attr_accessor :point_of_sale_information
34
34
 
35
- # Description of this field is not available.
35
+ # The description for this field is not available.
36
36
  attr_accessor :merchant_defined_information
37
37
 
38
+ attr_accessor :installment_information
39
+
38
40
  # Attribute mapping from ruby-style variable name to JSON key.
39
41
  def self.attribute_map
40
42
  {
@@ -47,7 +49,8 @@ module CyberSource
47
49
  :'merchant_information' => :'merchantInformation',
48
50
  :'aggregator_information' => :'aggregatorInformation',
49
51
  :'point_of_sale_information' => :'pointOfSaleInformation',
50
- :'merchant_defined_information' => :'merchantDefinedInformation'
52
+ :'merchant_defined_information' => :'merchantDefinedInformation',
53
+ :'installment_information' => :'installmentInformation'
51
54
  }
52
55
  end
53
56
 
@@ -63,7 +66,8 @@ module CyberSource
63
66
  :'merchant_information' => :'Ptsv2paymentsidcapturesMerchantInformation',
64
67
  :'aggregator_information' => :'Ptsv2paymentsidcapturesAggregatorInformation',
65
68
  :'point_of_sale_information' => :'Ptsv2paymentsidcapturesPointOfSaleInformation',
66
- :'merchant_defined_information' => :'Array<Ptsv2paymentsMerchantDefinedInformation>'
69
+ :'merchant_defined_information' => :'Array<Ptsv2paymentsMerchantDefinedInformation>',
70
+ :'installment_information' => :'Ptsv2paymentsidcapturesInstallmentInformation'
67
71
  }
68
72
  end
69
73
 
@@ -116,6 +120,10 @@ module CyberSource
116
120
  self.merchant_defined_information = value
117
121
  end
118
122
  end
123
+
124
+ if attributes.has_key?(:'installmentInformation')
125
+ self.installment_information = attributes[:'installmentInformation']
126
+ end
119
127
  end
120
128
 
121
129
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -145,7 +153,8 @@ module CyberSource
145
153
  merchant_information == o.merchant_information &&
146
154
  aggregator_information == o.aggregator_information &&
147
155
  point_of_sale_information == o.point_of_sale_information &&
148
- merchant_defined_information == o.merchant_defined_information
156
+ merchant_defined_information == o.merchant_defined_information &&
157
+ installment_information == o.installment_information
149
158
  end
150
159
 
151
160
  # @see the `==` method
@@ -157,7 +166,7 @@ module CyberSource
157
166
  # Calculates hash code according to all attributes.
158
167
  # @return [Fixnum] Hash code
159
168
  def hash
160
- [client_reference_information, processing_information, payment_information, order_information, buyer_information, device_information, merchant_information, aggregator_information, point_of_sale_information, merchant_defined_information].hash
169
+ [client_reference_information, processing_information, payment_information, order_information, buyer_information, device_information, merchant_information, aggregator_information, point_of_sale_information, merchant_defined_information, installment_information].hash
161
170
  end
162
171
 
163
172
  # Builds the object from hash
@@ -32,7 +32,7 @@ module CyberSource
32
32
 
33
33
  attr_accessor :point_of_sale_information
34
34
 
35
- # Description of this field is not available.
35
+ # The description for this field is not available.
36
36
  attr_accessor :merchant_defined_information
37
37
 
38
38
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -18,6 +18,8 @@ module CyberSource
18
18
 
19
19
  attr_accessor :processing_information
20
20
 
21
+ attr_accessor :issuer_information
22
+
21
23
  attr_accessor :payment_information
22
24
 
23
25
  attr_accessor :order_information
@@ -36,14 +38,17 @@ module CyberSource
36
38
 
37
39
  attr_accessor :point_of_sale_information
38
40
 
39
- # Description of this field is not available.
41
+ # The description for this field is not available.
40
42
  attr_accessor :merchant_defined_information
41
43
 
44
+ attr_accessor :installment_information
45
+
42
46
  # Attribute mapping from ruby-style variable name to JSON key.
43
47
  def self.attribute_map
44
48
  {
45
49
  :'client_reference_information' => :'clientReferenceInformation',
46
50
  :'processing_information' => :'processingInformation',
51
+ :'issuer_information' => :'issuerInformation',
47
52
  :'payment_information' => :'paymentInformation',
48
53
  :'order_information' => :'orderInformation',
49
54
  :'buyer_information' => :'buyerInformation',
@@ -53,7 +58,8 @@ module CyberSource
53
58
  :'aggregator_information' => :'aggregatorInformation',
54
59
  :'consumer_authentication_information' => :'consumerAuthenticationInformation',
55
60
  :'point_of_sale_information' => :'pointOfSaleInformation',
56
- :'merchant_defined_information' => :'merchantDefinedInformation'
61
+ :'merchant_defined_information' => :'merchantDefinedInformation',
62
+ :'installment_information' => :'installmentInformation'
57
63
  }
58
64
  end
59
65
 
@@ -62,6 +68,7 @@ module CyberSource
62
68
  {
63
69
  :'client_reference_information' => :'Ptsv2paymentsClientReferenceInformation',
64
70
  :'processing_information' => :'Ptsv2paymentsProcessingInformation',
71
+ :'issuer_information' => :'Ptsv2paymentsIssuerInformation',
65
72
  :'payment_information' => :'Ptsv2paymentsPaymentInformation',
66
73
  :'order_information' => :'Ptsv2paymentsOrderInformation',
67
74
  :'buyer_information' => :'Ptsv2paymentsBuyerInformation',
@@ -71,7 +78,8 @@ module CyberSource
71
78
  :'aggregator_information' => :'Ptsv2paymentsAggregatorInformation',
72
79
  :'consumer_authentication_information' => :'Ptsv2paymentsConsumerAuthenticationInformation',
73
80
  :'point_of_sale_information' => :'Ptsv2paymentsPointOfSaleInformation',
74
- :'merchant_defined_information' => :'Array<Ptsv2paymentsMerchantDefinedInformation>'
81
+ :'merchant_defined_information' => :'Array<Ptsv2paymentsMerchantDefinedInformation>',
82
+ :'installment_information' => :'Ptsv2paymentsInstallmentInformation'
75
83
  }
76
84
  end
77
85
 
@@ -91,6 +99,10 @@ module CyberSource
91
99
  self.processing_information = attributes[:'processingInformation']
92
100
  end
93
101
 
102
+ if attributes.has_key?(:'issuerInformation')
103
+ self.issuer_information = attributes[:'issuerInformation']
104
+ end
105
+
94
106
  if attributes.has_key?(:'paymentInformation')
95
107
  self.payment_information = attributes[:'paymentInformation']
96
108
  end
@@ -132,6 +144,10 @@ module CyberSource
132
144
  self.merchant_defined_information = value
133
145
  end
134
146
  end
147
+
148
+ if attributes.has_key?(:'installmentInformation')
149
+ self.installment_information = attributes[:'installmentInformation']
150
+ end
135
151
  end
136
152
 
137
153
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -154,6 +170,7 @@ module CyberSource
154
170
  self.class == o.class &&
155
171
  client_reference_information == o.client_reference_information &&
156
172
  processing_information == o.processing_information &&
173
+ issuer_information == o.issuer_information &&
157
174
  payment_information == o.payment_information &&
158
175
  order_information == o.order_information &&
159
176
  buyer_information == o.buyer_information &&
@@ -163,7 +180,8 @@ module CyberSource
163
180
  aggregator_information == o.aggregator_information &&
164
181
  consumer_authentication_information == o.consumer_authentication_information &&
165
182
  point_of_sale_information == o.point_of_sale_information &&
166
- merchant_defined_information == o.merchant_defined_information
183
+ merchant_defined_information == o.merchant_defined_information &&
184
+ installment_information == o.installment_information
167
185
  end
168
186
 
169
187
  # @see the `==` method
@@ -175,7 +193,7 @@ module CyberSource
175
193
  # Calculates hash code according to all attributes.
176
194
  # @return [Fixnum] Hash code
177
195
  def hash
178
- [client_reference_information, processing_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].hash
196
+ [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].hash
179
197
  end
180
198
 
181
199
  # Builds the object from hash