cybersource_rest_client 0.0.11 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (428) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client.rb +104 -84
  3. data/lib/cybersource_rest_client/api/capture_api.rb +2 -2
  4. data/lib/cybersource_rest_client/api/conversion_details_api.rb +6 -6
  5. data/lib/cybersource_rest_client/api/credit_api.rb +2 -2
  6. data/lib/cybersource_rest_client/api/decision_manager_api.rb +89 -0
  7. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +229 -47
  8. data/lib/cybersource_rest_client/api/key_generation_api.rb +13 -9
  9. data/lib/cybersource_rest_client/api/net_fundings_api.rb +16 -16
  10. data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +6 -6
  11. data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +135 -0
  12. data/lib/cybersource_rest_client/api/payment_instrument_api.rb +365 -0
  13. data/lib/cybersource_rest_client/api/payments_api.rb +2 -2
  14. data/lib/cybersource_rest_client/api/{process_a_payout_api.rb → payouts_api.rb} +7 -7
  15. data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +6 -6
  16. data/lib/cybersource_rest_client/api/refund_api.rb +2 -2
  17. data/lib/cybersource_rest_client/api/report_definitions_api.rb +2 -2
  18. data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -2
  19. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +2 -2
  20. data/lib/cybersource_rest_client/api/reports_api.rb +6 -6
  21. data/lib/cybersource_rest_client/api/reversal_api.rb +67 -2
  22. data/lib/cybersource_rest_client/api/search_transactions_api.rb +13 -13
  23. data/lib/cybersource_rest_client/api/secure_file_share_api.rb +12 -12
  24. data/lib/cybersource_rest_client/api/{flex_token_api.rb → tokenization_api.rb} +18 -14
  25. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +76 -2
  26. data/lib/cybersource_rest_client/api/transaction_details_api.rb +2 -2
  27. data/lib/cybersource_rest_client/api/user_management_api.rb +2 -2
  28. data/lib/cybersource_rest_client/api/void_api.rb +67 -2
  29. data/lib/cybersource_rest_client/api_client.rb +12 -13
  30. data/lib/cybersource_rest_client/api_error.rb +2 -2
  31. data/lib/cybersource_rest_client/configuration.rb +2 -2
  32. data/lib/cybersource_rest_client/models/auth_reversal_request.rb +2 -2
  33. data/lib/cybersource_rest_client/models/capture_payment_request.rb +2 -2
  34. data/lib/cybersource_rest_client/models/create_credit_request.rb +2 -2
  35. data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_post200_response.rb → create_decision_manager_case_request.rb} +70 -99
  36. data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_buyer_information_personal_identification.rb → create_instrument_identifier_request.rb} +20 -21
  37. data/lib/cybersource_rest_client/models/{tms_v1_paymentinstruments_get200_response.rb → create_payment_instrument_request.rb} +13 -13
  38. data/lib/cybersource_rest_client/models/create_payment_request.rb +2 -2
  39. data/lib/cybersource_rest_client/models/{tss_v2_transactions_post_response.rb → create_search_request.rb} +3 -3
  40. data/lib/cybersource_rest_client/models/flex_v1_keys_post200_response.rb +2 -2
  41. data/lib/cybersource_rest_client/models/flex_v1_keys_post200_response_der.rb +2 -2
  42. data/lib/cybersource_rest_client/models/flex_v1_keys_post200_response_jwk.rb +2 -2
  43. data/lib/cybersource_rest_client/models/flex_v1_tokens_post200_response.rb +2 -2
  44. data/lib/cybersource_rest_client/models/flexv1tokens_card_info.rb +12 -2
  45. data/lib/cybersource_rest_client/models/generate_public_key_request.rb +6 -66
  46. data/lib/cybersource_rest_client/models/{der_public_key.rb → inline_response_200.rb} +24 -26
  47. data/lib/cybersource_rest_client/models/inline_response_200_payment_batch_summaries.rb +282 -0
  48. data/lib/cybersource_rest_client/models/inline_response_400.rb +2 -2
  49. data/lib/cybersource_rest_client/models/inline_response_400_1.rb +2 -2
  50. data/lib/cybersource_rest_client/models/inline_response_400_fields.rb +2 -2
  51. data/lib/cybersource_rest_client/models/inline_response_default.rb +2 -2
  52. data/lib/cybersource_rest_client/models/inline_response_default__links.rb +2 -2
  53. data/lib/cybersource_rest_client/models/inline_response_default__links_next.rb +2 -2
  54. data/lib/cybersource_rest_client/models/inline_response_default_response_status.rb +2 -2
  55. data/lib/cybersource_rest_client/models/inline_response_default_response_status_details.rb +2 -2
  56. data/lib/cybersource_rest_client/models/{tokenize_parameters.rb → mit_reversal_request.rb} +43 -17
  57. data/lib/cybersource_rest_client/models/{error.rb → mit_void_request.rb} +10 -19
  58. data/lib/cybersource_rest_client/models/{pts_v2_payouts_post_response.rb → oct_create_payment_request.rb} +3 -3
  59. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response.rb +3 -3
  60. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response__links.rb +2 -2
  61. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response__links_self.rb +2 -2
  62. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response_transaction_batches.rb +2 -2
  63. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response.rb +3 -3
  64. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response_error_information.rb +2 -2
  65. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response_error_information_details.rb +2 -2
  66. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get500_response.rb +3 -3
  67. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get500_response_error_information.rb +2 -2
  68. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response.rb +2 -2
  69. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response__links.rb +2 -2
  70. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response__links_transactions.rb +2 -2
  71. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +4 -4
  72. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +2 -2
  73. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information.rb +2 -2
  74. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information.rb +2 -2
  75. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +2 -2
  76. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +4 -4
  77. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response__links.rb +2 -2
  78. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information.rb +2 -2
  79. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +2 -2
  80. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +2 -2
  81. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb +3 -3
  82. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +4 -4
  83. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response__links.rb +2 -2
  84. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response__links_self.rb +4 -4
  85. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +3 -3
  86. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +5 -5
  87. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information_details.rb +2 -2
  88. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +2 -197
  89. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +2 -2
  90. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information.rb +2 -2
  91. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +2 -2
  92. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +2 -2
  93. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +2 -2
  94. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +2 -2
  95. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +2 -2
  96. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +2 -2
  97. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_card.rb +2 -17
  98. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +3 -3
  99. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +2 -2
  100. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +2 -2
  101. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +2 -2
  102. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +2 -2
  103. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +2 -2
  104. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +2 -2
  105. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +2 -2
  106. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +3 -3
  107. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +2 -2
  108. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb +2 -2
  109. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +2 -2
  110. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +2 -2
  111. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +2 -2
  112. data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +3 -3
  113. data/lib/cybersource_rest_client/models/pts_v2_payments_post502_response.rb +5 -5
  114. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +4 -4
  115. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response__links.rb +2 -2
  116. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information.rb +2 -2
  117. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +2 -2
  118. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +2 -2
  119. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb +3 -3
  120. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +4 -4
  121. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response__links.rb +2 -2
  122. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb +2 -2
  123. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +2 -2
  124. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +2 -2
  125. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +2 -2
  126. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post400_response.rb +3 -3
  127. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +4 -4
  128. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +2 -2
  129. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post400_response.rb +3 -3
  130. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +14 -17
  131. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_error_information.rb +4 -4
  132. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information.rb +2 -2
  133. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +2 -2
  134. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information.rb +2 -2
  135. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +4 -4
  136. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +2 -2
  137. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information.rb +2 -2
  138. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +2 -2
  139. data/lib/cybersource_rest_client/models/pts_v2_payouts_post400_response.rb +31 -7
  140. data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb +2 -2
  141. data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb +2 -2
  142. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +2 -2
  143. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +2 -2
  144. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +2 -2
  145. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +2 -2
  146. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +2 -2
  147. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +7 -7
  148. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +4 -4
  149. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +2 -2
  150. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +2 -2
  151. data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +4 -4
  152. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +2 -2
  153. data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +2 -2
  154. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +2 -2
  155. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +2 -2
  156. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +2 -2
  157. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +2 -2
  158. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +2 -2
  159. data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +2 -2
  160. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +2 -2
  161. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +2 -2
  162. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +2 -2
  163. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +2 -2
  164. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +2 -2
  165. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +2 -2
  166. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +2 -2
  167. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +2 -2
  168. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +7 -7
  169. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +4 -4
  170. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +20 -4
  171. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +2 -2
  172. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +2 -2
  173. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +2 -2
  174. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +6 -6
  175. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +2 -2
  176. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +2 -2
  177. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +3 -3
  178. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +2 -2
  179. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +2 -2
  180. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +2 -2
  181. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +2 -2
  182. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +2 -2
  183. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +2 -2
  184. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +2 -2
  185. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +2 -2
  186. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +2 -2
  187. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +2 -2
  188. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +2 -2
  189. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +2 -2
  190. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +2 -227
  191. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +2 -2
  192. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information.rb +2 -2
  193. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +2 -2
  194. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +2 -2
  195. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +2 -2
  196. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +3 -3
  197. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +2 -2
  198. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information.rb +2 -2
  199. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +2 -2
  200. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +2 -2
  201. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +2 -2
  202. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +2 -2
  203. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options.rb +2 -2
  204. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +2 -2
  205. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information.rb +2 -2
  206. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +7 -7
  207. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +2 -2
  208. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +6 -6
  209. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb +2 -2
  210. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +2 -2
  211. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +2 -2
  212. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +3 -3
  213. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +2 -2
  214. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information.rb +2 -2
  215. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_amount_details.rb +2 -2
  216. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +3 -3
  217. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information.rb +2 -2
  218. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +2 -2
  219. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb +2 -2
  220. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +2 -2
  221. data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +3 -3
  222. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +12 -3
  223. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +2 -2
  224. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information.rb +2 -2
  225. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +4 -4
  226. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +3 -3
  227. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +11 -11
  228. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information.rb +15 -6
  229. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +12 -12
  230. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +3 -3
  231. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +2 -2
  232. data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +2 -2
  233. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +2 -2
  234. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +2 -2
  235. data/lib/cybersource_rest_client/models/refund_capture_request.rb +2 -2
  236. data/lib/cybersource_rest_client/models/refund_payment_request.rb +2 -2
  237. data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response.rb +2 -2
  238. data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response_conversion_details.rb +2 -2
  239. data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response_notes.rb +2 -2
  240. data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response.rb +2 -2
  241. data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response_net_funding_summaries.rb +2 -2
  242. data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response_total_purchases.rb +2 -2
  243. data/lib/cybersource_rest_client/models/reporting_v3_notificationof_changes_get200_response.rb +2 -2
  244. data/lib/cybersource_rest_client/models/reporting_v3_notificationof_changes_get200_response_notification_of_changes.rb +2 -2
  245. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response.rb +2 -2
  246. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_authorizations.rb +2 -2
  247. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_fee_and_funding_details.rb +2 -2
  248. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_others.rb +2 -2
  249. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_request_details.rb +2 -2
  250. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlement_statuses.rb +2 -2
  251. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlements.rb +2 -2
  252. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response.rb +2 -2
  253. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response_report_definitions.rb +2 -2
  254. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response.rb +2 -2
  255. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response_attributes.rb +2 -2
  256. data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response.rb +2 -2
  257. data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response_subscriptions.rb +5 -5
  258. data/lib/cybersource_rest_client/models/reporting_v3_reports_get200_response.rb +2 -2
  259. data/lib/cybersource_rest_client/models/reporting_v3_reports_get200_response_reports.rb +2 -2
  260. data/lib/cybersource_rest_client/models/reporting_v3_reports_id_get200_response.rb +3 -3
  261. data/lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response.rb +4 -4
  262. data/lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response_details.rb +2 -2
  263. data/lib/cybersource_rest_client/models/reportingv3reports_report_preferences.rb +2 -2
  264. data/lib/cybersource_rest_client/models/request_body.rb +2 -2
  265. data/lib/cybersource_rest_client/models/request_body_1.rb +5 -5
  266. data/lib/cybersource_rest_client/models/{pts_v2_payouts_post502_response.rb → risk_v1_decisions_post201_response.rb} +58 -62
  267. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information.rb +284 -0
  268. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_info_codes.rb +270 -0
  269. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_ip_address.rb +300 -0
  270. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_payment_information.rb +300 -0
  271. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_profile.rb +249 -0
  272. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_providers.rb +185 -0
  273. data/lib/cybersource_rest_client/models/{link.rb → risk_v1_decisions_post201_response_risk_information_providers_provider_name.rb} +21 -28
  274. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_rules.rb +224 -0
  275. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_score.rb +235 -0
  276. data/lib/cybersource_rest_client/models/{key_result.rb → risk_v1_decisions_post201_response_risk_information_velocity.rb} +20 -26
  277. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_velocity_morphing.rb +234 -0
  278. data/lib/cybersource_rest_client/models/{ums_v1_users_get400_response.rb → risk_v1_decisions_post400_response.rb} +7 -19
  279. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +236 -0
  280. data/lib/cybersource_rest_client/models/{tss_v2_transactions_get200_response_processor_information_ach_verification.rb → riskv1decisions_card_verification.rb} +8 -33
  281. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +224 -0
  282. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +279 -0
  283. data/lib/cybersource_rest_client/models/{tss_v2_transactions_get200_response_merchant_defined_information.rb → riskv1decisions_merchant_defined_information.rb} +11 -10
  284. data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +248 -0
  285. data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_order_information_amount_details.rb → riskv1decisions_order_information_amount_details.rb} +42 -32
  286. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +424 -0
  287. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +394 -0
  288. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_passenger.rb +350 -0
  289. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +400 -0
  290. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +225 -0
  291. data/lib/cybersource_rest_client/models/{error_response.rb → riskv1decisions_payment_information.rb} +17 -16
  292. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +285 -0
  293. data/lib/cybersource_rest_client/models/{tms_v1_paymentinstruments_post201_response_card.rb → riskv1decisions_payment_information_tokenized_card.rb} +57 -99
  294. data/lib/cybersource_rest_client/models/riskv1decisions_processor_information.rb +184 -0
  295. data/lib/cybersource_rest_client/models/{tss_v2_transactions_get200_response_processor_information_card_verification.rb → riskv1decisions_processor_information_avs.rb} +20 -19
  296. data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +183 -0
  297. data/lib/cybersource_rest_client/models/{error_links.rb → riskv1decisions_risk_information_profile.rb} +27 -32
  298. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +260 -0
  299. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +224 -0
  300. data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_delete409_response.rb → tms_v1_instrument_identifiers_delete409_response.rb} +4 -4
  301. data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_delete409_response__links.rb → tms_v1_instrument_identifiers_delete409_response__links.rb} +4 -4
  302. data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_delete409_response__links_payment_instruments.rb → tms_v1_instrument_identifiers_delete409_response__links_payment_instruments.rb} +3 -3
  303. data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_paymentinstruments_get200_response.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response.rb} +5 -6
  304. data/lib/cybersource_rest_client/models/{response_status_details.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded.rb} +13 -21
  305. data/lib/cybersource_rest_client/models/{pts_v2_payouts_post201_response_error_information_details.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_bank_account.rb} +19 -29
  306. data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_bill_to.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_bill_to.rb} +14 -14
  307. data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_buyer_information.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_buyer_information.rb} +31 -7
  308. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_card.rb +403 -0
  309. data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__links.rb} +8 -8
  310. data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_first.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__links_first.rb} +3 -3
  311. data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_last.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__links_last.rb} +3 -3
  312. data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_next.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__links_next.rb} +3 -3
  313. data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_prev.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response__links_prev.rb} +3 -3
  314. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_self.rb +184 -0
  315. data/lib/cybersource_rest_client/models/{reporting_v3_reports_id_get200_response_report_preferences.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_bank_transfer_options.rb} +19 -30
  316. data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_buyer_information_issued_by.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_buyer_information_issued_by.rb} +4 -4
  317. data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_instrument_identifier.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_instrument_identifier.rb} +10 -10
  318. data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_merchant_information_merchant_descriptor.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_merchant_descriptor.rb} +3 -3
  319. data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_merchant_information.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_merchant_information.rb} +4 -4
  320. data/lib/cybersource_rest_client/models/{body_2.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_payment_instruments.rb} +13 -13
  321. data/lib/cybersource_rest_client/models/{pts_v2_payouts_post201_response_status_information.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_personal_identification.rb} +35 -26
  322. data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_processing_information.rb → tms_v1_instrument_identifiers_payment_instruments_get200_response_processing_information.rb} +7 -5
  323. data/lib/cybersource_rest_client/models/{body.rb → tms_v1_instrument_identifiers_post200_response.rb} +9 -9
  324. data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers__links.rb → tms_v1_instrument_identifiers_post200_response__links.rb} +6 -6
  325. data/lib/cybersource_rest_client/models/{tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_self.rb → tms_v1_instrument_identifiers_post200_response__links_self.rb} +3 -4
  326. data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_processing_information_authorization_options_initiator.rb → tms_v1_instrument_identifiers_post200_response_authorization_options_initiator.rb} +4 -4
  327. data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_bank_account.rb → tms_v1_instrument_identifiers_post200_response_bank_account.rb} +4 -4
  328. data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb → tms_v1_instrument_identifiers_post200_response_card.rb} +28 -19
  329. data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_merchant_initiated_transaction.rb → tms_v1_instrument_identifiers_post200_response_merchant_initiated_transaction.rb} +3 -3
  330. data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_metadata.rb → tms_v1_instrument_identifiers_post200_response_metadata.rb} +3 -3
  331. data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_processing_information.rb → tms_v1_instrument_identifiers_post200_response_processing_information.rb} +4 -4
  332. data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_processing_information_authorization_options.rb → tms_v1_instrument_identifiers_post200_response_processing_information_authorization_options.rb} +4 -4
  333. data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_bill_to.rb +234 -0
  334. data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_card.rb +108 -6
  335. data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_details.rb +2 -2
  336. data/lib/cybersource_rest_client/models/tokenize_request.rb +7 -2
  337. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +9 -9
  338. data/lib/cybersource_rest_client/models/{links.rb → tss_v2_transactions_get200_response__links.rb} +12 -23
  339. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb +2 -2
  340. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information_applications.rb +2 -2
  341. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +3 -3
  342. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +19 -4
  343. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +4 -4
  344. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +5 -5
  345. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_error_information.rb +3 -3
  346. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_fraud_marking_information.rb +2 -2
  347. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_installment_information.rb +2 -2
  348. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information.rb +2 -2
  349. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb +2 -2
  350. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information.rb +2 -2
  351. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +58 -8
  352. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +18 -34
  353. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +2 -2
  354. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +12 -12
  355. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +20 -5
  356. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb +3 -3
  357. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +2 -2
  358. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +2 -2
  359. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +50 -5
  360. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb +2 -2
  361. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +13 -13
  362. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_invoice.rb +2 -2
  363. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb +6 -16
  364. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +2 -2
  365. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +3 -3
  366. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +3 -3
  367. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_bank_transfer_options.rb +2 -2
  368. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +59 -9
  369. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +2 -2
  370. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_processor.rb +2 -2
  371. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information.rb +5 -5
  372. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_profile.rb +2 -2
  373. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules.rb +225 -0
  374. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_score.rb +2 -2
  375. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +2 -2
  376. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +19 -19
  377. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded.rb +2 -2
  378. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded__links.rb +2 -2
  379. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +3 -3
  380. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +3 -3
  381. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +3 -3
  382. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +3 -3
  383. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +3 -3
  384. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information.rb +3 -3
  385. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +7 -7
  386. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +5 -5
  387. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information.rb +10 -10
  388. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +3 -18
  389. data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_payment_information_payment_method.rb → tss_v2_transactions_post201_response__embedded_payment_information_payment_type.rb} +18 -8
  390. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +19 -4
  391. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +3 -3
  392. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processor_information.rb +2 -2
  393. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information.rb +2 -2
  394. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers.rb +2 -2
  395. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +2 -2
  396. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +5 -5
  397. data/lib/cybersource_rest_client/models/tss_v2_transactions_post400_response.rb +5 -5
  398. data/lib/cybersource_rest_client/models/ums_v1_users_get200_response.rb +2 -2
  399. data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_account_information.rb +2 -2
  400. data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_contact_information.rb +2 -2
  401. data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_organization_information.rb +2 -2
  402. data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_users.rb +2 -2
  403. data/lib/cybersource_rest_client/models/{body_1.rb → update_instrument_identifier_request.rb} +4 -4
  404. data/lib/cybersource_rest_client/models/{tms_v1_paymentinstruments_post201_response.rb → update_payment_instrument_request.rb} +13 -13
  405. data/lib/cybersource_rest_client/models/v1_file_details_get200_response.rb +2 -2
  406. data/lib/cybersource_rest_client/models/v1_file_details_get200_response__links.rb +2 -2
  407. data/lib/cybersource_rest_client/models/v1_file_details_get200_response__links_files.rb +2 -2
  408. data/lib/cybersource_rest_client/models/v1_file_details_get200_response__links_self.rb +2 -2
  409. data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +2 -2
  410. data/lib/cybersource_rest_client/models/void_capture_request.rb +2 -2
  411. data/lib/cybersource_rest_client/models/void_credit_request.rb +2 -2
  412. data/lib/cybersource_rest_client/models/void_payment_request.rb +2 -2
  413. data/lib/cybersource_rest_client/models/void_refund_request.rb +2 -2
  414. data/lib/cybersource_rest_client/version.rb +2 -2
  415. metadata +89 -71
  416. data/lib/cybersource_rest_client/api/instrument_identifiers_api.rb +0 -102
  417. data/lib/cybersource_rest_client/api/payment_instruments_api.rb +0 -469
  418. data/lib/cybersource_rest_client/models/body_3.rb +0 -331
  419. data/lib/cybersource_rest_client/models/card_info.rb +0 -214
  420. data/lib/cybersource_rest_client/models/json_web_key.rb +0 -225
  421. data/lib/cybersource_rest_client/models/key_parameters.rb +0 -184
  422. data/lib/cybersource_rest_client/models/response_status.rb +0 -225
  423. data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers__links_self.rb +0 -183
  424. data/lib/cybersource_rest_client/models/tmsv1paymentinstruments_bank_account.rb +0 -184
  425. data/lib/cybersource_rest_client/models/tmsv1paymentinstruments_card.rb +0 -278
  426. data/lib/cybersource_rest_client/models/tmsv1paymentinstruments_processing_information_bank_transfer_options.rb +0 -184
  427. data/lib/cybersource_rest_client/models/tokenize_result.rb +0 -255
  428. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +0 -184
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #CyberSource Flex API
2
+ #CyberSource Merged Spec
3
3
 
4
- #Simple PAN tokenization service
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
5
 
6
6
  OpenAPI spec version: 0.0.1
7
7
 
@@ -20,6 +20,80 @@ module CyberSource
20
20
  @api_client = api_client
21
21
  @api_client.set_configuration(config)
22
22
  end
23
+ # Filters batch response.
24
+ # Filters batch response.
25
+ # @param transaction_batch_id Transaction Batch Id, this is unique.
26
+ # @param [Hash] opts the optional parameters
27
+ # @option opts [Date] :upload_date Date in which the original batch file was uploaded. Date must be in ISO-8601 format.
28
+ # @option opts [String] :status Allows you to filter by rejected response.
29
+ # @return [nil]
30
+ def get_transaction_batch_details(transaction_batch_id, opts = {})
31
+ data, status_code, headers = get_transaction_batch_details_with_http_info(transaction_batch_id, opts)
32
+ return data, status_code, headers
33
+ end
34
+
35
+ # Filters batch response.
36
+ # Filters batch response.
37
+ # @param transaction_batch_id Transaction Batch Id, this is unique.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Date] :upload_date Date in which the original batch file was uploaded. Date must be in ISO-8601 format.
40
+ # @option opts [String] :status Allows you to filter by rejected response.
41
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
42
+ def get_transaction_batch_details_with_http_info(transaction_batch_id, opts = {})
43
+
44
+ if @api_client.config.debugging
45
+ begin
46
+ raise
47
+ @api_client.config.logger.debug 'Calling API: TransactionBatchesApi.get_transaction_batch_details ...'
48
+ rescue
49
+ puts 'Cannot write to log'
50
+ end
51
+ end
52
+ # verify the required parameter 'transaction_batch_id' is set
53
+ if @api_client.config.client_side_validation && transaction_batch_id.nil?
54
+ fail ArgumentError, "Missing the required parameter 'transaction_batch_id' when calling TransactionBatchesApi.get_transaction_batch_details"
55
+ end
56
+ if @api_client.config.client_side_validation && opts[:'status'] && !['Rejected'].include?(opts[:'status'])
57
+ fail ArgumentError, 'invalid value for "status", must be one of Rejected'
58
+ end
59
+ # resource path
60
+ local_var_path = 'pts/v1/transaction-batch-details'
61
+
62
+ # query parameters
63
+ query_params = {}
64
+ query_params[:'transactionBatchId'] = transaction_batch_id
65
+ query_params[:'uploadDate'] = opts[:'upload_date'] if !opts[:'upload_date'].nil?
66
+ query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
67
+
68
+ # header parameters
69
+ header_params = {}
70
+ # HTTP header 'Accept' (if needed)
71
+ header_params['Accept'] = @api_client.select_header_accept(['text/vnd.cybersource.map-csv'])
72
+ # HTTP header 'Content-Type'
73
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
74
+
75
+ # form parameters
76
+ form_params = {}
77
+
78
+ # http body (model)
79
+ post_body = nil
80
+ auth_names = []
81
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
82
+ :header_params => header_params,
83
+ :query_params => query_params,
84
+ :form_params => form_params,
85
+ :body => post_body,
86
+ :auth_names => auth_names)
87
+ if @api_client.config.debugging
88
+ begin
89
+ raise
90
+ @api_client.config.logger.debug "API called: TransactionBatchesApi#get_transaction_batch_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
91
+ rescue
92
+ puts 'Cannot write to log'
93
+ end
94
+ end
95
+ return data, status_code, headers
96
+ end
23
97
  # Get individual batch file
24
98
  # Provide the search range
25
99
  # @param id The batch id assigned for the template.
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #CyberSource Flex API
2
+ #CyberSource Merged Spec
3
3
 
4
- #Simple PAN tokenization service
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
5
 
6
6
  OpenAPI spec version: 0.0.1
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #CyberSource Flex API
2
+ #CyberSource Merged Spec
3
3
 
4
- #Simple PAN tokenization service
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
5
 
6
6
  OpenAPI spec version: 0.0.1
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #CyberSource Flex API
2
+ #CyberSource Merged Spec
3
3
 
4
- #Simple PAN tokenization service
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
5
 
6
6
  OpenAPI spec version: 0.0.1
7
7
 
@@ -20,6 +20,71 @@ module CyberSource
20
20
  @api_client = api_client
21
21
  @api_client.set_configuration(config)
22
22
  end
23
+ # Merchant Initiated Void
24
+ # This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply.
25
+ # @param mit_void_request
26
+ # @param [Hash] opts the optional parameters
27
+ # @return [PtsV2PaymentsVoidsPost201Response]
28
+ def mit_void(mit_void_request, opts = {})
29
+ data, status_code, headers = mit_void_with_http_info(mit_void_request, opts)
30
+ return data, status_code, headers
31
+ end
32
+
33
+ # Merchant Initiated Void
34
+ # This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply.
35
+ # @param mit_void_request
36
+ # @param [Hash] opts the optional parameters
37
+ # @return [Array<(PtsV2PaymentsVoidsPost201Response, Fixnum, Hash)>] PtsV2PaymentsVoidsPost201Response data, response status code and response headers
38
+ def mit_void_with_http_info(mit_void_request, opts = {})
39
+
40
+ if @api_client.config.debugging
41
+ begin
42
+ raise
43
+ @api_client.config.logger.debug 'Calling API: VoidApi.mit_void ...'
44
+ rescue
45
+ puts 'Cannot write to log'
46
+ end
47
+ end
48
+ # verify the required parameter 'mit_void_request' is set
49
+ if @api_client.config.client_side_validation && mit_void_request.nil?
50
+ fail ArgumentError, "Missing the required parameter 'mit_void_request' when calling VoidApi.mit_void"
51
+ end
52
+ # resource path
53
+ local_var_path = 'pts/v2/voids/'
54
+
55
+ # query parameters
56
+ query_params = {}
57
+
58
+ # header parameters
59
+ header_params = {}
60
+ # HTTP header 'Accept' (if needed)
61
+ header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
62
+ # HTTP header 'Content-Type'
63
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
64
+
65
+ # form parameters
66
+ form_params = {}
67
+
68
+ # http body (model)
69
+ post_body = @api_client.object_to_http_body(mit_void_request)
70
+ auth_names = []
71
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
72
+ :header_params => header_params,
73
+ :query_params => query_params,
74
+ :form_params => form_params,
75
+ :body => post_body,
76
+ :auth_names => auth_names,
77
+ :return_type => 'PtsV2PaymentsVoidsPost201Response')
78
+ if @api_client.config.debugging
79
+ begin
80
+ raise
81
+ @api_client.config.logger.debug "API called: VoidApi#mit_void\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
+ rescue
83
+ puts 'Cannot write to log'
84
+ end
85
+ end
86
+ return data, status_code, headers
87
+ end
23
88
  # Void a Capture
24
89
  # Include the capture ID in the POST request to cancel the capture.
25
90
  # @param void_capture_request
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #CyberSource Flex API
2
+ #CyberSource Merged Spec
3
3
 
4
- #Simple PAN tokenization service
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
5
 
6
6
  OpenAPI spec version: 0.0.1
7
7
 
@@ -69,8 +69,7 @@ module CyberSource
69
69
  else
70
70
  fail ApiError.new(:code => response.code,
71
71
  :response_headers => response.headers,
72
- :response_body => response.body),
73
- response.status_message
72
+ :response_body => response.body)
74
73
  end
75
74
  end
76
75
 
@@ -140,13 +139,13 @@ module CyberSource
140
139
  download_file(request) if opts[:return_type] == 'File'
141
140
  request
142
141
  end
143
- # set merchantConfig
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
149
- # Calling Authentication
142
+ # set merchantConfig
143
+ def set_configuration(config)
144
+ require_relative '../AuthenticationSDK/core/MerchantConfig.rb'
145
+ $merchantconfig_obj = Merchantconfig.new(config)
146
+ @config.host = $merchantconfig_obj.requestHost
147
+ end
148
+ # Calling Authentication
150
149
  def CallAuthenticationHeader(http_method, path, body_params, header_params, query_params)
151
150
  require_relative '../AuthenticationSDK/core/Authorization.rb'
152
151
  require_relative '../AuthenticationSDK/authentication/payloadDigest/digest.rb'
@@ -198,7 +197,7 @@ module CyberSource
198
197
  end
199
198
  request_target
200
199
  end
201
-
200
+
202
201
  # Check if the given MIME is a JSON MIME.
203
202
  # JSON MIME examples:
204
203
  # application/json
@@ -457,4 +456,4 @@ module CyberSource
457
456
  end
458
457
  end
459
458
  end
460
- end
459
+ end
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #CyberSource Flex API
2
+ #CyberSource Merged Spec
3
3
 
4
- #Simple PAN tokenization service
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
5
 
6
6
  OpenAPI spec version: 0.0.1
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #CyberSource Flex API
2
+ #CyberSource Merged Spec
3
3
 
4
- #Simple PAN tokenization service
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
5
 
6
6
  OpenAPI spec version: 0.0.1
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #CyberSource Flex API
2
+ #CyberSource Merged Spec
3
3
 
4
- #Simple PAN tokenization service
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
5
 
6
6
  OpenAPI spec version: 0.0.1
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #CyberSource Flex API
2
+ #CyberSource Merged Spec
3
3
 
4
- #Simple PAN tokenization service
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
5
 
6
6
  OpenAPI spec version: 0.0.1
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #CyberSource Flex API
2
+ #CyberSource Merged Spec
3
3
 
4
- #Simple PAN tokenization service
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
5
 
6
6
  OpenAPI spec version: 0.0.1
7
7
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
- #CyberSource Flex API
2
+ #CyberSource Merged Spec
3
3
 
4
- #Simple PAN tokenization service
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
5
 
6
6
  OpenAPI spec version: 0.0.1
7
7
 
@@ -13,73 +13,56 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class TmsV1InstrumentidentifiersPost200Response
17
- attr_accessor :_links
16
+ class CreateDecisionManagerCaseRequest
17
+ attr_accessor :client_reference_information
18
18
 
19
- # Unique identification number assigned by CyberSource to the submitted request.
20
- attr_accessor :id
19
+ attr_accessor :processor_information
21
20
 
22
- # Describes type of token. For example: customer, paymentInstrument or instrumentIdentifier.
23
- attr_accessor :object
21
+ attr_accessor :payment_information
24
22
 
25
- # Current state of the token.
26
- attr_accessor :state
23
+ attr_accessor :order_information
27
24
 
28
- attr_accessor :card
25
+ attr_accessor :buyer_information
29
26
 
30
- attr_accessor :bank_account
27
+ attr_accessor :device_information
31
28
 
32
- attr_accessor :processing_information
29
+ attr_accessor :card_verification
33
30
 
34
- attr_accessor :metadata
31
+ attr_accessor :risk_information
35
32
 
36
- class EnumAttributeValidator
37
- attr_reader :datatype
38
- attr_reader :allowable_values
33
+ attr_accessor :travel_information
39
34
 
40
- def initialize(datatype, allowable_values)
41
- @allowable_values = allowable_values.map do |value|
42
- case datatype.to_s
43
- when /Integer/i
44
- value.to_i
45
- when /Float/i
46
- value.to_f
47
- else
48
- value
49
- end
50
- end
51
- end
52
-
53
- def valid?(value)
54
- !value || allowable_values.include?(value)
55
- end
56
- end
35
+ attr_accessor :merchant_defined_information
57
36
 
58
37
  # Attribute mapping from ruby-style variable name to JSON key.
59
38
  def self.attribute_map
60
39
  {
61
- :'_links' => :'_links',
62
- :'id' => :'id',
63
- :'object' => :'object',
64
- :'state' => :'state',
65
- :'card' => :'card',
66
- :'bank_account' => :'bankAccount',
67
- :'processing_information' => :'processingInformation',
68
- :'metadata' => :'metadata'
40
+ :'client_reference_information' => :'clientReferenceInformation',
41
+ :'processor_information' => :'processorInformation',
42
+ :'payment_information' => :'paymentInformation',
43
+ :'order_information' => :'orderInformation',
44
+ :'buyer_information' => :'buyerInformation',
45
+ :'device_information' => :'deviceInformation',
46
+ :'card_verification' => :'cardVerification',
47
+ :'risk_information' => :'riskInformation',
48
+ :'travel_information' => :'travelInformation',
49
+ :'merchant_defined_information' => :'merchantDefinedInformation'
69
50
  }
70
51
  end
71
52
 
72
53
  # Attribute type mapping.
73
54
  def self.swagger_types
74
55
  {
75
- :'_links' => :'Tmsv1instrumentidentifiersLinks',
76
- :'id' => :'String',
77
- :'object' => :'String',
78
- :'state' => :'String',
79
- :'card' => :'Tmsv1instrumentidentifiersCard',
80
- :'bank_account' => :'Tmsv1instrumentidentifiersBankAccount',
81
- :'processing_information' => :'Tmsv1instrumentidentifiersProcessingInformation',
82
- :'metadata' => :'Tmsv1instrumentidentifiersMetadata'
56
+ :'client_reference_information' => :'Riskv1decisionsClientReferenceInformation',
57
+ :'processor_information' => :'Riskv1decisionsProcessorInformation',
58
+ :'payment_information' => :'Riskv1decisionsPaymentInformation',
59
+ :'order_information' => :'Riskv1decisionsOrderInformation',
60
+ :'buyer_information' => :'Riskv1decisionsBuyerInformation',
61
+ :'device_information' => :'Riskv1decisionsDeviceInformation',
62
+ :'card_verification' => :'Riskv1decisionsCardVerification',
63
+ :'risk_information' => :'Riskv1decisionsRiskInformation',
64
+ :'travel_information' => :'Riskv1decisionsTravelInformation',
65
+ :'merchant_defined_information' => :'Array<Riskv1decisionsMerchantDefinedInformation>'
83
66
  }
84
67
  end
85
68
 
@@ -91,36 +74,46 @@ module CyberSource
91
74
  # convert string to symbol for hash key
92
75
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
93
76
 
94
- if attributes.has_key?(:'_links')
95
- self._links = attributes[:'_links']
77
+ if attributes.has_key?(:'clientReferenceInformation')
78
+ self.client_reference_information = attributes[:'clientReferenceInformation']
79
+ end
80
+
81
+ if attributes.has_key?(:'processorInformation')
82
+ self.processor_information = attributes[:'processorInformation']
96
83
  end
97
84
 
98
- if attributes.has_key?(:'id')
99
- self.id = attributes[:'id']
85
+ if attributes.has_key?(:'paymentInformation')
86
+ self.payment_information = attributes[:'paymentInformation']
100
87
  end
101
88
 
102
- if attributes.has_key?(:'object')
103
- self.object = attributes[:'object']
89
+ if attributes.has_key?(:'orderInformation')
90
+ self.order_information = attributes[:'orderInformation']
104
91
  end
105
92
 
106
- if attributes.has_key?(:'state')
107
- self.state = attributes[:'state']
93
+ if attributes.has_key?(:'buyerInformation')
94
+ self.buyer_information = attributes[:'buyerInformation']
108
95
  end
109
96
 
110
- if attributes.has_key?(:'card')
111
- self.card = attributes[:'card']
97
+ if attributes.has_key?(:'deviceInformation')
98
+ self.device_information = attributes[:'deviceInformation']
112
99
  end
113
100
 
114
- if attributes.has_key?(:'bankAccount')
115
- self.bank_account = attributes[:'bankAccount']
101
+ if attributes.has_key?(:'cardVerification')
102
+ self.card_verification = attributes[:'cardVerification']
116
103
  end
117
104
 
118
- if attributes.has_key?(:'processingInformation')
119
- self.processing_information = attributes[:'processingInformation']
105
+ if attributes.has_key?(:'riskInformation')
106
+ self.risk_information = attributes[:'riskInformation']
120
107
  end
121
108
 
122
- if attributes.has_key?(:'metadata')
123
- self.metadata = attributes[:'metadata']
109
+ if attributes.has_key?(:'travelInformation')
110
+ self.travel_information = attributes[:'travelInformation']
111
+ end
112
+
113
+ if attributes.has_key?(:'merchantDefinedInformation')
114
+ if (value = attributes[:'merchantDefinedInformation']).is_a?(Array)
115
+ self.merchant_defined_information = value
116
+ end
124
117
  end
125
118
  end
126
119
 
@@ -134,46 +127,24 @@ module CyberSource
134
127
  # Check to see if the all the properties in the model are valid
135
128
  # @return true if the model is valid
136
129
  def valid?
137
- object_validator = EnumAttributeValidator.new('String', ['instrumentIdentifier'])
138
- return false unless object_validator.valid?(@object)
139
- state_validator = EnumAttributeValidator.new('String', ['ACTIVE', 'CLOSED'])
140
- return false unless state_validator.valid?(@state)
141
130
  true
142
131
  end
143
132
 
144
- # Custom attribute writer method checking allowed values (enum).
145
- # @param [Object] object Object to be assigned
146
- def object=(object)
147
- validator = EnumAttributeValidator.new('String', ['instrumentIdentifier'])
148
- unless validator.valid?(object)
149
- fail ArgumentError, 'invalid value for "object", must be one of #{validator.allowable_values}.'
150
- end
151
- @object = object
152
- end
153
-
154
- # Custom attribute writer method checking allowed values (enum).
155
- # @param [Object] state Object to be assigned
156
- def state=(state)
157
- validator = EnumAttributeValidator.new('String', ['ACTIVE', 'CLOSED'])
158
- unless validator.valid?(state)
159
- fail ArgumentError, 'invalid value for "state", must be one of #{validator.allowable_values}.'
160
- end
161
- @state = state
162
- end
163
-
164
133
  # Checks equality by comparing each attribute.
165
134
  # @param [Object] Object to be compared
166
135
  def ==(o)
167
136
  return true if self.equal?(o)
168
137
  self.class == o.class &&
169
- _links == o._links &&
170
- id == o.id &&
171
- object == o.object &&
172
- state == o.state &&
173
- card == o.card &&
174
- bank_account == o.bank_account &&
175
- processing_information == o.processing_information &&
176
- metadata == o.metadata
138
+ client_reference_information == o.client_reference_information &&
139
+ processor_information == o.processor_information &&
140
+ payment_information == o.payment_information &&
141
+ order_information == o.order_information &&
142
+ buyer_information == o.buyer_information &&
143
+ device_information == o.device_information &&
144
+ card_verification == o.card_verification &&
145
+ risk_information == o.risk_information &&
146
+ travel_information == o.travel_information &&
147
+ merchant_defined_information == o.merchant_defined_information
177
148
  end
178
149
 
179
150
  # @see the `==` method
@@ -185,7 +156,7 @@ module CyberSource
185
156
  # Calculates hash code according to all attributes.
186
157
  # @return [Fixnum] Hash code
187
158
  def hash
188
- [_links, id, object, state, card, bank_account, processing_information, metadata].hash
159
+ [client_reference_information, processor_information, payment_information, order_information, buyer_information, device_information, card_verification, risk_information, travel_information, merchant_defined_information].hash
189
160
  end
190
161
 
191
162
  # Builds the object from hash