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,40 +13,49 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2004OrderInformation
17
- attr_accessor :amount_details
16
+ class InlineResponse20012PaymentInformationBank
17
+ # The description for this field is not available.
18
+ attr_accessor :routing_number
18
19
 
19
- attr_accessor :bill_to
20
+ # The description for this field is not available.
21
+ attr_accessor :branch_code
20
22
 
21
- attr_accessor :ship_to
23
+ # The description for this field is not available.
24
+ attr_accessor :swift_code
22
25
 
23
- attr_accessor :line_items
26
+ # The description for this field is not available.
27
+ attr_accessor :bank_code
24
28
 
25
- attr_accessor :invoice_details
29
+ # The description for this field is not available.
30
+ attr_accessor :iban
26
31
 
27
- attr_accessor :shipping_details
32
+ attr_accessor :account
33
+
34
+ attr_accessor :mandate
28
35
 
29
36
  # Attribute mapping from ruby-style variable name to JSON key.
30
37
  def self.attribute_map
31
38
  {
32
- :'amount_details' => :'amountDetails',
33
- :'bill_to' => :'billTo',
34
- :'ship_to' => :'shipTo',
35
- :'line_items' => :'lineItems',
36
- :'invoice_details' => :'invoiceDetails',
37
- :'shipping_details' => :'shippingDetails'
39
+ :'routing_number' => :'routingNumber',
40
+ :'branch_code' => :'branchCode',
41
+ :'swift_code' => :'swiftCode',
42
+ :'bank_code' => :'bankCode',
43
+ :'iban' => :'iban',
44
+ :'account' => :'account',
45
+ :'mandate' => :'mandate'
38
46
  }
39
47
  end
40
48
 
41
49
  # Attribute type mapping.
42
50
  def self.swagger_types
43
51
  {
44
- :'amount_details' => :'InlineResponse2004OrderInformationAmountDetails',
45
- :'bill_to' => :'InlineResponse2002OrderInformationBillTo',
46
- :'ship_to' => :'InlineResponse2004OrderInformationShipTo',
47
- :'line_items' => :'Array<InlineResponse2002OrderInformationLineItems>',
48
- :'invoice_details' => :'InlineResponse2004OrderInformationInvoiceDetails',
49
- :'shipping_details' => :'V2paymentsidcapturesOrderInformationShippingDetails'
52
+ :'routing_number' => :'String',
53
+ :'branch_code' => :'String',
54
+ :'swift_code' => :'String',
55
+ :'bank_code' => :'String',
56
+ :'iban' => :'String',
57
+ :'account' => :'InlineResponse20012PaymentInformationBankAccount',
58
+ :'mandate' => :'InlineResponse20012PaymentInformationBankMandate'
50
59
  }
51
60
  end
52
61
 
@@ -58,30 +67,32 @@ module CyberSource
58
67
  # convert string to symbol for hash key
59
68
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
60
69
 
61
- if attributes.has_key?(:'amountDetails')
62
- self.amount_details = attributes[:'amountDetails']
70
+ if attributes.has_key?(:'routingNumber')
71
+ self.routing_number = attributes[:'routingNumber']
63
72
  end
64
73
 
65
- if attributes.has_key?(:'billTo')
66
- self.bill_to = attributes[:'billTo']
74
+ if attributes.has_key?(:'branchCode')
75
+ self.branch_code = attributes[:'branchCode']
67
76
  end
68
77
 
69
- if attributes.has_key?(:'shipTo')
70
- self.ship_to = attributes[:'shipTo']
78
+ if attributes.has_key?(:'swiftCode')
79
+ self.swift_code = attributes[:'swiftCode']
71
80
  end
72
81
 
73
- if attributes.has_key?(:'lineItems')
74
- if (value = attributes[:'lineItems']).is_a?(Array)
75
- self.line_items = value
76
- end
82
+ if attributes.has_key?(:'bankCode')
83
+ self.bank_code = attributes[:'bankCode']
84
+ end
85
+
86
+ if attributes.has_key?(:'iban')
87
+ self.iban = attributes[:'iban']
77
88
  end
78
89
 
79
- if attributes.has_key?(:'invoiceDetails')
80
- self.invoice_details = attributes[:'invoiceDetails']
90
+ if attributes.has_key?(:'account')
91
+ self.account = attributes[:'account']
81
92
  end
82
93
 
83
- if attributes.has_key?(:'shippingDetails')
84
- self.shipping_details = attributes[:'shippingDetails']
94
+ if attributes.has_key?(:'mandate')
95
+ self.mandate = attributes[:'mandate']
85
96
  end
86
97
  end
87
98
 
@@ -103,12 +114,13 @@ module CyberSource
103
114
  def ==(o)
104
115
  return true if self.equal?(o)
105
116
  self.class == o.class &&
106
- amount_details == o.amount_details &&
107
- bill_to == o.bill_to &&
108
- ship_to == o.ship_to &&
109
- line_items == o.line_items &&
110
- invoice_details == o.invoice_details &&
111
- shipping_details == o.shipping_details
117
+ routing_number == o.routing_number &&
118
+ branch_code == o.branch_code &&
119
+ swift_code == o.swift_code &&
120
+ bank_code == o.bank_code &&
121
+ iban == o.iban &&
122
+ account == o.account &&
123
+ mandate == o.mandate
112
124
  end
113
125
 
114
126
  # @see the `==` method
@@ -120,7 +132,7 @@ module CyberSource
120
132
  # Calculates hash code according to all attributes.
121
133
  # @return [Fixnum] Hash code
122
134
  def hash
123
- [amount_details, bill_to, ship_to, line_items, invoice_details, shipping_details].hash
135
+ [routing_number, branch_code, swift_code, bank_code, iban, account, mandate].hash
124
136
  end
125
137
 
126
138
  # Builds the object from hash
@@ -0,0 +1,244 @@
1
+ =begin
2
+ #CyberSource Flex API
3
+
4
+ #Simple PAN tokenization service
5
+
6
+ OpenAPI spec version: 0.0.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CyberSource
16
+ class InlineResponse20012PaymentInformationBankAccount
17
+ # The description for this field is not available.
18
+ attr_accessor :suffix
19
+
20
+ # The description for this field is not available.
21
+ attr_accessor :prefix
22
+
23
+ # The description for this field is not available.
24
+ attr_accessor :check_number
25
+
26
+ # The description for this field is not available.
27
+ attr_accessor :type
28
+
29
+ # The description for this field is not available.
30
+ attr_accessor :name
31
+
32
+ # The description for this field is not available.
33
+ attr_accessor :check_digit
34
+
35
+ # The description for this field is not available.
36
+ attr_accessor :encoder_id
37
+
38
+ # Attribute mapping from ruby-style variable name to JSON key.
39
+ def self.attribute_map
40
+ {
41
+ :'suffix' => :'suffix',
42
+ :'prefix' => :'prefix',
43
+ :'check_number' => :'checkNumber',
44
+ :'type' => :'type',
45
+ :'name' => :'name',
46
+ :'check_digit' => :'checkDigit',
47
+ :'encoder_id' => :'encoderId'
48
+ }
49
+ end
50
+
51
+ # Attribute type mapping.
52
+ def self.swagger_types
53
+ {
54
+ :'suffix' => :'String',
55
+ :'prefix' => :'String',
56
+ :'check_number' => :'String',
57
+ :'type' => :'String',
58
+ :'name' => :'String',
59
+ :'check_digit' => :'String',
60
+ :'encoder_id' => :'String'
61
+ }
62
+ end
63
+
64
+ # Initializes the object
65
+ # @param [Hash] attributes Model attributes in the form of hash
66
+ def initialize(attributes = {})
67
+ return unless attributes.is_a?(Hash)
68
+
69
+ # convert string to symbol for hash key
70
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
71
+
72
+ if attributes.has_key?(:'suffix')
73
+ self.suffix = attributes[:'suffix']
74
+ end
75
+
76
+ if attributes.has_key?(:'prefix')
77
+ self.prefix = attributes[:'prefix']
78
+ end
79
+
80
+ if attributes.has_key?(:'checkNumber')
81
+ self.check_number = attributes[:'checkNumber']
82
+ end
83
+
84
+ if attributes.has_key?(:'type')
85
+ self.type = attributes[:'type']
86
+ end
87
+
88
+ if attributes.has_key?(:'name')
89
+ self.name = attributes[:'name']
90
+ end
91
+
92
+ if attributes.has_key?(:'checkDigit')
93
+ self.check_digit = attributes[:'checkDigit']
94
+ end
95
+
96
+ if attributes.has_key?(:'encoderId')
97
+ self.encoder_id = attributes[:'encoderId']
98
+ end
99
+ end
100
+
101
+ # Show invalid properties with the reasons. Usually used together with valid?
102
+ # @return Array for valid properties with the reasons
103
+ def list_invalid_properties
104
+ invalid_properties = Array.new
105
+ invalid_properties
106
+ end
107
+
108
+ # Check to see if the all the properties in the model are valid
109
+ # @return true if the model is valid
110
+ def valid?
111
+ true
112
+ end
113
+
114
+ # Checks equality by comparing each attribute.
115
+ # @param [Object] Object to be compared
116
+ def ==(o)
117
+ return true if self.equal?(o)
118
+ self.class == o.class &&
119
+ suffix == o.suffix &&
120
+ prefix == o.prefix &&
121
+ check_number == o.check_number &&
122
+ type == o.type &&
123
+ name == o.name &&
124
+ check_digit == o.check_digit &&
125
+ encoder_id == o.encoder_id
126
+ end
127
+
128
+ # @see the `==` method
129
+ # @param [Object] Object to be compared
130
+ def eql?(o)
131
+ self == o
132
+ end
133
+
134
+ # Calculates hash code according to all attributes.
135
+ # @return [Fixnum] Hash code
136
+ def hash
137
+ [suffix, prefix, check_number, type, name, check_digit, encoder_id].hash
138
+ end
139
+
140
+ # Builds the object from hash
141
+ # @param [Hash] attributes Model attributes in the form of hash
142
+ # @return [Object] Returns the model itself
143
+ def build_from_hash(attributes)
144
+ return nil unless attributes.is_a?(Hash)
145
+ self.class.swagger_types.each_pair do |key, type|
146
+ if type =~ /\AArray<(.*)>/i
147
+ # check to ensure the input is an array given that the the attribute
148
+ # is documented as an array but the input is not
149
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
150
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
151
+ end
152
+ elsif !attributes[self.class.attribute_map[key]].nil?
153
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
154
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
155
+ end
156
+
157
+ self
158
+ end
159
+
160
+ # Deserializes the data based on type
161
+ # @param string type Data type
162
+ # @param string value Value to be deserialized
163
+ # @return [Object] Deserialized data
164
+ def _deserialize(type, value)
165
+ case type.to_sym
166
+ when :DateTime
167
+ DateTime.parse(value)
168
+ when :Date
169
+ Date.parse(value)
170
+ when :String
171
+ value.to_s
172
+ when :Integer
173
+ value.to_i
174
+ when :Float
175
+ value.to_f
176
+ when :BOOLEAN
177
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
178
+ true
179
+ else
180
+ false
181
+ end
182
+ when :Object
183
+ # generic object (usually a Hash), return directly
184
+ value
185
+ when /\AArray<(?<inner_type>.+)>\z/
186
+ inner_type = Regexp.last_match[:inner_type]
187
+ value.map { |v| _deserialize(inner_type, v) }
188
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
189
+ k_type = Regexp.last_match[:k_type]
190
+ v_type = Regexp.last_match[:v_type]
191
+ {}.tap do |hash|
192
+ value.each do |k, v|
193
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
194
+ end
195
+ end
196
+ else # model
197
+ temp_model = CyberSource.const_get(type).new
198
+ temp_model.build_from_hash(value)
199
+ end
200
+ end
201
+
202
+ # Returns the string representation of the object
203
+ # @return [String] String presentation of the object
204
+ def to_s
205
+ to_hash.to_s
206
+ end
207
+
208
+ # to_body is an alias to to_hash (backward compatibility)
209
+ # @return [Hash] Returns the object in the form of hash
210
+ def to_body
211
+ to_hash
212
+ end
213
+
214
+ # Returns the object in the form of hash
215
+ # @return [Hash] Returns the object in the form of hash
216
+ def to_hash
217
+ hash = {}
218
+ self.class.attribute_map.each_pair do |attr, param|
219
+ value = self.send(attr)
220
+ next if value.nil?
221
+ hash[param] = _to_hash(value)
222
+ end
223
+ hash
224
+ end
225
+
226
+ # Outputs non-array value in the form of hash
227
+ # For object, use to_hash. Otherwise, just return the value
228
+ # @param [Object] value Any valid value
229
+ # @return [Hash] Returns the value in the form of hash
230
+ def _to_hash(value)
231
+ if value.is_a?(Array)
232
+ value.compact.map { |v| _to_hash(v) }
233
+ elsif value.is_a?(Hash)
234
+ {}.tap do |hash|
235
+ value.each { |k, v| hash[k] = _to_hash(v) }
236
+ end
237
+ elsif value.respond_to? :to_hash
238
+ value.to_hash
239
+ else
240
+ value
241
+ end
242
+ end
243
+ end
244
+ end
@@ -0,0 +1,204 @@
1
+ =begin
2
+ #CyberSource Flex API
3
+
4
+ #Simple PAN tokenization service
5
+
6
+ OpenAPI spec version: 0.0.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CyberSource
16
+ class InlineResponse20012PaymentInformationBankMandate
17
+ # The description for this field is not available.
18
+ attr_accessor :reference_number
19
+
20
+ # The description for this field is not available.
21
+ attr_accessor :recurring_type
22
+
23
+ # The description for this field is not available.
24
+ attr_accessor :id
25
+
26
+ # Attribute mapping from ruby-style variable name to JSON key.
27
+ def self.attribute_map
28
+ {
29
+ :'reference_number' => :'referenceNumber',
30
+ :'recurring_type' => :'recurringType',
31
+ :'id' => :'id'
32
+ }
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.swagger_types
37
+ {
38
+ :'reference_number' => :'String',
39
+ :'recurring_type' => :'String',
40
+ :'id' => :'String'
41
+ }
42
+ end
43
+
44
+ # Initializes the object
45
+ # @param [Hash] attributes Model attributes in the form of hash
46
+ def initialize(attributes = {})
47
+ return unless attributes.is_a?(Hash)
48
+
49
+ # convert string to symbol for hash key
50
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
51
+
52
+ if attributes.has_key?(:'referenceNumber')
53
+ self.reference_number = attributes[:'referenceNumber']
54
+ end
55
+
56
+ if attributes.has_key?(:'recurringType')
57
+ self.recurring_type = attributes[:'recurringType']
58
+ end
59
+
60
+ if attributes.has_key?(:'id')
61
+ self.id = attributes[:'id']
62
+ end
63
+ end
64
+
65
+ # Show invalid properties with the reasons. Usually used together with valid?
66
+ # @return Array for valid properties with the reasons
67
+ def list_invalid_properties
68
+ invalid_properties = Array.new
69
+ invalid_properties
70
+ end
71
+
72
+ # Check to see if the all the properties in the model are valid
73
+ # @return true if the model is valid
74
+ def valid?
75
+ true
76
+ end
77
+
78
+ # Checks equality by comparing each attribute.
79
+ # @param [Object] Object to be compared
80
+ def ==(o)
81
+ return true if self.equal?(o)
82
+ self.class == o.class &&
83
+ reference_number == o.reference_number &&
84
+ recurring_type == o.recurring_type &&
85
+ id == o.id
86
+ end
87
+
88
+ # @see the `==` method
89
+ # @param [Object] Object to be compared
90
+ def eql?(o)
91
+ self == o
92
+ end
93
+
94
+ # Calculates hash code according to all attributes.
95
+ # @return [Fixnum] Hash code
96
+ def hash
97
+ [reference_number, recurring_type, id].hash
98
+ end
99
+
100
+ # Builds the object from hash
101
+ # @param [Hash] attributes Model attributes in the form of hash
102
+ # @return [Object] Returns the model itself
103
+ def build_from_hash(attributes)
104
+ return nil unless attributes.is_a?(Hash)
105
+ self.class.swagger_types.each_pair do |key, type|
106
+ if type =~ /\AArray<(.*)>/i
107
+ # check to ensure the input is an array given that the the attribute
108
+ # is documented as an array but the input is not
109
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
110
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
111
+ end
112
+ elsif !attributes[self.class.attribute_map[key]].nil?
113
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
114
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
115
+ end
116
+
117
+ self
118
+ end
119
+
120
+ # Deserializes the data based on type
121
+ # @param string type Data type
122
+ # @param string value Value to be deserialized
123
+ # @return [Object] Deserialized data
124
+ def _deserialize(type, value)
125
+ case type.to_sym
126
+ when :DateTime
127
+ DateTime.parse(value)
128
+ when :Date
129
+ Date.parse(value)
130
+ when :String
131
+ value.to_s
132
+ when :Integer
133
+ value.to_i
134
+ when :Float
135
+ value.to_f
136
+ when :BOOLEAN
137
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
138
+ true
139
+ else
140
+ false
141
+ end
142
+ when :Object
143
+ # generic object (usually a Hash), return directly
144
+ value
145
+ when /\AArray<(?<inner_type>.+)>\z/
146
+ inner_type = Regexp.last_match[:inner_type]
147
+ value.map { |v| _deserialize(inner_type, v) }
148
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
149
+ k_type = Regexp.last_match[:k_type]
150
+ v_type = Regexp.last_match[:v_type]
151
+ {}.tap do |hash|
152
+ value.each do |k, v|
153
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
154
+ end
155
+ end
156
+ else # model
157
+ temp_model = CyberSource.const_get(type).new
158
+ temp_model.build_from_hash(value)
159
+ end
160
+ end
161
+
162
+ # Returns the string representation of the object
163
+ # @return [String] String presentation of the object
164
+ def to_s
165
+ to_hash.to_s
166
+ end
167
+
168
+ # to_body is an alias to to_hash (backward compatibility)
169
+ # @return [Hash] Returns the object in the form of hash
170
+ def to_body
171
+ to_hash
172
+ end
173
+
174
+ # Returns the object in the form of hash
175
+ # @return [Hash] Returns the object in the form of hash
176
+ def to_hash
177
+ hash = {}
178
+ self.class.attribute_map.each_pair do |attr, param|
179
+ value = self.send(attr)
180
+ next if value.nil?
181
+ hash[param] = _to_hash(value)
182
+ end
183
+ hash
184
+ end
185
+
186
+ # Outputs non-array value in the form of hash
187
+ # For object, use to_hash. Otherwise, just return the value
188
+ # @param [Object] value Any valid value
189
+ # @return [Hash] Returns the value in the form of hash
190
+ def _to_hash(value)
191
+ if value.is_a?(Array)
192
+ value.compact.map { |v| _to_hash(v) }
193
+ elsif value.is_a?(Hash)
194
+ {}.tap do |hash|
195
+ value.each { |k, v| hash[k] = _to_hash(v) }
196
+ end
197
+ elsif value.respond_to? :to_hash
198
+ value.to_hash
199
+ else
200
+ value
201
+ end
202
+ end
203
+ end
204
+ end