cybersource_rest_client 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (354) hide show
  1. checksums.yaml +4 -4
  2. data/AuthenticationSDK/Cybersource.gemspec +22 -21
  3. data/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +3 -1
  4. data/AuthenticationSDK/authentication/http/HttpSignatureHeader.rb +3 -1
  5. data/AuthenticationSDK/authentication/jwt/JwtToken.rb +2 -2
  6. data/AuthenticationSDK/util/Constants.rb +4 -0
  7. data/lib/{cyberSource_client → cybersource_rest_client}/api/capture_api.rb +4 -53
  8. data/lib/{cyberSource_client → cybersource_rest_client}/api/credit_api.rb +4 -53
  9. data/lib/{cyberSource_client/api/tokenization_api.rb → cybersource_rest_client/api/flex_token_api.rb} +9 -6
  10. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +254 -0
  11. data/lib/cybersource_rest_client/api/instrument_identifiers_api.rb +91 -0
  12. data/lib/{cyberSource_client → cybersource_rest_client}/api/key_generation_api.rb +11 -12
  13. data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +86 -0
  14. data/lib/{cyberSource_client/api/instrument_identifier_api.rb → cybersource_rest_client/api/payment_instruments_api.rb} +171 -150
  15. data/lib/cybersource_rest_client/api/payments_api.rb +78 -0
  16. data/lib/{cyberSource_client/api/default_api.rb → cybersource_rest_client/api/process_a_payout_api.rb} +8 -6
  17. data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +129 -0
  18. data/lib/{cyberSource_client → cybersource_rest_client}/api/refund_api.rb +6 -53
  19. data/lib/cybersource_rest_client/api/report_definitions_api.rb +156 -0
  20. data/lib/cybersource_rest_client/api/report_downloads_api.rb +100 -0
  21. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +262 -0
  22. data/lib/cybersource_rest_client/api/reports_api.rb +257 -0
  23. data/lib/{cyberSource_client → cybersource_rest_client}/api/reversal_api.rb +4 -53
  24. data/lib/cybersource_rest_client/api/search_transactions_api.rb +132 -0
  25. data/lib/cybersource_rest_client/api/secure_file_share_api.rb +169 -0
  26. data/lib/cybersource_rest_client/api/transaction_batch_api.rb +77 -0
  27. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +86 -0
  28. data/lib/cybersource_rest_client/api/transaction_details_api.rb +78 -0
  29. data/lib/cybersource_rest_client/api/user_management_api.rb +84 -0
  30. data/lib/{cyberSource_client → cybersource_rest_client}/api/void_api.rb +10 -53
  31. data/lib/{cyberSource_client → cybersource_rest_client}/api_client.rb +33 -23
  32. data/lib/{cyberSource_client → cybersource_rest_client}/api_error.rb +0 -0
  33. data/lib/{cyberSource_client → cybersource_rest_client}/configuration.rb +1 -1
  34. data/lib/{cyberSource_client → cybersource_rest_client}/models/auth_reversal_request.rb +5 -5
  35. data/lib/{cyberSource_client → cybersource_rest_client}/models/body.rb +5 -5
  36. data/lib/{cyberSource_client → cybersource_rest_client}/models/body_1.rb +1 -1
  37. data/lib/{cyberSource_client → cybersource_rest_client}/models/body_2.rb +9 -9
  38. data/lib/{cyberSource_client → cybersource_rest_client}/models/body_3.rb +9 -9
  39. data/lib/{cyberSource_client → cybersource_rest_client}/models/capture_payment_request.rb +11 -11
  40. data/lib/{cyberSource_client → cybersource_rest_client}/models/card_info.rb +0 -0
  41. data/lib/{cyberSource_client → cybersource_rest_client}/models/create_credit_request.rb +11 -11
  42. data/lib/{cyberSource_client → cybersource_rest_client}/models/create_payment_request.rb +13 -13
  43. data/lib/cybersource_rest_client/models/create_search_request.rb +244 -0
  44. data/lib/{cyberSource_client → cybersource_rest_client}/models/der_public_key.rb +0 -0
  45. data/lib/{cyberSource_client → cybersource_rest_client}/models/error.rb +0 -0
  46. data/lib/{cyberSource_client → cybersource_rest_client}/models/error_links.rb +0 -0
  47. data/lib/{cyberSource_client → cybersource_rest_client}/models/error_response.rb +0 -0
  48. data/lib/{cyberSource_client/models/paymentsflexv1tokens_card_info.rb → cybersource_rest_client/models/flexv1tokens_card_info.rb} +1 -1
  49. data/lib/{cyberSource_client → cybersource_rest_client}/models/generate_public_key_request.rb +69 -4
  50. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_200.rb +0 -0
  51. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_200_1.rb +0 -0
  52. data/lib/{cyberSource_client/models/inline_response_200_7.rb → cybersource_rest_client/models/inline_response_200_10.rb} +6 -6
  53. data/lib/{cyberSource_client/models/inline_response_200_8.rb → cybersource_rest_client/models/inline_response_200_11.rb} +2 -2
  54. data/lib/{cyberSource_client/models/inline_response_200_8__links.rb → cybersource_rest_client/models/inline_response_200_11__links.rb} +6 -6
  55. data/lib/{cyberSource_client/models/inline_response_200_8__links_first.rb → cybersource_rest_client/models/inline_response_200_11__links_first.rb} +1 -1
  56. data/lib/{cyberSource_client/models/inline_response_200_8__links_last.rb → cybersource_rest_client/models/inline_response_200_11__links_last.rb} +1 -1
  57. data/lib/{cyberSource_client/models/inline_response_200_8__links_next.rb → cybersource_rest_client/models/inline_response_200_11__links_next.rb} +1 -1
  58. data/lib/{cyberSource_client/models/inline_response_200_8__links_prev.rb → cybersource_rest_client/models/inline_response_200_11__links_prev.rb} +1 -1
  59. data/lib/{cyberSource_client/models/inline_response_200_8__links_self.rb → cybersource_rest_client/models/inline_response_200_11__links_self.rb} +1 -1
  60. data/lib/{cyberSource_client/models/inline_response_200_4.rb → cybersource_rest_client/models/inline_response_200_12.rb} +176 -82
  61. data/lib/cybersource_rest_client/models/inline_response_200_12_application_information.rb +225 -0
  62. data/lib/cybersource_rest_client/models/inline_response_200_12_application_information_applications.rb +254 -0
  63. data/lib/cybersource_rest_client/models/inline_response_200_12_buyer_information.rb +224 -0
  64. data/lib/cybersource_rest_client/models/inline_response_200_12_client_reference_information.rb +239 -0
  65. data/lib/{cyberSource_client/models/inline_response_200_2_processor_information.rb → cybersource_rest_client/models/inline_response_200_12_consumer_authentication_information.rb} +62 -30
  66. data/lib/{cyberSource_client/models/inline_response_200_2_device_information.rb → cybersource_rest_client/models/inline_response_200_12_device_information.rb} +38 -23
  67. data/lib/cybersource_rest_client/models/inline_response_200_12_error_information.rb +205 -0
  68. data/lib/cybersource_rest_client/models/inline_response_200_12_fraud_marking_information.rb +184 -0
  69. data/lib/cybersource_rest_client/models/inline_response_200_12_installment_information.rb +184 -0
  70. data/lib/cybersource_rest_client/models/inline_response_200_12_merchant_defined_information.rb +224 -0
  71. data/lib/{cyberSource_client/models/paymentinstruments_merchant_information.rb → cybersource_rest_client/models/inline_response_200_12_merchant_information.rb} +2 -2
  72. data/lib/cybersource_rest_client/models/inline_response_200_12_merchant_information_merchant_descriptor.rb +199 -0
  73. data/lib/{cyberSource_client/models/v2paymentsidrefunds_order_information.rb → cybersource_rest_client/models/inline_response_200_12_order_information.rb} +13 -21
  74. data/lib/cybersource_rest_client/models/inline_response_200_12_order_information_amount_details.rb +274 -0
  75. data/lib/{cyberSource_client/models/inline_response_200_2_order_information_bill_to.rb → cybersource_rest_client/models/inline_response_200_12_order_information_bill_to.rb} +108 -43
  76. data/lib/{cyberSource_client/models/inline_response_200_2_order_information_line_items.rb → cybersource_rest_client/models/inline_response_200_12_order_information_line_items.rb} +34 -255
  77. data/lib/{cyberSource_client/models/inline_response_200_2_order_information_ship_to.rb → cybersource_rest_client/models/inline_response_200_12_order_information_ship_to.rb} +24 -29
  78. data/lib/cybersource_rest_client/models/inline_response_200_12_order_information_shipping_details.rb +209 -0
  79. data/lib/cybersource_rest_client/models/inline_response_200_12_payment_information.rb +228 -0
  80. data/lib/cybersource_rest_client/models/inline_response_200_12_payment_information_account_features.rb +249 -0
  81. data/lib/{cyberSource_client/models/inline_response_200_4_order_information.rb → cybersource_rest_client/models/inline_response_200_12_payment_information_bank.rb} +52 -40
  82. data/lib/cybersource_rest_client/models/inline_response_200_12_payment_information_bank_account.rb +244 -0
  83. data/lib/cybersource_rest_client/models/inline_response_200_12_payment_information_bank_mandate.rb +204 -0
  84. data/lib/{cyberSource_client/models/inline_response_200_2_payment_information_card.rb → cybersource_rest_client/models/inline_response_200_12_payment_information_card.rb} +166 -12
  85. data/lib/cybersource_rest_client/models/inline_response_200_12_payment_information_invoice.rb +204 -0
  86. data/lib/cybersource_rest_client/models/inline_response_200_12_payment_information_payment_type.rb +244 -0
  87. data/lib/cybersource_rest_client/models/inline_response_200_12_point_of_sale_information.rb +233 -0
  88. data/lib/cybersource_rest_client/models/inline_response_200_12_processing_information.rb +252 -0
  89. data/lib/{cyberSource_client/models/inline_response_200_2_processing_information.rb → cybersource_rest_client/models/inline_response_200_12_processing_information_authorization_options.rb} +17 -17
  90. data/lib/cybersource_rest_client/models/inline_response_200_12_processing_information_bank_transfer_options.rb +184 -0
  91. data/lib/cybersource_rest_client/models/inline_response_200_12_processor_information.rb +309 -0
  92. data/lib/cybersource_rest_client/models/inline_response_200_12_processor_information_ach_verification.rb +224 -0
  93. data/lib/{cyberSource_client/models/inline_response_200_2_processor_information_card_verification.rb → cybersource_rest_client/models/inline_response_200_12_processor_information_card_verification.rb} +1 -1
  94. data/lib/cybersource_rest_client/models/inline_response_200_12_processor_information_electronic_verification_results.rb +424 -0
  95. data/lib/{cyberSource_client/models/inline_response_200_2_processor_information_avs.rb → cybersource_rest_client/models/inline_response_200_12_processor_information_processor.rb} +17 -17
  96. data/lib/cybersource_rest_client/models/inline_response_200_12_risk_information.rb +233 -0
  97. data/lib/cybersource_rest_client/models/inline_response_200_12_risk_information_profile.rb +194 -0
  98. data/lib/{cyberSource_client/models/inline_response_200_2_payment_information.rb → cybersource_rest_client/models/inline_response_200_12_risk_information_score.rb} +18 -14
  99. data/lib/cybersource_rest_client/models/inline_response_200_12_sender_information.rb +199 -0
  100. data/lib/{cyberSource_client/models/inline_response_201__embedded.rb → cybersource_rest_client/models/inline_response_200_13.rb} +10 -8
  101. data/lib/cybersource_rest_client/models/inline_response_200_13_account_information.rb +282 -0
  102. data/lib/cybersource_rest_client/models/inline_response_200_13_contact_information.rb +210 -0
  103. data/lib/cybersource_rest_client/models/inline_response_200_13_organization_information.rb +183 -0
  104. data/lib/cybersource_rest_client/models/inline_response_200_13_users.rb +201 -0
  105. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +204 -0
  106. data/lib/cybersource_rest_client/models/inline_response_200_2__links.rb +183 -0
  107. data/lib/cybersource_rest_client/models/inline_response_200_2__links_self.rb +192 -0
  108. data/lib/cybersource_rest_client/models/inline_response_200_2_transaction_batches.rb +277 -0
  109. data/lib/cybersource_rest_client/models/inline_response_200_3.rb +186 -0
  110. data/lib/cybersource_rest_client/models/inline_response_200_3_notification_of_changes.rb +255 -0
  111. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +185 -0
  112. data/lib/cybersource_rest_client/models/inline_response_200_4_report_definitions.rb +243 -0
  113. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +254 -0
  114. data/lib/cybersource_rest_client/models/inline_response_200_5_attributes.rb +237 -0
  115. data/lib/cybersource_rest_client/models/inline_response_200_6.rb +185 -0
  116. data/lib/cybersource_rest_client/models/inline_response_200_6_report_preferences.rb +229 -0
  117. data/lib/cybersource_rest_client/models/inline_response_200_6_subscriptions.rb +354 -0
  118. data/lib/cybersource_rest_client/models/inline_response_200_7.rb +185 -0
  119. data/lib/cybersource_rest_client/models/inline_response_200_7_reports.rb +373 -0
  120. data/lib/cybersource_rest_client/models/inline_response_200_8.rb +376 -0
  121. data/lib/{cyberSource_client/models/inline_response_201__embedded_capture.rb → cybersource_rest_client/models/inline_response_200_9.rb} +11 -10
  122. data/lib/cybersource_rest_client/models/inline_response_200_9__links.rb +194 -0
  123. data/lib/cybersource_rest_client/models/inline_response_200_9__links_files.rb +202 -0
  124. data/lib/cybersource_rest_client/models/inline_response_200_9__links_self.rb +192 -0
  125. data/lib/cybersource_rest_client/models/inline_response_200_9_file_details.rb +278 -0
  126. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_200_der.rb +0 -0
  127. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_200_jwk.rb +0 -0
  128. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201.rb +1 -10
  129. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_1.rb +2 -2
  130. data/lib/{cyberSource_client/models/inline_response_201__embedded_capture__links.rb → cybersource_rest_client/models/inline_response_201_1__links.rb} +1 -1
  131. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_1_authorization_information.rb +0 -0
  132. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_1_processor_information.rb +1 -1
  133. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_1_reversal_amount_details.rb +0 -0
  134. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_2.rb +0 -0
  135. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_2__links.rb +0 -0
  136. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_2_order_information.rb +0 -0
  137. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_2_order_information_amount_details.rb +0 -0
  138. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_2_processor_information.rb +0 -0
  139. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_3.rb +0 -0
  140. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_3__links.rb +0 -0
  141. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_3_order_information.rb +0 -0
  142. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_3_processor_information.rb +0 -0
  143. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_3_refund_amount_details.rb +0 -0
  144. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_4.rb +0 -0
  145. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_4_credit_amount_details.rb +0 -0
  146. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_5.rb +1 -1
  147. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_5_void_amount_details.rb +0 -0
  148. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_6.rb +9 -9
  149. data/lib/{cyberSource_client/models/inline_response_200_5.rb → cybersource_rest_client/models/inline_response_201_7.rb} +99 -87
  150. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded.rb +186 -0
  151. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded__links.rb +183 -0
  152. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_buyer_information.rb +199 -0
  153. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_client_reference_information.rb +219 -0
  154. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_consumer_authentication_information.rb +209 -0
  155. data/lib/{cyberSource_client/models/inline_response_200_4_device_information.rb → cybersource_rest_client/models/inline_response_201_7__embedded_device_information.rb} +1 -1
  156. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_merchant_information.rb +199 -0
  157. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_order_information.rb +201 -0
  158. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_order_information_bill_to.rb +299 -0
  159. data/lib/{cyberSource_client/models/inline_response_200_4_order_information_ship_to.rb → cybersource_rest_client/models/inline_response_201_7__embedded_order_information_ship_to.rb} +85 -35
  160. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_payment_information.rb +201 -0
  161. data/lib/{cyberSource_client/models/inline_response_200_2_payment_information_tokenized_card.rb → cybersource_rest_client/models/inline_response_201_7__embedded_payment_information_card.rb} +31 -81
  162. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_payment_information_payment_method.rb +184 -0
  163. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_point_of_sale_information.rb +228 -0
  164. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_point_of_sale_information_partner.rb +199 -0
  165. data/lib/{cyberSource_client/models/inline_response_200_4_processing_information.rb → cybersource_rest_client/models/inline_response_201_7__embedded_processing_information.rb} +9 -8
  166. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_processor_information.rb +183 -0
  167. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_risk_information.rb +183 -0
  168. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_risk_information_providers.rb +183 -0
  169. data/lib/cybersource_rest_client/models/inline_response_201_7__embedded_risk_information_providers_fingerprint.rb +249 -0
  170. data/lib/{cyberSource_client/models/inline_response_200_2.rb → cybersource_rest_client/models/inline_response_201_7__embedded_transaction_summaries.rb} +103 -123
  171. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201__links.rb +0 -0
  172. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201__links_self.rb +0 -0
  173. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_client_reference_information.rb +0 -0
  174. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_error_information.rb +0 -0
  175. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_error_information_details.rb +0 -0
  176. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_order_information.rb +0 -0
  177. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_order_information_amount_details.rb +0 -0
  178. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_order_information_invoice_details.rb +0 -0
  179. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_payment_information.rb +0 -0
  180. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_payment_information_account_features.rb +0 -0
  181. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_payment_information_card.rb +1 -1
  182. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_payment_information_tokenized_card.rb +1 -1
  183. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_point_of_sale_information.rb +0 -0
  184. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_point_of_sale_information_emv.rb +0 -0
  185. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information.rb +5 -5
  186. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information_avs.rb +10 -7
  187. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information_card_verification.rb +0 -0
  188. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information_consumer_authentication_response.rb +0 -0
  189. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information_customer.rb +0 -0
  190. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information_electronic_verification_results.rb +10 -10
  191. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information_issuer.rb +0 -0
  192. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_201_processor_information_merchant_advice.rb +0 -0
  193. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_400.rb +0 -0
  194. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_400_1.rb +0 -0
  195. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_400_2.rb +0 -0
  196. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_400_3.rb +0 -0
  197. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_400_4.rb +0 -0
  198. data/lib/cybersource_rest_client/models/inline_response_400_5.rb +193 -0
  199. data/lib/cybersource_rest_client/models/inline_response_400_5_error_information.rb +203 -0
  200. data/lib/cybersource_rest_client/models/inline_response_400_5_error_information_details.rb +194 -0
  201. data/lib/{cyberSource_client/models/inline_response_400_5.rb → cybersource_rest_client/models/inline_response_400_6.rb} +1 -1
  202. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +247 -0
  203. data/lib/cybersource_rest_client/models/inline_response_400_7_fields.rb +205 -0
  204. data/lib/{cyberSource_client/models/inline_response_400_6.rb → cybersource_rest_client/models/inline_response_400_8.rb} +2 -2
  205. data/lib/cybersource_rest_client/models/inline_response_400_9.rb +249 -0
  206. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_409.rb +0 -0
  207. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_409__links.rb +0 -0
  208. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_409__links_payment_instruments.rb +0 -0
  209. data/lib/cybersource_rest_client/models/inline_response_500.rb +193 -0
  210. data/lib/cybersource_rest_client/models/inline_response_500_error_information.rb +194 -0
  211. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_502.rb +0 -0
  212. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_default.rb +0 -0
  213. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_default__links.rb +0 -0
  214. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_default__links_next.rb +0 -0
  215. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_default_response_status.rb +0 -0
  216. data/lib/{cyberSource_client → cybersource_rest_client}/models/inline_response_default_response_status_details.rb +0 -0
  217. data/lib/{cyberSource_client → cybersource_rest_client}/models/json_web_key.rb +0 -0
  218. data/lib/{cyberSource_client → cybersource_rest_client}/models/key_parameters.rb +0 -0
  219. data/lib/{cyberSource_client → cybersource_rest_client}/models/key_result.rb +0 -0
  220. data/lib/{cyberSource_client → cybersource_rest_client}/models/link.rb +0 -0
  221. data/lib/{cyberSource_client → cybersource_rest_client}/models/links.rb +0 -0
  222. data/lib/{cyberSource_client → cybersource_rest_client}/models/oct_create_payment_request.rb +6 -6
  223. data/lib/{cyberSource_client/models/v2credits_point_of_sale_information.rb → cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb} +2 -2
  224. data/lib/{cyberSource_client/models/v2credits_point_of_sale_information_emv.rb → cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb} +1 -1
  225. data/lib/{cyberSource_client/models/v2credits_processing_information.rb → cybersource_rest_client/models/ptsv2credits_processing_information.rb} +2 -2
  226. data/lib/{cyberSource_client/models/v2payments_aggregator_information.rb → cybersource_rest_client/models/ptsv2payments_aggregator_information.rb} +2 -2
  227. data/lib/{cyberSource_client/models/v2payments_aggregator_information_sub_merchant.rb → cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb} +10 -10
  228. data/lib/{cyberSource_client/models/v2payments_buyer_information.rb → cybersource_rest_client/models/ptsv2payments_buyer_information.rb} +4 -4
  229. data/lib/{cyberSource_client/models/v2payments_buyer_information_personal_identification.rb → cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb} +2 -2
  230. data/lib/{cyberSource_client/models/v2payments_client_reference_information.rb → cybersource_rest_client/models/ptsv2payments_client_reference_information.rb} +1 -1
  231. data/lib/{cyberSource_client/models/v2payments_consumer_authentication_information.rb → cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb} +1 -1
  232. data/lib/{cyberSource_client/models/v2payments_device_information.rb → cybersource_rest_client/models/ptsv2payments_device_information.rb} +2 -2
  233. data/lib/{cyberSource_client/models/v2payments_merchant_defined_information.rb → cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb} +3 -3
  234. data/lib/{cyberSource_client/models/v2payments_merchant_information.rb → cybersource_rest_client/models/ptsv2payments_merchant_information.rb} +2 -2
  235. data/lib/{cyberSource_client/models/v2payments_merchant_information_merchant_descriptor.rb → cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb} +1 -1
  236. data/lib/{cyberSource_client/models/v2payments_order_information.rb → cybersource_rest_client/models/ptsv2payments_order_information.rb} +7 -7
  237. data/lib/{cyberSource_client/models/v2payments_order_information_amount_details.rb → cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb} +5 -5
  238. data/lib/{cyberSource_client/models/v2payments_order_information_amount_details_amex_additional_amounts.rb → cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb} +1 -1
  239. data/lib/{cyberSource_client/models/v2payments_order_information_amount_details_surcharge.rb → cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb} +2 -2
  240. data/lib/{cyberSource_client/models/v2payments_order_information_amount_details_tax_details.rb → cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb} +1 -1
  241. data/lib/{cyberSource_client/models/v2payments_order_information_bill_to.rb → cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb} +9 -9
  242. data/lib/{cyberSource_client/models/v2payments_order_information_invoice_details.rb → cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb} +34 -4
  243. data/lib/{cyberSource_client/models/v2payments_order_information_invoice_details_transaction_advice_addendum.rb → cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb} +2 -2
  244. data/lib/{cyberSource_client/models/v2payments_order_information_line_items.rb → cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb} +2 -2
  245. data/lib/{cyberSource_client/models/v2payments_order_information_ship_to.rb → cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb} +2 -2
  246. data/lib/{cyberSource_client/models/v2payments_order_information_shipping_details.rb → cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb} +2 -2
  247. data/lib/{cyberSource_client/models/v2payments_payment_information.rb → cybersource_rest_client/models/ptsv2payments_payment_information.rb} +5 -5
  248. data/lib/{cyberSource_client/models/v2payments_payment_information_card.rb → cybersource_rest_client/models/ptsv2payments_payment_information_card.rb} +3 -3
  249. data/lib/{cyberSource_client/models/v2payments_payment_information_customer.rb → cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb} +8 -11
  250. data/lib/{cyberSource_client/models/v2payments_payment_information_fluid_data.rb → cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb} +2 -2
  251. data/lib/{cyberSource_client/models/v2payments_payment_information_tokenized_card.rb → cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb} +4 -4
  252. data/lib/{cyberSource_client/models/v2payments_point_of_sale_information.rb → cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb} +5 -5
  253. data/lib/{cyberSource_client/models/v2payments_point_of_sale_information_emv.rb → cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb} +1 -1
  254. data/lib/{cyberSource_client/models/v2payments_processing_information.rb → cybersource_rest_client/models/ptsv2payments_processing_information.rb} +6 -6
  255. data/lib/{cyberSource_client/models/v2payments_processing_information_authorization_options.rb → cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb} +2 -2
  256. data/lib/{cyberSource_client/models/v2payments_processing_information_authorization_options_initiator.rb → cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb} +2 -2
  257. data/lib/{cyberSource_client/models/v2payments_processing_information_authorization_options_merchant_initiated_transaction.rb → cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_merchant_initiated_transaction.rb} +1 -1
  258. data/lib/{cyberSource_client/models/v2payments_processing_information_capture_options.rb → cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb} +1 -1
  259. data/lib/{cyberSource_client/models/v2payments_processing_information_issuer.rb → cybersource_rest_client/models/ptsv2payments_processing_information_issuer.rb} +1 -1
  260. data/lib/{cyberSource_client/models/v2payments_processing_information_recurring_options.rb → cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb} +1 -1
  261. data/lib/{cyberSource_client/models/v2payments_recipient_information.rb → cybersource_rest_client/models/ptsv2payments_recipient_information.rb} +4 -4
  262. data/lib/{cyberSource_client/models/v2paymentsidcaptures_aggregator_information.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb} +2 -2
  263. data/lib/{cyberSource_client/models/v2paymentsidcaptures_aggregator_information_sub_merchant.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb} +9 -9
  264. data/lib/{cyberSource_client/models/v2paymentsidcaptures_buyer_information.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb} +2 -2
  265. data/lib/{cyberSource_client/models/v2paymentsidcaptures_merchant_information.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb} +2 -2
  266. data/lib/{cyberSource_client/models/inline_response_200_2_order_information.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information.rb} +7 -7
  267. data/lib/{cyberSource_client/models/v2paymentsidcaptures_order_information_amount_details.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb} +3 -3
  268. data/lib/{cyberSource_client/models/v2paymentsidcaptures_order_information_bill_to.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb} +6 -6
  269. data/lib/{cyberSource_client/models/v2paymentsidcaptures_order_information_invoice_details.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb} +3 -3
  270. data/lib/{cyberSource_client/models/v2paymentsidcaptures_order_information_ship_to.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb} +1 -1
  271. data/lib/{cyberSource_client/models/v2paymentsidcaptures_order_information_shipping_details.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb} +1 -1
  272. data/lib/{cyberSource_client/models/v2paymentsidcaptures_payment_information.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information.rb} +2 -2
  273. data/lib/{cyberSource_client/models/v2paymentsidcaptures_point_of_sale_information.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb} +2 -2
  274. data/lib/{cyberSource_client/models/v2paymentsidcaptures_point_of_sale_information_emv.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb} +1 -1
  275. data/lib/{cyberSource_client/models/v2paymentsidcaptures_processing_information.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb} +4 -4
  276. data/lib/{cyberSource_client/models/v2paymentsidcaptures_processing_information_authorization_options.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb} +1 -1
  277. data/lib/{cyberSource_client/models/v2paymentsidcaptures_processing_information_capture_options.rb → cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options.rb} +1 -1
  278. data/lib/{cyberSource_client/models/v2paymentsidrefunds_merchant_information.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb} +2 -2
  279. data/lib/{cyberSource_client/models/v2paymentsidcaptures_order_information.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information.rb} +7 -7
  280. data/lib/{cyberSource_client/models/v2paymentsidrefunds_order_information_line_items.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb} +2 -2
  281. data/lib/{cyberSource_client/models/v2paymentsidrefunds_payment_information.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb} +2 -2
  282. data/lib/{cyberSource_client/models/v2paymentsidrefunds_payment_information_card.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb} +3 -3
  283. data/lib/{cyberSource_client/models/v2paymentsidrefunds_point_of_sale_information.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb} +2 -2
  284. data/lib/{cyberSource_client/models/v2paymentsidrefunds_processing_information.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb} +2 -2
  285. data/lib/{cyberSource_client/models/v2paymentsidrefunds_processing_information_recurring_options.rb → cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb} +1 -1
  286. data/lib/{cyberSource_client/models/v2paymentsidreversals_client_reference_information.rb → cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb} +1 -1
  287. data/lib/{cyberSource_client/models/v2paymentsidreversals_order_information.rb → cybersource_rest_client/models/ptsv2paymentsidreversals_order_information.rb} +2 -2
  288. data/lib/{cyberSource_client/models/v2paymentsidreversals_order_information_line_items.rb → cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb} +1 -1
  289. data/lib/{cyberSource_client/models/v2paymentsidreversals_point_of_sale_information.rb → cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information.rb} +1 -1
  290. data/lib/{cyberSource_client/models/v2paymentsidreversals_processing_information.rb → cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb} +2 -2
  291. data/lib/{cyberSource_client/models/v2paymentsidreversals_reversal_information.rb → cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb} +8 -5
  292. data/lib/{cyberSource_client/models/v2paymentsidreversals_reversal_information_amount_details.rb → cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb} +1 -1
  293. data/lib/{cyberSource_client/models/v2payouts_merchant_information.rb → cybersource_rest_client/models/ptsv2payouts_merchant_information.rb} +2 -2
  294. data/lib/{cyberSource_client/models/v2payouts_merchant_information_merchant_descriptor.rb → cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb} +1 -1
  295. data/lib/{cyberSource_client/models/v2payouts_order_information.rb → cybersource_rest_client/models/ptsv2payouts_order_information.rb} +3 -3
  296. data/lib/{cyberSource_client/models/v2payouts_order_information_amount_details.rb → cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb} +8 -24
  297. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +199 -0
  298. data/lib/{cyberSource_client/models/v2payouts_order_information_bill_to.rb → cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb} +5 -5
  299. data/lib/{cyberSource_client/models/v2payouts_payment_information.rb → cybersource_rest_client/models/ptsv2payouts_payment_information.rb} +2 -2
  300. data/lib/{cyberSource_client/models/v2payouts_payment_information_card.rb → cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb} +4 -4
  301. data/lib/{cyberSource_client/models/v2payouts_processing_information.rb → cybersource_rest_client/models/ptsv2payouts_processing_information.rb} +3 -3
  302. data/lib/{cyberSource_client/models/v2payouts_processing_information_payouts_options.rb → cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb} +1 -1
  303. data/lib/{cyberSource_client/models/v2payouts_recipient_information.rb → cybersource_rest_client/models/ptsv2payouts_recipient_information.rb} +1 -1
  304. data/lib/{cyberSource_client/models/v2payouts_sender_information.rb → cybersource_rest_client/models/ptsv2payouts_sender_information.rb} +6 -6
  305. data/lib/{cyberSource_client/models/v2payouts_sender_information_account.rb → cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb} +2 -2
  306. data/lib/{cyberSource_client → cybersource_rest_client}/models/refund_capture_request.rb +11 -11
  307. data/lib/{cyberSource_client → cybersource_rest_client}/models/refund_payment_request.rb +11 -11
  308. data/lib/cybersource_rest_client/models/request_body.rb +463 -0
  309. data/lib/cybersource_rest_client/models/request_body_1.rb +415 -0
  310. data/lib/{cyberSource_client → cybersource_rest_client}/models/response_status.rb +0 -0
  311. data/lib/{cyberSource_client → cybersource_rest_client}/models/response_status_details.rb +0 -0
  312. data/lib/{cyberSource_client/models/instrumentidentifiers__links.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers__links.rb} +4 -4
  313. data/lib/{cyberSource_client/models/instrumentidentifiers__links_self.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers__links_self.rb} +1 -1
  314. data/lib/{cyberSource_client/models/instrumentidentifiers_authorization_options_merchant_initiated_transaction.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_authorization_options_merchant_initiated_transaction.rb} +1 -1
  315. data/lib/{cyberSource_client/models/instrumentidentifiers_bank_account.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_bank_account.rb} +1 -1
  316. data/lib/{cyberSource_client/models/instrumentidentifiers_card.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_card.rb} +1 -1
  317. data/lib/{cyberSource_client/models/instrumentidentifiers_details.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_details.rb} +1 -1
  318. data/lib/{cyberSource_client/models/instrumentidentifiers_metadata.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_metadata.rb} +1 -1
  319. data/lib/{cyberSource_client/models/instrumentidentifiers_processing_information.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_processing_information.rb} +2 -2
  320. data/lib/{cyberSource_client/models/instrumentidentifiers_processing_information_authorization_options.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_processing_information_authorization_options.rb} +2 -2
  321. data/lib/{cyberSource_client/models/instrumentidentifiers_processing_information_authorization_options_initiator.rb → cybersource_rest_client/models/tmsv1instrumentidentifiers_processing_information_authorization_options_initiator.rb} +2 -2
  322. data/lib/{cyberSource_client/models/paymentinstruments_bank_account.rb → cybersource_rest_client/models/tmsv1paymentinstruments_bank_account.rb} +1 -1
  323. data/lib/{cyberSource_client/models/paymentinstruments_bill_to.rb → cybersource_rest_client/models/tmsv1paymentinstruments_bill_to.rb} +1 -1
  324. data/lib/{cyberSource_client/models/paymentinstruments_buyer_information.rb → cybersource_rest_client/models/tmsv1paymentinstruments_buyer_information.rb} +2 -2
  325. data/lib/{cyberSource_client/models/paymentinstruments_buyer_information_issued_by.rb → cybersource_rest_client/models/tmsv1paymentinstruments_buyer_information_issued_by.rb} +1 -1
  326. data/lib/{cyberSource_client/models/paymentinstruments_buyer_information_personal_identification.rb → cybersource_rest_client/models/tmsv1paymentinstruments_buyer_information_personal_identification.rb} +2 -2
  327. data/lib/{cyberSource_client/models/paymentinstruments_card.rb → cybersource_rest_client/models/tmsv1paymentinstruments_card.rb} +1 -1
  328. data/lib/{cyberSource_client/models/paymentinstruments_instrument_identifier.rb → cybersource_rest_client/models/tmsv1paymentinstruments_instrument_identifier.rb} +6 -6
  329. data/lib/cybersource_rest_client/models/tmsv1paymentinstruments_merchant_information.rb +183 -0
  330. data/lib/{cyberSource_client/models/paymentinstruments_merchant_information_merchant_descriptor.rb → cybersource_rest_client/models/tmsv1paymentinstruments_merchant_information_merchant_descriptor.rb} +1 -1
  331. data/lib/{cyberSource_client/models/paymentinstruments_processing_information.rb → cybersource_rest_client/models/tmsv1paymentinstruments_processing_information.rb} +2 -2
  332. data/lib/{cyberSource_client/models/paymentinstruments_processing_information_bank_transfer_options.rb → cybersource_rest_client/models/tmsv1paymentinstruments_processing_information_bank_transfer_options.rb} +1 -1
  333. data/lib/{cyberSource_client → cybersource_rest_client}/models/tokenize_parameters.rb +1 -1
  334. data/lib/{cyberSource_client → cybersource_rest_client}/models/tokenize_request.rb +1 -1
  335. data/lib/{cyberSource_client → cybersource_rest_client}/models/tokenize_result.rb +0 -0
  336. data/lib/{cyberSource_client → cybersource_rest_client}/models/void_capture_request.rb +1 -1
  337. data/lib/{cyberSource_client → cybersource_rest_client}/models/void_credit_request.rb +1 -1
  338. data/lib/{cyberSource_client → cybersource_rest_client}/models/void_payment_request.rb +1 -1
  339. data/lib/{cyberSource_client → cybersource_rest_client}/models/void_refund_request.rb +1 -1
  340. data/lib/{cyberSource_client → cybersource_rest_client}/version.rb +0 -0
  341. data/lib/cybersource_rest_client.rb +369 -0
  342. metadata +338 -255
  343. data/lib/cyberSource_client/api/payment_api.rb +0 -127
  344. data/lib/cyberSource_client/api/payment_instrument_api.rb +0 -312
  345. data/lib/cyberSource_client/models/inline_response_200_2_buyer_information.rb +0 -270
  346. data/lib/cyberSource_client/models/inline_response_200_2_merchant_information.rb +0 -233
  347. data/lib/cyberSource_client/models/inline_response_200_2_order_information_amount_details.rb +0 -385
  348. data/lib/cyberSource_client/models/inline_response_200_2_order_information_invoice_details.rb +0 -315
  349. data/lib/cyberSource_client/models/inline_response_200_3.rb +0 -314
  350. data/lib/cyberSource_client/models/inline_response_200_4_order_information_amount_details.rb +0 -360
  351. data/lib/cyberSource_client/models/inline_response_200_4_order_information_invoice_details.rb +0 -305
  352. data/lib/cyberSource_client/models/inline_response_200_4_processing_information_authorization_options.rb +0 -199
  353. data/lib/cyberSource_client/models/inline_response_200_6.rb +0 -305
  354. data/lib/cyberSource_client.rb +0 -286
@@ -13,102 +13,92 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2002
17
- attr_accessor :_links
18
-
19
- attr_accessor :_embedded
20
-
16
+ class InlineResponse2017EmbeddedTransactionSummaries
21
17
  # An unique identification number assigned by CyberSource to identify the submitted request.
22
18
  attr_accessor :id
23
19
 
24
20
  # Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC.
25
21
  attr_accessor :submit_time_utc
26
22
 
27
- # The status of the submitted transaction.
28
- attr_accessor :status
23
+ # The description for this field is not available.
24
+ attr_accessor :merchant_id
29
25
 
30
- # The reconciliation id for the submitted transaction. This value is not returned for all processors.
31
- attr_accessor :reconciliation_id
26
+ attr_accessor :application_information
32
27
 
33
- attr_accessor :error_information
28
+ attr_accessor :buyer_information
34
29
 
35
30
  attr_accessor :client_reference_information
36
31
 
37
- attr_accessor :processing_information
32
+ attr_accessor :consumer_authentication_information
38
33
 
39
- attr_accessor :processor_information
34
+ attr_accessor :device_information
40
35
 
41
- attr_accessor :payment_information
36
+ attr_accessor :fraud_marking_information
37
+
38
+ # The description for this field is not available.
39
+ attr_accessor :merchant_defined_information
40
+
41
+ attr_accessor :merchant_information
42
42
 
43
43
  attr_accessor :order_information
44
44
 
45
- attr_accessor :buyer_information
45
+ attr_accessor :payment_information
46
46
 
47
- attr_accessor :merchant_information
47
+ attr_accessor :processing_information
48
48
 
49
- attr_accessor :device_information
49
+ attr_accessor :processor_information
50
50
 
51
- class EnumAttributeValidator
52
- attr_reader :datatype
53
- attr_reader :allowable_values
54
-
55
- def initialize(datatype, allowable_values)
56
- @allowable_values = allowable_values.map do |value|
57
- case datatype.to_s
58
- when /Integer/i
59
- value.to_i
60
- when /Float/i
61
- value.to_f
62
- else
63
- value
64
- end
65
- end
66
- end
51
+ attr_accessor :point_of_sale_information
67
52
 
68
- def valid?(value)
69
- !value || allowable_values.include?(value)
70
- end
71
- end
53
+ attr_accessor :risk_information
54
+
55
+ attr_accessor :_links
72
56
 
73
57
  # Attribute mapping from ruby-style variable name to JSON key.
74
58
  def self.attribute_map
75
59
  {
76
- :'_links' => :'_links',
77
- :'_embedded' => :'_embedded',
78
60
  :'id' => :'id',
79
61
  :'submit_time_utc' => :'submitTimeUtc',
80
- :'status' => :'status',
81
- :'reconciliation_id' => :'reconciliationId',
82
- :'error_information' => :'errorInformation',
62
+ :'merchant_id' => :'merchantId',
63
+ :'application_information' => :'applicationInformation',
64
+ :'buyer_information' => :'buyerInformation',
83
65
  :'client_reference_information' => :'clientReferenceInformation',
66
+ :'consumer_authentication_information' => :'consumerAuthenticationInformation',
67
+ :'device_information' => :'deviceInformation',
68
+ :'fraud_marking_information' => :'fraudMarkingInformation',
69
+ :'merchant_defined_information' => :'merchantDefinedInformation',
70
+ :'merchant_information' => :'merchantInformation',
71
+ :'order_information' => :'orderInformation',
72
+ :'payment_information' => :'paymentInformation',
84
73
  :'processing_information' => :'processingInformation',
85
74
  :'processor_information' => :'processorInformation',
86
- :'payment_information' => :'paymentInformation',
87
- :'order_information' => :'orderInformation',
88
- :'buyer_information' => :'buyerInformation',
89
- :'merchant_information' => :'merchantInformation',
90
- :'device_information' => :'deviceInformation'
75
+ :'point_of_sale_information' => :'pointOfSaleInformation',
76
+ :'risk_information' => :'riskInformation',
77
+ :'_links' => :'_links'
91
78
  }
92
79
  end
93
80
 
94
81
  # Attribute type mapping.
95
82
  def self.swagger_types
96
83
  {
97
- :'_links' => :'InlineResponse201Links',
98
- :'_embedded' => :'InlineResponse201Embedded',
99
84
  :'id' => :'String',
100
85
  :'submit_time_utc' => :'String',
101
- :'status' => :'String',
102
- :'reconciliation_id' => :'String',
103
- :'error_information' => :'InlineResponse201ErrorInformation',
104
- :'client_reference_information' => :'InlineResponse201ClientReferenceInformation',
105
- :'processing_information' => :'InlineResponse2002ProcessingInformation',
106
- :'processor_information' => :'InlineResponse2002ProcessorInformation',
107
- :'payment_information' => :'InlineResponse2002PaymentInformation',
108
- :'order_information' => :'InlineResponse2002OrderInformation',
109
- :'buyer_information' => :'InlineResponse2002BuyerInformation',
110
- :'merchant_information' => :'InlineResponse2002MerchantInformation',
111
- :'device_information' => :'InlineResponse2002DeviceInformation'
86
+ :'merchant_id' => :'String',
87
+ :'application_information' => :'InlineResponse20012ApplicationInformation',
88
+ :'buyer_information' => :'InlineResponse2017EmbeddedBuyerInformation',
89
+ :'client_reference_information' => :'InlineResponse2017EmbeddedClientReferenceInformation',
90
+ :'consumer_authentication_information' => :'InlineResponse2017EmbeddedConsumerAuthenticationInformation',
91
+ :'device_information' => :'InlineResponse2017EmbeddedDeviceInformation',
92
+ :'fraud_marking_information' => :'InlineResponse20012FraudMarkingInformation',
93
+ :'merchant_defined_information' => :'Array<InlineResponse20012MerchantDefinedInformation>',
94
+ :'merchant_information' => :'InlineResponse2017EmbeddedMerchantInformation',
95
+ :'order_information' => :'InlineResponse2017EmbeddedOrderInformation',
96
+ :'payment_information' => :'InlineResponse2017EmbeddedPaymentInformation',
97
+ :'processing_information' => :'InlineResponse2017EmbeddedProcessingInformation',
98
+ :'processor_information' => :'InlineResponse2017EmbeddedProcessorInformation',
99
+ :'point_of_sale_information' => :'InlineResponse2017EmbeddedPointOfSaleInformation',
100
+ :'risk_information' => :'InlineResponse2017EmbeddedRiskInformation',
101
+ :'_links' => :'InlineResponse2017EmbeddedLinks'
112
102
  }
113
103
  end
114
104
 
@@ -120,14 +110,6 @@ module CyberSource
120
110
  # convert string to symbol for hash key
121
111
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
122
112
 
123
- if attributes.has_key?(:'_links')
124
- self._links = attributes[:'_links']
125
- end
126
-
127
- if attributes.has_key?(:'_embedded')
128
- self._embedded = attributes[:'_embedded']
129
- end
130
-
131
113
  if attributes.has_key?(:'id')
132
114
  self.id = attributes[:'id']
133
115
  end
@@ -136,48 +118,70 @@ module CyberSource
136
118
  self.submit_time_utc = attributes[:'submitTimeUtc']
137
119
  end
138
120
 
139
- if attributes.has_key?(:'status')
140
- self.status = attributes[:'status']
121
+ if attributes.has_key?(:'merchantId')
122
+ self.merchant_id = attributes[:'merchantId']
141
123
  end
142
124
 
143
- if attributes.has_key?(:'reconciliationId')
144
- self.reconciliation_id = attributes[:'reconciliationId']
125
+ if attributes.has_key?(:'applicationInformation')
126
+ self.application_information = attributes[:'applicationInformation']
145
127
  end
146
128
 
147
- if attributes.has_key?(:'errorInformation')
148
- self.error_information = attributes[:'errorInformation']
129
+ if attributes.has_key?(:'buyerInformation')
130
+ self.buyer_information = attributes[:'buyerInformation']
149
131
  end
150
132
 
151
133
  if attributes.has_key?(:'clientReferenceInformation')
152
134
  self.client_reference_information = attributes[:'clientReferenceInformation']
153
135
  end
154
136
 
155
- if attributes.has_key?(:'processingInformation')
156
- self.processing_information = attributes[:'processingInformation']
137
+ if attributes.has_key?(:'consumerAuthenticationInformation')
138
+ self.consumer_authentication_information = attributes[:'consumerAuthenticationInformation']
157
139
  end
158
140
 
159
- if attributes.has_key?(:'processorInformation')
160
- self.processor_information = attributes[:'processorInformation']
141
+ if attributes.has_key?(:'deviceInformation')
142
+ self.device_information = attributes[:'deviceInformation']
161
143
  end
162
144
 
163
- if attributes.has_key?(:'paymentInformation')
164
- self.payment_information = attributes[:'paymentInformation']
145
+ if attributes.has_key?(:'fraudMarkingInformation')
146
+ self.fraud_marking_information = attributes[:'fraudMarkingInformation']
147
+ end
148
+
149
+ if attributes.has_key?(:'merchantDefinedInformation')
150
+ if (value = attributes[:'merchantDefinedInformation']).is_a?(Array)
151
+ self.merchant_defined_information = value
152
+ end
153
+ end
154
+
155
+ if attributes.has_key?(:'merchantInformation')
156
+ self.merchant_information = attributes[:'merchantInformation']
165
157
  end
166
158
 
167
159
  if attributes.has_key?(:'orderInformation')
168
160
  self.order_information = attributes[:'orderInformation']
169
161
  end
170
162
 
171
- if attributes.has_key?(:'buyerInformation')
172
- self.buyer_information = attributes[:'buyerInformation']
163
+ if attributes.has_key?(:'paymentInformation')
164
+ self.payment_information = attributes[:'paymentInformation']
173
165
  end
174
166
 
175
- if attributes.has_key?(:'merchantInformation')
176
- self.merchant_information = attributes[:'merchantInformation']
167
+ if attributes.has_key?(:'processingInformation')
168
+ self.processing_information = attributes[:'processingInformation']
177
169
  end
178
170
 
179
- if attributes.has_key?(:'deviceInformation')
180
- self.device_information = attributes[:'deviceInformation']
171
+ if attributes.has_key?(:'processorInformation')
172
+ self.processor_information = attributes[:'processorInformation']
173
+ end
174
+
175
+ if attributes.has_key?(:'pointOfSaleInformation')
176
+ self.point_of_sale_information = attributes[:'pointOfSaleInformation']
177
+ end
178
+
179
+ if attributes.has_key?(:'riskInformation')
180
+ self.risk_information = attributes[:'riskInformation']
181
+ end
182
+
183
+ if attributes.has_key?(:'_links')
184
+ self._links = attributes[:'_links']
181
185
  end
182
186
  end
183
187
 
@@ -189,10 +193,6 @@ module CyberSource
189
193
  invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 26.')
190
194
  end
191
195
 
192
- if !@reconciliation_id.nil? && @reconciliation_id.to_s.length > 60
193
- invalid_properties.push('invalid value for "reconciliation_id", the character length must be smaller than or equal to 60.')
194
- end
195
-
196
196
  invalid_properties
197
197
  end
198
198
 
@@ -200,9 +200,6 @@ module CyberSource
200
200
  # @return true if the model is valid
201
201
  def valid?
202
202
  return false if !@id.nil? && @id.to_s.length > 26
203
- status_validator = EnumAttributeValidator.new('String', ['AUTHORIZED', 'PARTIAL_AUTHORIZED', 'AUTHORIZED_PENDING_REVIEW', 'DECLINED'])
204
- return false unless status_validator.valid?(@status)
205
- return false if !@reconciliation_id.nil? && @reconciliation_id.to_s.length > 60
206
203
  true
207
204
  end
208
205
 
@@ -216,46 +213,29 @@ module CyberSource
216
213
  @id = id
217
214
  end
218
215
 
219
- # Custom attribute writer method checking allowed values (enum).
220
- # @param [Object] status Object to be assigned
221
- def status=(status)
222
- validator = EnumAttributeValidator.new('String', ['AUTHORIZED', 'PARTIAL_AUTHORIZED', 'AUTHORIZED_PENDING_REVIEW', 'DECLINED'])
223
- unless validator.valid?(status)
224
- fail ArgumentError, 'invalid value for "status", must be one of #{validator.allowable_values}.'
225
- end
226
- @status = status
227
- end
228
-
229
- # Custom attribute writer method with validation
230
- # @param [Object] reconciliation_id Value to be assigned
231
- def reconciliation_id=(reconciliation_id)
232
- if !reconciliation_id.nil? && reconciliation_id.to_s.length > 60
233
- fail ArgumentError, 'invalid value for "reconciliation_id", the character length must be smaller than or equal to 60.'
234
- end
235
-
236
- @reconciliation_id = reconciliation_id
237
- end
238
-
239
216
  # Checks equality by comparing each attribute.
240
217
  # @param [Object] Object to be compared
241
218
  def ==(o)
242
219
  return true if self.equal?(o)
243
220
  self.class == o.class &&
244
- _links == o._links &&
245
- _embedded == o._embedded &&
246
221
  id == o.id &&
247
222
  submit_time_utc == o.submit_time_utc &&
248
- status == o.status &&
249
- reconciliation_id == o.reconciliation_id &&
250
- error_information == o.error_information &&
223
+ merchant_id == o.merchant_id &&
224
+ application_information == o.application_information &&
225
+ buyer_information == o.buyer_information &&
251
226
  client_reference_information == o.client_reference_information &&
227
+ consumer_authentication_information == o.consumer_authentication_information &&
228
+ device_information == o.device_information &&
229
+ fraud_marking_information == o.fraud_marking_information &&
230
+ merchant_defined_information == o.merchant_defined_information &&
231
+ merchant_information == o.merchant_information &&
232
+ order_information == o.order_information &&
233
+ payment_information == o.payment_information &&
252
234
  processing_information == o.processing_information &&
253
235
  processor_information == o.processor_information &&
254
- payment_information == o.payment_information &&
255
- order_information == o.order_information &&
256
- buyer_information == o.buyer_information &&
257
- merchant_information == o.merchant_information &&
258
- device_information == o.device_information
236
+ point_of_sale_information == o.point_of_sale_information &&
237
+ risk_information == o.risk_information &&
238
+ _links == o._links
259
239
  end
260
240
 
261
241
  # @see the `==` method
@@ -267,7 +247,7 @@ module CyberSource
267
247
  # Calculates hash code according to all attributes.
268
248
  # @return [Fixnum] Hash code
269
249
  def hash
270
- [_links, _embedded, id, submit_time_utc, status, reconciliation_id, error_information, client_reference_information, processing_information, processor_information, payment_information, order_information, buyer_information, merchant_information, device_information].hash
250
+ [id, submit_time_utc, merchant_id, application_information, buyer_information, client_reference_information, consumer_authentication_information, device_information, fraud_marking_information, merchant_defined_information, merchant_information, order_information, payment_information, processing_information, processor_information, point_of_sale_information, risk_information, _links].hash
271
251
  end
272
252
 
273
253
  # Builds the object from hash
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class InlineResponse201PaymentInformationCard
17
- # Last four digits of the cardholder’s account number. This field is returned only for tokenized transactions. You can use this value on the receipt that you give to the cardholder.
17
+ # Last four digits of the cardholders account number. This field is returned only for tokenized transactions. You can use this value on the receipt that you give to the cardholder.
18
18
  attr_accessor :suffix
19
19
 
20
20
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -32,7 +32,7 @@ module CyberSource
32
32
  # Four-digit year in which the payment network token expires. `Format: YYYY`.
33
33
  attr_accessor :expiration_year
34
34
 
35
- # Value that identifies your business and indicates that the cardholder’s account number is tokenized. This value is assigned by the token service provider and is unique within the token service provider’s database. `Note` This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**.
35
+ # Value that identifies your business and indicates that the cardholders account number is tokenized. This value is assigned by the token service provider and is unique within the token service providers database. `Note` This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**.
36
36
  attr_accessor :requestor_id
37
37
 
38
38
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -20,10 +20,10 @@ module CyberSource
20
20
  # Network transaction identifier (TID). You can use this value to identify a specific transaction when you are discussing the transaction with your processor. Not all processors provide this value.
21
21
  attr_accessor :transaction_id
22
22
 
23
- # TBD
23
+ # Description of this field is not available.
24
24
  attr_accessor :network_transaction_id
25
25
 
26
- # TBD
26
+ # Description of this field is not available.
27
27
  attr_accessor :provider_transaction_id
28
28
 
29
29
  # For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. Important Do not use this field to evaluate the result of the authorization.
@@ -35,7 +35,7 @@ module CyberSource
35
35
  # This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**.
36
36
  attr_accessor :response_details
37
37
 
38
- # Processor-defined response category code. The associated detail error code is in the auth_auth_response field or the auth_reversal_auth_ response field depending on which service you requested. This field is supported only for: - Japanese issuers - Domestic transactions in Japan - Comercio Latino—processor transaction ID required for troubleshooting **Maximum length for processors**: - Comercio Latino: 32 - All other processors: 3
38
+ # Processor-defined response category code. The associated detail error code is in the auth_auth_response field or the auth_reversal_auth_ response field depending on which service you requested. This field is supported only for: - Japanese issuers - Domestic transactions in Japan - Comercio Latinoprocessor transaction ID required for troubleshooting **Maximum length for processors**: - Comercio Latino: 32 - All other processors: 3
39
39
  attr_accessor :response_category_code
40
40
 
41
41
  # Name of the Japanese acquirer that processed the transaction. Returned only for CCS (CAFIS) and JCN Gateway. Please contact the CyberSource Japan Support Group for more information.
@@ -55,13 +55,13 @@ module CyberSource
55
55
 
56
56
  attr_accessor :issuer
57
57
 
58
- # This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. **American Express Direct** System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. **CyberSource through VisaNet** System trace number that must be printed on the customer’s receipt.
58
+ # This field is returned only for **American Express Direct** and **CyberSource through VisaNet**. **American Express Direct** System trace audit number (STAN). This value identifies the transaction and is useful when investigating a chargeback dispute. **CyberSource through VisaNet** System trace number that must be printed on the customers receipt.
59
59
  attr_accessor :system_trace_audit_number
60
60
 
61
61
  # Visa-generated reference number that identifies a card-present transaction for which youprovided one of the following: - Visa primary account number (PAN) - Visa-generated token for a PAN This reference number serves as a link to the cardholder account and to all transactions for that account.
62
62
  attr_accessor :payment_account_reference_number
63
63
 
64
- # Transaction integrity classification provided by Mastercard. This value specifies Mastercard’s evaluation of the transaction’s safety and security. This field is returned only for **CyberSource through VisaNet**. For card-present transactions, possible values: - **A1**: EMV or token in a secure, trusted environment - **B1**: EMV or chip equivalent - **C1**: Magnetic stripe - **E1**: Key entered - **U0**: Unclassified For card-not-present transactions, possible values: - **A2**: Digital transactions - **B2**: Authenticated checkout - **C2**: Transaction validation - **D2**: Enhanced data - **E2**: Generic messaging - **U0**: Unclassified For information about these values, contact Mastercard or your acquirer.
64
+ # Transaction integrity classification provided by Mastercard. This value specifies Mastercards evaluation of the transactions safety and security. This field is returned only for **CyberSource through VisaNet**. For card-present transactions, possible values: - **A1**: EMV or token in a secure, trusted environment - **B1**: EMV or chip equivalent - **C1**: Magnetic stripe - **E1**: Key entered - **U0**: Unclassified For card-not-present transactions, possible values: - **A2**: Digital transactions - **B2**: Authenticated checkout - **C2**: Transaction validation - **D2**: Enhanced data - **E2**: Generic messaging - **U0**: Unclassified For information about these values, contact Mastercard or your acquirer.
65
65
  attr_accessor :transaction_integrity_code
66
66
 
67
67
  # Referral response number for a verbal authorization with FDMS Nashville when using an American Express card. Give this number to American Express when you call them for the verbal authorization.
@@ -57,9 +57,10 @@ module CyberSource
57
57
  # @return Array for valid properties with the reasons
58
58
  def list_invalid_properties
59
59
  invalid_properties = Array.new
60
- if !@code.nil? && @code.to_s.length > 1
61
- invalid_properties.push('invalid value for "code", the character length must be smaller than or equal to 1.')
62
- end
60
+ # ansuguma
61
+ # if !@code.nil? && @code.to_s.length > 1
62
+ # invalid_properties.push('invalid value for "code", the character length must be smaller than or equal to 1.')
63
+ # end
63
64
 
64
65
  if !@code_raw.nil? && @code_raw.to_s.length > 10
65
66
  invalid_properties.push('invalid value for "code_raw", the character length must be smaller than or equal to 10.')
@@ -71,7 +72,8 @@ module CyberSource
71
72
  # Check to see if the all the properties in the model are valid
72
73
  # @return true if the model is valid
73
74
  def valid?
74
- return false if !@code.nil? && @code.to_s.length > 1
75
+ # ansuguma
76
+ # return false if !@code.nil? && @code.to_s.length > 1
75
77
  return false if !@code_raw.nil? && @code_raw.to_s.length > 10
76
78
  true
77
79
  end
@@ -79,9 +81,10 @@ module CyberSource
79
81
  # Custom attribute writer method with validation
80
82
  # @param [Object] code Value to be assigned
81
83
  def code=(code)
82
- if !code.nil? && code.to_s.length > 1
83
- fail ArgumentError, 'invalid value for "code", the character length must be smaller than or equal to 1.'
84
- end
84
+ # ansuguma
85
+ # if !code.nil? && code.to_s.length > 1
86
+ # fail ArgumentError, 'invalid value for "code", the character length must be smaller than or equal to 1.'
87
+ # end
85
88
 
86
89
  @code = code
87
90
  end
@@ -14,34 +14,34 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class InlineResponse201ProcessorInformationElectronicVerificationResults
17
- # Mapped Electronic Verification response code for the customer’s name.
17
+ # Mapped Electronic Verification response code for the customers name.
18
18
  attr_accessor :code
19
19
 
20
- # Raw Electronic Verification response code from the processor for the customer’s last name
20
+ # Raw Electronic Verification response code from the processor for the customers last name
21
21
  attr_accessor :code_raw
22
22
 
23
- # Mapped Electronic Verification response code for the customer’s email address.
23
+ # Mapped Electronic Verification response code for the customers email address.
24
24
  attr_accessor :email
25
25
 
26
- # Raw Electronic Verification response code from the processor for the customer’s email address.
26
+ # Raw Electronic Verification response code from the processor for the customers email address.
27
27
  attr_accessor :email_raw
28
28
 
29
- # Mapped Electronic Verification response code for the customer’s phone number.
29
+ # Mapped Electronic Verification response code for the customers phone number.
30
30
  attr_accessor :phone_number
31
31
 
32
- # Raw Electronic Verification response code from the processor for the customer’s phone number.
32
+ # Raw Electronic Verification response code from the processor for the customers phone number.
33
33
  attr_accessor :phone_number_raw
34
34
 
35
- # Mapped Electronic Verification response code for the customer’s postal code.
35
+ # Mapped Electronic Verification response code for the customers postal code.
36
36
  attr_accessor :postal_code
37
37
 
38
- # Raw Electronic Verification response code from the processor for the customer’s postal code.
38
+ # Raw Electronic Verification response code from the processor for the customers postal code.
39
39
  attr_accessor :postal_code_raw
40
40
 
41
- # Mapped Electronic Verification response code for the customer’s street address.
41
+ # Mapped Electronic Verification response code for the customers street address.
42
42
  attr_accessor :street
43
43
 
44
- # Raw Electronic Verification response code from the processor for the customer’s street address.
44
+ # Raw Electronic Verification response code from the processor for the customers street address.
45
45
  attr_accessor :street_raw
46
46
 
47
47
  # TODO