cybersource_rest_client 0.0.64 → 0.0.65

Sign up to get free protection for your applications and to get access to all the features.
Files changed (228) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/batches_api.rb +9 -9
  3. data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
  4. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +3 -3
  5. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +6 -6
  6. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
  7. data/lib/cybersource_rest_client/models/bin_lookupv400_response.rb +224 -224
  8. data/lib/cybersource_rest_client/models/binv1binlookup_client_reference_information.rb +222 -222
  9. data/lib/cybersource_rest_client/models/binv1binlookup_payment_information.rb +219 -219
  10. data/lib/cybersource_rest_client/models/binv1binlookup_payment_information_card.rb +196 -196
  11. data/lib/cybersource_rest_client/models/binv1binlookup_processing_information.rb +200 -200
  12. data/lib/cybersource_rest_client/models/binv1binlookup_processing_information_payout_options.rb +213 -213
  13. data/lib/cybersource_rest_client/models/binv1binlookup_token_information.rb +207 -207
  14. data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +321 -321
  15. data/lib/cybersource_rest_client/models/create_bin_lookup_request.rb +219 -219
  16. data/lib/cybersource_rest_client/models/create_payment_request.rb +462 -452
  17. data/lib/cybersource_rest_client/models/inline_response_200_1.rb +253 -247
  18. data/lib/cybersource_rest_client/models/{inline_response_200_2_integration_information.rb → inline_response_200_1_integration_information.rb} +204 -204
  19. data/lib/cybersource_rest_client/models/{inline_response_200_2_integration_information_tenant_configurations.rb → inline_response_200_1_integration_information_tenant_configurations.rb} +296 -296
  20. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +25 -65
  21. data/lib/cybersource_rest_client/models/inline_response_200_3.rb +335 -213
  22. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +251 -335
  23. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded.rb → inline_response_200_5__embedded.rb} +191 -191
  24. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded__links.rb → inline_response_200_5__embedded__links.rb} +191 -191
  25. data/lib/cybersource_rest_client/models/{inline_response_200_7__links_report.rb → inline_response_200_5__embedded__links_reports.rb} +190 -189
  26. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded_batches.rb → inline_response_200_5__embedded_batches.rb} +295 -295
  27. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded_totals.rb → inline_response_200_5__embedded_totals.rb} +229 -229
  28. data/lib/cybersource_rest_client/models/inline_response_200_5__links.rb +200 -0
  29. data/lib/cybersource_rest_client/models/inline_response_200_6.rb +290 -251
  30. data/lib/cybersource_rest_client/models/inline_response_200_6__links.rb +201 -200
  31. data/lib/cybersource_rest_client/models/{inline_response_200_6__embedded__links_reports.rb → inline_response_200_6__links_report.rb} +189 -190
  32. data/lib/cybersource_rest_client/models/{inline_response_200_7_billing.rb → inline_response_200_6_billing.rb} +219 -219
  33. data/lib/cybersource_rest_client/models/inline_response_200_7.rb +292 -290
  34. data/lib/cybersource_rest_client/models/{inline_response_200_8_records.rb → inline_response_200_7_records.rb} +209 -209
  35. data/lib/cybersource_rest_client/models/{inline_response_200_8_response_record.rb → inline_response_200_7_response_record.rb} +307 -307
  36. data/lib/cybersource_rest_client/models/{inline_response_200_8_response_record_additional_updates.rb → inline_response_200_7_response_record_additional_updates.rb} +242 -242
  37. data/lib/cybersource_rest_client/models/{inline_response_200_8_source_record.rb → inline_response_200_7_source_record.rb} +295 -295
  38. data/lib/cybersource_rest_client/models/inline_response_201_1.rb +248 -248
  39. data/lib/cybersource_rest_client/models/inline_response_201_1_issuer_information.rb +264 -264
  40. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information.rb +209 -209
  41. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_card.rb +277 -277
  42. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_card_brands.rb +213 -213
  43. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_features.rb +320 -320
  44. data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_network.rb +190 -190
  45. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information.rb +216 -216
  46. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_pull_funds.rb +213 -213
  47. data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_push_funds.rb +417 -417
  48. data/lib/cybersource_rest_client/models/inline_response_201_2.rb +315 -315
  49. data/lib/cybersource_rest_client/models/inline_response_201_2_integration_information.rb +192 -192
  50. data/lib/cybersource_rest_client/models/inline_response_201_2_integration_information_tenant_configurations.rb +286 -286
  51. data/lib/cybersource_rest_client/models/inline_response_201_2_organization_information.rb +217 -217
  52. data/lib/cybersource_rest_client/models/inline_response_201_2_product_information_setups.rb +214 -214
  53. data/lib/cybersource_rest_client/models/inline_response_201_2_registration_information.rb +256 -256
  54. data/lib/cybersource_rest_client/models/inline_response_201_2_setups.rb +219 -219
  55. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_commerce_solutions.rb +209 -209
  56. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments.rb +15 -5
  57. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing.rb +199 -199
  58. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing_configuration_status.rb +299 -299
  59. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing_subscription_status.rb +278 -278
  60. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_digital_payments.rb +189 -189
  61. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_risk.rb +199 -199
  62. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_value_added_services.rb +199 -199
  63. data/lib/cybersource_rest_client/models/inline_response_201_3.rb +222 -222
  64. data/lib/cybersource_rest_client/models/inline_response_201_3_key_information.rb +300 -300
  65. data/lib/cybersource_rest_client/models/inline_response_201_3_key_information_error_information.rb +202 -202
  66. data/lib/cybersource_rest_client/models/inline_response_201_3_key_information_error_information_details.rb +201 -201
  67. data/lib/cybersource_rest_client/models/inline_response_201_4.rb +347 -347
  68. data/lib/cybersource_rest_client/models/inline_response_201_5.rb +222 -222
  69. data/lib/cybersource_rest_client/models/inline_response_400_5.rb +269 -234
  70. data/lib/cybersource_rest_client/models/{inline_response_400_7_details.rb → inline_response_400_5_details.rb} +201 -201
  71. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +275 -235
  72. data/lib/cybersource_rest_client/models/{inline_response_400_8_details.rb → inline_response_400_6_details.rb} +199 -199
  73. data/lib/cybersource_rest_client/models/inline_response_404_1.rb +269 -269
  74. data/lib/cybersource_rest_client/models/inline_response_422_1.rb +269 -269
  75. data/lib/cybersource_rest_client/models/inline_response_500_2.rb +257 -223
  76. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +225 -225
  77. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +225 -225
  78. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +333 -333
  79. data/lib/cybersource_rest_client/models/merchant_initiated_transaction_object.rb +241 -241
  80. data/lib/cybersource_rest_client/models/payer_auth_config_card_types_verified_by_visa_currencies.rb +244 -243
  81. data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +219 -219
  82. data/lib/cybersource_rest_client/models/payments_products.rb +369 -359
  83. data/lib/cybersource_rest_client/models/{kms_v2_keys_asym_get200_response.rb → payments_products_service_fee.rb} +199 -200
  84. data/lib/cybersource_rest_client/models/{inline_response_200_7__links.rb → payments_products_service_fee_configuration_information.rb} +189 -201
  85. data/lib/cybersource_rest_client/models/{inline_response_200_8.rb → payments_products_service_fee_configuration_information_configurations.rb} +266 -292
  86. data/lib/cybersource_rest_client/models/{kms_v2_keys_sym_deletes_post200_response_key_information.rb → payments_products_service_fee_configuration_information_configurations_merchant_information.rb} +239 -234
  87. data/lib/cybersource_rest_client/models/{inline_response_400_8.rb → payments_products_service_fee_configuration_information_configurations_payment_information.rb} +280 -275
  88. data/lib/cybersource_rest_client/models/payments_products_service_fee_configuration_information_configurations_products.rb +190 -0
  89. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +284 -284
  90. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_processor_information.rb +233 -233
  91. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +249 -249
  92. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_processor_information.rb +264 -264
  93. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +765 -765
  94. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_consumer_authentication.rb +212 -212
  95. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +609 -609
  96. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +264 -264
  97. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +309 -309
  98. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information.rb +199 -199
  99. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_orchestration.rb +192 -192
  100. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_response_insights.rb +230 -230
  101. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +223 -223
  102. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +217 -217
  103. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +18 -1
  104. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +230 -230
  105. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +196 -196
  106. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +232 -232
  107. data/lib/cybersource_rest_client/models/ptsv2billingagreements_buyer_information.rb +247 -247
  108. data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +326 -326
  109. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +285 -285
  110. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +241 -241
  111. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +275 -275
  112. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +196 -196
  113. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +453 -453
  114. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_line_items.rb +361 -361
  115. data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_ship_to.rb +485 -485
  116. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +366 -366
  117. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1075 -1075
  118. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +416 -416
  119. data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +196 -196
  120. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +464 -464
  121. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +405 -405
  122. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +641 -641
  123. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_order.rb +332 -332
  124. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +286 -286
  125. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +444 -444
  126. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +699 -699
  127. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +496 -496
  128. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +346 -346
  129. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_account_reference.rb +196 -196
  130. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +377 -377
  131. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +633 -633
  132. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +704 -704
  133. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +467 -456
  134. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +213 -213
  135. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +205 -205
  136. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +72 -4
  137. data/lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb +298 -0
  138. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +332 -332
  139. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +604 -604
  140. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +267 -267
  141. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +287 -287
  142. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +206 -206
  143. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +362 -362
  144. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +257 -257
  145. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +502 -502
  146. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +299 -299
  147. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +342 -342
  148. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +192 -192
  149. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +213 -213
  150. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +287 -287
  151. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +234 -234
  152. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +286 -286
  153. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +301 -301
  154. data/lib/cybersource_rest_client/models/ptsv2voids_processing_information.rb +190 -190
  155. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +269 -280
  156. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +80 -1
  157. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +279 -290
  158. data/lib/cybersource_rest_client/models/risk_v1_authentications_post400_response_1.rb +235 -235
  159. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +840 -840
  160. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +290 -290
  161. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +312 -337
  162. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +241 -258
  163. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +258 -258
  164. data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +434 -366
  165. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +497 -497
  166. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information.rb +219 -219
  167. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +351 -351
  168. data/lib/cybersource_rest_client/models/{kmsv2keyssym_client_reference_information.rb → riskv1authenticationsetups_client_reference_information.rb} +240 -217
  169. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +299 -299
  170. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +213 -213
  171. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +812 -820
  172. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +223 -223
  173. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +416 -416
  174. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +259 -259
  175. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +314 -314
  176. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +196 -196
  177. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bank_account.rb +207 -207
  178. data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info.rb +200 -200
  179. data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info_bank_transfer_options.rb +196 -196
  180. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +236 -236
  181. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +292 -292
  182. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +349 -349
  183. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +222 -222
  184. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +383 -383
  185. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +241 -241
  186. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +231 -231
  187. data/lib/cybersource_rest_client/models/validate_request.rb +249 -249
  188. data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +196 -196
  189. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +403 -403
  190. data/lib/cybersource_rest_client/utilities/tracking/sdk_tracker.rb +0 -5
  191. data/lib/cybersource_rest_client.rb +24 -57
  192. metadata +26 -59
  193. data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +0 -307
  194. data/lib/cybersource_rest_client/api/key_management_api.rb +0 -120
  195. data/lib/cybersource_rest_client/api/key_management_password_api.rb +0 -98
  196. data/lib/cybersource_rest_client/api/key_management_pgp_api.rb +0 -98
  197. data/lib/cybersource_rest_client/api/key_management_scmp_api.rb +0 -98
  198. data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +0 -308
  199. data/lib/cybersource_rest_client/models/create_p12_keys_request.rb +0 -201
  200. data/lib/cybersource_rest_client/models/create_shared_secret_keys_request.rb +0 -201
  201. data/lib/cybersource_rest_client/models/create_shared_secret_keys_verifi_request.rb +0 -201
  202. data/lib/cybersource_rest_client/models/delete_bulk_p12_keys_request.rb +0 -201
  203. data/lib/cybersource_rest_client/models/delete_bulk_symmetric_keys_request.rb +0 -201
  204. data/lib/cybersource_rest_client/models/inline_response_200_1_keys.rb +0 -323
  205. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +0 -269
  206. data/lib/cybersource_rest_client/models/inline_response_500_3.rb +0 -257
  207. data/lib/cybersource_rest_client/models/inline_response_502_1.rb +0 -234
  208. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response.rb +0 -212
  209. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response_key_information.rb +0 -245
  210. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response_key_information.rb +0 -267
  211. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response.rb +0 -235
  212. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_certificate_information.rb +0 -223
  213. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_key_information.rb +0 -278
  214. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_deletes_post200_response.rb +0 -223
  215. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_get200_response.rb +0 -211
  216. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_get200_response_key_information.rb +0 -245
  217. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response.rb +0 -223
  218. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_error_information.rb +0 -202
  219. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +0 -284
  220. data/lib/cybersource_rest_client/models/kmsv2keysasym_key_information.rb +0 -223
  221. data/lib/cybersource_rest_client/models/kmsv2keyssym_key_information.rb +0 -207
  222. data/lib/cybersource_rest_client/models/kmsv2keyssymdeletes_key_information.rb +0 -223
  223. data/lib/cybersource_rest_client/models/kmsv2keyssymverifi_key_information.rb +0 -254
  224. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +0 -290
  225. data/lib/cybersource_rest_client/models/update_asym_keys_request.rb +0 -211
  226. data/lib/cybersource_rest_client/models/update_password_keys_request.rb +0 -211
  227. data/lib/cybersource_rest_client/models/update_pgp_keys_request.rb +0 -211
  228. data/lib/cybersource_rest_client/models/update_pgp_keys_request_1.rb +0 -234
@@ -1,633 +1,633 @@
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.4.38
10
- =end
11
-
12
- require 'date'
13
-
14
- module CyberSource
15
- class Ptsv2paymentsPointOfSaleInformation
16
- # Identifier for the terminal at your retail location. You can define this value yourself, but consult the processor for requirements. #### CyberSource through VisaNet A list of all possible values is stored in your CyberSource account. If terminal ID validation is enabled for your CyberSource account, the value you send for this field is validated against the list each time you include the field in a request. To enable or disable terminal ID validation, contact CyberSource Customer Support. When you do not include this field in a request, CyberSource uses the default value that is defined in your CyberSource account. #### FDC Nashville Global To have your account configured to support this field, contact CyberSource Customer Support. This value must be a value that FDC Nashville Global issued to you. #### For Payouts This field is applicable for CyberSource through VisaNet. #### GPX Identifier for the terminal at your retail location. A list of all possible values is stored in your account. If terminal ID validation is enabled for your account, the value you send for this field is validated against the list each time you include the field in a request. To enable or disable terminal ID validation, contact customer support. When you do not include this field in a request, the default value that is defined in your account is used. Optional for authorizations. #### Used by **Authorization** Optional for the following processors. When you do not include this field in a request, the default value that is defined in your account is used. - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - SIX - Chase Paymentech Solutions: Optional field. If you include this field in your request, you must also include `pointOfSaleInformation.catLevel`. - FDMS Nashville: The default value that is defined in your account is used. - GPX - OmniPay Direct: Optional field. For the following processors, this field is not used. - GPN - JCN Gateway - RBS WorldPay Atlanta - TSYS Acquiring Solutions - Worldpay VAP #### Card Present reply Terminal identifier assigned by the acquirer. This value must be printed on the receipt.
17
- attr_accessor :terminal_id
18
-
19
- # Terminal serial number assigned by the hardware manufacturer. This value is provided by the client software that is installed on the POS terminal. This value is not forwarded to the processor. Instead, the value is forwarded to the reporting functionality. #### Used by **Authorization and Credit** Optional. This field is supported only by client software that is installed on your POS terminals for the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX
20
- attr_accessor :terminal_serial_number
21
-
22
- # Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM
23
- attr_accessor :cardholder_verification_method_used
24
-
25
- # Identifier for an alternate terminal at your retail location. You define the value for this field. This field is supported only for MasterCard transactions on FDC Nashville Global. Otherwise, this field is not used by all other processors. Use the `terminalId` field to identify the main terminal at your retail location. If your retail location has multiple terminals, use this `laneNumber` field to identify the terminal used for the transaction. This field is a pass-through, which means that the value is not checked or modified in any way before sending it to the processor. Optional field. #### Card present reply messaging Identifier for an alternate terminal at your retail location. You defined the value for this field in the request message. This value must be printed on the receipt. This field is supported only for MasterCard transactions on FDC Nashville Global.
26
- attr_accessor :lane_number
27
-
28
- # Type of cardholder-activated terminal. Possible values: - 1: Automated dispensing machine - 2: Self-service terminal - 3: Limited amount terminal - 4: In-flight commerce (IFC) terminal - 5: Radio frequency device - 6: Mobile acceptance terminal - 7: Electronic cash register - 8: E-commerce device at your location - 9: Terminal or cash register that uses a dialup connection to connect to the transaction processing network #### Chase Paymentech Solutions Only values 1, 2, and 3 are supported. Required if `pointOfSaleInformation.terminalID` is included in the request; otherwise, optional. #### CyberSource through VisaNet Values 1 through 6 are supported on CyberSource through VisaNet, but some acquirers do not support all six values. Optional field. #### FDC Nashville Global Only values 7, 8, and 9 are supported. Optional field for EMV transactions; otherwise, not used. #### GPN Only values 6, 7, 8, and 9 are supported. Required field. #### JCN Gateway Only values 6, 7, 8, and 9 are supported. Required field. #### TSYS Acquiring Solutions Only value 6 is supported. Required for transactions from mobile devices; otherwise, not used. #### All other processors Not used. Nonnegative integer.
29
- attr_accessor :cat_level
30
-
31
- # Method of entering payment card information into the POS terminal. Possible values: - `contact`: Read from direct contact with chip card. - `contactless`: Read from a contactless interface using chip data. - `keyed`: Manually keyed into POS terminal. This value is not supported on OmniPay Direct. - `msd`: Read from a contactless interface using magnetic stripe data (MSD). This value is not supported on OmniPay Direct. - `swiped`: Read from credit card magnetic stripe. The `contact`, `contactless`, and `msd` values are supported only for EMV transactions. #### Used by **Authorization** Required field. #### Card Present Card present information about EMV applies only to credit card processing and PIN debit processing. All other card present information applies only to credit card processing. #### PIN debit Required for a PIN debit purchase and a PIN debit credit request.
32
- attr_accessor :entry_mode
33
-
34
- # POS terminal's capability. Possible values: - `1`: Terminal has a magnetic stripe reader only. - `2`: Terminal has a magnetic stripe reader and manual entry capability. - `3`: Terminal has manual entry capability only. - `4`: Terminal can read chip cards. - `5`: Terminal can read contactless chip cards; cannot use contact to read chip cards. For an EMV transaction, the value of this field must be `4` or `5`. #### PIN debit Required for PIN debit purchase and PIN debit credit request. #### Used by **Authorization** Required for the following processors: - American Express Direct - Chase Paymentech Solutions - Credit Mutuel-CIC - FDC Nashville Global - FDMS Nashville - OmniPay Direct - SIX - Worldpay VAP Optional for the following processors: - CyberSource through VisaNet - GPN - GPX - JCN Gateway - RBS WorldPay Atlanta - TSYS Acquiring Solutions
35
- attr_accessor :terminal_capability
36
-
37
- # Operating environment. Possible values for all card types except Mastercard: - `0`: No terminal used or unknown environment. - `1`: On merchant premises, attended. - `2`: On merchant premises, unattended. Examples: oil, kiosks, self-checkout, mobile telephone, personal digital assistant (PDA). - `3`: Off merchant premises, attended. Examples: portable POS devices at trade shows, at service calls, or in taxis. - `4`: Off merchant premises, unattended. Examples: vending machines, home computer, mobile telephone, PDA. - `5`: On premises of cardholder, unattended. - `9`: Unknown delivery mode. - `S`: Electronic delivery of product. Examples: music, software, or eTickets that are downloaded over the internet. - `T`: Physical delivery of product. Examples: music or software that is delivered by mail or by a courier. #### Possible values for Mastercard: - `2`: On merchant premises, unattended, or cardholder terminal. Examples: oil, kiosks, self-checkout, home computer, mobile telephone, personal digital assistant (PDA). Cardholder terminal is supported only for Mastercard transactions on CyberSource through VisaNet. - `4`: Off merchant premises, unattended, or cardholder terminal. Examples: vending machines, home computer, mobile telephone, PDA. Cardholder terminal is supported only for Mastercard transactions on CyberSource through VisaNet. This field is supported only for American Express Direct and CyberSource through VisaNet.
38
- attr_accessor :operating_environment
39
-
40
- attr_accessor :emv
41
-
42
- # Point-of-sale details for the transaction. This value is returned only for **American Express Direct**. CyberSource generates this value, which consists of a series of codes that identify terminal capability, security data, and specific conditions present at the time the transaction occurred. To comply with the CAPN requirements, this value must be included in all subsequent follow-on requests, such as captures and follow-on credits. When you perform authorizations, captures, and credits through CyberSource, CyberSource passes this value from the authorization service to the subsequent services for you. However, when you perform authorizations through CyberSource and perform subsequent services through other financial institutions, you must ensure that your requests for captures and credits include this value.
43
- attr_accessor :amex_capn_data
44
-
45
- # Card's track 1 and 2 data. For all processors except FDMS Nashville, this value consists of one of the following: - Track 1 data - Track 2 data - Data for both tracks 1 and 2 For FDMS Nashville, this value consists of one of the following: - Track 1 data - Data for both tracks 1 and 2 Example: %B4111111111111111^SMITH/JOHN ^1612101976110000868000000?;4111111111111111=16121019761186800000? #### Used by **Authorization** Required for Chase Paymentech Solutions, Credit Mutuel-CIC, CyberSource through VisaNet, FDC Nashville Global, JCN Gateway, OmniPay Direct, and SIX if `pointOfSaleInformation.entryMode` is equal to one of these values: - `contact` - `contactless` - `msd` - `swiped` Otherwise, this field not used. Required for all other processors if `pointOfSaleInformation.entryMode=swiped`; otherwise, this field is not used. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International #### PIN debit Track 2 data from the debit card. The sentinels are required. Required field for a PIN debit purchase and a PIN debit credit.
46
- attr_accessor :track_data
47
-
48
- # 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. This value is not forwarded to the processor. Instead, the value is forwarded to the reporting functionality. Possible values: - `Y`: Transaction was stored and then forwarded. - `N` (default): Transaction was not stored and then forwarded. For authorizations and credits, this field is supported only on these processors: - American Express Direct - FDC Nashville Global - OmniPay Direct - SIX Optional field.
49
- attr_accessor :store_and_forward_indicator
50
-
51
- # Complete list of cardholder verification methods (CVMs) supported by the terminal. Optional field. Possible values: - `PIN`: For terminals with a PIN Pad - `Signature`: For terminals capable of receiving a signature - `pinOnGlass`: For terminals where PIN is entered on a glass-based capture mechanism **EXAMPLE**: [\"PIN\",\"Signature\"]; [\"pinOnGlass\",\"Signature\"]
52
- attr_accessor :cardholder_verification_method
53
-
54
- # Complete list of card input methods supported by the terminal. Possible values: - `Keyed`: Terminal can accept card data that is entered manually. - `Swiped`: Terminal can accept card data from a magnetic stripe reader. - `Contact`: Terminal can accept card data in EMV contact mode (\"dipping a card\"). - `Contactless`: Terminal can accept card data in EMV contactless mode (\"tapping a card\"). - `BarCode`: Terminal can read bar codes. - `QRcode`: Terminal can read or scan QR codes. - `OCR`: Terminal can perform optical character recognition (OCT) on the card. **EXAMPLE**: [\"Keyed\",\"Swiped\",\"Contact\",\"Contactless\"] #### Used by **Authorization and Credit** Optional. This field is supported only by client software that is installed on your POS terminals for the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX
55
- attr_accessor :terminal_input_capability
56
-
57
- # Indicates whether the terminal can capture the card. Possible values: - `1`: Terminal can capture card. - `0`: Terminal cannot capture card. For authorizations and credits, this field is supported only by these processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct Optional field.
58
- attr_accessor :terminal_card_capture_capability
59
-
60
- # Indicates whether the terminal can print or display messages. Possible values: - 1: Neither - 2: Print only - 3: Display only - 4: Print and display - 5: Merchant terminal supports purchase only approvals This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX - VisaNet Optional field.
61
- attr_accessor :terminal_output_capability
62
-
63
- # Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 2: PIN Pad down - 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 for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX - Visa Platform Connect Required field for authorization or credit of PIN transactions.
64
- attr_accessor :terminal_pin_capability
65
-
66
- # This field will contain the type of Pin Pad the terminal has. Possible values: - PCI-SPoC: Where the pin is being put on screen - PCI-PTS: Where the pin is being put on actual hardware pin pad
67
- attr_accessor :pin_entry_solution
68
-
69
- # 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.
70
- attr_accessor :device_id
71
-
72
- # Format that is used to encode the PIN block. This value is provided by the client software that is installed on the POS terminal. Possible values: - `0`: ISO 9564 format 0 - `1`: ISO 9564 format 1 - `2`: ISO 9564 format 2 - `3`: ISO 9564 format 3 #### Used by **Authorization, PIN Debit** - Required when the cardholder enters a PIN and the card cannot verify the PIN, which means that the issuer must verify the PIN. - Required for PIN debit credit or PIN debit purchase. For authorizations, this field is supported only on these processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX This field is also supported by processors that support chip and online PIN transactions. The following table lists the EMV Cards and Cardholder Verification Methods (CVMs) that these processors support: | Processor | Chip and Offline PIN | Chip and Online PIN | Chip and Signature | | --- | --- | --- | --- | | American Express Direct | Yes | Yes | Yes | | Chase Paymentech Solutions | No | No | Yes | | Credit Mutuel-CIC | Yes | Yes | Yes | | CyberSource through VisaNet | Yes | No | Yes | | FDC Nashville Global | Yes | Yes | Yes | | GPN | No | No | Yes | | OmniPay Direct | Yes | No | Yes | | SIX | Yes | Yes | Yes | #### GPX For chip and online PIN transactions for authorization, GPX supports the following EMV Cards and Cardholder Verification Methods (CVMs): - Chip and Offline PIN - Chip and Signature For PIN Debit Purchase and Credit Service transactions, GPX supports the following EMV Cards and Cardholder Verification Methods (CVMs): - Chip and Online PIN
73
- attr_accessor :pin_block_encoding_format
74
-
75
- # Encrypted PIN. This value is provided by the client software that is installed on the POS terminal. #### Used by **Authorization, PIN Debit** Required when the cardholder enters a PIN and the card cannot verify the PIN, which means that the issuer must verify the PIN. Required for PIN debit credit or PIN debit purchase. Required for online PIN transactions. For authorizations, this field is supported only on these processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX This field is also used by processors that support chip and online PIN transactions. The following table lists the EMV Cards and Cardholder Verification Methods (CVMs) that these processors support: | Processor | Chip and Offline PIN | Chip and Online PIN | Chip and Signature | | --- | --- | --- | --- | | American Express Direct | Yes | Yes | Yes | | Chase Paymentech Solutions | No | No | Yes | | Credit Mutuel-CIC | Yes | Yes | Yes | | CyberSource through VisaNet | Yes | No | Yes | | FDC Nashville Global | Yes | Yes | Yes | | GPN | No | No | Yes | | OmniPay Direct | Yes | No | Yes | | SIX | Yes | Yes | Yes |
76
- attr_accessor :encrypted_pin
77
-
78
- # Combination of the device's unique identifier and a transaction counter that is used in the process of decrypting the encrypted PIN. The entity that injected the PIN encryption keys into the terminal decrypts the encrypted PIN and creates this value. For all terminals that are using derived unique key per transaction (DUKPT) encryption, this is generated as a single number within the terminal. #### Used by **Authorization, PIN Debit** - Required when the cardholder enters a PIN and the card cannot verify the PIN, which means that the issuer must verify the PIN. - Required for PIN debit credit or PIN debit purchase. - Required for online PIN transactions For authorizations, this field is supported only on these processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX This field is also used by processors that support chip and online PIN transactions. The following table lists the EMV Cards and Cardholder Verification Methods (CVMs) that these processors support: | Processor | Chip and Offline PIN | Chip and Online PIN | Chip and Signature | | --- | --- | --- | --- | | American Express Direct | Yes | Yes | Yes | | Chase Paymentech Solutions | No | No | Yes | | Credit Mutuel-CIC | Yes | Yes | Yes | | CyberSource through VisaNet | Yes | No | Yes | | FDC Nashville Global | Yes | Yes | Yes | | GPN | No | No | Yes | | OmniPay Direct | Yes | No | Yes | | SIX | Yes | Yes | Yes |
79
- attr_accessor :encrypted_key_serial_number
80
-
81
- # 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. For authorizations and credits, this field is supported only on these processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX
82
- attr_accessor :partner_sdk_version
83
-
84
- # This 32 byte length-maximum EBCDIC-K value is used to identify which chip application was performed between the terminal and the chip product. The included values are the Application Identifier (AID) and the Dedicated File (DF) name. It is available to early- or full-option VSDC issuers. Only single byte Katakana characters that can map to the EBCDIC-K table expected in the name.
85
- attr_accessor :emv_application_identifier_and_dedicated_file_name
86
-
87
- # Flag that indicates whether the terminal is compliant with standards mandated by the Reserve Bank of India for card-present domestic transactions in India. Format: - First character indicates whether the terminal supports terminal line encryption (TLE). Possible values: - 1: Not certified - 2: Certified - Second character indicates whether the terminal supports Unique Key Per Transaction (UKPT) and Derived Unique Key Per Transaction (DUKPT). Possible values: - 1: Not certified - 2: Certified **Example** `21` indicates that the terminal supports TLE but does not support UKPT/DUKPT. You and the terminal vendors are responsible for terminal certification. If you have questions, contact your acquirer. This field is supported only for Mastercard transactions on CyberSource through VisaNet. **Note** On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR6 - Position: 92-93 - Field: Mastercard Terminal Compliance Indicator The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks. #### Used by **Authorization** Required for card-present transactions in India. Otherwise, not used.
88
- attr_accessor :terminal_compliance
89
-
90
- # Type of mPOS device. Possible values: - 0: Dongle - 1: Phone or tablet This optional field is supported only for Mastercard transactions on CyberSource through VisaNet. The value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR6 - Position: 141 - Field: Mastercard mPOS Transaction The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks.
91
- attr_accessor :is_dedicated_hardware_terminal
92
-
93
- # This is the model name of the reader which is used to accept the payment. Possible values: - E3555 - P400 - A920
94
- attr_accessor :terminal_model
95
-
96
- # This is the manufacturer name of the reader which is used to accept the payment. Possible values: - PAX - Verifone - Ingenico
97
- attr_accessor :terminal_make
98
-
99
- # #### Visa Platform Connect Mastercard service code that is included in the track data. This field is supported only for Mastercard on Visa Platform Connect. You can extract the service code from the track data and provide it in this API field. When not provided it will be extracted from: - Track2Data for MSR transactions - EMV tag 5F30 for EMV transactions To enable this feature please call support.
100
- attr_accessor :service_code
101
-
102
- # Attribute mapping from ruby-style variable name to JSON key.
103
- def self.attribute_map
104
- {
105
- :'terminal_id' => :'terminalId',
106
- :'terminal_serial_number' => :'terminalSerialNumber',
107
- :'cardholder_verification_method_used' => :'cardholderVerificationMethodUsed',
108
- :'lane_number' => :'laneNumber',
109
- :'cat_level' => :'catLevel',
110
- :'entry_mode' => :'entryMode',
111
- :'terminal_capability' => :'terminalCapability',
112
- :'operating_environment' => :'operatingEnvironment',
113
- :'emv' => :'emv',
114
- :'amex_capn_data' => :'amexCapnData',
115
- :'track_data' => :'trackData',
116
- :'store_and_forward_indicator' => :'storeAndForwardIndicator',
117
- :'cardholder_verification_method' => :'cardholderVerificationMethod',
118
- :'terminal_input_capability' => :'terminalInputCapability',
119
- :'terminal_card_capture_capability' => :'terminalCardCaptureCapability',
120
- :'terminal_output_capability' => :'terminalOutputCapability',
121
- :'terminal_pin_capability' => :'terminalPinCapability',
122
- :'pin_entry_solution' => :'pinEntrySolution',
123
- :'device_id' => :'deviceId',
124
- :'pin_block_encoding_format' => :'pinBlockEncodingFormat',
125
- :'encrypted_pin' => :'encryptedPin',
126
- :'encrypted_key_serial_number' => :'encryptedKeySerialNumber',
127
- :'partner_sdk_version' => :'partnerSdkVersion',
128
- :'emv_application_identifier_and_dedicated_file_name' => :'emvApplicationIdentifierAndDedicatedFileName',
129
- :'terminal_compliance' => :'terminalCompliance',
130
- :'is_dedicated_hardware_terminal' => :'isDedicatedHardwareTerminal',
131
- :'terminal_model' => :'terminalModel',
132
- :'terminal_make' => :'terminalMake',
133
- :'service_code' => :'serviceCode'
134
- }
135
- end
136
-
137
- # Attribute mapping from JSON key to ruby-style variable name.
138
- def self.json_map
139
- {
140
- :'terminal_id' => :'terminal_id',
141
- :'terminal_serial_number' => :'terminal_serial_number',
142
- :'cardholder_verification_method_used' => :'cardholder_verification_method_used',
143
- :'lane_number' => :'lane_number',
144
- :'cat_level' => :'cat_level',
145
- :'entry_mode' => :'entry_mode',
146
- :'terminal_capability' => :'terminal_capability',
147
- :'operating_environment' => :'operating_environment',
148
- :'emv' => :'emv',
149
- :'amex_capn_data' => :'amex_capn_data',
150
- :'track_data' => :'track_data',
151
- :'store_and_forward_indicator' => :'store_and_forward_indicator',
152
- :'cardholder_verification_method' => :'cardholder_verification_method',
153
- :'terminal_input_capability' => :'terminal_input_capability',
154
- :'terminal_card_capture_capability' => :'terminal_card_capture_capability',
155
- :'terminal_output_capability' => :'terminal_output_capability',
156
- :'terminal_pin_capability' => :'terminal_pin_capability',
157
- :'pin_entry_solution' => :'pin_entry_solution',
158
- :'device_id' => :'device_id',
159
- :'pin_block_encoding_format' => :'pin_block_encoding_format',
160
- :'encrypted_pin' => :'encrypted_pin',
161
- :'encrypted_key_serial_number' => :'encrypted_key_serial_number',
162
- :'partner_sdk_version' => :'partner_sdk_version',
163
- :'emv_application_identifier_and_dedicated_file_name' => :'emv_application_identifier_and_dedicated_file_name',
164
- :'terminal_compliance' => :'terminal_compliance',
165
- :'is_dedicated_hardware_terminal' => :'is_dedicated_hardware_terminal',
166
- :'terminal_model' => :'terminal_model',
167
- :'terminal_make' => :'terminal_make',
168
- :'service_code' => :'service_code'
169
- }
170
- end
171
-
172
- # Attribute type mapping.
173
- def self.swagger_types
174
- {
175
- :'terminal_id' => :'String',
176
- :'terminal_serial_number' => :'String',
177
- :'cardholder_verification_method_used' => :'Integer',
178
- :'lane_number' => :'String',
179
- :'cat_level' => :'Integer',
180
- :'entry_mode' => :'String',
181
- :'terminal_capability' => :'Integer',
182
- :'operating_environment' => :'String',
183
- :'emv' => :'Ptsv2paymentsPointOfSaleInformationEmv',
184
- :'amex_capn_data' => :'String',
185
- :'track_data' => :'String',
186
- :'store_and_forward_indicator' => :'String',
187
- :'cardholder_verification_method' => :'Array<String>',
188
- :'terminal_input_capability' => :'Array<String>',
189
- :'terminal_card_capture_capability' => :'String',
190
- :'terminal_output_capability' => :'String',
191
- :'terminal_pin_capability' => :'Integer',
192
- :'pin_entry_solution' => :'String',
193
- :'device_id' => :'String',
194
- :'pin_block_encoding_format' => :'Integer',
195
- :'encrypted_pin' => :'String',
196
- :'encrypted_key_serial_number' => :'String',
197
- :'partner_sdk_version' => :'String',
198
- :'emv_application_identifier_and_dedicated_file_name' => :'String',
199
- :'terminal_compliance' => :'String',
200
- :'is_dedicated_hardware_terminal' => :'String',
201
- :'terminal_model' => :'String',
202
- :'terminal_make' => :'String',
203
- :'service_code' => :'String'
204
- }
205
- end
206
-
207
- # Initializes the object
208
- # @param [Hash] attributes Model attributes in the form of hash
209
- def initialize(attributes = {})
210
- return unless attributes.is_a?(Hash)
211
-
212
- # convert string to symbol for hash key
213
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
214
-
215
- if attributes.has_key?(:'terminalId')
216
- self.terminal_id = attributes[:'terminalId']
217
- end
218
-
219
- if attributes.has_key?(:'terminalSerialNumber')
220
- self.terminal_serial_number = attributes[:'terminalSerialNumber']
221
- end
222
-
223
- if attributes.has_key?(:'cardholderVerificationMethodUsed')
224
- self.cardholder_verification_method_used = attributes[:'cardholderVerificationMethodUsed']
225
- end
226
-
227
- if attributes.has_key?(:'laneNumber')
228
- self.lane_number = attributes[:'laneNumber']
229
- end
230
-
231
- if attributes.has_key?(:'catLevel')
232
- self.cat_level = attributes[:'catLevel']
233
- end
234
-
235
- if attributes.has_key?(:'entryMode')
236
- self.entry_mode = attributes[:'entryMode']
237
- end
238
-
239
- if attributes.has_key?(:'terminalCapability')
240
- self.terminal_capability = attributes[:'terminalCapability']
241
- end
242
-
243
- if attributes.has_key?(:'operatingEnvironment')
244
- self.operating_environment = attributes[:'operatingEnvironment']
245
- end
246
-
247
- if attributes.has_key?(:'emv')
248
- self.emv = attributes[:'emv']
249
- end
250
-
251
- if attributes.has_key?(:'amexCapnData')
252
- self.amex_capn_data = attributes[:'amexCapnData']
253
- end
254
-
255
- if attributes.has_key?(:'trackData')
256
- self.track_data = attributes[:'trackData']
257
- end
258
-
259
- if attributes.has_key?(:'storeAndForwardIndicator')
260
- self.store_and_forward_indicator = attributes[:'storeAndForwardIndicator']
261
- end
262
-
263
- if attributes.has_key?(:'cardholderVerificationMethod')
264
- if (value = attributes[:'cardholderVerificationMethod']).is_a?(Array)
265
- self.cardholder_verification_method = value
266
- end
267
- end
268
-
269
- if attributes.has_key?(:'terminalInputCapability')
270
- if (value = attributes[:'terminalInputCapability']).is_a?(Array)
271
- self.terminal_input_capability = value
272
- end
273
- end
274
-
275
- if attributes.has_key?(:'terminalCardCaptureCapability')
276
- self.terminal_card_capture_capability = attributes[:'terminalCardCaptureCapability']
277
- end
278
-
279
- if attributes.has_key?(:'terminalOutputCapability')
280
- self.terminal_output_capability = attributes[:'terminalOutputCapability']
281
- end
282
-
283
- if attributes.has_key?(:'terminalPinCapability')
284
- self.terminal_pin_capability = attributes[:'terminalPinCapability']
285
- end
286
-
287
- if attributes.has_key?(:'pinEntrySolution')
288
- self.pin_entry_solution = attributes[:'pinEntrySolution']
289
- end
290
-
291
- if attributes.has_key?(:'deviceId')
292
- self.device_id = attributes[:'deviceId']
293
- end
294
-
295
- if attributes.has_key?(:'pinBlockEncodingFormat')
296
- self.pin_block_encoding_format = attributes[:'pinBlockEncodingFormat']
297
- end
298
-
299
- if attributes.has_key?(:'encryptedPin')
300
- self.encrypted_pin = attributes[:'encryptedPin']
301
- end
302
-
303
- if attributes.has_key?(:'encryptedKeySerialNumber')
304
- self.encrypted_key_serial_number = attributes[:'encryptedKeySerialNumber']
305
- end
306
-
307
- if attributes.has_key?(:'partnerSdkVersion')
308
- self.partner_sdk_version = attributes[:'partnerSdkVersion']
309
- end
310
-
311
- if attributes.has_key?(:'emvApplicationIdentifierAndDedicatedFileName')
312
- self.emv_application_identifier_and_dedicated_file_name = attributes[:'emvApplicationIdentifierAndDedicatedFileName']
313
- end
314
-
315
- if attributes.has_key?(:'terminalCompliance')
316
- self.terminal_compliance = attributes[:'terminalCompliance']
317
- end
318
-
319
- if attributes.has_key?(:'isDedicatedHardwareTerminal')
320
- self.is_dedicated_hardware_terminal = attributes[:'isDedicatedHardwareTerminal']
321
- end
322
-
323
- if attributes.has_key?(:'terminalModel')
324
- self.terminal_model = attributes[:'terminalModel']
325
- end
326
-
327
- if attributes.has_key?(:'terminalMake')
328
- self.terminal_make = attributes[:'terminalMake']
329
- end
330
-
331
- if attributes.has_key?(:'serviceCode')
332
- self.service_code = attributes[:'serviceCode']
333
- end
334
- end
335
-
336
- # Show invalid properties with the reasons. Usually used together with valid?
337
- # @return Array for valid properties with the reasons
338
- def list_invalid_properties
339
- invalid_properties = Array.new
340
- invalid_properties
341
- end
342
-
343
- # Check to see if the all the properties in the model are valid
344
- # @return true if the model is valid
345
- def valid?
346
- true
347
- end
348
-
349
- # Custom attribute writer method with validation
350
- # @param [Object] terminal_id Value to be assigned
351
- def terminal_id=(terminal_id)
352
- @terminal_id = terminal_id
353
- end
354
-
355
- # Custom attribute writer method with validation
356
- # @param [Object] terminal_serial_number Value to be assigned
357
- def terminal_serial_number=(terminal_serial_number)
358
- @terminal_serial_number = terminal_serial_number
359
- end
360
-
361
- # Custom attribute writer method with validation
362
- # @param [Object] lane_number Value to be assigned
363
- def lane_number=(lane_number)
364
- @lane_number = lane_number
365
- end
366
-
367
- # Custom attribute writer method with validation
368
- # @param [Object] cat_level Value to be assigned
369
- def cat_level=(cat_level)
370
- @cat_level = cat_level
371
- end
372
-
373
- # Custom attribute writer method with validation
374
- # @param [Object] entry_mode Value to be assigned
375
- def entry_mode=(entry_mode)
376
- @entry_mode = entry_mode
377
- end
378
-
379
- # Custom attribute writer method with validation
380
- # @param [Object] terminal_capability Value to be assigned
381
- def terminal_capability=(terminal_capability)
382
- @terminal_capability = terminal_capability
383
- end
384
-
385
- # Custom attribute writer method with validation
386
- # @param [Object] operating_environment Value to be assigned
387
- def operating_environment=(operating_environment)
388
- @operating_environment = operating_environment
389
- end
390
-
391
- # Custom attribute writer method with validation
392
- # @param [Object] amex_capn_data Value to be assigned
393
- def amex_capn_data=(amex_capn_data)
394
- @amex_capn_data = amex_capn_data
395
- end
396
-
397
- # Custom attribute writer method with validation
398
- # @param [Object] store_and_forward_indicator Value to be assigned
399
- def store_and_forward_indicator=(store_and_forward_indicator)
400
- @store_and_forward_indicator = store_and_forward_indicator
401
- end
402
-
403
- # Custom attribute writer method with validation
404
- # @param [Object] terminal_card_capture_capability Value to be assigned
405
- def terminal_card_capture_capability=(terminal_card_capture_capability)
406
- @terminal_card_capture_capability = terminal_card_capture_capability
407
- end
408
-
409
- # Custom attribute writer method with validation
410
- # @param [Object] terminal_output_capability Value to be assigned
411
- def terminal_output_capability=(terminal_output_capability)
412
- @terminal_output_capability = terminal_output_capability
413
- end
414
-
415
- # Custom attribute writer method with validation
416
- # @param [Object] device_id Value to be assigned
417
- def device_id=(device_id)
418
- @device_id = device_id
419
- end
420
-
421
- # Custom attribute writer method with validation
422
- # @param [Object] pin_block_encoding_format Value to be assigned
423
- def pin_block_encoding_format=(pin_block_encoding_format)
424
- @pin_block_encoding_format = pin_block_encoding_format
425
- end
426
-
427
- # Custom attribute writer method with validation
428
- # @param [Object] encrypted_pin Value to be assigned
429
- def encrypted_pin=(encrypted_pin)
430
- @encrypted_pin = encrypted_pin
431
- end
432
-
433
- # Custom attribute writer method with validation
434
- # @param [Object] encrypted_key_serial_number Value to be assigned
435
- def encrypted_key_serial_number=(encrypted_key_serial_number)
436
- @encrypted_key_serial_number = encrypted_key_serial_number
437
- end
438
-
439
- # Custom attribute writer method with validation
440
- # @param [Object] partner_sdk_version Value to be assigned
441
- def partner_sdk_version=(partner_sdk_version)
442
- @partner_sdk_version = partner_sdk_version
443
- end
444
-
445
- # Custom attribute writer method with validation
446
- # @param [Object] emv_application_identifier_and_dedicated_file_name Value to be assigned
447
- def emv_application_identifier_and_dedicated_file_name=(emv_application_identifier_and_dedicated_file_name)
448
- @emv_application_identifier_and_dedicated_file_name = emv_application_identifier_and_dedicated_file_name
449
- end
450
-
451
- # Custom attribute writer method with validation
452
- # @param [Object] terminal_compliance Value to be assigned
453
- def terminal_compliance=(terminal_compliance)
454
- @terminal_compliance = terminal_compliance
455
- end
456
-
457
- # Custom attribute writer method with validation
458
- # @param [Object] is_dedicated_hardware_terminal Value to be assigned
459
- def is_dedicated_hardware_terminal=(is_dedicated_hardware_terminal)
460
- @is_dedicated_hardware_terminal = is_dedicated_hardware_terminal
461
- end
462
-
463
- # Custom attribute writer method with validation
464
- # @param [Object] terminal_model Value to be assigned
465
- def terminal_model=(terminal_model)
466
- @terminal_model = terminal_model
467
- end
468
-
469
- # Custom attribute writer method with validation
470
- # @param [Object] terminal_make Value to be assigned
471
- def terminal_make=(terminal_make)
472
- @terminal_make = terminal_make
473
- end
474
-
475
- # Custom attribute writer method with validation
476
- # @param [Object] service_code Value to be assigned
477
- def service_code=(service_code)
478
- @service_code = service_code
479
- end
480
-
481
- # Checks equality by comparing each attribute.
482
- # @param [Object] Object to be compared
483
- def ==(o)
484
- return true if self.equal?(o)
485
- self.class == o.class &&
486
- terminal_id == o.terminal_id &&
487
- terminal_serial_number == o.terminal_serial_number &&
488
- cardholder_verification_method_used == o.cardholder_verification_method_used &&
489
- lane_number == o.lane_number &&
490
- cat_level == o.cat_level &&
491
- entry_mode == o.entry_mode &&
492
- terminal_capability == o.terminal_capability &&
493
- operating_environment == o.operating_environment &&
494
- emv == o.emv &&
495
- amex_capn_data == o.amex_capn_data &&
496
- track_data == o.track_data &&
497
- store_and_forward_indicator == o.store_and_forward_indicator &&
498
- cardholder_verification_method == o.cardholder_verification_method &&
499
- terminal_input_capability == o.terminal_input_capability &&
500
- terminal_card_capture_capability == o.terminal_card_capture_capability &&
501
- terminal_output_capability == o.terminal_output_capability &&
502
- terminal_pin_capability == o.terminal_pin_capability &&
503
- pin_entry_solution == o.pin_entry_solution &&
504
- device_id == o.device_id &&
505
- pin_block_encoding_format == o.pin_block_encoding_format &&
506
- encrypted_pin == o.encrypted_pin &&
507
- encrypted_key_serial_number == o.encrypted_key_serial_number &&
508
- partner_sdk_version == o.partner_sdk_version &&
509
- emv_application_identifier_and_dedicated_file_name == o.emv_application_identifier_and_dedicated_file_name &&
510
- terminal_compliance == o.terminal_compliance &&
511
- is_dedicated_hardware_terminal == o.is_dedicated_hardware_terminal &&
512
- terminal_model == o.terminal_model &&
513
- terminal_make == o.terminal_make &&
514
- service_code == o.service_code
515
- end
516
-
517
- # @see the `==` method
518
- # @param [Object] Object to be compared
519
- def eql?(o)
520
- self == o
521
- end
522
-
523
- # Calculates hash code according to all attributes.
524
- # @return [Fixnum] Hash code
525
- def hash
526
- [terminal_id, terminal_serial_number, cardholder_verification_method_used, lane_number, cat_level, entry_mode, terminal_capability, operating_environment, emv, amex_capn_data, track_data, store_and_forward_indicator, cardholder_verification_method, terminal_input_capability, terminal_card_capture_capability, terminal_output_capability, terminal_pin_capability, pin_entry_solution, device_id, pin_block_encoding_format, encrypted_pin, encrypted_key_serial_number, partner_sdk_version, emv_application_identifier_and_dedicated_file_name, terminal_compliance, is_dedicated_hardware_terminal, terminal_model, terminal_make, service_code].hash
527
- end
528
-
529
- # Builds the object from hash
530
- # @param [Hash] attributes Model attributes in the form of hash
531
- # @return [Object] Returns the model itself
532
- def build_from_hash(attributes)
533
- return nil unless attributes.is_a?(Hash)
534
- self.class.swagger_types.each_pair do |key, type|
535
- if type =~ /\AArray<(.*)>/i
536
- # check to ensure the input is an array given that the the attribute
537
- # is documented as an array but the input is not
538
- if attributes[self.class.attribute_map[key]].is_a?(Array)
539
- self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
540
- end
541
- elsif !attributes[self.class.attribute_map[key]].nil?
542
- self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
543
- end # or else data not found in attributes(hash), not an issue as the data can be optional
544
- end
545
-
546
- self
547
- end
548
-
549
- # Deserializes the data based on type
550
- # @param string type Data type
551
- # @param string value Value to be deserialized
552
- # @return [Object] Deserialized data
553
- def _deserialize(type, value)
554
- case type.to_sym
555
- when :DateTime
556
- DateTime.parse(value)
557
- when :Date
558
- Date.parse(value)
559
- when :String
560
- value.to_s
561
- when :Integer
562
- value.to_i
563
- when :Float
564
- value.to_f
565
- when :BOOLEAN
566
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
567
- true
568
- else
569
- false
570
- end
571
- when :Object
572
- # generic object (usually a Hash), return directly
573
- value
574
- when /\AArray<(?<inner_type>.+)>\z/
575
- inner_type = Regexp.last_match[:inner_type]
576
- value.map { |v| _deserialize(inner_type, v) }
577
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
578
- k_type = Regexp.last_match[:k_type]
579
- v_type = Regexp.last_match[:v_type]
580
- {}.tap do |hash|
581
- value.each do |k, v|
582
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
583
- end
584
- end
585
- else # model
586
- temp_model = CyberSource.const_get(type).new
587
- temp_model.build_from_hash(value)
588
- end
589
- end
590
-
591
- # Returns the string representation of the object
592
- # @return [String] String presentation of the object
593
- def to_s
594
- to_hash.to_s
595
- end
596
-
597
- # to_body is an alias to to_hash (backward compatibility)
598
- # @return [Hash] Returns the object in the form of hash
599
- def to_body
600
- to_hash
601
- end
602
-
603
- # Returns the object in the form of hash
604
- # @return [Hash] Returns the object in the form of hash
605
- def to_hash
606
- hash = {}
607
- self.class.attribute_map.each_pair do |attr, param|
608
- value = self.send(attr)
609
- next if value.nil?
610
- hash[param] = _to_hash(value)
611
- end
612
- hash
613
- end
614
-
615
- # Outputs non-array value in the form of hash
616
- # For object, use to_hash. Otherwise, just return the value
617
- # @param [Object] value Any valid value
618
- # @return [Hash] Returns the value in the form of hash
619
- def _to_hash(value)
620
- if value.is_a?(Array)
621
- value.compact.map { |v| _to_hash(v) }
622
- elsif value.is_a?(Hash)
623
- {}.tap do |hash|
624
- value.each { |k, v| hash[k] = _to_hash(v) }
625
- end
626
- elsif value.respond_to? :to_hash
627
- value.to_hash
628
- else
629
- value
630
- end
631
- end
632
- end
633
- end
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.4.38
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module CyberSource
15
+ class Ptsv2paymentsPointOfSaleInformation
16
+ # Identifier for the terminal at your retail location. You can define this value yourself, but consult the processor for requirements. #### CyberSource through VisaNet A list of all possible values is stored in your CyberSource account. If terminal ID validation is enabled for your CyberSource account, the value you send for this field is validated against the list each time you include the field in a request. To enable or disable terminal ID validation, contact CyberSource Customer Support. When you do not include this field in a request, CyberSource uses the default value that is defined in your CyberSource account. #### FDC Nashville Global To have your account configured to support this field, contact CyberSource Customer Support. This value must be a value that FDC Nashville Global issued to you. #### For Payouts This field is applicable for CyberSource through VisaNet. #### GPX Identifier for the terminal at your retail location. A list of all possible values is stored in your account. If terminal ID validation is enabled for your account, the value you send for this field is validated against the list each time you include the field in a request. To enable or disable terminal ID validation, contact customer support. When you do not include this field in a request, the default value that is defined in your account is used. Optional for authorizations. #### Used by **Authorization** Optional for the following processors. When you do not include this field in a request, the default value that is defined in your account is used. - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - SIX - Chase Paymentech Solutions: Optional field. If you include this field in your request, you must also include `pointOfSaleInformation.catLevel`. - FDMS Nashville: The default value that is defined in your account is used. - GPX - OmniPay Direct: Optional field. For the following processors, this field is not used. - GPN - JCN Gateway - RBS WorldPay Atlanta - TSYS Acquiring Solutions - Worldpay VAP #### Card Present reply Terminal identifier assigned by the acquirer. This value must be printed on the receipt.
17
+ attr_accessor :terminal_id
18
+
19
+ # Terminal serial number assigned by the hardware manufacturer. This value is provided by the client software that is installed on the POS terminal. This value is not forwarded to the processor. Instead, the value is forwarded to the reporting functionality. #### Used by **Authorization and Credit** Optional. This field is supported only by client software that is installed on your POS terminals for the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX
20
+ attr_accessor :terminal_serial_number
21
+
22
+ # Method that was used to verify the cardholder's identity. Possible values: - `0`: No verification - `1`: Signature - `2`: PIN - `3`: Cardholder device CVM
23
+ attr_accessor :cardholder_verification_method_used
24
+
25
+ # Identifier for an alternate terminal at your retail location. You define the value for this field. This field is supported only for MasterCard transactions on FDC Nashville Global. Otherwise, this field is not used by all other processors. Use the `terminalId` field to identify the main terminal at your retail location. If your retail location has multiple terminals, use this `laneNumber` field to identify the terminal used for the transaction. This field is a pass-through, which means that the value is not checked or modified in any way before sending it to the processor. Optional field. #### Card present reply messaging Identifier for an alternate terminal at your retail location. You defined the value for this field in the request message. This value must be printed on the receipt. This field is supported only for MasterCard transactions on FDC Nashville Global.
26
+ attr_accessor :lane_number
27
+
28
+ # Type of cardholder-activated terminal. Possible values: - 1: Automated dispensing machine - 2: Self-service terminal - 3: Limited amount terminal - 4: In-flight commerce (IFC) terminal - 5: Radio frequency device - 6: Mobile acceptance terminal - 7: Electronic cash register - 8: E-commerce device at your location - 9: Terminal or cash register that uses a dialup connection to connect to the transaction processing network #### Chase Paymentech Solutions Only values 1, 2, and 3 are supported. Required if `pointOfSaleInformation.terminalID` is included in the request; otherwise, optional. #### CyberSource through VisaNet Values 1 through 6 are supported on CyberSource through VisaNet, but some acquirers do not support all six values. Optional field. #### FDC Nashville Global Only values 7, 8, and 9 are supported. Optional field for EMV transactions; otherwise, not used. #### GPN Only values 6, 7, 8, and 9 are supported. Required field. #### JCN Gateway Only values 6, 7, 8, and 9 are supported. Required field. #### TSYS Acquiring Solutions Only value 6 is supported. Required for transactions from mobile devices; otherwise, not used. #### All other processors Not used. Nonnegative integer.
29
+ attr_accessor :cat_level
30
+
31
+ # Method of entering payment card information into the POS terminal. Possible values: - `contact`: Read from direct contact with chip card. - `contactless`: Read from a contactless interface using chip data. - `keyed`: Manually keyed into POS terminal. This value is not supported on OmniPay Direct. - `msd`: Read from a contactless interface using magnetic stripe data (MSD). This value is not supported on OmniPay Direct. - `swiped`: Read from credit card magnetic stripe. The `contact`, `contactless`, and `msd` values are supported only for EMV transactions. #### Used by **Authorization** Required field. #### Card Present Card present information about EMV applies only to credit card processing and PIN debit processing. All other card present information applies only to credit card processing. #### PIN debit Required for a PIN debit purchase and a PIN debit credit request.
32
+ attr_accessor :entry_mode
33
+
34
+ # POS terminal's capability. Possible values: - `1`: Terminal has a magnetic stripe reader only. - `2`: Terminal has a magnetic stripe reader and manual entry capability. - `3`: Terminal has manual entry capability only. - `4`: Terminal can read chip cards. - `5`: Terminal can read contactless chip cards; cannot use contact to read chip cards. For an EMV transaction, the value of this field must be `4` or `5`. #### PIN debit Required for PIN debit purchase and PIN debit credit request. #### Used by **Authorization** Required for the following processors: - American Express Direct - Chase Paymentech Solutions - Credit Mutuel-CIC - FDC Nashville Global - FDMS Nashville - OmniPay Direct - SIX - Worldpay VAP Optional for the following processors: - CyberSource through VisaNet - GPN - GPX - JCN Gateway - RBS WorldPay Atlanta - TSYS Acquiring Solutions
35
+ attr_accessor :terminal_capability
36
+
37
+ # Operating environment. Possible values for all card types except Mastercard: - `0`: No terminal used or unknown environment. - `1`: On merchant premises, attended. - `2`: On merchant premises, unattended. Examples: oil, kiosks, self-checkout, mobile telephone, personal digital assistant (PDA). - `3`: Off merchant premises, attended. Examples: portable POS devices at trade shows, at service calls, or in taxis. - `4`: Off merchant premises, unattended. Examples: vending machines, home computer, mobile telephone, PDA. - `5`: On premises of cardholder, unattended. - `9`: Unknown delivery mode. - `S`: Electronic delivery of product. Examples: music, software, or eTickets that are downloaded over the internet. - `T`: Physical delivery of product. Examples: music or software that is delivered by mail or by a courier. #### Possible values for Mastercard: - `2`: On merchant premises, unattended, or cardholder terminal. Examples: oil, kiosks, self-checkout, home computer, mobile telephone, personal digital assistant (PDA). Cardholder terminal is supported only for Mastercard transactions on CyberSource through VisaNet. - `4`: Off merchant premises, unattended, or cardholder terminal. Examples: vending machines, home computer, mobile telephone, PDA. Cardholder terminal is supported only for Mastercard transactions on CyberSource through VisaNet. This field is supported only for American Express Direct and CyberSource through VisaNet.
38
+ attr_accessor :operating_environment
39
+
40
+ attr_accessor :emv
41
+
42
+ # Point-of-sale details for the transaction. This value is returned only for **American Express Direct**. CyberSource generates this value, which consists of a series of codes that identify terminal capability, security data, and specific conditions present at the time the transaction occurred. To comply with the CAPN requirements, this value must be included in all subsequent follow-on requests, such as captures and follow-on credits. When you perform authorizations, captures, and credits through CyberSource, CyberSource passes this value from the authorization service to the subsequent services for you. However, when you perform authorizations through CyberSource and perform subsequent services through other financial institutions, you must ensure that your requests for captures and credits include this value.
43
+ attr_accessor :amex_capn_data
44
+
45
+ # Card's track 1 and 2 data. For all processors except FDMS Nashville, this value consists of one of the following: - Track 1 data - Track 2 data - Data for both tracks 1 and 2 For FDMS Nashville, this value consists of one of the following: - Track 1 data - Data for both tracks 1 and 2 Example: %B4111111111111111^SMITH/JOHN ^1612101976110000868000000?;4111111111111111=16121019761186800000? #### Used by **Authorization** Required for Chase Paymentech Solutions, Credit Mutuel-CIC, CyberSource through VisaNet, FDC Nashville Global, JCN Gateway, OmniPay Direct, and SIX if `pointOfSaleInformation.entryMode` is equal to one of these values: - `contact` - `contactless` - `msd` - `swiped` Otherwise, this field not used. Required for all other processors if `pointOfSaleInformation.entryMode=swiped`; otherwise, this field is not used. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International #### PIN debit Track 2 data from the debit card. The sentinels are required. Required field for a PIN debit purchase and a PIN debit credit.
46
+ attr_accessor :track_data
47
+
48
+ # 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. This value is not forwarded to the processor. Instead, the value is forwarded to the reporting functionality. Possible values: - `Y`: Transaction was stored and then forwarded. - `N` (default): Transaction was not stored and then forwarded. For authorizations and credits, this field is supported only on these processors: - American Express Direct - FDC Nashville Global - OmniPay Direct - SIX Optional field.
49
+ attr_accessor :store_and_forward_indicator
50
+
51
+ # Complete list of cardholder verification methods (CVMs) supported by the terminal. Optional field. Possible values: - `PIN`: For terminals with a PIN Pad - `Signature`: For terminals capable of receiving a signature - `pinOnGlass`: For terminals where PIN is entered on a glass-based capture mechanism **EXAMPLE**: [\"PIN\",\"Signature\"]; [\"pinOnGlass\",\"Signature\"]
52
+ attr_accessor :cardholder_verification_method
53
+
54
+ # Complete list of card input methods supported by the terminal. Possible values: - `Keyed`: Terminal can accept card data that is entered manually. - `Swiped`: Terminal can accept card data from a magnetic stripe reader. - `Contact`: Terminal can accept card data in EMV contact mode (\"dipping a card\"). - `Contactless`: Terminal can accept card data in EMV contactless mode (\"tapping a card\"). - `BarCode`: Terminal can read bar codes. - `QRcode`: Terminal can read or scan QR codes. - `OCR`: Terminal can perform optical character recognition (OCT) on the card. **EXAMPLE**: [\"Keyed\",\"Swiped\",\"Contact\",\"Contactless\"] #### Used by **Authorization and Credit** Optional. This field is supported only by client software that is installed on your POS terminals for the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX
55
+ attr_accessor :terminal_input_capability
56
+
57
+ # Indicates whether the terminal can capture the card. Possible values: - `1`: Terminal can capture card. - `0`: Terminal cannot capture card. For authorizations and credits, this field is supported only by these processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct Optional field.
58
+ attr_accessor :terminal_card_capture_capability
59
+
60
+ # Indicates whether the terminal can print or display messages. Possible values: - 1: Neither - 2: Print only - 3: Display only - 4: Print and display - 5: Merchant terminal supports purchase only approvals This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX - VisaNet Optional field.
61
+ attr_accessor :terminal_output_capability
62
+
63
+ # Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 2: PIN Pad down - 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 for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX - Visa Platform Connect Required field for authorization or credit of PIN transactions.
64
+ attr_accessor :terminal_pin_capability
65
+
66
+ # This field will contain the type of Pin Pad the terminal has. Possible values: - PCI-SPoC: Where the pin is being put on screen - PCI-PTS: Where the pin is being put on actual hardware pin pad
67
+ attr_accessor :pin_entry_solution
68
+
69
+ # 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.
70
+ attr_accessor :device_id
71
+
72
+ # Format that is used to encode the PIN block. This value is provided by the client software that is installed on the POS terminal. Possible values: - `0`: ISO 9564 format 0 - `1`: ISO 9564 format 1 - `2`: ISO 9564 format 2 - `3`: ISO 9564 format 3 #### Used by **Authorization, PIN Debit** - Required when the cardholder enters a PIN and the card cannot verify the PIN, which means that the issuer must verify the PIN. - Required for PIN debit credit or PIN debit purchase. For authorizations, this field is supported only on these processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX This field is also supported by processors that support chip and online PIN transactions. The following table lists the EMV Cards and Cardholder Verification Methods (CVMs) that these processors support: | Processor | Chip and Offline PIN | Chip and Online PIN | Chip and Signature | | --- | --- | --- | --- | | American Express Direct | Yes | Yes | Yes | | Chase Paymentech Solutions | No | No | Yes | | Credit Mutuel-CIC | Yes | Yes | Yes | | CyberSource through VisaNet | Yes | No | Yes | | FDC Nashville Global | Yes | Yes | Yes | | GPN | No | No | Yes | | OmniPay Direct | Yes | No | Yes | | SIX | Yes | Yes | Yes | #### GPX For chip and online PIN transactions for authorization, GPX supports the following EMV Cards and Cardholder Verification Methods (CVMs): - Chip and Offline PIN - Chip and Signature For PIN Debit Purchase and Credit Service transactions, GPX supports the following EMV Cards and Cardholder Verification Methods (CVMs): - Chip and Online PIN
73
+ attr_accessor :pin_block_encoding_format
74
+
75
+ # Encrypted PIN. This value is provided by the client software that is installed on the POS terminal. #### Used by **Authorization, PIN Debit** Required when the cardholder enters a PIN and the card cannot verify the PIN, which means that the issuer must verify the PIN. Required for PIN debit credit or PIN debit purchase. Required for online PIN transactions. For authorizations, this field is supported only on these processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX This field is also used by processors that support chip and online PIN transactions. The following table lists the EMV Cards and Cardholder Verification Methods (CVMs) that these processors support: | Processor | Chip and Offline PIN | Chip and Online PIN | Chip and Signature | | --- | --- | --- | --- | | American Express Direct | Yes | Yes | Yes | | Chase Paymentech Solutions | No | No | Yes | | Credit Mutuel-CIC | Yes | Yes | Yes | | CyberSource through VisaNet | Yes | No | Yes | | FDC Nashville Global | Yes | Yes | Yes | | GPN | No | No | Yes | | OmniPay Direct | Yes | No | Yes | | SIX | Yes | Yes | Yes |
76
+ attr_accessor :encrypted_pin
77
+
78
+ # Combination of the device's unique identifier and a transaction counter that is used in the process of decrypting the encrypted PIN. The entity that injected the PIN encryption keys into the terminal decrypts the encrypted PIN and creates this value. For all terminals that are using derived unique key per transaction (DUKPT) encryption, this is generated as a single number within the terminal. #### Used by **Authorization, PIN Debit** - Required when the cardholder enters a PIN and the card cannot verify the PIN, which means that the issuer must verify the PIN. - Required for PIN debit credit or PIN debit purchase. - Required for online PIN transactions For authorizations, this field is supported only on these processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX This field is also used by processors that support chip and online PIN transactions. The following table lists the EMV Cards and Cardholder Verification Methods (CVMs) that these processors support: | Processor | Chip and Offline PIN | Chip and Online PIN | Chip and Signature | | --- | --- | --- | --- | | American Express Direct | Yes | Yes | Yes | | Chase Paymentech Solutions | No | No | Yes | | Credit Mutuel-CIC | Yes | Yes | Yes | | CyberSource through VisaNet | Yes | No | Yes | | FDC Nashville Global | Yes | Yes | Yes | | GPN | No | No | Yes | | OmniPay Direct | Yes | No | Yes | | SIX | Yes | Yes | Yes |
79
+ attr_accessor :encrypted_key_serial_number
80
+
81
+ # 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. For authorizations and credits, this field is supported only on these processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX
82
+ attr_accessor :partner_sdk_version
83
+
84
+ # This 32 byte length-maximum EBCDIC-K value is used to identify which chip application was performed between the terminal and the chip product. The included values are the Application Identifier (AID) and the Dedicated File (DF) name. It is available to early- or full-option VSDC issuers. Only single byte Katakana characters that can map to the EBCDIC-K table expected in the name.
85
+ attr_accessor :emv_application_identifier_and_dedicated_file_name
86
+
87
+ # Flag that indicates whether the terminal is compliant with standards mandated by the Reserve Bank of India for card-present domestic transactions in India. Format: - First character indicates whether the terminal supports terminal line encryption (TLE). Possible values: - 1: Not certified - 2: Certified - Second character indicates whether the terminal supports Unique Key Per Transaction (UKPT) and Derived Unique Key Per Transaction (DUKPT). Possible values: - 1: Not certified - 2: Certified **Example** `21` indicates that the terminal supports TLE but does not support UKPT/DUKPT. You and the terminal vendors are responsible for terminal certification. If you have questions, contact your acquirer. This field is supported only for Mastercard transactions on CyberSource through VisaNet. **Note** On CyberSource through VisaNet, the value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR6 - Position: 92-93 - Field: Mastercard Terminal Compliance Indicator The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks. #### Used by **Authorization** Required for card-present transactions in India. Otherwise, not used.
88
+ attr_accessor :terminal_compliance
89
+
90
+ # Type of mPOS device. Possible values: - 0: Dongle - 1: Phone or tablet This optional field is supported only for Mastercard transactions on CyberSource through VisaNet. The value for this field corresponds to the following data in the TC 33 capture file: - Record: CP01 TCR6 - Position: 141 - Field: Mastercard mPOS Transaction The TC 33 Capture file contains information about the purchases and refunds that a merchant submits to CyberSource. CyberSource through VisaNet creates the TC 33 Capture file at the end of the day and sends it to the merchant's acquirer, who uses this information to facilitate end-of-day clearing processing with payment networks.
91
+ attr_accessor :is_dedicated_hardware_terminal
92
+
93
+ # This is the model name of the reader which is used to accept the payment. Possible values: - E3555 - P400 - A920
94
+ attr_accessor :terminal_model
95
+
96
+ # This is the manufacturer name of the reader which is used to accept the payment. Possible values: - PAX - Verifone - Ingenico
97
+ attr_accessor :terminal_make
98
+
99
+ # #### Visa Platform Connect Mastercard service code that is included in the track data. This field is supported only for Mastercard on Visa Platform Connect. You can extract the service code from the track data and provide it in this API field. When not provided it will be extracted from: - Track2Data for MSR transactions - EMV tag 5F30 for EMV transactions To enable this feature please call support.
100
+ attr_accessor :service_code
101
+
102
+ # Attribute mapping from ruby-style variable name to JSON key.
103
+ def self.attribute_map
104
+ {
105
+ :'terminal_id' => :'terminalId',
106
+ :'terminal_serial_number' => :'terminalSerialNumber',
107
+ :'cardholder_verification_method_used' => :'cardholderVerificationMethodUsed',
108
+ :'lane_number' => :'laneNumber',
109
+ :'cat_level' => :'catLevel',
110
+ :'entry_mode' => :'entryMode',
111
+ :'terminal_capability' => :'terminalCapability',
112
+ :'operating_environment' => :'operatingEnvironment',
113
+ :'emv' => :'emv',
114
+ :'amex_capn_data' => :'amexCapnData',
115
+ :'track_data' => :'trackData',
116
+ :'store_and_forward_indicator' => :'storeAndForwardIndicator',
117
+ :'cardholder_verification_method' => :'cardholderVerificationMethod',
118
+ :'terminal_input_capability' => :'terminalInputCapability',
119
+ :'terminal_card_capture_capability' => :'terminalCardCaptureCapability',
120
+ :'terminal_output_capability' => :'terminalOutputCapability',
121
+ :'terminal_pin_capability' => :'terminalPinCapability',
122
+ :'pin_entry_solution' => :'pinEntrySolution',
123
+ :'device_id' => :'deviceId',
124
+ :'pin_block_encoding_format' => :'pinBlockEncodingFormat',
125
+ :'encrypted_pin' => :'encryptedPin',
126
+ :'encrypted_key_serial_number' => :'encryptedKeySerialNumber',
127
+ :'partner_sdk_version' => :'partnerSdkVersion',
128
+ :'emv_application_identifier_and_dedicated_file_name' => :'emvApplicationIdentifierAndDedicatedFileName',
129
+ :'terminal_compliance' => :'terminalCompliance',
130
+ :'is_dedicated_hardware_terminal' => :'isDedicatedHardwareTerminal',
131
+ :'terminal_model' => :'terminalModel',
132
+ :'terminal_make' => :'terminalMake',
133
+ :'service_code' => :'serviceCode'
134
+ }
135
+ end
136
+
137
+ # Attribute mapping from JSON key to ruby-style variable name.
138
+ def self.json_map
139
+ {
140
+ :'terminal_id' => :'terminal_id',
141
+ :'terminal_serial_number' => :'terminal_serial_number',
142
+ :'cardholder_verification_method_used' => :'cardholder_verification_method_used',
143
+ :'lane_number' => :'lane_number',
144
+ :'cat_level' => :'cat_level',
145
+ :'entry_mode' => :'entry_mode',
146
+ :'terminal_capability' => :'terminal_capability',
147
+ :'operating_environment' => :'operating_environment',
148
+ :'emv' => :'emv',
149
+ :'amex_capn_data' => :'amex_capn_data',
150
+ :'track_data' => :'track_data',
151
+ :'store_and_forward_indicator' => :'store_and_forward_indicator',
152
+ :'cardholder_verification_method' => :'cardholder_verification_method',
153
+ :'terminal_input_capability' => :'terminal_input_capability',
154
+ :'terminal_card_capture_capability' => :'terminal_card_capture_capability',
155
+ :'terminal_output_capability' => :'terminal_output_capability',
156
+ :'terminal_pin_capability' => :'terminal_pin_capability',
157
+ :'pin_entry_solution' => :'pin_entry_solution',
158
+ :'device_id' => :'device_id',
159
+ :'pin_block_encoding_format' => :'pin_block_encoding_format',
160
+ :'encrypted_pin' => :'encrypted_pin',
161
+ :'encrypted_key_serial_number' => :'encrypted_key_serial_number',
162
+ :'partner_sdk_version' => :'partner_sdk_version',
163
+ :'emv_application_identifier_and_dedicated_file_name' => :'emv_application_identifier_and_dedicated_file_name',
164
+ :'terminal_compliance' => :'terminal_compliance',
165
+ :'is_dedicated_hardware_terminal' => :'is_dedicated_hardware_terminal',
166
+ :'terminal_model' => :'terminal_model',
167
+ :'terminal_make' => :'terminal_make',
168
+ :'service_code' => :'service_code'
169
+ }
170
+ end
171
+
172
+ # Attribute type mapping.
173
+ def self.swagger_types
174
+ {
175
+ :'terminal_id' => :'String',
176
+ :'terminal_serial_number' => :'String',
177
+ :'cardholder_verification_method_used' => :'Integer',
178
+ :'lane_number' => :'String',
179
+ :'cat_level' => :'Integer',
180
+ :'entry_mode' => :'String',
181
+ :'terminal_capability' => :'Integer',
182
+ :'operating_environment' => :'String',
183
+ :'emv' => :'Ptsv2paymentsPointOfSaleInformationEmv',
184
+ :'amex_capn_data' => :'String',
185
+ :'track_data' => :'String',
186
+ :'store_and_forward_indicator' => :'String',
187
+ :'cardholder_verification_method' => :'Array<String>',
188
+ :'terminal_input_capability' => :'Array<String>',
189
+ :'terminal_card_capture_capability' => :'String',
190
+ :'terminal_output_capability' => :'String',
191
+ :'terminal_pin_capability' => :'Integer',
192
+ :'pin_entry_solution' => :'String',
193
+ :'device_id' => :'String',
194
+ :'pin_block_encoding_format' => :'Integer',
195
+ :'encrypted_pin' => :'String',
196
+ :'encrypted_key_serial_number' => :'String',
197
+ :'partner_sdk_version' => :'String',
198
+ :'emv_application_identifier_and_dedicated_file_name' => :'String',
199
+ :'terminal_compliance' => :'String',
200
+ :'is_dedicated_hardware_terminal' => :'String',
201
+ :'terminal_model' => :'String',
202
+ :'terminal_make' => :'String',
203
+ :'service_code' => :'String'
204
+ }
205
+ end
206
+
207
+ # Initializes the object
208
+ # @param [Hash] attributes Model attributes in the form of hash
209
+ def initialize(attributes = {})
210
+ return unless attributes.is_a?(Hash)
211
+
212
+ # convert string to symbol for hash key
213
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
214
+
215
+ if attributes.has_key?(:'terminalId')
216
+ self.terminal_id = attributes[:'terminalId']
217
+ end
218
+
219
+ if attributes.has_key?(:'terminalSerialNumber')
220
+ self.terminal_serial_number = attributes[:'terminalSerialNumber']
221
+ end
222
+
223
+ if attributes.has_key?(:'cardholderVerificationMethodUsed')
224
+ self.cardholder_verification_method_used = attributes[:'cardholderVerificationMethodUsed']
225
+ end
226
+
227
+ if attributes.has_key?(:'laneNumber')
228
+ self.lane_number = attributes[:'laneNumber']
229
+ end
230
+
231
+ if attributes.has_key?(:'catLevel')
232
+ self.cat_level = attributes[:'catLevel']
233
+ end
234
+
235
+ if attributes.has_key?(:'entryMode')
236
+ self.entry_mode = attributes[:'entryMode']
237
+ end
238
+
239
+ if attributes.has_key?(:'terminalCapability')
240
+ self.terminal_capability = attributes[:'terminalCapability']
241
+ end
242
+
243
+ if attributes.has_key?(:'operatingEnvironment')
244
+ self.operating_environment = attributes[:'operatingEnvironment']
245
+ end
246
+
247
+ if attributes.has_key?(:'emv')
248
+ self.emv = attributes[:'emv']
249
+ end
250
+
251
+ if attributes.has_key?(:'amexCapnData')
252
+ self.amex_capn_data = attributes[:'amexCapnData']
253
+ end
254
+
255
+ if attributes.has_key?(:'trackData')
256
+ self.track_data = attributes[:'trackData']
257
+ end
258
+
259
+ if attributes.has_key?(:'storeAndForwardIndicator')
260
+ self.store_and_forward_indicator = attributes[:'storeAndForwardIndicator']
261
+ end
262
+
263
+ if attributes.has_key?(:'cardholderVerificationMethod')
264
+ if (value = attributes[:'cardholderVerificationMethod']).is_a?(Array)
265
+ self.cardholder_verification_method = value
266
+ end
267
+ end
268
+
269
+ if attributes.has_key?(:'terminalInputCapability')
270
+ if (value = attributes[:'terminalInputCapability']).is_a?(Array)
271
+ self.terminal_input_capability = value
272
+ end
273
+ end
274
+
275
+ if attributes.has_key?(:'terminalCardCaptureCapability')
276
+ self.terminal_card_capture_capability = attributes[:'terminalCardCaptureCapability']
277
+ end
278
+
279
+ if attributes.has_key?(:'terminalOutputCapability')
280
+ self.terminal_output_capability = attributes[:'terminalOutputCapability']
281
+ end
282
+
283
+ if attributes.has_key?(:'terminalPinCapability')
284
+ self.terminal_pin_capability = attributes[:'terminalPinCapability']
285
+ end
286
+
287
+ if attributes.has_key?(:'pinEntrySolution')
288
+ self.pin_entry_solution = attributes[:'pinEntrySolution']
289
+ end
290
+
291
+ if attributes.has_key?(:'deviceId')
292
+ self.device_id = attributes[:'deviceId']
293
+ end
294
+
295
+ if attributes.has_key?(:'pinBlockEncodingFormat')
296
+ self.pin_block_encoding_format = attributes[:'pinBlockEncodingFormat']
297
+ end
298
+
299
+ if attributes.has_key?(:'encryptedPin')
300
+ self.encrypted_pin = attributes[:'encryptedPin']
301
+ end
302
+
303
+ if attributes.has_key?(:'encryptedKeySerialNumber')
304
+ self.encrypted_key_serial_number = attributes[:'encryptedKeySerialNumber']
305
+ end
306
+
307
+ if attributes.has_key?(:'partnerSdkVersion')
308
+ self.partner_sdk_version = attributes[:'partnerSdkVersion']
309
+ end
310
+
311
+ if attributes.has_key?(:'emvApplicationIdentifierAndDedicatedFileName')
312
+ self.emv_application_identifier_and_dedicated_file_name = attributes[:'emvApplicationIdentifierAndDedicatedFileName']
313
+ end
314
+
315
+ if attributes.has_key?(:'terminalCompliance')
316
+ self.terminal_compliance = attributes[:'terminalCompliance']
317
+ end
318
+
319
+ if attributes.has_key?(:'isDedicatedHardwareTerminal')
320
+ self.is_dedicated_hardware_terminal = attributes[:'isDedicatedHardwareTerminal']
321
+ end
322
+
323
+ if attributes.has_key?(:'terminalModel')
324
+ self.terminal_model = attributes[:'terminalModel']
325
+ end
326
+
327
+ if attributes.has_key?(:'terminalMake')
328
+ self.terminal_make = attributes[:'terminalMake']
329
+ end
330
+
331
+ if attributes.has_key?(:'serviceCode')
332
+ self.service_code = attributes[:'serviceCode']
333
+ end
334
+ end
335
+
336
+ # Show invalid properties with the reasons. Usually used together with valid?
337
+ # @return Array for valid properties with the reasons
338
+ def list_invalid_properties
339
+ invalid_properties = Array.new
340
+ invalid_properties
341
+ end
342
+
343
+ # Check to see if the all the properties in the model are valid
344
+ # @return true if the model is valid
345
+ def valid?
346
+ true
347
+ end
348
+
349
+ # Custom attribute writer method with validation
350
+ # @param [Object] terminal_id Value to be assigned
351
+ def terminal_id=(terminal_id)
352
+ @terminal_id = terminal_id
353
+ end
354
+
355
+ # Custom attribute writer method with validation
356
+ # @param [Object] terminal_serial_number Value to be assigned
357
+ def terminal_serial_number=(terminal_serial_number)
358
+ @terminal_serial_number = terminal_serial_number
359
+ end
360
+
361
+ # Custom attribute writer method with validation
362
+ # @param [Object] lane_number Value to be assigned
363
+ def lane_number=(lane_number)
364
+ @lane_number = lane_number
365
+ end
366
+
367
+ # Custom attribute writer method with validation
368
+ # @param [Object] cat_level Value to be assigned
369
+ def cat_level=(cat_level)
370
+ @cat_level = cat_level
371
+ end
372
+
373
+ # Custom attribute writer method with validation
374
+ # @param [Object] entry_mode Value to be assigned
375
+ def entry_mode=(entry_mode)
376
+ @entry_mode = entry_mode
377
+ end
378
+
379
+ # Custom attribute writer method with validation
380
+ # @param [Object] terminal_capability Value to be assigned
381
+ def terminal_capability=(terminal_capability)
382
+ @terminal_capability = terminal_capability
383
+ end
384
+
385
+ # Custom attribute writer method with validation
386
+ # @param [Object] operating_environment Value to be assigned
387
+ def operating_environment=(operating_environment)
388
+ @operating_environment = operating_environment
389
+ end
390
+
391
+ # Custom attribute writer method with validation
392
+ # @param [Object] amex_capn_data Value to be assigned
393
+ def amex_capn_data=(amex_capn_data)
394
+ @amex_capn_data = amex_capn_data
395
+ end
396
+
397
+ # Custom attribute writer method with validation
398
+ # @param [Object] store_and_forward_indicator Value to be assigned
399
+ def store_and_forward_indicator=(store_and_forward_indicator)
400
+ @store_and_forward_indicator = store_and_forward_indicator
401
+ end
402
+
403
+ # Custom attribute writer method with validation
404
+ # @param [Object] terminal_card_capture_capability Value to be assigned
405
+ def terminal_card_capture_capability=(terminal_card_capture_capability)
406
+ @terminal_card_capture_capability = terminal_card_capture_capability
407
+ end
408
+
409
+ # Custom attribute writer method with validation
410
+ # @param [Object] terminal_output_capability Value to be assigned
411
+ def terminal_output_capability=(terminal_output_capability)
412
+ @terminal_output_capability = terminal_output_capability
413
+ end
414
+
415
+ # Custom attribute writer method with validation
416
+ # @param [Object] device_id Value to be assigned
417
+ def device_id=(device_id)
418
+ @device_id = device_id
419
+ end
420
+
421
+ # Custom attribute writer method with validation
422
+ # @param [Object] pin_block_encoding_format Value to be assigned
423
+ def pin_block_encoding_format=(pin_block_encoding_format)
424
+ @pin_block_encoding_format = pin_block_encoding_format
425
+ end
426
+
427
+ # Custom attribute writer method with validation
428
+ # @param [Object] encrypted_pin Value to be assigned
429
+ def encrypted_pin=(encrypted_pin)
430
+ @encrypted_pin = encrypted_pin
431
+ end
432
+
433
+ # Custom attribute writer method with validation
434
+ # @param [Object] encrypted_key_serial_number Value to be assigned
435
+ def encrypted_key_serial_number=(encrypted_key_serial_number)
436
+ @encrypted_key_serial_number = encrypted_key_serial_number
437
+ end
438
+
439
+ # Custom attribute writer method with validation
440
+ # @param [Object] partner_sdk_version Value to be assigned
441
+ def partner_sdk_version=(partner_sdk_version)
442
+ @partner_sdk_version = partner_sdk_version
443
+ end
444
+
445
+ # Custom attribute writer method with validation
446
+ # @param [Object] emv_application_identifier_and_dedicated_file_name Value to be assigned
447
+ def emv_application_identifier_and_dedicated_file_name=(emv_application_identifier_and_dedicated_file_name)
448
+ @emv_application_identifier_and_dedicated_file_name = emv_application_identifier_and_dedicated_file_name
449
+ end
450
+
451
+ # Custom attribute writer method with validation
452
+ # @param [Object] terminal_compliance Value to be assigned
453
+ def terminal_compliance=(terminal_compliance)
454
+ @terminal_compliance = terminal_compliance
455
+ end
456
+
457
+ # Custom attribute writer method with validation
458
+ # @param [Object] is_dedicated_hardware_terminal Value to be assigned
459
+ def is_dedicated_hardware_terminal=(is_dedicated_hardware_terminal)
460
+ @is_dedicated_hardware_terminal = is_dedicated_hardware_terminal
461
+ end
462
+
463
+ # Custom attribute writer method with validation
464
+ # @param [Object] terminal_model Value to be assigned
465
+ def terminal_model=(terminal_model)
466
+ @terminal_model = terminal_model
467
+ end
468
+
469
+ # Custom attribute writer method with validation
470
+ # @param [Object] terminal_make Value to be assigned
471
+ def terminal_make=(terminal_make)
472
+ @terminal_make = terminal_make
473
+ end
474
+
475
+ # Custom attribute writer method with validation
476
+ # @param [Object] service_code Value to be assigned
477
+ def service_code=(service_code)
478
+ @service_code = service_code
479
+ end
480
+
481
+ # Checks equality by comparing each attribute.
482
+ # @param [Object] Object to be compared
483
+ def ==(o)
484
+ return true if self.equal?(o)
485
+ self.class == o.class &&
486
+ terminal_id == o.terminal_id &&
487
+ terminal_serial_number == o.terminal_serial_number &&
488
+ cardholder_verification_method_used == o.cardholder_verification_method_used &&
489
+ lane_number == o.lane_number &&
490
+ cat_level == o.cat_level &&
491
+ entry_mode == o.entry_mode &&
492
+ terminal_capability == o.terminal_capability &&
493
+ operating_environment == o.operating_environment &&
494
+ emv == o.emv &&
495
+ amex_capn_data == o.amex_capn_data &&
496
+ track_data == o.track_data &&
497
+ store_and_forward_indicator == o.store_and_forward_indicator &&
498
+ cardholder_verification_method == o.cardholder_verification_method &&
499
+ terminal_input_capability == o.terminal_input_capability &&
500
+ terminal_card_capture_capability == o.terminal_card_capture_capability &&
501
+ terminal_output_capability == o.terminal_output_capability &&
502
+ terminal_pin_capability == o.terminal_pin_capability &&
503
+ pin_entry_solution == o.pin_entry_solution &&
504
+ device_id == o.device_id &&
505
+ pin_block_encoding_format == o.pin_block_encoding_format &&
506
+ encrypted_pin == o.encrypted_pin &&
507
+ encrypted_key_serial_number == o.encrypted_key_serial_number &&
508
+ partner_sdk_version == o.partner_sdk_version &&
509
+ emv_application_identifier_and_dedicated_file_name == o.emv_application_identifier_and_dedicated_file_name &&
510
+ terminal_compliance == o.terminal_compliance &&
511
+ is_dedicated_hardware_terminal == o.is_dedicated_hardware_terminal &&
512
+ terminal_model == o.terminal_model &&
513
+ terminal_make == o.terminal_make &&
514
+ service_code == o.service_code
515
+ end
516
+
517
+ # @see the `==` method
518
+ # @param [Object] Object to be compared
519
+ def eql?(o)
520
+ self == o
521
+ end
522
+
523
+ # Calculates hash code according to all attributes.
524
+ # @return [Fixnum] Hash code
525
+ def hash
526
+ [terminal_id, terminal_serial_number, cardholder_verification_method_used, lane_number, cat_level, entry_mode, terminal_capability, operating_environment, emv, amex_capn_data, track_data, store_and_forward_indicator, cardholder_verification_method, terminal_input_capability, terminal_card_capture_capability, terminal_output_capability, terminal_pin_capability, pin_entry_solution, device_id, pin_block_encoding_format, encrypted_pin, encrypted_key_serial_number, partner_sdk_version, emv_application_identifier_and_dedicated_file_name, terminal_compliance, is_dedicated_hardware_terminal, terminal_model, terminal_make, service_code].hash
527
+ end
528
+
529
+ # Builds the object from hash
530
+ # @param [Hash] attributes Model attributes in the form of hash
531
+ # @return [Object] Returns the model itself
532
+ def build_from_hash(attributes)
533
+ return nil unless attributes.is_a?(Hash)
534
+ self.class.swagger_types.each_pair do |key, type|
535
+ if type =~ /\AArray<(.*)>/i
536
+ # check to ensure the input is an array given that the the attribute
537
+ # is documented as an array but the input is not
538
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
539
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
540
+ end
541
+ elsif !attributes[self.class.attribute_map[key]].nil?
542
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
543
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
544
+ end
545
+
546
+ self
547
+ end
548
+
549
+ # Deserializes the data based on type
550
+ # @param string type Data type
551
+ # @param string value Value to be deserialized
552
+ # @return [Object] Deserialized data
553
+ def _deserialize(type, value)
554
+ case type.to_sym
555
+ when :DateTime
556
+ DateTime.parse(value)
557
+ when :Date
558
+ Date.parse(value)
559
+ when :String
560
+ value.to_s
561
+ when :Integer
562
+ value.to_i
563
+ when :Float
564
+ value.to_f
565
+ when :BOOLEAN
566
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
567
+ true
568
+ else
569
+ false
570
+ end
571
+ when :Object
572
+ # generic object (usually a Hash), return directly
573
+ value
574
+ when /\AArray<(?<inner_type>.+)>\z/
575
+ inner_type = Regexp.last_match[:inner_type]
576
+ value.map { |v| _deserialize(inner_type, v) }
577
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
578
+ k_type = Regexp.last_match[:k_type]
579
+ v_type = Regexp.last_match[:v_type]
580
+ {}.tap do |hash|
581
+ value.each do |k, v|
582
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
583
+ end
584
+ end
585
+ else # model
586
+ temp_model = CyberSource.const_get(type).new
587
+ temp_model.build_from_hash(value)
588
+ end
589
+ end
590
+
591
+ # Returns the string representation of the object
592
+ # @return [String] String presentation of the object
593
+ def to_s
594
+ to_hash.to_s
595
+ end
596
+
597
+ # to_body is an alias to to_hash (backward compatibility)
598
+ # @return [Hash] Returns the object in the form of hash
599
+ def to_body
600
+ to_hash
601
+ end
602
+
603
+ # Returns the object in the form of hash
604
+ # @return [Hash] Returns the object in the form of hash
605
+ def to_hash
606
+ hash = {}
607
+ self.class.attribute_map.each_pair do |attr, param|
608
+ value = self.send(attr)
609
+ next if value.nil?
610
+ hash[param] = _to_hash(value)
611
+ end
612
+ hash
613
+ end
614
+
615
+ # Outputs non-array value in the form of hash
616
+ # For object, use to_hash. Otherwise, just return the value
617
+ # @param [Object] value Any valid value
618
+ # @return [Hash] Returns the value in the form of hash
619
+ def _to_hash(value)
620
+ if value.is_a?(Array)
621
+ value.compact.map { |v| _to_hash(v) }
622
+ elsif value.is_a?(Hash)
623
+ {}.tap do |hash|
624
+ value.each { |k, v| hash[k] = _to_hash(v) }
625
+ end
626
+ elsif value.respond_to? :to_hash
627
+ value.to_hash
628
+ else
629
+ value
630
+ end
631
+ end
632
+ end
633
+ end