cybersource_rest_client 0.0.19 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (309) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/core/MerchantConfig.rb +4 -0
  3. data/lib/AuthenticationSDK/util/Constants.rb +8 -0
  4. data/lib/cybersource_rest_client.rb +104 -11
  5. data/lib/cybersource_rest_client/api/authentication_exemptions_api.rb +2 -2
  6. data/lib/cybersource_rest_client/api/conversion_details_api.rb +2 -2
  7. data/lib/cybersource_rest_client/api/decision_manager_api.rb +142 -0
  8. data/lib/cybersource_rest_client/api/download_dtd_api.rb +2 -2
  9. data/lib/cybersource_rest_client/api/download_xsd_api.rb +2 -2
  10. data/lib/cybersource_rest_client/api/net_fundings_api.rb +2 -2
  11. data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +2 -2
  12. data/lib/cybersource_rest_client/api/payer_authentication_api.rb +78 -13
  13. data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +2 -2
  14. data/lib/cybersource_rest_client/api/payments_api.rb +71 -0
  15. data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +2 -2
  16. data/lib/cybersource_rest_client/api/report_definitions_api.rb +4 -4
  17. data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -2
  18. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +87 -87
  19. data/lib/cybersource_rest_client/api/reports_api.rb +4 -4
  20. data/lib/cybersource_rest_client/api/reversal_api.rb +65 -0
  21. data/lib/cybersource_rest_client/api/search_transactions_api.rb +4 -4
  22. data/lib/cybersource_rest_client/api/secure_file_share_api.rb +4 -4
  23. data/lib/cybersource_rest_client/api/tokenization_api.rb +2 -2
  24. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +15 -9
  25. data/lib/cybersource_rest_client/api/user_management_api.rb +2 -2
  26. data/lib/cybersource_rest_client/api/verification_api.rb +154 -0
  27. data/lib/cybersource_rest_client/api/void_api.rb +65 -0
  28. data/lib/cybersource_rest_client/models/add_negative_list_request.rb +228 -0
  29. data/lib/cybersource_rest_client/models/authentication_exemptions_request.rb +1 -1
  30. data/lib/cybersource_rest_client/models/capture_payment_request.rb +22 -4
  31. data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +11 -2
  32. data/lib/cybersource_rest_client/models/create_credit_request.rb +32 -5
  33. data/lib/cybersource_rest_client/models/create_instrument_identifier_request.rb +1 -1
  34. data/lib/cybersource_rest_client/models/create_payment_request.rb +22 -4
  35. data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +1 -1
  36. data/lib/cybersource_rest_client/models/embedded_instrument_identifier_response.rb +10 -1
  37. data/lib/cybersource_rest_client/models/error.rb +13 -23
  38. data/lib/cybersource_rest_client/models/error_bean.rb +1 -1
  39. data/lib/cybersource_rest_client/models/error_links.rb +15 -15
  40. data/lib/cybersource_rest_client/models/error_response.rb +20 -2
  41. data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +183 -0
  42. data/lib/cybersource_rest_client/models/generate_public_key_request.rb +14 -4
  43. data/lib/cybersource_rest_client/models/increment_auth_request.rb +219 -0
  44. data/lib/cybersource_rest_client/models/inline_response_400.rb +14 -59
  45. data/lib/cybersource_rest_client/models/inline_response_400_1.rb +59 -14
  46. data/lib/cybersource_rest_client/models/{inline_response_400_fields.rb → inline_response_400_1_fields.rb} +1 -1
  47. data/lib/cybersource_rest_client/models/instrument_identifier_enrollable_card.rb +1 -1
  48. data/lib/cybersource_rest_client/models/instrument_identifier_response.rb +10 -1
  49. data/lib/cybersource_rest_client/models/instrument_identifier_tokenized_card.rb +272 -0
  50. data/lib/cybersource_rest_client/models/key_parameters.rb +14 -4
  51. data/lib/cybersource_rest_client/models/link.rb +25 -4
  52. data/lib/cybersource_rest_client/models/links.rb +18 -23
  53. data/lib/cybersource_rest_client/models/mit_reversal_request.rb +219 -0
  54. data/lib/cybersource_rest_client/models/mit_void_request.rb +183 -0
  55. data/lib/cybersource_rest_client/models/oct_create_payment_request.rb +1 -1
  56. data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +210 -0
  57. data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +1 -1
  58. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +15 -6
  59. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
  60. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information.rb +14 -4
  61. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +1 -1
  62. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb +298 -0
  63. data/lib/cybersource_rest_client/models/{pts_v2_payments_reversals_post201_response__links.rb → pts_v2_incremental_authorization_patch201_response__links.rb} +1 -1
  64. data/lib/cybersource_rest_client/models/{ptsv2payouts_client_reference_information.rb → pts_v2_incremental_authorization_patch201_response_client_reference_information.rb} +2 -2
  65. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +205 -0
  66. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_order_information.rb +183 -0
  67. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information.rb +183 -0
  68. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +199 -0
  69. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +293 -0
  70. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch400_response.rb +225 -0
  71. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +23 -5
  72. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information.rb +1 -1
  73. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +1 -1
  74. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_invoice_details.rb +184 -0
  75. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +199 -0
  76. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processing_information.rb +184 -0
  77. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +1 -1
  78. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +2 -2
  79. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +264 -19
  80. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +28 -3
  81. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +2 -2
  82. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +29 -4
  83. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +10 -10
  84. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +1 -1
  85. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +1 -1
  86. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +2 -2
  87. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +35 -10
  88. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +1 -1
  89. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +14 -4
  90. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +2 -2
  91. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +3 -28
  92. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +2 -2
  93. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +1 -1
  94. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +2 -2
  95. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +5 -5
  96. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +3 -3
  97. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +14 -5
  98. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information.rb +1 -1
  99. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
  100. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +2 -2
  101. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +3 -3
  102. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +2 -2
  103. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +1 -1
  104. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +2 -2
  105. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +2 -2
  106. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -1
  107. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +199 -0
  108. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +108 -15
  109. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +3 -3
  110. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb +209 -0
  111. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +32 -7
  112. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +2 -2
  113. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +1 -1
  114. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +17 -2
  115. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +29 -4
  116. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +55 -21
  117. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +299 -0
  118. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +74 -14
  119. data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +1 -1
  120. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +2 -2
  121. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +1 -1
  122. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +26 -1
  123. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +1 -1
  124. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +21 -12
  125. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion.rb +249 -0
  126. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +7 -7
  127. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +30 -5
  128. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +10 -10
  129. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +29 -4
  130. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +1 -1
  131. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +1 -1
  132. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +27 -2
  133. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
  134. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +1 -1
  135. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -1
  136. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +91 -16
  137. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +3 -3
  138. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +158 -15
  139. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +19 -9
  140. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -1
  141. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +5 -5
  142. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +359 -0
  143. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +224 -0
  144. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +2 -2
  145. data/lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb +224 -0
  146. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +3 -3
  147. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +226 -0
  148. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +224 -0
  149. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +1229 -0
  150. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +233 -0
  151. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit.rb +183 -0
  152. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +988 -0
  153. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +285 -0
  154. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +224 -0
  155. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +614 -0
  156. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +349 -0
  157. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +208 -0
  158. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +249 -0
  159. data/lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb +199 -0
  160. data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information.rb +183 -0
  161. data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +224 -0
  162. data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information.rb +183 -0
  163. data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options.rb +183 -0
  164. data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options_initiator.rb +184 -0
  165. data/lib/cybersource_rest_client/models/ptsv2paymentsid_travel_information.rb +199 -0
  166. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +34 -9
  167. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +194 -19
  168. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +1 -1
  169. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +7 -7
  170. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information.rb +13 -4
  171. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +224 -0
  172. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +6 -6
  173. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +1 -1
  174. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +23 -14
  175. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +2 -2
  176. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_travel_information.rb +201 -0
  177. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +1 -1
  178. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +5 -5
  179. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +19 -1
  180. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +54 -4
  181. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +33 -8
  182. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +1 -1
  183. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +1 -1
  184. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +29 -4
  185. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +1 -1
  186. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +1 -1
  187. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +4 -4
  188. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb +1 -1
  189. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +2 -2
  190. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +2 -2
  191. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +2 -2
  192. data/lib/cybersource_rest_client/models/refund_capture_request.rb +22 -4
  193. data/lib/cybersource_rest_client/models/refund_payment_request.rb +22 -4
  194. data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response_subscriptions.rb +1 -1
  195. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +285 -0
  196. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb +224 -0
  197. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +327 -0
  198. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb +209 -0
  199. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb +433 -0
  200. data/lib/cybersource_rest_client/models/risk_v1_authentication_exemptions_post201_response.rb +2 -2
  201. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +3 -3
  202. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +249 -4
  203. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb +246 -0
  204. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +224 -0
  205. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_error_information.rb +205 -0
  206. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +3 -3
  207. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_consumer_authentication_information.rb +386 -7
  208. data/lib/cybersource_rest_client/models/{riskv1authentications_consumer_authentication_information_ivr.rb → risk_v1_authentications_post201_response_consumer_authentication_information_ivr.rb} +1 -1
  209. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information_amount_details.rb +1 -1
  210. data/lib/cybersource_rest_client/models/risk_v1_authentications_post400_response.rb +225 -0
  211. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +1 -1
  212. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_ip_address.rb +54 -4
  213. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +285 -0
  214. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information.rb +229 -0
  215. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information_watch_list.rb +185 -0
  216. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb +235 -0
  217. data/lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb +237 -0
  218. data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +199 -0
  219. data/lib/cybersource_rest_client/models/riskv1addressverifications_client_reference_information.rb +233 -0
  220. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information.rb +203 -0
  221. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +410 -0
  222. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +342 -0
  223. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +392 -0
  224. data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_acquirer_information.rb +1 -1
  225. data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_order_information_line_items.rb +2 -2
  226. data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_payment_information.rb +13 -4
  227. data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_payment_information_fluid_data.rb +268 -0
  228. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +4 -214
  229. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +2 -2
  230. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information.rb +13 -4
  231. data/lib/cybersource_rest_client/models/riskv1authentications_acquirer_information.rb +1 -1
  232. data/lib/cybersource_rest_client/models/riskv1authentications_consumer_authentication_information.rb +4 -333
  233. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +2 -2
  234. data/lib/cybersource_rest_client/models/riskv1authentications_travel_information_legs.rb +2 -2
  235. data/lib/cybersource_rest_client/models/{riskv1authentications_client_reference_information.rb → riskv1authenticationsetups_client_reference_information.rb} +2 -2
  236. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information.rb +210 -0
  237. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +286 -0
  238. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +325 -0
  239. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +224 -0
  240. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_token_information.rb +184 -0
  241. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +2 -2
  242. data/lib/cybersource_rest_client/models/riskv1decisions_card_verification.rb +1 -1
  243. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +1 -1
  244. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +1 -26
  245. data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +4 -13
  246. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +2 -2
  247. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +1 -26
  248. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +2 -2
  249. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +4 -13
  250. data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +4 -13
  251. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +2 -2
  252. data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information.rb +183 -0
  253. data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb +247 -0
  254. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +224 -0
  255. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb +205 -0
  256. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb +249 -0
  257. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information.rb +203 -0
  258. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +503 -0
  259. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb +199 -0
  260. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +364 -0
  261. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +249 -0
  262. data/lib/cybersource_rest_client/models/riskv1liststypeentries_buyer_information.rb +186 -0
  263. data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +224 -0
  264. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information.rb +213 -0
  265. data/lib/cybersource_rest_client/models/{riskv1decisions_order_information_address.rb → riskv1liststypeentries_order_information_address.rb} +1 -1
  266. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +449 -0
  267. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +199 -0
  268. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +325 -0
  269. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information.rb +193 -0
  270. data/lib/cybersource_rest_client/models/{riskv1decisions_payment_information_bank.rb → riskv1liststypeentries_payment_information_bank.rb} +1 -1
  271. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +234 -0
  272. data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information.rb +183 -0
  273. data/lib/cybersource_rest_client/models/{riskv1decisions_risk_information_marking_details.rb → riskv1liststypeentries_risk_information_marking_details.rb} +29 -44
  274. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_embedded_instrument_identifier.rb +10 -1
  275. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response.rb +10 -1
  276. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_tokenized_card.rb +272 -0
  277. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_tokenized_card_card.rb +253 -0
  278. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +1 -1
  279. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb +2 -2
  280. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +1 -1
  281. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +1 -1
  282. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +2 -2
  283. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_fraud_marking_information.rb +1 -1
  284. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +2 -2
  285. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +1 -1
  286. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +1 -1
  287. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +1 -1
  288. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +1 -1
  289. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb +3 -3
  290. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +2 -2
  291. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +2 -2
  292. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +1 -1
  293. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_bank_transfer_options.rb +1 -1
  294. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +2 -2
  295. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +4 -4
  296. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +1 -1
  297. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +1 -1
  298. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +1 -1
  299. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +1 -1
  300. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +3 -3
  301. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -1
  302. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +2 -2
  303. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +1 -1
  304. data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +219 -0
  305. data/lib/cybersource_rest_client/models/{request.rb → validate_request.rb} +12 -3
  306. data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +201 -0
  307. metadata +107 -14
  308. data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb +0 -365
  309. data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb +0 -221
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cybersource_rest_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - CyberSource
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-26 00:00:00.000000000 Z
11
+ date: 2020-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -334,10 +334,12 @@ files:
334
334
  - lib/cybersource_rest_client/api/transaction_batches_api.rb
335
335
  - lib/cybersource_rest_client/api/transaction_details_api.rb
336
336
  - lib/cybersource_rest_client/api/user_management_api.rb
337
+ - lib/cybersource_rest_client/api/verification_api.rb
337
338
  - lib/cybersource_rest_client/api/void_api.rb
338
339
  - lib/cybersource_rest_client/api_client.rb
339
340
  - lib/cybersource_rest_client/api_error.rb
340
341
  - lib/cybersource_rest_client/configuration.rb
342
+ - lib/cybersource_rest_client/models/add_negative_list_request.rb
341
343
  - lib/cybersource_rest_client/models/auth_reversal_request.rb
342
344
  - lib/cybersource_rest_client/models/authentication_exemptions_request.rb
343
345
  - lib/cybersource_rest_client/models/authorization_options.rb
@@ -373,11 +375,13 @@ files:
373
375
  - lib/cybersource_rest_client/models/flex_v1_keys_post200_response_jwk.rb
374
376
  - lib/cybersource_rest_client/models/flex_v1_tokens_post200_response.rb
375
377
  - lib/cybersource_rest_client/models/flexv1tokens_card_info.rb
378
+ - lib/cybersource_rest_client/models/fraud_marking_action_request.rb
376
379
  - lib/cybersource_rest_client/models/generate_public_key_request.rb
380
+ - lib/cybersource_rest_client/models/increment_auth_request.rb
377
381
  - lib/cybersource_rest_client/models/initiator.rb
378
382
  - lib/cybersource_rest_client/models/inline_response_400.rb
379
383
  - lib/cybersource_rest_client/models/inline_response_400_1.rb
380
- - lib/cybersource_rest_client/models/inline_response_400_fields.rb
384
+ - lib/cybersource_rest_client/models/inline_response_400_1_fields.rb
381
385
  - lib/cybersource_rest_client/models/inline_response_default.rb
382
386
  - lib/cybersource_rest_client/models/inline_response_default__links.rb
383
387
  - lib/cybersource_rest_client/models/inline_response_default__links_next.rb
@@ -389,6 +393,7 @@ files:
389
393
  - lib/cybersource_rest_client/models/instrument_identifier_payment_instruments_link.rb
390
394
  - lib/cybersource_rest_client/models/instrument_identifier_processing_information.rb
391
395
  - lib/cybersource_rest_client/models/instrument_identifier_response.rb
396
+ - lib/cybersource_rest_client/models/instrument_identifier_tokenized_card.rb
392
397
  - lib/cybersource_rest_client/models/instrument_identifier_update.rb
393
398
  - lib/cybersource_rest_client/models/issuer.rb
394
399
  - lib/cybersource_rest_client/models/json_web_key.rb
@@ -399,9 +404,12 @@ files:
399
404
  - lib/cybersource_rest_client/models/merchant_information.rb
400
405
  - lib/cybersource_rest_client/models/merchant_initiated_transaction.rb
401
406
  - lib/cybersource_rest_client/models/metadata.rb
407
+ - lib/cybersource_rest_client/models/mit_reversal_request.rb
408
+ - lib/cybersource_rest_client/models/mit_void_request.rb
402
409
  - lib/cybersource_rest_client/models/model_409_link.rb
403
410
  - lib/cybersource_rest_client/models/model_409_links.rb
404
411
  - lib/cybersource_rest_client/models/oct_create_payment_request.rb
412
+ - lib/cybersource_rest_client/models/payer_auth_setup_request.rb
405
413
  - lib/cybersource_rest_client/models/payment_instrument.rb
406
414
  - lib/cybersource_rest_client/models/payment_instrument_bank_account.rb
407
415
  - lib/cybersource_rest_client/models/payment_instrument_card.rb
@@ -437,10 +445,22 @@ files:
437
445
  - lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information.rb
438
446
  - lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information.rb
439
447
  - lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb
448
+ - lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb
449
+ - lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response__links.rb
450
+ - lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_client_reference_information.rb
451
+ - lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb
452
+ - lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_order_information.rb
453
+ - lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information.rb
454
+ - lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb
455
+ - lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb
456
+ - lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch400_response.rb
440
457
  - lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb
441
458
  - lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response__links.rb
442
459
  - lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information.rb
443
460
  - lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb
461
+ - lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_invoice_details.rb
462
+ - lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb
463
+ - lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processing_information.rb
444
464
  - lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb
445
465
  - lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb
446
466
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb
@@ -482,7 +502,6 @@ files:
482
502
  - lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb
483
503
  - lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb
484
504
  - lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb
485
- - lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response__links.rb
486
505
  - lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb
487
506
  - lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb
488
507
  - lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb
@@ -501,11 +520,11 @@ files:
501
520
  - lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information.rb
502
521
  - lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb
503
522
  - lib/cybersource_rest_client/models/pts_v2_payouts_post400_response.rb
504
- - lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb
505
- - lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb
523
+ - lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb
506
524
  - lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb
507
525
  - lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb
508
526
  - lib/cybersource_rest_client/models/ptsv2credits_processing_information_electronic_benefits_transfer.rb
527
+ - lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb
509
528
  - lib/cybersource_rest_client/models/ptsv2credits_processing_information_purchase_options.rb
510
529
  - lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb
511
530
  - lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb
@@ -514,6 +533,7 @@ files:
514
533
  - lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb
515
534
  - lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb
516
535
  - lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb
536
+ - lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb
517
537
  - lib/cybersource_rest_client/models/ptsv2payments_device_information.rb
518
538
  - lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb
519
539
  - lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb
@@ -525,6 +545,7 @@ files:
525
545
  - lib/cybersource_rest_client/models/ptsv2payments_order_information.rb
526
546
  - lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb
527
547
  - lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb
548
+ - lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion.rb
528
549
  - lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb
529
550
  - lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb
530
551
  - lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb
@@ -550,9 +571,31 @@ files:
550
571
  - lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb
551
572
  - lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb
552
573
  - lib/cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer.rb
574
+ - lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb
575
+ - lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb
553
576
  - lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb
554
577
  - lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb
578
+ - lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb
555
579
  - lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb
580
+ - lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb
581
+ - lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb
582
+ - lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb
583
+ - lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb
584
+ - lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit.rb
585
+ - lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb
586
+ - lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb
587
+ - lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb
588
+ - lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb
589
+ - lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb
590
+ - lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb
591
+ - lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb
592
+ - lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb
593
+ - lib/cybersource_rest_client/models/ptsv2paymentsid_order_information.rb
594
+ - lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb
595
+ - lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information.rb
596
+ - lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options.rb
597
+ - lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options_initiator.rb
598
+ - lib/cybersource_rest_client/models/ptsv2paymentsid_travel_information.rb
556
599
  - lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb
557
600
  - lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb
558
601
  - lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb
@@ -565,11 +608,13 @@ files:
565
608
  - lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb
566
609
  - lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb
567
610
  - lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information.rb
611
+ - lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb
568
612
  - lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb
569
613
  - lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb
570
614
  - lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb
571
615
  - lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb
572
616
  - lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options.rb
617
+ - lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_travel_information.rb
573
618
  - lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb
574
619
  - lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information.rb
575
620
  - lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb
@@ -589,7 +634,6 @@ files:
589
634
  - lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb
590
635
  - lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb
591
636
  - lib/cybersource_rest_client/models/ptsv2paymentsidvoids_payment_information.rb
592
- - lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb
593
637
  - lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb
594
638
  - lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb
595
639
  - lib/cybersource_rest_client/models/ptsv2payouts_order_information.rb
@@ -637,9 +681,13 @@ files:
637
681
  - lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response.rb
638
682
  - lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response_details.rb
639
683
  - lib/cybersource_rest_client/models/reportingv3reports_report_preferences.rb
640
- - lib/cybersource_rest_client/models/request.rb
641
684
  - lib/cybersource_rest_client/models/response_status.rb
642
685
  - lib/cybersource_rest_client/models/response_status_details.rb
686
+ - lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb
687
+ - lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb
688
+ - lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb
689
+ - lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb
690
+ - lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb
643
691
  - lib/cybersource_rest_client/models/risk_v1_authentication_excemptions_post400_response.rb
644
692
  - lib/cybersource_rest_client/models/risk_v1_authentication_exemptions_consumer_authentication_information_strong_authentication.rb
645
693
  - lib/cybersource_rest_client/models/risk_v1_authentication_exemptions_post201_response.rb
@@ -647,10 +695,15 @@ files:
647
695
  - lib/cybersource_rest_client/models/risk_v1_authentication_exemptions_post201_response_risk_information.rb
648
696
  - lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb
649
697
  - lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb
698
+ - lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb
699
+ - lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb
700
+ - lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_error_information.rb
650
701
  - lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb
651
702
  - lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_consumer_authentication_information.rb
703
+ - lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_consumer_authentication_information_ivr.rb
652
704
  - lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information.rb
653
705
  - lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information_amount_details.rb
706
+ - lib/cybersource_rest_client/models/risk_v1_authentications_post400_response.rb
654
707
  - lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb
655
708
  - lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb
656
709
  - lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information.rb
@@ -669,6 +722,17 @@ files:
669
722
  - lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_velocity.rb
670
723
  - lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_velocity_morphing.rb
671
724
  - lib/cybersource_rest_client/models/risk_v1_decisions_post400_response.rb
725
+ - lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb
726
+ - lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information.rb
727
+ - lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information_watch_list.rb
728
+ - lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb
729
+ - lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb
730
+ - lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb
731
+ - lib/cybersource_rest_client/models/riskv1addressverifications_client_reference_information.rb
732
+ - lib/cybersource_rest_client/models/riskv1addressverifications_order_information.rb
733
+ - lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb
734
+ - lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb
735
+ - lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb
672
736
  - lib/cybersource_rest_client/models/riskv1authenticationexemptions_acquirer_information.rb
673
737
  - lib/cybersource_rest_client/models/riskv1authenticationexemptions_device_information.rb
674
738
  - lib/cybersource_rest_client/models/riskv1authenticationexemptions_merchant_information.rb
@@ -679,6 +743,7 @@ files:
679
743
  - lib/cybersource_rest_client/models/riskv1authenticationexemptions_order_information_ship_to.rb
680
744
  - lib/cybersource_rest_client/models/riskv1authenticationexemptions_payment_information.rb
681
745
  - lib/cybersource_rest_client/models/riskv1authenticationexemptions_payment_information_card.rb
746
+ - lib/cybersource_rest_client/models/riskv1authenticationexemptions_payment_information_fluid_data.rb
682
747
  - lib/cybersource_rest_client/models/riskv1authenticationexemptions_payment_information_tokenized_card.rb
683
748
  - lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb
684
749
  - lib/cybersource_rest_client/models/riskv1authenticationresults_order_information.rb
@@ -688,9 +753,7 @@ files:
688
753
  - lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb
689
754
  - lib/cybersource_rest_client/models/riskv1authentications_acquirer_information.rb
690
755
  - lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb
691
- - lib/cybersource_rest_client/models/riskv1authentications_client_reference_information.rb
692
756
  - lib/cybersource_rest_client/models/riskv1authentications_consumer_authentication_information.rb
693
- - lib/cybersource_rest_client/models/riskv1authentications_consumer_authentication_information_ivr.rb
694
757
  - lib/cybersource_rest_client/models/riskv1authentications_consumer_authentication_information_strong_authentication.rb
695
758
  - lib/cybersource_rest_client/models/riskv1authentications_device_information.rb
696
759
  - lib/cybersource_rest_client/models/riskv1authentications_device_information_raw_data.rb
@@ -707,13 +770,18 @@ files:
707
770
  - lib/cybersource_rest_client/models/riskv1authentications_travel_information.rb
708
771
  - lib/cybersource_rest_client/models/riskv1authentications_travel_information_legs.rb
709
772
  - lib/cybersource_rest_client/models/riskv1authentications_travel_information_passengers.rb
773
+ - lib/cybersource_rest_client/models/riskv1authenticationsetups_client_reference_information.rb
774
+ - lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information.rb
775
+ - lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb
776
+ - lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb
777
+ - lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb
778
+ - lib/cybersource_rest_client/models/riskv1authenticationsetups_token_information.rb
710
779
  - lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb
711
780
  - lib/cybersource_rest_client/models/riskv1decisions_card_verification.rb
712
781
  - lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb
713
782
  - lib/cybersource_rest_client/models/riskv1decisions_device_information.rb
714
783
  - lib/cybersource_rest_client/models/riskv1decisions_merchant_defined_information.rb
715
784
  - lib/cybersource_rest_client/models/riskv1decisions_order_information.rb
716
- - lib/cybersource_rest_client/models/riskv1decisions_order_information_address.rb
717
785
  - lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb
718
786
  - lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb
719
787
  - lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb
@@ -721,16 +789,36 @@ files:
721
789
  - lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb
722
790
  - lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb
723
791
  - lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb
724
- - lib/cybersource_rest_client/models/riskv1decisions_payment_information_bank.rb
725
792
  - lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb
726
793
  - lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb
727
794
  - lib/cybersource_rest_client/models/riskv1decisions_processor_information.rb
728
795
  - lib/cybersource_rest_client/models/riskv1decisions_processor_information_avs.rb
729
796
  - lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb
730
- - lib/cybersource_rest_client/models/riskv1decisions_risk_information_marking_details.rb
731
797
  - lib/cybersource_rest_client/models/riskv1decisions_risk_information_profile.rb
732
798
  - lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb
733
799
  - lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb
800
+ - lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information.rb
801
+ - lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb
802
+ - lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb
803
+ - lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb
804
+ - lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb
805
+ - lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information.rb
806
+ - lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb
807
+ - lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb
808
+ - lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb
809
+ - lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb
810
+ - lib/cybersource_rest_client/models/riskv1liststypeentries_buyer_information.rb
811
+ - lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb
812
+ - lib/cybersource_rest_client/models/riskv1liststypeentries_order_information.rb
813
+ - lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_address.rb
814
+ - lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb
815
+ - lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb
816
+ - lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb
817
+ - lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information.rb
818
+ - lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb
819
+ - lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb
820
+ - lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information.rb
821
+ - lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb
734
822
  - lib/cybersource_rest_client/models/self_link_bean.rb
735
823
  - lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_delete409_response.rb
736
824
  - lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_delete409_response__links.rb
@@ -768,6 +856,8 @@ files:
768
856
  - lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_metadata.rb
769
857
  - lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_processing_information.rb
770
858
  - lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_processing_information_authorization_options.rb
859
+ - lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_tokenized_card.rb
860
+ - lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_tokenized_card_card.rb
771
861
  - lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_bank_account.rb
772
862
  - lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_bill_to.rb
773
863
  - lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_card.rb
@@ -850,6 +940,9 @@ files:
850
940
  - lib/cybersource_rest_client/models/v1_file_details_get200_response__links_files.rb
851
941
  - lib/cybersource_rest_client/models/v1_file_details_get200_response__links_self.rb
852
942
  - lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb
943
+ - lib/cybersource_rest_client/models/validate_export_compliance_request.rb
944
+ - lib/cybersource_rest_client/models/validate_request.rb
945
+ - lib/cybersource_rest_client/models/verify_customer_address_request.rb
853
946
  - lib/cybersource_rest_client/models/void_capture_request.rb
854
947
  - lib/cybersource_rest_client/models/void_credit_request.rb
855
948
  - lib/cybersource_rest_client/models/void_payment_request.rb
@@ -875,7 +968,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
875
968
  - !ruby/object:Gem::Version
876
969
  version: '0'
877
970
  requirements: []
878
- rubygems_version: 3.0.1
971
+ rubygems_version: 3.0.3
879
972
  signing_key:
880
973
  specification_version: 4
881
974
  summary: CyberSource Ruby SDK Gem
@@ -1,365 +0,0 @@
1
- =begin
2
- #CyberSource Merged Spec
3
-
4
- #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
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 Ptsv2creditsPointOfSaleInformation
17
- attr_accessor :emv
18
-
19
- # Version of the software installed on the POS terminal. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX.
20
- attr_accessor :partner_sdk_version
21
-
22
- # When connectivity is unavailable, the client software that is installed on the POS terminal can store a transaction in its memory and send it for authorization when connectivity is restored. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. Possible values: - Y: Transaction was stored and then forwarded. - N (default): Transaction was not stored and then forwarded. This field is supported only on American Express Direct, FDC Nashville Global, and SIX.
23
- attr_accessor :store_and_forward_indicator
24
-
25
- attr_accessor :cardholder_verification_method
26
-
27
- attr_accessor :terminal_input_capability
28
-
29
- # Terminal serial number assigned by the hardware manufacturer. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX. For details, see the `terminal_serial_number` field description in [Card-Present Processing Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Retail_SCMP_API/html/wwhelp/wwhimpl/js/html/wwhelp.htm)
30
- attr_accessor :terminal_serial_number
31
-
32
- # Indicates whether the terminal can capture the card. Possible values: - 1: Terminal can capture card. - 0: Terminal cannot capture card. This field is supported only on American Express Direct.
33
- attr_accessor :terminal_card_capture_capability
34
-
35
- # Indicates whether the terminal can print or display messages. Possible values: - 1: Neither - 2: Print only - 3: Display only - 4: Print and display This field is supported only on American Express Direct.
36
- attr_accessor :terminal_output_capability
37
-
38
- # Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported only on American Express Direct and SIX.
39
- attr_accessor :terminal_pin_capability
40
-
41
- # Value created by the client software that uniquely identifies the POS device. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX.
42
- attr_accessor :device_id
43
-
44
- # Attribute mapping from ruby-style variable name to JSON key.
45
- def self.attribute_map
46
- {
47
- :'emv' => :'emv',
48
- :'partner_sdk_version' => :'partnerSdkVersion',
49
- :'store_and_forward_indicator' => :'storeAndForwardIndicator',
50
- :'cardholder_verification_method' => :'cardholderVerificationMethod',
51
- :'terminal_input_capability' => :'terminalInputCapability',
52
- :'terminal_serial_number' => :'terminalSerialNumber',
53
- :'terminal_card_capture_capability' => :'terminalCardCaptureCapability',
54
- :'terminal_output_capability' => :'terminalOutputCapability',
55
- :'terminal_pin_capability' => :'terminalPinCapability',
56
- :'device_id' => :'deviceId'
57
- }
58
- end
59
-
60
- # Attribute type mapping.
61
- def self.swagger_types
62
- {
63
- :'emv' => :'Ptsv2creditsPointOfSaleInformationEmv',
64
- :'partner_sdk_version' => :'String',
65
- :'store_and_forward_indicator' => :'String',
66
- :'cardholder_verification_method' => :'Array<String>',
67
- :'terminal_input_capability' => :'Array<String>',
68
- :'terminal_serial_number' => :'String',
69
- :'terminal_card_capture_capability' => :'String',
70
- :'terminal_output_capability' => :'String',
71
- :'terminal_pin_capability' => :'Integer',
72
- :'device_id' => :'String'
73
- }
74
- end
75
-
76
- # Initializes the object
77
- # @param [Hash] attributes Model attributes in the form of hash
78
- def initialize(attributes = {})
79
- return unless attributes.is_a?(Hash)
80
-
81
- # convert string to symbol for hash key
82
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
83
-
84
- if attributes.has_key?(:'emv')
85
- self.emv = attributes[:'emv']
86
- end
87
-
88
- if attributes.has_key?(:'partnerSdkVersion')
89
- self.partner_sdk_version = attributes[:'partnerSdkVersion']
90
- end
91
-
92
- if attributes.has_key?(:'storeAndForwardIndicator')
93
- self.store_and_forward_indicator = attributes[:'storeAndForwardIndicator']
94
- end
95
-
96
- if attributes.has_key?(:'cardholderVerificationMethod')
97
- if (value = attributes[:'cardholderVerificationMethod']).is_a?(Array)
98
- self.cardholder_verification_method = value
99
- end
100
- end
101
-
102
- if attributes.has_key?(:'terminalInputCapability')
103
- if (value = attributes[:'terminalInputCapability']).is_a?(Array)
104
- self.terminal_input_capability = value
105
- end
106
- end
107
-
108
- if attributes.has_key?(:'terminalSerialNumber')
109
- self.terminal_serial_number = attributes[:'terminalSerialNumber']
110
- end
111
-
112
- if attributes.has_key?(:'terminalCardCaptureCapability')
113
- self.terminal_card_capture_capability = attributes[:'terminalCardCaptureCapability']
114
- end
115
-
116
- if attributes.has_key?(:'terminalOutputCapability')
117
- self.terminal_output_capability = attributes[:'terminalOutputCapability']
118
- end
119
-
120
- if attributes.has_key?(:'terminalPinCapability')
121
- self.terminal_pin_capability = attributes[:'terminalPinCapability']
122
- end
123
-
124
- if attributes.has_key?(:'deviceId')
125
- self.device_id = attributes[:'deviceId']
126
- end
127
- end
128
-
129
- # Show invalid properties with the reasons. Usually used together with valid?
130
- # @return Array for valid properties with the reasons
131
- def list_invalid_properties
132
- invalid_properties = Array.new
133
- if !@partner_sdk_version.nil? && @partner_sdk_version.to_s.length > 32
134
- invalid_properties.push('invalid value for "partner_sdk_version", the character length must be smaller than or equal to 32.')
135
- end
136
-
137
- if !@store_and_forward_indicator.nil? && @store_and_forward_indicator.to_s.length > 1
138
- invalid_properties.push('invalid value for "store_and_forward_indicator", the character length must be smaller than or equal to 1.')
139
- end
140
-
141
- if !@terminal_serial_number.nil? && @terminal_serial_number.to_s.length > 32
142
- invalid_properties.push('invalid value for "terminal_serial_number", the character length must be smaller than or equal to 32.')
143
- end
144
-
145
- if !@terminal_card_capture_capability.nil? && @terminal_card_capture_capability.to_s.length > 1
146
- invalid_properties.push('invalid value for "terminal_card_capture_capability", the character length must be smaller than or equal to 1.')
147
- end
148
-
149
- if !@terminal_output_capability.nil? && @terminal_output_capability.to_s.length > 1
150
- invalid_properties.push('invalid value for "terminal_output_capability", the character length must be smaller than or equal to 1.')
151
- end
152
-
153
- if !@device_id.nil? && @device_id.to_s.length > 32
154
- invalid_properties.push('invalid value for "device_id", the character length must be smaller than or equal to 32.')
155
- end
156
-
157
- invalid_properties
158
- end
159
-
160
- # Check to see if the all the properties in the model are valid
161
- # @return true if the model is valid
162
- def valid?
163
- return false if !@partner_sdk_version.nil? && @partner_sdk_version.to_s.length > 32
164
- return false if !@store_and_forward_indicator.nil? && @store_and_forward_indicator.to_s.length > 1
165
- return false if !@terminal_serial_number.nil? && @terminal_serial_number.to_s.length > 32
166
- return false if !@terminal_card_capture_capability.nil? && @terminal_card_capture_capability.to_s.length > 1
167
- return false if !@terminal_output_capability.nil? && @terminal_output_capability.to_s.length > 1
168
- return false if !@device_id.nil? && @device_id.to_s.length > 32
169
- true
170
- end
171
-
172
- # Custom attribute writer method with validation
173
- # @param [Object] partner_sdk_version Value to be assigned
174
- def partner_sdk_version=(partner_sdk_version)
175
- if !partner_sdk_version.nil? && partner_sdk_version.to_s.length > 32
176
- fail ArgumentError, 'invalid value for "partner_sdk_version", the character length must be smaller than or equal to 32.'
177
- end
178
-
179
- @partner_sdk_version = partner_sdk_version
180
- end
181
-
182
- # Custom attribute writer method with validation
183
- # @param [Object] store_and_forward_indicator Value to be assigned
184
- def store_and_forward_indicator=(store_and_forward_indicator)
185
- if !store_and_forward_indicator.nil? && store_and_forward_indicator.to_s.length > 1
186
- fail ArgumentError, 'invalid value for "store_and_forward_indicator", the character length must be smaller than or equal to 1.'
187
- end
188
-
189
- @store_and_forward_indicator = store_and_forward_indicator
190
- end
191
-
192
- # Custom attribute writer method with validation
193
- # @param [Object] terminal_serial_number Value to be assigned
194
- def terminal_serial_number=(terminal_serial_number)
195
- if !terminal_serial_number.nil? && terminal_serial_number.to_s.length > 32
196
- fail ArgumentError, 'invalid value for "terminal_serial_number", the character length must be smaller than or equal to 32.'
197
- end
198
-
199
- @terminal_serial_number = terminal_serial_number
200
- end
201
-
202
- # Custom attribute writer method with validation
203
- # @param [Object] terminal_card_capture_capability Value to be assigned
204
- def terminal_card_capture_capability=(terminal_card_capture_capability)
205
- if !terminal_card_capture_capability.nil? && terminal_card_capture_capability.to_s.length > 1
206
- fail ArgumentError, 'invalid value for "terminal_card_capture_capability", the character length must be smaller than or equal to 1.'
207
- end
208
-
209
- @terminal_card_capture_capability = terminal_card_capture_capability
210
- end
211
-
212
- # Custom attribute writer method with validation
213
- # @param [Object] terminal_output_capability Value to be assigned
214
- def terminal_output_capability=(terminal_output_capability)
215
- if !terminal_output_capability.nil? && terminal_output_capability.to_s.length > 1
216
- fail ArgumentError, 'invalid value for "terminal_output_capability", the character length must be smaller than or equal to 1.'
217
- end
218
-
219
- @terminal_output_capability = terminal_output_capability
220
- end
221
-
222
- # Custom attribute writer method with validation
223
- # @param [Object] device_id Value to be assigned
224
- def device_id=(device_id)
225
- if !device_id.nil? && device_id.to_s.length > 32
226
- fail ArgumentError, 'invalid value for "device_id", the character length must be smaller than or equal to 32.'
227
- end
228
-
229
- @device_id = device_id
230
- end
231
-
232
- # Checks equality by comparing each attribute.
233
- # @param [Object] Object to be compared
234
- def ==(o)
235
- return true if self.equal?(o)
236
- self.class == o.class &&
237
- emv == o.emv &&
238
- partner_sdk_version == o.partner_sdk_version &&
239
- store_and_forward_indicator == o.store_and_forward_indicator &&
240
- cardholder_verification_method == o.cardholder_verification_method &&
241
- terminal_input_capability == o.terminal_input_capability &&
242
- terminal_serial_number == o.terminal_serial_number &&
243
- terminal_card_capture_capability == o.terminal_card_capture_capability &&
244
- terminal_output_capability == o.terminal_output_capability &&
245
- terminal_pin_capability == o.terminal_pin_capability &&
246
- device_id == o.device_id
247
- end
248
-
249
- # @see the `==` method
250
- # @param [Object] Object to be compared
251
- def eql?(o)
252
- self == o
253
- end
254
-
255
- # Calculates hash code according to all attributes.
256
- # @return [Fixnum] Hash code
257
- def hash
258
- [emv, partner_sdk_version, store_and_forward_indicator, cardholder_verification_method, terminal_input_capability, terminal_serial_number, terminal_card_capture_capability, terminal_output_capability, terminal_pin_capability, device_id].hash
259
- end
260
-
261
- # Builds the object from hash
262
- # @param [Hash] attributes Model attributes in the form of hash
263
- # @return [Object] Returns the model itself
264
- def build_from_hash(attributes)
265
- return nil unless attributes.is_a?(Hash)
266
- self.class.swagger_types.each_pair do |key, type|
267
- if type =~ /\AArray<(.*)>/i
268
- # check to ensure the input is an array given that the the attribute
269
- # is documented as an array but the input is not
270
- if attributes[self.class.attribute_map[key]].is_a?(Array)
271
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
272
- end
273
- elsif !attributes[self.class.attribute_map[key]].nil?
274
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
275
- end # or else data not found in attributes(hash), not an issue as the data can be optional
276
- end
277
-
278
- self
279
- end
280
-
281
- # Deserializes the data based on type
282
- # @param string type Data type
283
- # @param string value Value to be deserialized
284
- # @return [Object] Deserialized data
285
- def _deserialize(type, value)
286
- case type.to_sym
287
- when :DateTime
288
- DateTime.parse(value)
289
- when :Date
290
- Date.parse(value)
291
- when :String
292
- value.to_s
293
- when :Integer
294
- value.to_i
295
- when :Float
296
- value.to_f
297
- when :BOOLEAN
298
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
299
- true
300
- else
301
- false
302
- end
303
- when :Object
304
- # generic object (usually a Hash), return directly
305
- value
306
- when /\AArray<(?<inner_type>.+)>\z/
307
- inner_type = Regexp.last_match[:inner_type]
308
- value.map { |v| _deserialize(inner_type, v) }
309
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
310
- k_type = Regexp.last_match[:k_type]
311
- v_type = Regexp.last_match[:v_type]
312
- {}.tap do |hash|
313
- value.each do |k, v|
314
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
315
- end
316
- end
317
- else # model
318
- temp_model = CyberSource.const_get(type).new
319
- temp_model.build_from_hash(value)
320
- end
321
- end
322
-
323
- # Returns the string representation of the object
324
- # @return [String] String presentation of the object
325
- def to_s
326
- to_hash.to_s
327
- end
328
-
329
- # to_body is an alias to to_hash (backward compatibility)
330
- # @return [Hash] Returns the object in the form of hash
331
- def to_body
332
- to_hash
333
- end
334
-
335
- # Returns the object in the form of hash
336
- # @return [Hash] Returns the object in the form of hash
337
- def to_hash
338
- hash = {}
339
- self.class.attribute_map.each_pair do |attr, param|
340
- value = self.send(attr)
341
- next if value.nil?
342
- hash[param] = _to_hash(value)
343
- end
344
- hash
345
- end
346
-
347
- # Outputs non-array value in the form of hash
348
- # For object, use to_hash. Otherwise, just return the value
349
- # @param [Object] value Any valid value
350
- # @return [Hash] Returns the value in the form of hash
351
- def _to_hash(value)
352
- if value.is_a?(Array)
353
- value.compact.map { |v| _to_hash(v) }
354
- elsif value.is_a?(Hash)
355
- {}.tap do |hash|
356
- value.each { |k, v| hash[k] = _to_hash(v) }
357
- end
358
- elsif value.respond_to? :to_hash
359
- value.to_hash
360
- else
361
- value
362
- end
363
- end
364
- end
365
- end