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,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2002OrderInformationLineItems
16
+ class InlineResponse20012OrderInformationLineItems
17
17
  # Type of product. This value is used to determine the category that the product is in: electronic, handling, physical, service, or shipping. The default value is **default**. For a payment, when you set this field to a value other than default or any of the values related to shipping and handling, below fields _quantity_, _productName_, and _productSKU_ are required.
18
18
  attr_accessor :product_code
19
19
 
@@ -23,46 +23,17 @@ module CyberSource
23
23
  # Identification code for the product. For PAYMENT and CAPTURE API, this field is required when above _productCode_ is not **default** or one of the values related to shipping and/or handling.
24
24
  attr_accessor :product_sku
25
25
 
26
+ # Total tax to apply to the product. This value cannot be negative. The tax amount and the offer amount must be in the same currency. The tax amount field is additive. The following example uses a two-exponent currency such as USD: 1. You include each line item in your request. ..- 1st line item has amount=10.00, quantity=1, and taxAmount=0.80 ..- 2nd line item has amount=20.00, quantity=1, and taxAmount=1.60 2. The total amount authorized will be 32.40, not 30.00 with 2.40 of tax included. This field is frequently used for Level II and Level III transactions.
27
+ attr_accessor :tax_amount
28
+
26
29
  # For a payment or capture, this field is required when _productCode_ is not **default** or one of the values related to shipping and handling.
27
30
  attr_accessor :quantity
28
31
 
29
32
  # Per-item price of the product. This value cannot be negative. You can include a decimal point (.), but you cannot include any other special characters. CyberSource truncates the amount to the correct number of decimal places. For processor-specific information, see the amount field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)
30
33
  attr_accessor :unit_price
31
34
 
32
- # Unit of measure, or unit of measure code, for the item.
33
- attr_accessor :unit_of_measure
34
-
35
- # Total amount for the item. Normally calculated as the unit price x quantity.
36
- attr_accessor :total_amount
37
-
38
- # Total tax to apply to the product. This value cannot be negative. The tax amount and the offer amount must be in the same currency. The tax amount field is additive. The following example uses a two-exponent currency such as USD: 1. You include each line item in your request. ..- 1st line item has amount=10.00, quantity=1, and taxAmount=0.80 ..- 2nd line item has amount=20.00, quantity=1, and taxAmount=1.60 2. The total amount authorized will be 32.40, not 30.00 with 2.40 of tax included. This field is frequently used for Level II and Level III transactions.
39
- attr_accessor :tax_amount
40
-
41
- # Tax rate applied to the item. See \"Numbered Elements,\" page 14. Visa: Valid range is 0.01 to 0.99 (1% to 99%, with only whole percentage values accepted; values with additional decimal places will be truncated). Mastercard: Valid range is 0.00001 to 0.99999 (0.001% to 99.999%).
42
- attr_accessor :tax_rate
43
-
44
- # Type of tax being applied to the item. Possible values: Below values are used by **RBS WorldPay Atlanta**, **FDC Nashville Global**, **Litle** - 0000: unknown tax type - 0001: federal/national sales tax - 0002: state sales tax - 0003: city sales tax - 0004: local sales tax - 0005: municipal sales tax - 0006: other tax - 0010: value-added tax - 0011: goods and services tax - 0012: provincial sales tax - 0013: harmonized sales tax - 0014: Quebec sales tax (QST) - 0020: room tax - 0021: occupancy tax - 0022: energy tax - Blank: Tax not supported on line item.
45
- attr_accessor :tax_type_code
46
-
47
- # Flag that indicates whether the tax amount is included in the Line Item Total.
48
- attr_accessor :amount_includes_tax
49
-
50
- # Commodity code or International description code used to classify the item. Contact your acquirer for a list of codes.
51
- attr_accessor :commodity_code
52
-
53
- # Discount applied to the item.
54
- attr_accessor :discount_amount
55
-
56
- # Flag that indicates whether the amount is discounted. If you do not provide a value but you set Discount Amount to a value greater than zero, then CyberSource sets this field to **true**.
57
- attr_accessor :discount_applied
58
-
59
- # Rate the item is discounted. Maximum of 2 decimal places. Example 5.25 (=5.25%)
60
- attr_accessor :discount_rate
61
-
62
- # Field to support an invoice number for a transaction. You must specify the number of line items that will include an invoice number. By default, the first line item will include an invoice number field. The invoice number field can be included for up to 10 line items.
63
- attr_accessor :invoice_number
64
-
65
- attr_accessor :tax_details
35
+ # The description for this field is not available.
36
+ attr_accessor :fulfillment_type
66
37
 
67
38
  # Attribute mapping from ruby-style variable name to JSON key.
68
39
  def self.attribute_map
@@ -70,20 +41,10 @@ module CyberSource
70
41
  :'product_code' => :'productCode',
71
42
  :'product_name' => :'productName',
72
43
  :'product_sku' => :'productSku',
44
+ :'tax_amount' => :'taxAmount',
73
45
  :'quantity' => :'quantity',
74
46
  :'unit_price' => :'unitPrice',
75
- :'unit_of_measure' => :'unitOfMeasure',
76
- :'total_amount' => :'totalAmount',
77
- :'tax_amount' => :'taxAmount',
78
- :'tax_rate' => :'taxRate',
79
- :'tax_type_code' => :'taxTypeCode',
80
- :'amount_includes_tax' => :'amountIncludesTax',
81
- :'commodity_code' => :'commodityCode',
82
- :'discount_amount' => :'discountAmount',
83
- :'discount_applied' => :'discountApplied',
84
- :'discount_rate' => :'discountRate',
85
- :'invoice_number' => :'invoiceNumber',
86
- :'tax_details' => :'taxDetails'
47
+ :'fulfillment_type' => :'fulfillmentType'
87
48
  }
88
49
  end
89
50
 
@@ -93,20 +54,10 @@ module CyberSource
93
54
  :'product_code' => :'String',
94
55
  :'product_name' => :'String',
95
56
  :'product_sku' => :'String',
57
+ :'tax_amount' => :'String',
96
58
  :'quantity' => :'Float',
97
59
  :'unit_price' => :'String',
98
- :'unit_of_measure' => :'String',
99
- :'total_amount' => :'String',
100
- :'tax_amount' => :'String',
101
- :'tax_rate' => :'String',
102
- :'tax_type_code' => :'String',
103
- :'amount_includes_tax' => :'BOOLEAN',
104
- :'commodity_code' => :'String',
105
- :'discount_amount' => :'String',
106
- :'discount_applied' => :'BOOLEAN',
107
- :'discount_rate' => :'String',
108
- :'invoice_number' => :'String',
109
- :'tax_details' => :'Array<V2paymentsOrderInformationAmountDetailsTaxDetails>'
60
+ :'fulfillment_type' => :'String'
110
61
  }
111
62
  end
112
63
 
@@ -130,62 +81,20 @@ module CyberSource
130
81
  self.product_sku = attributes[:'productSku']
131
82
  end
132
83
 
133
- if attributes.has_key?(:'quantity')
134
- self.quantity = attributes[:'quantity']
135
- end
136
-
137
- if attributes.has_key?(:'unitPrice')
138
- self.unit_price = attributes[:'unitPrice']
139
- end
140
-
141
- if attributes.has_key?(:'unitOfMeasure')
142
- self.unit_of_measure = attributes[:'unitOfMeasure']
143
- end
144
-
145
- if attributes.has_key?(:'totalAmount')
146
- self.total_amount = attributes[:'totalAmount']
147
- end
148
-
149
84
  if attributes.has_key?(:'taxAmount')
150
85
  self.tax_amount = attributes[:'taxAmount']
151
86
  end
152
87
 
153
- if attributes.has_key?(:'taxRate')
154
- self.tax_rate = attributes[:'taxRate']
155
- end
156
-
157
- if attributes.has_key?(:'taxTypeCode')
158
- self.tax_type_code = attributes[:'taxTypeCode']
159
- end
160
-
161
- if attributes.has_key?(:'amountIncludesTax')
162
- self.amount_includes_tax = attributes[:'amountIncludesTax']
163
- end
164
-
165
- if attributes.has_key?(:'commodityCode')
166
- self.commodity_code = attributes[:'commodityCode']
167
- end
168
-
169
- if attributes.has_key?(:'discountAmount')
170
- self.discount_amount = attributes[:'discountAmount']
171
- end
172
-
173
- if attributes.has_key?(:'discountApplied')
174
- self.discount_applied = attributes[:'discountApplied']
175
- end
176
-
177
- if attributes.has_key?(:'discountRate')
178
- self.discount_rate = attributes[:'discountRate']
88
+ if attributes.has_key?(:'quantity')
89
+ self.quantity = attributes[:'quantity']
179
90
  end
180
91
 
181
- if attributes.has_key?(:'invoiceNumber')
182
- self.invoice_number = attributes[:'invoiceNumber']
92
+ if attributes.has_key?(:'unitPrice')
93
+ self.unit_price = attributes[:'unitPrice']
183
94
  end
184
95
 
185
- if attributes.has_key?(:'taxDetails')
186
- if (value = attributes[:'taxDetails']).is_a?(Array)
187
- self.tax_details = value
188
- end
96
+ if attributes.has_key?(:'fulfillmentType')
97
+ self.fulfillment_type = attributes[:'fulfillmentType']
189
98
  end
190
99
  end
191
100
 
@@ -205,6 +114,10 @@ module CyberSource
205
114
  invalid_properties.push('invalid value for "product_sku", the character length must be smaller than or equal to 255.')
206
115
  end
207
116
 
117
+ if !@tax_amount.nil? && @tax_amount.to_s.length > 15
118
+ invalid_properties.push('invalid value for "tax_amount", the character length must be smaller than or equal to 15.')
119
+ end
120
+
208
121
  if !@quantity.nil? && @quantity > 9999999999
209
122
  invalid_properties.push('invalid value for "quantity", must be smaller than or equal to 9999999999.')
210
123
  end
@@ -217,42 +130,6 @@ module CyberSource
217
130
  invalid_properties.push('invalid value for "unit_price", the character length must be smaller than or equal to 15.')
218
131
  end
219
132
 
220
- if !@unit_of_measure.nil? && @unit_of_measure.to_s.length > 12
221
- invalid_properties.push('invalid value for "unit_of_measure", the character length must be smaller than or equal to 12.')
222
- end
223
-
224
- if !@total_amount.nil? && @total_amount.to_s.length > 13
225
- invalid_properties.push('invalid value for "total_amount", the character length must be smaller than or equal to 13.')
226
- end
227
-
228
- if !@tax_amount.nil? && @tax_amount.to_s.length > 15
229
- invalid_properties.push('invalid value for "tax_amount", the character length must be smaller than or equal to 15.')
230
- end
231
-
232
- if !@tax_rate.nil? && @tax_rate.to_s.length > 7
233
- invalid_properties.push('invalid value for "tax_rate", the character length must be smaller than or equal to 7.')
234
- end
235
-
236
- if !@tax_type_code.nil? && @tax_type_code.to_s.length > 4
237
- invalid_properties.push('invalid value for "tax_type_code", the character length must be smaller than or equal to 4.')
238
- end
239
-
240
- if !@commodity_code.nil? && @commodity_code.to_s.length > 15
241
- invalid_properties.push('invalid value for "commodity_code", the character length must be smaller than or equal to 15.')
242
- end
243
-
244
- if !@discount_amount.nil? && @discount_amount.to_s.length > 13
245
- invalid_properties.push('invalid value for "discount_amount", the character length must be smaller than or equal to 13.')
246
- end
247
-
248
- if !@discount_rate.nil? && @discount_rate.to_s.length > 6
249
- invalid_properties.push('invalid value for "discount_rate", the character length must be smaller than or equal to 6.')
250
- end
251
-
252
- if !@invoice_number.nil? && @invoice_number.to_s.length > 23
253
- invalid_properties.push('invalid value for "invoice_number", the character length must be smaller than or equal to 23.')
254
- end
255
-
256
133
  invalid_properties
257
134
  end
258
135
 
@@ -262,18 +139,10 @@ module CyberSource
262
139
  return false if !@product_code.nil? && @product_code.to_s.length > 255
263
140
  return false if !@product_name.nil? && @product_name.to_s.length > 255
264
141
  return false if !@product_sku.nil? && @product_sku.to_s.length > 255
142
+ return false if !@tax_amount.nil? && @tax_amount.to_s.length > 15
265
143
  return false if !@quantity.nil? && @quantity > 9999999999
266
144
  return false if !@quantity.nil? && @quantity < 1
267
145
  return false if !@unit_price.nil? && @unit_price.to_s.length > 15
268
- return false if !@unit_of_measure.nil? && @unit_of_measure.to_s.length > 12
269
- return false if !@total_amount.nil? && @total_amount.to_s.length > 13
270
- return false if !@tax_amount.nil? && @tax_amount.to_s.length > 15
271
- return false if !@tax_rate.nil? && @tax_rate.to_s.length > 7
272
- return false if !@tax_type_code.nil? && @tax_type_code.to_s.length > 4
273
- return false if !@commodity_code.nil? && @commodity_code.to_s.length > 15
274
- return false if !@discount_amount.nil? && @discount_amount.to_s.length > 13
275
- return false if !@discount_rate.nil? && @discount_rate.to_s.length > 6
276
- return false if !@invoice_number.nil? && @invoice_number.to_s.length > 23
277
146
  true
278
147
  end
279
148
 
@@ -307,6 +176,16 @@ module CyberSource
307
176
  @product_sku = product_sku
308
177
  end
309
178
 
179
+ # Custom attribute writer method with validation
180
+ # @param [Object] tax_amount Value to be assigned
181
+ def tax_amount=(tax_amount)
182
+ if !tax_amount.nil? && tax_amount.to_s.length > 15
183
+ fail ArgumentError, 'invalid value for "tax_amount", the character length must be smaller than or equal to 15.'
184
+ end
185
+
186
+ @tax_amount = tax_amount
187
+ end
188
+
310
189
  # Custom attribute writer method with validation
311
190
  # @param [Object] quantity Value to be assigned
312
191
  def quantity=(quantity)
@@ -331,96 +210,6 @@ module CyberSource
331
210
  @unit_price = unit_price
332
211
  end
333
212
 
334
- # Custom attribute writer method with validation
335
- # @param [Object] unit_of_measure Value to be assigned
336
- def unit_of_measure=(unit_of_measure)
337
- if !unit_of_measure.nil? && unit_of_measure.to_s.length > 12
338
- fail ArgumentError, 'invalid value for "unit_of_measure", the character length must be smaller than or equal to 12.'
339
- end
340
-
341
- @unit_of_measure = unit_of_measure
342
- end
343
-
344
- # Custom attribute writer method with validation
345
- # @param [Object] total_amount Value to be assigned
346
- def total_amount=(total_amount)
347
- if !total_amount.nil? && total_amount.to_s.length > 13
348
- fail ArgumentError, 'invalid value for "total_amount", the character length must be smaller than or equal to 13.'
349
- end
350
-
351
- @total_amount = total_amount
352
- end
353
-
354
- # Custom attribute writer method with validation
355
- # @param [Object] tax_amount Value to be assigned
356
- def tax_amount=(tax_amount)
357
- if !tax_amount.nil? && tax_amount.to_s.length > 15
358
- fail ArgumentError, 'invalid value for "tax_amount", the character length must be smaller than or equal to 15.'
359
- end
360
-
361
- @tax_amount = tax_amount
362
- end
363
-
364
- # Custom attribute writer method with validation
365
- # @param [Object] tax_rate Value to be assigned
366
- def tax_rate=(tax_rate)
367
- if !tax_rate.nil? && tax_rate.to_s.length > 7
368
- fail ArgumentError, 'invalid value for "tax_rate", the character length must be smaller than or equal to 7.'
369
- end
370
-
371
- @tax_rate = tax_rate
372
- end
373
-
374
- # Custom attribute writer method with validation
375
- # @param [Object] tax_type_code Value to be assigned
376
- def tax_type_code=(tax_type_code)
377
- if !tax_type_code.nil? && tax_type_code.to_s.length > 4
378
- fail ArgumentError, 'invalid value for "tax_type_code", the character length must be smaller than or equal to 4.'
379
- end
380
-
381
- @tax_type_code = tax_type_code
382
- end
383
-
384
- # Custom attribute writer method with validation
385
- # @param [Object] commodity_code Value to be assigned
386
- def commodity_code=(commodity_code)
387
- if !commodity_code.nil? && commodity_code.to_s.length > 15
388
- fail ArgumentError, 'invalid value for "commodity_code", the character length must be smaller than or equal to 15.'
389
- end
390
-
391
- @commodity_code = commodity_code
392
- end
393
-
394
- # Custom attribute writer method with validation
395
- # @param [Object] discount_amount Value to be assigned
396
- def discount_amount=(discount_amount)
397
- if !discount_amount.nil? && discount_amount.to_s.length > 13
398
- fail ArgumentError, 'invalid value for "discount_amount", the character length must be smaller than or equal to 13.'
399
- end
400
-
401
- @discount_amount = discount_amount
402
- end
403
-
404
- # Custom attribute writer method with validation
405
- # @param [Object] discount_rate Value to be assigned
406
- def discount_rate=(discount_rate)
407
- if !discount_rate.nil? && discount_rate.to_s.length > 6
408
- fail ArgumentError, 'invalid value for "discount_rate", the character length must be smaller than or equal to 6.'
409
- end
410
-
411
- @discount_rate = discount_rate
412
- end
413
-
414
- # Custom attribute writer method with validation
415
- # @param [Object] invoice_number Value to be assigned
416
- def invoice_number=(invoice_number)
417
- if !invoice_number.nil? && invoice_number.to_s.length > 23
418
- fail ArgumentError, 'invalid value for "invoice_number", the character length must be smaller than or equal to 23.'
419
- end
420
-
421
- @invoice_number = invoice_number
422
- end
423
-
424
213
  # Checks equality by comparing each attribute.
425
214
  # @param [Object] Object to be compared
426
215
  def ==(o)
@@ -429,20 +218,10 @@ module CyberSource
429
218
  product_code == o.product_code &&
430
219
  product_name == o.product_name &&
431
220
  product_sku == o.product_sku &&
221
+ tax_amount == o.tax_amount &&
432
222
  quantity == o.quantity &&
433
223
  unit_price == o.unit_price &&
434
- unit_of_measure == o.unit_of_measure &&
435
- total_amount == o.total_amount &&
436
- tax_amount == o.tax_amount &&
437
- tax_rate == o.tax_rate &&
438
- tax_type_code == o.tax_type_code &&
439
- amount_includes_tax == o.amount_includes_tax &&
440
- commodity_code == o.commodity_code &&
441
- discount_amount == o.discount_amount &&
442
- discount_applied == o.discount_applied &&
443
- discount_rate == o.discount_rate &&
444
- invoice_number == o.invoice_number &&
445
- tax_details == o.tax_details
224
+ fulfillment_type == o.fulfillment_type
446
225
  end
447
226
 
448
227
  # @see the `==` method
@@ -454,7 +233,7 @@ module CyberSource
454
233
  # Calculates hash code according to all attributes.
455
234
  # @return [Fixnum] Hash code
456
235
  def hash
457
- [product_code, product_name, product_sku, quantity, unit_price, unit_of_measure, total_amount, tax_amount, tax_rate, tax_type_code, amount_includes_tax, commodity_code, discount_amount, discount_applied, discount_rate, invoice_number, tax_details].hash
236
+ [product_code, product_name, product_sku, tax_amount, quantity, unit_price, fulfillment_type].hash
458
237
  end
459
238
 
460
239
  # Builds the object from hash
@@ -13,16 +13,13 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2002OrderInformationShipTo
16
+ class InlineResponse20012OrderInformationShipTo
17
17
  # First name of the recipient. **Processor specific maximum length** - Litle: 25 - All other processors: 60
18
18
  attr_accessor :first_name
19
19
 
20
20
  # Last name of the recipient. **Processor specific maximum length** - Litle: 25 - All other processors: 60
21
21
  attr_accessor :last_name
22
22
 
23
- # TBD
24
- attr_accessor :company
25
-
26
23
  # First line of the shipping address.
27
24
  attr_accessor :address1
28
25
 
@@ -38,15 +35,12 @@ module CyberSource
38
35
  # Postal code for the shipping address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3
39
36
  attr_accessor :postal_code
40
37
 
41
- # TBD
42
- attr_accessor :county
38
+ # Name of the customer’s company. For processor-specific information, see the company_name field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)
39
+ attr_accessor :company
43
40
 
44
41
  # Country of the shipping address. Use the two character ISO Standard Country Codes.
45
42
  attr_accessor :country
46
43
 
47
- # TBD
48
- attr_accessor :email
49
-
50
44
  # Phone number for the shipping address.
51
45
  attr_accessor :phone_number
52
46
 
@@ -55,15 +49,13 @@ module CyberSource
55
49
  {
56
50
  :'first_name' => :'firstName',
57
51
  :'last_name' => :'lastName',
58
- :'company' => :'company',
59
52
  :'address1' => :'address1',
60
53
  :'address2' => :'address2',
61
54
  :'locality' => :'locality',
62
55
  :'administrative_area' => :'administrativeArea',
63
56
  :'postal_code' => :'postalCode',
64
- :'county' => :'county',
57
+ :'company' => :'company',
65
58
  :'country' => :'country',
66
- :'email' => :'email',
67
59
  :'phone_number' => :'phoneNumber'
68
60
  }
69
61
  end
@@ -73,15 +65,13 @@ module CyberSource
73
65
  {
74
66
  :'first_name' => :'String',
75
67
  :'last_name' => :'String',
76
- :'company' => :'String',
77
68
  :'address1' => :'String',
78
69
  :'address2' => :'String',
79
70
  :'locality' => :'String',
80
71
  :'administrative_area' => :'String',
81
72
  :'postal_code' => :'String',
82
- :'county' => :'String',
73
+ :'company' => :'String',
83
74
  :'country' => :'String',
84
- :'email' => :'String',
85
75
  :'phone_number' => :'String'
86
76
  }
87
77
  end
@@ -102,10 +92,6 @@ module CyberSource
102
92
  self.last_name = attributes[:'lastName']
103
93
  end
104
94
 
105
- if attributes.has_key?(:'company')
106
- self.company = attributes[:'company']
107
- end
108
-
109
95
  if attributes.has_key?(:'address1')
110
96
  self.address1 = attributes[:'address1']
111
97
  end
@@ -126,18 +112,14 @@ module CyberSource
126
112
  self.postal_code = attributes[:'postalCode']
127
113
  end
128
114
 
129
- if attributes.has_key?(:'county')
130
- self.county = attributes[:'county']
115
+ if attributes.has_key?(:'company')
116
+ self.company = attributes[:'company']
131
117
  end
132
118
 
133
119
  if attributes.has_key?(:'country')
134
120
  self.country = attributes[:'country']
135
121
  end
136
122
 
137
- if attributes.has_key?(:'email')
138
- self.email = attributes[:'email']
139
- end
140
-
141
123
  if attributes.has_key?(:'phoneNumber')
142
124
  self.phone_number = attributes[:'phoneNumber']
143
125
  end
@@ -175,6 +157,10 @@ module CyberSource
175
157
  invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 10.')
176
158
  end
177
159
 
160
+ if !@company.nil? && @company.to_s.length > 60
161
+ invalid_properties.push('invalid value for "company", the character length must be smaller than or equal to 60.')
162
+ end
163
+
178
164
  if !@country.nil? && @country.to_s.length > 2
179
165
  invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 2.')
180
166
  end
@@ -196,6 +182,7 @@ module CyberSource
196
182
  return false if !@locality.nil? && @locality.to_s.length > 50
197
183
  return false if !@administrative_area.nil? && @administrative_area.to_s.length > 2
198
184
  return false if !@postal_code.nil? && @postal_code.to_s.length > 10
185
+ return false if !@company.nil? && @company.to_s.length > 60
199
186
  return false if !@country.nil? && @country.to_s.length > 2
200
187
  return false if !@phone_number.nil? && @phone_number.to_s.length > 15
201
188
  true
@@ -271,6 +258,16 @@ module CyberSource
271
258
  @postal_code = postal_code
272
259
  end
273
260
 
261
+ # Custom attribute writer method with validation
262
+ # @param [Object] company Value to be assigned
263
+ def company=(company)
264
+ if !company.nil? && company.to_s.length > 60
265
+ fail ArgumentError, 'invalid value for "company", the character length must be smaller than or equal to 60.'
266
+ end
267
+
268
+ @company = company
269
+ end
270
+
274
271
  # Custom attribute writer method with validation
275
272
  # @param [Object] country Value to be assigned
276
273
  def country=(country)
@@ -298,15 +295,13 @@ module CyberSource
298
295
  self.class == o.class &&
299
296
  first_name == o.first_name &&
300
297
  last_name == o.last_name &&
301
- company == o.company &&
302
298
  address1 == o.address1 &&
303
299
  address2 == o.address2 &&
304
300
  locality == o.locality &&
305
301
  administrative_area == o.administrative_area &&
306
302
  postal_code == o.postal_code &&
307
- county == o.county &&
303
+ company == o.company &&
308
304
  country == o.country &&
309
- email == o.email &&
310
305
  phone_number == o.phone_number
311
306
  end
312
307
 
@@ -319,7 +314,7 @@ module CyberSource
319
314
  # Calculates hash code according to all attributes.
320
315
  # @return [Fixnum] Hash code
321
316
  def hash
322
- [first_name, last_name, company, address1, address2, locality, administrative_area, postal_code, county, country, email, phone_number].hash
317
+ [first_name, last_name, address1, address2, locality, administrative_area, postal_code, company, country, phone_number].hash
323
318
  end
324
319
 
325
320
  # Builds the object from hash