cybersource_rest_client 0.0.67 → 0.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +12 -0
  3. data/lib/cybersource_rest_client/api/payment_instrument_api.rb +9 -0
  4. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information.rb +314 -314
  5. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +437 -437
  6. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc.rb +337 -337
  7. data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc_deposit_bank_account.rb +297 -297
  8. data/lib/cybersource_rest_client/models/boardingv1registrations_registration_information.rb +271 -271
  9. data/lib/cybersource_rest_client/models/card_processing_config_common.rb +433 -433
  10. data/lib/cybersource_rest_client/models/card_processing_config_common_processors.rb +719 -719
  11. data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management_configuration_information_configurations.rb +15 -5
  12. data/lib/cybersource_rest_client/models/commerce_solutions_products_token_management_configuration_information_configurations_vault.rb +251 -0
  13. data/lib/cybersource_rest_client/models/create_order_request.rb +229 -229
  14. data/lib/cybersource_rest_client/models/create_payment_request.rb +11 -1
  15. data/lib/cybersource_rest_client/models/e_check_config_common_internal_only_processors.rb +8 -4
  16. data/lib/cybersource_rest_client/models/e_check_config_common_processors.rb +4 -2
  17. data/lib/cybersource_rest_client/models/e_check_config_features_account_validation_service_internal_only_processors.rb +4 -2
  18. data/lib/cybersource_rest_client/models/e_check_config_features_account_validation_service_processors.rb +6 -4
  19. data/lib/cybersource_rest_client/models/generate_capture_context_request.rb +230 -227
  20. data/lib/cybersource_rest_client/models/generate_unified_checkout_capture_context_request.rb +283 -293
  21. data/lib/cybersource_rest_client/models/inline_response_200_1_integration_information_tenant_configurations.rb +263 -263
  22. data/lib/cybersource_rest_client/models/inline_response_201_1.rb +2 -2
  23. data/lib/cybersource_rest_client/models/inline_response_201_2.rb +281 -281
  24. data/lib/cybersource_rest_client/models/inline_response_201_2_integration_information_tenant_configurations.rb +253 -253
  25. data/lib/cybersource_rest_client/models/inline_response_201_2_registration_information.rb +222 -222
  26. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing_configuration_status.rb +255 -255
  27. data/lib/cybersource_rest_client/models/inline_response_201_2_setups_payments_card_processing_subscription_status.rb +234 -234
  28. data/lib/cybersource_rest_client/models/inline_response_400_1.rb +242 -242
  29. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +235 -235
  30. data/lib/cybersource_rest_client/models/inline_response_404_1.rb +235 -235
  31. data/lib/cybersource_rest_client/models/inline_response_422_1.rb +235 -235
  32. data/lib/cybersource_rest_client/models/inline_response_500_2.rb +223 -223
  33. data/lib/cybersource_rest_client/models/oct_create_payment_request.rb +15 -5
  34. data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +15 -5
  35. data/lib/cybersource_rest_client/models/payments_products_card_present_connect_subscription_information.rb +202 -202
  36. data/lib/cybersource_rest_client/models/payments_products_card_processing_subscription_information.rb +215 -215
  37. data/lib/cybersource_rest_client/models/payments_products_differential_fee_subscription_information.rb +212 -212
  38. data/lib/cybersource_rest_client/models/payments_products_digital_payments_subscription_information.rb +215 -215
  39. data/lib/cybersource_rest_client/models/payments_products_e_check_subscription_information.rb +215 -215
  40. data/lib/cybersource_rest_client/models/payments_products_payer_authentication_subscription_information.rb +202 -202
  41. data/lib/cybersource_rest_client/models/payments_products_service_fee_configuration_information_configurations_payment_information.rb +234 -234
  42. data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +15 -5
  43. data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +15 -5
  44. data/lib/cybersource_rest_client/models/post_payment_credentials_request.rb +1 -1
  45. data/lib/cybersource_rest_client/models/pts_v2_create_order_post201_response.rb +269 -269
  46. data/lib/cybersource_rest_client/models/pts_v2_create_order_post201_response_buyer_information.rb +196 -196
  47. data/lib/cybersource_rest_client/models/pts_v2_create_order_post201_response_processor_information.rb +224 -224
  48. data/lib/cybersource_rest_client/models/pts_v2_create_order_post400_response.rb +224 -224
  49. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_1_processor_information.rb +213 -213
  50. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +312 -295
  51. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +305 -305
  52. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_embedded_actions.rb +189 -189
  53. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_embedded_actions_ap_capture.rb +190 -190
  54. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +263 -263
  55. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_buyer_information_personal_identification.rb +207 -207
  56. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_payment_information_e_wallet.rb +241 -241
  57. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +18 -1
  58. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions.rb +25 -5
  59. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_token_create.rb +212 -0
  60. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_embedded_actions_token_update.rb +212 -0
  61. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +22 -5
  62. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +309 -309
  63. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +247 -227
  64. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_authorization_options.rb +196 -0
  65. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_capture_options.rb +196 -196
  66. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_purchase_options.rb +247 -0
  67. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +831 -814
  68. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_seller_protection.rb +237 -237
  69. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +313 -313
  70. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +320 -309
  71. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +224 -224
  72. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +15 -5
  73. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processing_information.rb +189 -0
  74. data/lib/cybersource_rest_client/models/pts_v2_update_order_patch201_response.rb +200 -200
  75. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +205 -205
  76. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +302 -302
  77. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +189 -189
  78. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information_emv.rb +196 -196
  79. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +318 -318
  80. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_payouts_options.rb +282 -282
  81. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +446 -446
  82. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +321 -321
  83. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_personal_identification.rb +256 -256
  84. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +533 -533
  85. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +222 -222
  86. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +317 -317
  87. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_personal_identification.rb +256 -256
  88. data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +1 -1
  89. data/lib/cybersource_rest_client/models/ptsv2intents_client_reference_information.rb +196 -196
  90. data/lib/cybersource_rest_client/models/ptsv2intents_merchant_information.rb +223 -223
  91. data/lib/cybersource_rest_client/models/ptsv2intents_merchant_information_merchant_descriptor.rb +207 -207
  92. data/lib/cybersource_rest_client/models/ptsv2intents_order_information.rb +231 -231
  93. data/lib/cybersource_rest_client/models/ptsv2intents_order_information_amount_details.rb +315 -315
  94. data/lib/cybersource_rest_client/models/ptsv2intents_order_information_bill_to.rb +196 -196
  95. data/lib/cybersource_rest_client/models/ptsv2intents_order_information_invoice_details.rb +190 -190
  96. data/lib/cybersource_rest_client/models/ptsv2intents_order_information_line_items.rb +309 -309
  97. data/lib/cybersource_rest_client/models/ptsv2intents_order_information_ship_to.rb +332 -332
  98. data/lib/cybersource_rest_client/models/ptsv2intents_payment_information.rb +189 -189
  99. data/lib/cybersource_rest_client/models/ptsv2intents_payment_information_payment_type.rb +200 -200
  100. data/lib/cybersource_rest_client/models/ptsv2intents_payment_information_payment_type_method.rb +190 -190
  101. data/lib/cybersource_rest_client/models/ptsv2intents_processing_information.rb +219 -219
  102. data/lib/cybersource_rest_client/models/ptsv2intents_processing_information_authorization_options.rb +196 -196
  103. data/lib/cybersource_rest_client/models/ptsv2intentsid_merchant_information.rb +189 -189
  104. data/lib/cybersource_rest_client/models/ptsv2intentsid_order_information.rb +221 -221
  105. data/lib/cybersource_rest_client/models/ptsv2intentsid_processing_information.rb +192 -192
  106. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +90 -5
  107. data/lib/cybersource_rest_client/models/ptsv2payments_agreement_information.rb +207 -207
  108. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +229 -229
  109. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +56 -5
  110. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +1 -1
  111. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +22 -5
  112. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +651 -651
  113. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_octsurcharge.rb +196 -196
  114. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +18 -1
  115. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +19 -2
  116. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +789 -721
  117. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +529 -467
  118. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +298 -264
  119. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +6 -78
  120. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options_bonuses.rb +213 -0
  121. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb +56 -5
  122. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +147 -28
  123. data/lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb +89 -28
  124. data/lib/cybersource_rest_client/models/ptsv2payments_sender_information_account.rb +230 -0
  125. data/lib/cybersource_rest_client/models/{tss_v2_transactions_get200_response_unscheduled_payment_information.rb → ptsv2payments_unscheduled_payment_information.rb} +7 -1
  126. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +1 -1
  127. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +230 -230
  128. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options.rb +264 -247
  129. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb +22 -5
  130. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +22 -5
  131. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +22 -5
  132. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_aggregator_information.rb → ptsv2payouts_aggregator_information.rb} +325 -240
  133. data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb → ptsv2payouts_aggregator_information_sub_merchant.rb} +196 -196
  134. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +32 -5
  135. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_purchase_options.rb +213 -0
  136. data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +90 -5
  137. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +22 -5
  138. data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_processing_information.rb +192 -192
  139. data/lib/cybersource_rest_client/models/ptsv2voids_processing_information.rb +7 -1
  140. data/lib/cybersource_rest_client/models/push_funds201_response.rb +337 -337
  141. data/lib/cybersource_rest_client/models/push_funds201_response_error_information.rb +225 -225
  142. data/lib/cybersource_rest_client/models/push_funds201_response_payment_information.rb +189 -189
  143. data/lib/cybersource_rest_client/models/push_funds201_response_payment_information_tokenized_card.rb +205 -205
  144. data/lib/cybersource_rest_client/models/push_funds201_response_processing_information.rb +189 -189
  145. data/lib/cybersource_rest_client/models/push_funds201_response_processing_information_domestic_national_net.rb +197 -197
  146. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +329 -329
  147. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information_routing.rb +196 -196
  148. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information_settlement.rb +207 -207
  149. data/lib/cybersource_rest_client/models/push_funds201_response_recipient_information.rb +206 -206
  150. data/lib/cybersource_rest_client/models/push_funds502_response.rb +246 -246
  151. data/lib/cybersource_rest_client/models/push_funds_request.rb +264 -264
  152. data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information.rb +206 -206
  153. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +1 -10
  154. data/lib/cybersource_rest_client/models/sa_config_payment_methods.rb +191 -191
  155. data/lib/cybersource_rest_client/models/tms_bin_lookup.rb +200 -0
  156. data/lib/cybersource_rest_client/models/{inline_response_201_1_issuer_information.rb → tms_bin_lookup_issuer_information.rb} +1 -1
  157. data/lib/cybersource_rest_client/models/{inline_response_201_1_payment_account_information.rb → tms_bin_lookup_payment_account_information.rb} +4 -4
  158. data/lib/cybersource_rest_client/models/{inline_response_201_1_payment_account_information_card.rb → tms_bin_lookup_payment_account_information_card.rb} +2 -2
  159. data/lib/cybersource_rest_client/models/{inline_response_201_1_payment_account_information_card_brands.rb → tms_bin_lookup_payment_account_information_card_brands.rb} +1 -1
  160. data/lib/cybersource_rest_client/models/{inline_response_201_1_payment_account_information_features.rb → tms_bin_lookup_payment_account_information_features.rb} +1 -1
  161. data/lib/cybersource_rest_client/models/{inline_response_201_1_payment_account_information_network.rb → tms_bin_lookup_payment_account_information_network.rb} +1 -1
  162. data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art.rb → tms_card_art.rb} +20 -39
  163. data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_brand_logo_asset.rb → tms_card_art_brand_logo_asset.rb} +4 -3
  164. data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_icon_asset__links.rb → tms_card_art_brand_logo_asset__links.rb} +2 -2
  165. data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_brand_logo_asset__links_self.rb → tms_card_art_brand_logo_asset__links_self.rb} +2 -2
  166. data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_co_brand_logo_asset.rb → tms_card_art_combined_asset.rb} +4 -3
  167. data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_combined_asset__links.rb → tms_card_art_combined_asset__links.rb} +2 -2
  168. data/lib/cybersource_rest_client/models/tms_card_art_combined_asset__links_self.rb +190 -0
  169. data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_icon_asset.rb → tms_card_art_icon_asset.rb} +4 -3
  170. data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_brand_logo_asset__links.rb → tms_card_art_icon_asset__links.rb} +2 -2
  171. data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_co_brand_logo_asset__links_self.rb → tms_card_art_icon_asset__links_self.rb} +2 -2
  172. data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_combined_asset.rb → tms_card_art_issuer_logo_asset.rb} +4 -3
  173. data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_background_asset__links.rb → tms_card_art_issuer_logo_asset__links.rb} +2 -2
  174. data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_combined_asset__links_self.rb → tms_card_art_issuer_logo_asset__links_self.rb} +2 -2
  175. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier.rb +15 -5
  176. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier__embedded.rb +189 -0
  177. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bank_account.rb +1 -1
  178. data/lib/cybersource_rest_client/models/tms_network_token_services.rb +239 -0
  179. data/lib/cybersource_rest_client/models/tms_network_token_services_american_express_token_service.rb +253 -0
  180. data/lib/cybersource_rest_client/models/tms_network_token_services_mastercard_digital_enablement_service.rb +227 -0
  181. data/lib/cybersource_rest_client/models/tms_network_token_services_notifications.rb +190 -0
  182. data/lib/cybersource_rest_client/models/tms_network_token_services_payment_credentials.rb +190 -0
  183. data/lib/cybersource_rest_client/models/tms_network_token_services_synchronous_provisioning.rb +190 -0
  184. data/lib/cybersource_rest_client/models/tms_network_token_services_visa_token_service.rb +244 -0
  185. data/lib/cybersource_rest_client/models/tms_nullify.rb +212 -0
  186. data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info.rb +1 -1
  187. data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info_bank_transfer_options.rb +1 -1
  188. data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_background_asset.rb → tms_sensitive_privileges.rb} +10 -20
  189. data/lib/cybersource_rest_client/models/tms_token_formats.rb +223 -0
  190. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card.rb +146 -60
  191. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card__links.rb +189 -0
  192. data/lib/cybersource_rest_client/models/{tmsv2_tokenized_card_metadata_card_art_background_asset__links_self.rb → tmsv2_tokenized_card__links_self.rb} +2 -2
  193. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_card.rb +44 -16
  194. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata.rb +16 -5
  195. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer.rb +213 -0
  196. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_passcode.rb +191 -0
  197. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +1 -1
  198. data/lib/cybersource_rest_client/models/token_permissions.rb +223 -0
  199. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +1 -1
  200. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +1 -1
  201. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -1
  202. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +251 -245
  203. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options.rb +80 -5
  204. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +383 -383
  205. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_multi_processor_routing.rb +235 -235
  206. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -1
  207. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processor_information.rb +223 -223
  208. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +392 -392
  209. data/lib/cybersource_rest_client/models/update_order_request.rb +229 -229
  210. data/lib/cybersource_rest_client/models/upv1capturecontexts_capture_mandate.rb +253 -253
  211. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_amount_details.rb +201 -201
  212. data/lib/cybersource_rest_client/models/vt_config_card_not_present_global_payment_information_basic_information.rb +273 -273
  213. data/lib/cybersource_rest_client/models/vt_config_card_not_present_global_payment_information_payment_information.rb +315 -315
  214. data/lib/cybersource_rest_client.rb +48 -30
  215. metadata +51 -33
  216. data/lib/cybersource_rest_client/models/microformv2sessions_checkout_api_initialization.rb +0 -281
  217. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_co_brand_logo_asset__links.rb +0 -189
  218. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_icon_asset__links_self.rb +0 -190
  219. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_issuer_logo_asset.rb +0 -200
  220. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_issuer_logo_asset__links.rb +0 -189
  221. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_card_art_issuer_logo_asset__links_self.rb +0 -190
  222. data/lib/cybersource_rest_client/models/upv1capturecontexts_checkout_api_initialization.rb +0 -280
@@ -1,719 +1,719 @@
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 CardProcessingConfigCommonProcessors
16
- # Determines the batching group that separates merchants for special batching times. Batching groups can separate merchant batches by the following criteria: * Timezone * Merchant deadlines * Large merchants (top 10) * Merchants with Service-Level Agreements Applicable for Chase Paymentech Salem (chasepaymentechsalem), Streamline (streamline2), Six (six), Barclays (barclays2), Paymentech Tampa (paymentechtampa), CMCIC (cmcic), FDC Nashville (smartfdc), RUPAY, American Express Direct (amexdirect), GPN (gpn), VPC, GPX (gpx), CB2A, Barclays HISO (barclayshiso), TSYS (tsys) and FDI Global (fdiglobal) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>Yes</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td></tr> </table>
17
- attr_accessor :batch_group
18
-
19
- # Indicates the type of money transfer used in the transaction. Applicable for VPC and GPX (gpx) processors.
20
- attr_accessor :business_application_id
21
-
22
- # Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant. Applicable for GPX (gpx) and VPC processors.
23
- attr_accessor :merchant_verification_value
24
-
25
- # Routing Number to identify banks within the United States. Applicable for GPX (gpx) processors.
26
- attr_accessor :aba_number
27
-
28
- attr_accessor :acquirer
29
-
30
- # Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>Yes</td><td>1</td><td>15</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays</td><td>cp, cnp, hybrid</td><td>Yes</td><td>1</td><td>11</td><td>^[0-9a-zA-Z]+$</td></tr> </table>
31
- attr_accessor :merchant_id
32
-
33
- # The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays HISO</td><td>cp</td><td>No</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> </table>
34
- attr_accessor :terminal_id
35
-
36
- # Valid values are: * VISA * MASTERCARD * AMERICAN_EXPRESS * CUP * EFTPOS * DINERS_CLUB * DISCOVER * JCB
37
- attr_accessor :payment_types
38
-
39
- # Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)
40
- attr_accessor :currencies
41
-
42
- # This field is used as aggregator Id when Visa payment type is selected
43
- attr_accessor :visa_aggregator_id
44
-
45
- # This field is used as aggregator Id when Amex payment type is selected
46
- attr_accessor :amex_aggregator_id
47
-
48
- # This field is used as aggregator Id when Master Card payment type is selected
49
- attr_accessor :master_card_aggregator_id
50
-
51
- # The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors.
52
- attr_accessor :sic_code
53
-
54
- # Allows multiple captures for a single authorization transaction. Applicable for Paymentech Tampa (paymentechtampa), VPC, American Express Direct (amexdirect) and GPX (gpx) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>Yes</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table>
55
- attr_accessor :allow_multiple_bills
56
-
57
- # Enables partner to enable/disable merchant descriptors values. Applicable for VPC, EFTPOS and CUP processors.
58
- attr_accessor :allow_merchant_descriptor_override
59
-
60
- # To enable airline transactions. Applicable for TSYS (tsys), VPC, Elavon Americas (elavonamericas), FDI Global (fdiglobal), GPX (gpx), Barclays (barclays2) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td></tr> </table>
61
- attr_accessor :enhanced_data
62
-
63
- # Indicates whether the merchant is compliant with Hotel and Motel Fire Safety Act of 1990. Applicable for GPX (gpx) and VPC processors.
64
- attr_accessor :fire_safety_indicator
65
-
66
- # To enable quasi-cash transactions. A quasi-cash transaction is a cash-like transaction for the sale of items that are directly convertible to cash, such as:- Casino gaming chips, Money orders, Wire transfers. Applicable for GPX (gpx), TSYS (tsys), Barclays (barclays2) and VPC processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>No</td></tr> </table>
67
- attr_accessor :quasi_cash
68
-
69
- # Identifier assigned by the acquirer. Applicable for RUPAY, VPC and Six (six) processors.
70
- attr_accessor :acquirer_merchant_id
71
-
72
- # Enables Enhanced AVS/Automated Address Verification Plus (AAV+). Valid values: \"basic\" - Standard address verification system. When a processor supports AVS for a transaction's card type, the issuing bank uses AVS to confirm that the customer has provided the correct billing address. When a customer provides incorrect information, the transaction might be fraudulent. \"basic + name\" - Enhanced address verification system. Consists of the standard AVS functionality plus verification of some additional fields. The additional fields that are verified for Enhanced AVS are: - customer_firstname - customer_lastname \"basic + name + shipto\" - Automated address verification plus. Consists of the Enhanced AVS functionality plus verification of some additional fields. AAV+ intended for merchants who deliver physical goods to a different address than the billing address. AAV+ verifies the additional fields only when the standard and Enhanced AVS tests pass first. For information about Enhanced AVS - The additional fields that are verified for AAV+ are: - ship_to_firstname - ship_to_lastname - ship_to_address1 - ship_to_country - ship_to_zip - ship_to_phone - customer_phone(American Express Direct only) Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>basic</td></tr> </table>
73
- attr_accessor :avs_format
74
-
75
- # Amex Direct specific merchant config value which determines what length (either 9 or Unique 12-char reference number) of reference number will be CYBS generated if the merchant does not pass in a trans_ref_no. Can be any combination of alpha, numeric and special characters, and/or binary data in hexadecimal. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>
76
- attr_accessor :enable_long_trans_ref_no
77
-
78
- # Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>
79
- attr_accessor :enable_level2
80
-
81
- # This flag related to multiple transaction advice addendum field. It is used to display descriptive information about a transaction on customer's American Express card statement. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>
82
- attr_accessor :enable_multiple_transaction_advice_addendum
83
-
84
- # Advice addendum field. It is used to display descriptive information about a transaction on customer's American Express card statement. Applicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>40</td><td>^[0-9a-zA-Z&#92;-\\s.]+$</td></tr> </table>
85
- attr_accessor :amex_transaction_advice_addendum1
86
-
87
- # This flag is related to offer/line item details to be included instead of sending one line item, and a grand total. Example, offer0, offer 1...offer n. Applicable for American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>
88
- attr_accessor :enable_multi_line_items
89
-
90
- # To enable merchant to send in transaction reference number (unique reconciliation ID). Applicable for VPC, Vero (vero), FDI Global (fdiglobal), Six (six), CB2A, CUP, VPC, Chase Paymentech Salem (chasepaymentechsalem), Fiserv (fiserv), Elavon Americas (elavonamericas) and EFTPOS processors.
91
- attr_accessor :enable_transaction_reference_number
92
-
93
- # Enables to meet the Visa mandate requirements to reverse unused authorizations, benefitting the customer by releasing the hold on unused credit card funds. Applicable for CB2A, Elavon Americas (elavonamericas), Six (six), VPC and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>
94
- attr_accessor :enable_auto_auth_reversal_after_void
95
-
96
- # When this is enabled, authorization responses from American Express expresspay transactions include the Primary Account Number (PAN) and expiration date of the card. Applicable for American Express Direct (amexdirect) processor.
97
- attr_accessor :enable_expresspay_pan_translation
98
-
99
- # Authorizes a credit. Reduces refund chargebacks and prevents customers from seeing the online update for credits which are otherwise offline settlements.
100
- attr_accessor :enable_credit_auth
101
-
102
- # Field used to identify the industry type of the merchant submitting the authorization request. Valid values: `0` – unknown or unsure `A` – auto rental (EMV supported) `B` – bank/financial institution (EMV supported) `D` – direct marketing `F` – food/restaurant (EMV supported) `G` – grocery store/super market (EMV supported) `H` – hotel (EMV supported) `L` – limited amount terminal (EMV supported) `O` – oil company/automated fueling system (EMV supported) `P` – passenger transport (EMV supported) `R` – retail (EMV supported) Applicable for TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors. Possible values: - 0 - A - B - D - F - G - H - L - O - P - R
103
- attr_accessor :industry_code
104
-
105
- # Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for TSYS (tsys) processor.
106
- attr_accessor :send_amex_level2_data
107
-
108
- # A soft descriptor is a text, rendered on a cardholder's statement, describing a particular product or service, purchased by the cardholder. Descriptors are intended to help the cardholder identify the products or services purchased. Valid values: `1` - trans_ref_no `2` - merchant_descriptor `3` - trans_ref_no and merchant_descriptor Applicable for TSYS (tsys) processor.
109
- attr_accessor :soft_descriptor_type
110
-
111
- # V-number provided by TSYS info. The leading `V` must be replaced by a `7`. For example, replace `V1234567` with `71234567`. Applicable for TSYS (tsys) processor.
112
- attr_accessor :vital_number
113
-
114
- # 6 digit agent bank number provided by acquirer. Applicable for TSYS (tsys) processor.
115
- attr_accessor :bank_number
116
-
117
- # 6 digit chain number provided by acquirer. Applicable for TSYS (tsys) processor.
118
- attr_accessor :chain_number
119
-
120
- # 6 digits acquirer bank identification number. Applicable for TSYS (tsys) processor.
121
- attr_accessor :merchant_bin_number
122
-
123
- # 5 digit merchant location number. Unless otherwise specified by merchant's bank or processor, this field should default to 00001. Applicable for TSYS (tsys) processor.
124
- attr_accessor :merchant_location_number
125
-
126
- # 4 digits number used to identify a specific merchant store location within the member systems. Applicable for TSYS (tsys) processor.
127
- attr_accessor :store_id
128
-
129
- # Contains travel agency code if airline ticket was issued by a travel agency. Applicable for TSYS (tsys) processor.
130
- attr_accessor :travel_agency_code
131
-
132
- # Contains travel agency name if airline ticket was issued by travel agency. Applicable for TSYS (tsys) processor.
133
- attr_accessor :travel_agency_name
134
-
135
- # This field is used to indicate Merchant's settlement currency. [ISO 4217 ALPHA-3 Standard Currency Codes] Applicable for TSYS (tsys) and Streamline (streamline2) processors.
136
- attr_accessor :settlement_currency
137
-
138
- # Indicates whether Least Cost Routing is enabled. Applicable for EFTPOS and CUP processors.
139
- attr_accessor :enable_least_cost_routing
140
-
141
- # This field denotes EFTPOS Merchant's choice of receiving CVV Processing Response in return. Applicable for EFTPOS processors.
142
- attr_accessor :enable_cvv_response_indicator
143
-
144
- # Applicable for Barclays (barclays2) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>Yes</td></tr> </table>
145
- attr_accessor :enable_multi_currency_processing
146
-
147
- # 'POS Network Switching' or 'Alternate Routing' means merchant can process PIN Debit transactions without a PIN. Set the value to 'Yes' if it is supported. Applicable for FDI Global (fdiglobal) processor.
148
- attr_accessor :enable_pos_network_switching
149
-
150
- # Enable dynamic currency conversion for a merchant.
151
- attr_accessor :enable_dynamic_currency_conversion
152
-
153
- # Merchant Tier defines the type of merchant, the numeric Merchant Tier value is allocated by EFTPOS. Applicable for EFTPOS processors.
154
- attr_accessor :merchant_tier
155
-
156
- # Attribute mapping from ruby-style variable name to JSON key.
157
- def self.attribute_map
158
- {
159
- :'batch_group' => :'batchGroup',
160
- :'business_application_id' => :'businessApplicationId',
161
- :'merchant_verification_value' => :'merchantVerificationValue',
162
- :'aba_number' => :'abaNumber',
163
- :'acquirer' => :'acquirer',
164
- :'merchant_id' => :'merchantId',
165
- :'terminal_id' => :'terminalId',
166
- :'payment_types' => :'paymentTypes',
167
- :'currencies' => :'currencies',
168
- :'visa_aggregator_id' => :'visaAggregatorId',
169
- :'amex_aggregator_id' => :'amexAggregatorId',
170
- :'master_card_aggregator_id' => :'masterCardAggregatorId',
171
- :'sic_code' => :'sicCode',
172
- :'allow_multiple_bills' => :'allowMultipleBills',
173
- :'allow_merchant_descriptor_override' => :'allowMerchantDescriptorOverride',
174
- :'enhanced_data' => :'enhancedData',
175
- :'fire_safety_indicator' => :'fireSafetyIndicator',
176
- :'quasi_cash' => :'quasiCash',
177
- :'acquirer_merchant_id' => :'acquirerMerchantId',
178
- :'avs_format' => :'avsFormat',
179
- :'enable_long_trans_ref_no' => :'enableLongTransRefNo',
180
- :'enable_level2' => :'enableLevel2',
181
- :'enable_multiple_transaction_advice_addendum' => :'enableMultipleTransactionAdviceAddendum',
182
- :'amex_transaction_advice_addendum1' => :'amexTransactionAdviceAddendum1',
183
- :'enable_multi_line_items' => :'enableMultiLineItems',
184
- :'enable_transaction_reference_number' => :'enableTransactionReferenceNumber',
185
- :'enable_auto_auth_reversal_after_void' => :'enableAutoAuthReversalAfterVoid',
186
- :'enable_expresspay_pan_translation' => :'enableExpresspayPanTranslation',
187
- :'enable_credit_auth' => :'enableCreditAuth',
188
- :'industry_code' => :'industryCode',
189
- :'send_amex_level2_data' => :'sendAmexLevel2Data',
190
- :'soft_descriptor_type' => :'softDescriptorType',
191
- :'vital_number' => :'vitalNumber',
192
- :'bank_number' => :'bankNumber',
193
- :'chain_number' => :'chainNumber',
194
- :'merchant_bin_number' => :'merchantBinNumber',
195
- :'merchant_location_number' => :'merchantLocationNumber',
196
- :'store_id' => :'storeID',
197
- :'travel_agency_code' => :'travelAgencyCode',
198
- :'travel_agency_name' => :'travelAgencyName',
199
- :'settlement_currency' => :'settlementCurrency',
200
- :'enable_least_cost_routing' => :'enableLeastCostRouting',
201
- :'enable_cvv_response_indicator' => :'enableCVVResponseIndicator',
202
- :'enable_multi_currency_processing' => :'enableMultiCurrencyProcessing',
203
- :'enable_pos_network_switching' => :'enablePosNetworkSwitching',
204
- :'enable_dynamic_currency_conversion' => :'enableDynamicCurrencyConversion',
205
- :'merchant_tier' => :'merchantTier'
206
- }
207
- end
208
-
209
- # Attribute mapping from JSON key to ruby-style variable name.
210
- def self.json_map
211
- {
212
- :'batch_group' => :'batch_group',
213
- :'business_application_id' => :'business_application_id',
214
- :'merchant_verification_value' => :'merchant_verification_value',
215
- :'aba_number' => :'aba_number',
216
- :'acquirer' => :'acquirer',
217
- :'merchant_id' => :'merchant_id',
218
- :'terminal_id' => :'terminal_id',
219
- :'payment_types' => :'payment_types',
220
- :'currencies' => :'currencies',
221
- :'visa_aggregator_id' => :'visa_aggregator_id',
222
- :'amex_aggregator_id' => :'amex_aggregator_id',
223
- :'master_card_aggregator_id' => :'master_card_aggregator_id',
224
- :'sic_code' => :'sic_code',
225
- :'allow_multiple_bills' => :'allow_multiple_bills',
226
- :'allow_merchant_descriptor_override' => :'allow_merchant_descriptor_override',
227
- :'enhanced_data' => :'enhanced_data',
228
- :'fire_safety_indicator' => :'fire_safety_indicator',
229
- :'quasi_cash' => :'quasi_cash',
230
- :'acquirer_merchant_id' => :'acquirer_merchant_id',
231
- :'avs_format' => :'avs_format',
232
- :'enable_long_trans_ref_no' => :'enable_long_trans_ref_no',
233
- :'enable_level2' => :'enable_level2',
234
- :'enable_multiple_transaction_advice_addendum' => :'enable_multiple_transaction_advice_addendum',
235
- :'amex_transaction_advice_addendum1' => :'amex_transaction_advice_addendum1',
236
- :'enable_multi_line_items' => :'enable_multi_line_items',
237
- :'enable_transaction_reference_number' => :'enable_transaction_reference_number',
238
- :'enable_auto_auth_reversal_after_void' => :'enable_auto_auth_reversal_after_void',
239
- :'enable_expresspay_pan_translation' => :'enable_expresspay_pan_translation',
240
- :'enable_credit_auth' => :'enable_credit_auth',
241
- :'industry_code' => :'industry_code',
242
- :'send_amex_level2_data' => :'send_amex_level2_data',
243
- :'soft_descriptor_type' => :'soft_descriptor_type',
244
- :'vital_number' => :'vital_number',
245
- :'bank_number' => :'bank_number',
246
- :'chain_number' => :'chain_number',
247
- :'merchant_bin_number' => :'merchant_bin_number',
248
- :'merchant_location_number' => :'merchant_location_number',
249
- :'store_id' => :'store_id',
250
- :'travel_agency_code' => :'travel_agency_code',
251
- :'travel_agency_name' => :'travel_agency_name',
252
- :'settlement_currency' => :'settlement_currency',
253
- :'enable_least_cost_routing' => :'enable_least_cost_routing',
254
- :'enable_cvv_response_indicator' => :'enable_cvv_response_indicator',
255
- :'enable_multi_currency_processing' => :'enable_multi_currency_processing',
256
- :'enable_pos_network_switching' => :'enable_pos_network_switching',
257
- :'enable_dynamic_currency_conversion' => :'enable_dynamic_currency_conversion',
258
- :'merchant_tier' => :'merchant_tier'
259
- }
260
- end
261
-
262
- # Attribute type mapping.
263
- def self.swagger_types
264
- {
265
- :'batch_group' => :'String',
266
- :'business_application_id' => :'String',
267
- :'merchant_verification_value' => :'String',
268
- :'aba_number' => :'String',
269
- :'acquirer' => :'CardProcessingConfigCommonAcquirer',
270
- :'merchant_id' => :'String',
271
- :'terminal_id' => :'String',
272
- :'payment_types' => :'Hash<String, CardProcessingConfigCommonPaymentTypes>',
273
- :'currencies' => :'Hash<String, CardProcessingConfigCommonCurrencies1>',
274
- :'visa_aggregator_id' => :'String',
275
- :'amex_aggregator_id' => :'String',
276
- :'master_card_aggregator_id' => :'String',
277
- :'sic_code' => :'String',
278
- :'allow_multiple_bills' => :'BOOLEAN',
279
- :'allow_merchant_descriptor_override' => :'BOOLEAN',
280
- :'enhanced_data' => :'String',
281
- :'fire_safety_indicator' => :'BOOLEAN',
282
- :'quasi_cash' => :'BOOLEAN',
283
- :'acquirer_merchant_id' => :'String',
284
- :'avs_format' => :'String',
285
- :'enable_long_trans_ref_no' => :'BOOLEAN',
286
- :'enable_level2' => :'BOOLEAN',
287
- :'enable_multiple_transaction_advice_addendum' => :'BOOLEAN',
288
- :'amex_transaction_advice_addendum1' => :'String',
289
- :'enable_multi_line_items' => :'BOOLEAN',
290
- :'enable_transaction_reference_number' => :'BOOLEAN',
291
- :'enable_auto_auth_reversal_after_void' => :'BOOLEAN',
292
- :'enable_expresspay_pan_translation' => :'BOOLEAN',
293
- :'enable_credit_auth' => :'BOOLEAN',
294
- :'industry_code' => :'String',
295
- :'send_amex_level2_data' => :'BOOLEAN',
296
- :'soft_descriptor_type' => :'String',
297
- :'vital_number' => :'String',
298
- :'bank_number' => :'String',
299
- :'chain_number' => :'String',
300
- :'merchant_bin_number' => :'String',
301
- :'merchant_location_number' => :'String',
302
- :'store_id' => :'String',
303
- :'travel_agency_code' => :'String',
304
- :'travel_agency_name' => :'String',
305
- :'settlement_currency' => :'String',
306
- :'enable_least_cost_routing' => :'BOOLEAN',
307
- :'enable_cvv_response_indicator' => :'BOOLEAN',
308
- :'enable_multi_currency_processing' => :'String',
309
- :'enable_pos_network_switching' => :'BOOLEAN',
310
- :'enable_dynamic_currency_conversion' => :'BOOLEAN',
311
- :'merchant_tier' => :'String'
312
- }
313
- end
314
-
315
- # Initializes the object
316
- # @param [Hash] attributes Model attributes in the form of hash
317
- def initialize(attributes = {})
318
- return unless attributes.is_a?(Hash)
319
-
320
- # convert string to symbol for hash key
321
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
322
-
323
- if attributes.has_key?(:'batchGroup')
324
- self.batch_group = attributes[:'batchGroup']
325
- end
326
-
327
- if attributes.has_key?(:'businessApplicationId')
328
- self.business_application_id = attributes[:'businessApplicationId']
329
- end
330
-
331
- if attributes.has_key?(:'merchantVerificationValue')
332
- self.merchant_verification_value = attributes[:'merchantVerificationValue']
333
- end
334
-
335
- if attributes.has_key?(:'abaNumber')
336
- self.aba_number = attributes[:'abaNumber']
337
- end
338
-
339
- if attributes.has_key?(:'acquirer')
340
- self.acquirer = attributes[:'acquirer']
341
- end
342
-
343
- if attributes.has_key?(:'merchantId')
344
- self.merchant_id = attributes[:'merchantId']
345
- end
346
-
347
- if attributes.has_key?(:'terminalId')
348
- self.terminal_id = attributes[:'terminalId']
349
- end
350
-
351
- if attributes.has_key?(:'paymentTypes')
352
- if (value = attributes[:'paymentTypes']).is_a?(Hash)
353
- self.payment_types = value
354
- end
355
- end
356
-
357
- if attributes.has_key?(:'currencies')
358
- if (value = attributes[:'currencies']).is_a?(Hash)
359
- self.currencies = value
360
- end
361
- end
362
-
363
- if attributes.has_key?(:'visaAggregatorId')
364
- self.visa_aggregator_id = attributes[:'visaAggregatorId']
365
- end
366
-
367
- if attributes.has_key?(:'amexAggregatorId')
368
- self.amex_aggregator_id = attributes[:'amexAggregatorId']
369
- end
370
-
371
- if attributes.has_key?(:'masterCardAggregatorId')
372
- self.master_card_aggregator_id = attributes[:'masterCardAggregatorId']
373
- end
374
-
375
- if attributes.has_key?(:'sicCode')
376
- self.sic_code = attributes[:'sicCode']
377
- end
378
-
379
- if attributes.has_key?(:'allowMultipleBills')
380
- self.allow_multiple_bills = attributes[:'allowMultipleBills']
381
- end
382
-
383
- if attributes.has_key?(:'allowMerchantDescriptorOverride')
384
- self.allow_merchant_descriptor_override = attributes[:'allowMerchantDescriptorOverride']
385
- end
386
-
387
- if attributes.has_key?(:'enhancedData')
388
- self.enhanced_data = attributes[:'enhancedData']
389
- end
390
-
391
- if attributes.has_key?(:'fireSafetyIndicator')
392
- self.fire_safety_indicator = attributes[:'fireSafetyIndicator']
393
- end
394
-
395
- if attributes.has_key?(:'quasiCash')
396
- self.quasi_cash = attributes[:'quasiCash']
397
- end
398
-
399
- if attributes.has_key?(:'acquirerMerchantId')
400
- self.acquirer_merchant_id = attributes[:'acquirerMerchantId']
401
- end
402
-
403
- if attributes.has_key?(:'avsFormat')
404
- self.avs_format = attributes[:'avsFormat']
405
- end
406
-
407
- if attributes.has_key?(:'enableLongTransRefNo')
408
- self.enable_long_trans_ref_no = attributes[:'enableLongTransRefNo']
409
- end
410
-
411
- if attributes.has_key?(:'enableLevel2')
412
- self.enable_level2 = attributes[:'enableLevel2']
413
- end
414
-
415
- if attributes.has_key?(:'enableMultipleTransactionAdviceAddendum')
416
- self.enable_multiple_transaction_advice_addendum = attributes[:'enableMultipleTransactionAdviceAddendum']
417
- end
418
-
419
- if attributes.has_key?(:'amexTransactionAdviceAddendum1')
420
- self.amex_transaction_advice_addendum1 = attributes[:'amexTransactionAdviceAddendum1']
421
- end
422
-
423
- if attributes.has_key?(:'enableMultiLineItems')
424
- self.enable_multi_line_items = attributes[:'enableMultiLineItems']
425
- end
426
-
427
- if attributes.has_key?(:'enableTransactionReferenceNumber')
428
- self.enable_transaction_reference_number = attributes[:'enableTransactionReferenceNumber']
429
- end
430
-
431
- if attributes.has_key?(:'enableAutoAuthReversalAfterVoid')
432
- self.enable_auto_auth_reversal_after_void = attributes[:'enableAutoAuthReversalAfterVoid']
433
- end
434
-
435
- if attributes.has_key?(:'enableExpresspayPanTranslation')
436
- self.enable_expresspay_pan_translation = attributes[:'enableExpresspayPanTranslation']
437
- end
438
-
439
- if attributes.has_key?(:'enableCreditAuth')
440
- self.enable_credit_auth = attributes[:'enableCreditAuth']
441
- end
442
-
443
- if attributes.has_key?(:'industryCode')
444
- self.industry_code = attributes[:'industryCode']
445
- end
446
-
447
- if attributes.has_key?(:'sendAmexLevel2Data')
448
- self.send_amex_level2_data = attributes[:'sendAmexLevel2Data']
449
- end
450
-
451
- if attributes.has_key?(:'softDescriptorType')
452
- self.soft_descriptor_type = attributes[:'softDescriptorType']
453
- end
454
-
455
- if attributes.has_key?(:'vitalNumber')
456
- self.vital_number = attributes[:'vitalNumber']
457
- end
458
-
459
- if attributes.has_key?(:'bankNumber')
460
- self.bank_number = attributes[:'bankNumber']
461
- end
462
-
463
- if attributes.has_key?(:'chainNumber')
464
- self.chain_number = attributes[:'chainNumber']
465
- end
466
-
467
- if attributes.has_key?(:'merchantBinNumber')
468
- self.merchant_bin_number = attributes[:'merchantBinNumber']
469
- end
470
-
471
- if attributes.has_key?(:'merchantLocationNumber')
472
- self.merchant_location_number = attributes[:'merchantLocationNumber']
473
- end
474
-
475
- if attributes.has_key?(:'storeID')
476
- self.store_id = attributes[:'storeID']
477
- end
478
-
479
- if attributes.has_key?(:'travelAgencyCode')
480
- self.travel_agency_code = attributes[:'travelAgencyCode']
481
- end
482
-
483
- if attributes.has_key?(:'travelAgencyName')
484
- self.travel_agency_name = attributes[:'travelAgencyName']
485
- end
486
-
487
- if attributes.has_key?(:'settlementCurrency')
488
- self.settlement_currency = attributes[:'settlementCurrency']
489
- end
490
-
491
- if attributes.has_key?(:'enableLeastCostRouting')
492
- self.enable_least_cost_routing = attributes[:'enableLeastCostRouting']
493
- end
494
-
495
- if attributes.has_key?(:'enableCVVResponseIndicator')
496
- self.enable_cvv_response_indicator = attributes[:'enableCVVResponseIndicator']
497
- end
498
-
499
- if attributes.has_key?(:'enableMultiCurrencyProcessing')
500
- self.enable_multi_currency_processing = attributes[:'enableMultiCurrencyProcessing']
501
- end
502
-
503
- if attributes.has_key?(:'enablePosNetworkSwitching')
504
- self.enable_pos_network_switching = attributes[:'enablePosNetworkSwitching']
505
- end
506
-
507
- if attributes.has_key?(:'enableDynamicCurrencyConversion')
508
- self.enable_dynamic_currency_conversion = attributes[:'enableDynamicCurrencyConversion']
509
- end
510
-
511
- if attributes.has_key?(:'merchantTier')
512
- self.merchant_tier = attributes[:'merchantTier']
513
- end
514
- end
515
-
516
- # Show invalid properties with the reasons. Usually used together with valid?
517
- # @return Array for valid properties with the reasons
518
- def list_invalid_properties
519
- invalid_properties = Array.new
520
- if @merchant_id.nil?
521
- invalid_properties.push('invalid value for "merchant_id", merchant_id cannot be nil.')
522
- end
523
-
524
- #if !@merchant_tier.nil? && @merchant_tier !~ Regexp.new(/^[0-9]+$/)
525
- #invalid_properties.push('invalid value for "merchant_tier", must conform to the pattern /^[0-9]+$/.')
526
- #end
527
-
528
- invalid_properties
529
- end
530
-
531
- # Check to see if the all the properties in the model are valid
532
- # @return true if the model is valid
533
- def valid?
534
- return false if @merchant_id.nil?
535
- #return false if !@merchant_tier.nil? && @merchant_tier !~ Regexp.new(/^[0-9]+$/)
536
- true
537
- end
538
-
539
- # Custom attribute writer method with validation
540
- # @param [Object] merchant_tier Value to be assigned
541
- def merchant_tier=(merchant_tier)
542
- #if !merchant_tier.nil? && merchant_tier !~ Regexp.new(/^[0-9]+$/)
543
- #fail ArgumentError, 'invalid value for "merchant_tier", must conform to the pattern /^[0-9]+$/.'
544
- #end
545
-
546
- @merchant_tier = merchant_tier
547
- end
548
-
549
- # Checks equality by comparing each attribute.
550
- # @param [Object] Object to be compared
551
- def ==(o)
552
- return true if self.equal?(o)
553
- self.class == o.class &&
554
- batch_group == o.batch_group &&
555
- business_application_id == o.business_application_id &&
556
- merchant_verification_value == o.merchant_verification_value &&
557
- aba_number == o.aba_number &&
558
- acquirer == o.acquirer &&
559
- merchant_id == o.merchant_id &&
560
- terminal_id == o.terminal_id &&
561
- payment_types == o.payment_types &&
562
- currencies == o.currencies &&
563
- visa_aggregator_id == o.visa_aggregator_id &&
564
- amex_aggregator_id == o.amex_aggregator_id &&
565
- master_card_aggregator_id == o.master_card_aggregator_id &&
566
- sic_code == o.sic_code &&
567
- allow_multiple_bills == o.allow_multiple_bills &&
568
- allow_merchant_descriptor_override == o.allow_merchant_descriptor_override &&
569
- enhanced_data == o.enhanced_data &&
570
- fire_safety_indicator == o.fire_safety_indicator &&
571
- quasi_cash == o.quasi_cash &&
572
- acquirer_merchant_id == o.acquirer_merchant_id &&
573
- avs_format == o.avs_format &&
574
- enable_long_trans_ref_no == o.enable_long_trans_ref_no &&
575
- enable_level2 == o.enable_level2 &&
576
- enable_multiple_transaction_advice_addendum == o.enable_multiple_transaction_advice_addendum &&
577
- amex_transaction_advice_addendum1 == o.amex_transaction_advice_addendum1 &&
578
- enable_multi_line_items == o.enable_multi_line_items &&
579
- enable_transaction_reference_number == o.enable_transaction_reference_number &&
580
- enable_auto_auth_reversal_after_void == o.enable_auto_auth_reversal_after_void &&
581
- enable_expresspay_pan_translation == o.enable_expresspay_pan_translation &&
582
- enable_credit_auth == o.enable_credit_auth &&
583
- industry_code == o.industry_code &&
584
- send_amex_level2_data == o.send_amex_level2_data &&
585
- soft_descriptor_type == o.soft_descriptor_type &&
586
- vital_number == o.vital_number &&
587
- bank_number == o.bank_number &&
588
- chain_number == o.chain_number &&
589
- merchant_bin_number == o.merchant_bin_number &&
590
- merchant_location_number == o.merchant_location_number &&
591
- store_id == o.store_id &&
592
- travel_agency_code == o.travel_agency_code &&
593
- travel_agency_name == o.travel_agency_name &&
594
- settlement_currency == o.settlement_currency &&
595
- enable_least_cost_routing == o.enable_least_cost_routing &&
596
- enable_cvv_response_indicator == o.enable_cvv_response_indicator &&
597
- enable_multi_currency_processing == o.enable_multi_currency_processing &&
598
- enable_pos_network_switching == o.enable_pos_network_switching &&
599
- enable_dynamic_currency_conversion == o.enable_dynamic_currency_conversion &&
600
- merchant_tier == o.merchant_tier
601
- end
602
-
603
- # @see the `==` method
604
- # @param [Object] Object to be compared
605
- def eql?(o)
606
- self == o
607
- end
608
-
609
- # Calculates hash code according to all attributes.
610
- # @return [Fixnum] Hash code
611
- def hash
612
- [batch_group, business_application_id, merchant_verification_value, aba_number, acquirer, merchant_id, terminal_id, payment_types, currencies, visa_aggregator_id, amex_aggregator_id, master_card_aggregator_id, sic_code, allow_multiple_bills, allow_merchant_descriptor_override, enhanced_data, fire_safety_indicator, quasi_cash, acquirer_merchant_id, avs_format, enable_long_trans_ref_no, enable_level2, enable_multiple_transaction_advice_addendum, amex_transaction_advice_addendum1, enable_multi_line_items, enable_transaction_reference_number, enable_auto_auth_reversal_after_void, enable_expresspay_pan_translation, enable_credit_auth, industry_code, send_amex_level2_data, soft_descriptor_type, vital_number, bank_number, chain_number, merchant_bin_number, merchant_location_number, store_id, travel_agency_code, travel_agency_name, settlement_currency, enable_least_cost_routing, enable_cvv_response_indicator, enable_multi_currency_processing, enable_pos_network_switching, enable_dynamic_currency_conversion, merchant_tier].hash
613
- end
614
-
615
- # Builds the object from hash
616
- # @param [Hash] attributes Model attributes in the form of hash
617
- # @return [Object] Returns the model itself
618
- def build_from_hash(attributes)
619
- return nil unless attributes.is_a?(Hash)
620
- self.class.swagger_types.each_pair do |key, type|
621
- if type =~ /\AArray<(.*)>/i
622
- # check to ensure the input is an array given that the the attribute
623
- # is documented as an array but the input is not
624
- if attributes[self.class.attribute_map[key]].is_a?(Array)
625
- self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
626
- end
627
- elsif !attributes[self.class.attribute_map[key]].nil?
628
- self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
629
- end # or else data not found in attributes(hash), not an issue as the data can be optional
630
- end
631
-
632
- self
633
- end
634
-
635
- # Deserializes the data based on type
636
- # @param string type Data type
637
- # @param string value Value to be deserialized
638
- # @return [Object] Deserialized data
639
- def _deserialize(type, value)
640
- case type.to_sym
641
- when :DateTime
642
- DateTime.parse(value)
643
- when :Date
644
- Date.parse(value)
645
- when :String
646
- value.to_s
647
- when :Integer
648
- value.to_i
649
- when :Float
650
- value.to_f
651
- when :BOOLEAN
652
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
653
- true
654
- else
655
- false
656
- end
657
- when :Object
658
- # generic object (usually a Hash), return directly
659
- value
660
- when /\AArray<(?<inner_type>.+)>\z/
661
- inner_type = Regexp.last_match[:inner_type]
662
- value.map { |v| _deserialize(inner_type, v) }
663
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
664
- k_type = Regexp.last_match[:k_type]
665
- v_type = Regexp.last_match[:v_type]
666
- {}.tap do |hash|
667
- value.each do |k, v|
668
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
669
- end
670
- end
671
- else # model
672
- temp_model = CyberSource.const_get(type).new
673
- temp_model.build_from_hash(value)
674
- end
675
- end
676
-
677
- # Returns the string representation of the object
678
- # @return [String] String presentation of the object
679
- def to_s
680
- to_hash.to_s
681
- end
682
-
683
- # to_body is an alias to to_hash (backward compatibility)
684
- # @return [Hash] Returns the object in the form of hash
685
- def to_body
686
- to_hash
687
- end
688
-
689
- # Returns the object in the form of hash
690
- # @return [Hash] Returns the object in the form of hash
691
- def to_hash
692
- hash = {}
693
- self.class.attribute_map.each_pair do |attr, param|
694
- value = self.send(attr)
695
- next if value.nil?
696
- hash[param] = _to_hash(value)
697
- end
698
- hash
699
- end
700
-
701
- # Outputs non-array value in the form of hash
702
- # For object, use to_hash. Otherwise, just return the value
703
- # @param [Object] value Any valid value
704
- # @return [Hash] Returns the value in the form of hash
705
- def _to_hash(value)
706
- if value.is_a?(Array)
707
- value.compact.map { |v| _to_hash(v) }
708
- elsif value.is_a?(Hash)
709
- {}.tap do |hash|
710
- value.each { |k, v| hash[k] = _to_hash(v) }
711
- end
712
- elsif value.respond_to? :to_hash
713
- value.to_hash
714
- else
715
- value
716
- end
717
- end
718
- end
719
- 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 CardProcessingConfigCommonProcessors
16
+ # Determines the batching group that separates merchants for special batching times. Batching groups can separate merchant batches by the following criteria: * Timezone * Merchant deadlines * Large merchants (top 10) * Merchants with Service-Level Agreements Applicable for Chase Paymentech Salem (chasepaymentechsalem), Streamline (streamline2), Six (six), Barclays (barclays2), Paymentech Tampa (paymentechtampa), CMCIC (cmcic), FDC Nashville (smartfdc), RUPAY, American Express Direct (amexdirect), GPN (gpn), VPC, GPX (gpx), CB2A, Barclays HISO (barclayshiso), TSYS (tsys) and FDI Global (fdiglobal) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>Yes</td></tr> <tr><td>Barclays HISO</td><td>cnp, cp, hybrid</td><td>Yes</td></tr> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td></tr> </table>
17
+ attr_accessor :batch_group
18
+
19
+ # Indicates the type of money transfer used in the transaction. Applicable for VPC and GPX (gpx) processors.
20
+ attr_accessor :business_application_id
21
+
22
+ # Identify merchants that participate in Select Merchant Fee (SMF) programs. Unique to the merchant. Applicable for GPX (gpx) and VPC processors.
23
+ attr_accessor :merchant_verification_value
24
+
25
+ # Routing Number to identify banks within the United States. Applicable for GPX (gpx) processors.
26
+ attr_accessor :aba_number
27
+
28
+ attr_accessor :acquirer
29
+
30
+ # Merchant ID assigned by an acquirer or a processor. Should not be overriden by any other party. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cp, cnp, hybrid</td><td>Yes</td><td>1</td><td>15</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays</td><td>cp, cnp, hybrid</td><td>Yes</td><td>1</td><td>11</td><td>^[0-9a-zA-Z]+$</td></tr> </table>
31
+ attr_accessor :merchant_id
32
+
33
+ # The 'Terminal Id' aka TID, is an identifier used for with your payments processor. Depending on the processor and payment acceptance type this may also be the default Terminal ID used for Card Present and Virtual Terminal transactions. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>Barclays HISO</td><td>cnp, hybrid</td><td>Yes</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> <tr><td>Barclays HISO</td><td>cp</td><td>No</td><td>1</td><td>16</td><td>^[0-9a-zA-Z]+$</td></tr> </table>
34
+ attr_accessor :terminal_id
35
+
36
+ # Valid values are: * VISA * MASTERCARD * AMERICAN_EXPRESS * CUP * EFTPOS * DINERS_CLUB * DISCOVER * JCB
37
+ attr_accessor :payment_types
38
+
39
+ # Three-character [ISO 4217 ALPHA-3 Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf)
40
+ attr_accessor :currencies
41
+
42
+ # This field is used as aggregator Id when Visa payment type is selected
43
+ attr_accessor :visa_aggregator_id
44
+
45
+ # This field is used as aggregator Id when Amex payment type is selected
46
+ attr_accessor :amex_aggregator_id
47
+
48
+ # This field is used as aggregator Id when Master Card payment type is selected
49
+ attr_accessor :master_card_aggregator_id
50
+
51
+ # The Standard Industrial Classification (SIC) are four-digit codes that categorize the industries that companies belong to based on their business activities. Standard Industrial Classification codes were mostly replaced by the six-digit North American Industry Classification System (NAICS). Applicable for VPC and GPX (gpx) processors.
52
+ attr_accessor :sic_code
53
+
54
+ # Allows multiple captures for a single authorization transaction. Applicable for Paymentech Tampa (paymentechtampa), VPC, American Express Direct (amexdirect) and GPX (gpx) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, hybrid</td><td>Yes</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cnp</td><td>No</td><td>No</td></tr> </table>
55
+ attr_accessor :allow_multiple_bills
56
+
57
+ # Enables partner to enable/disable merchant descriptors values. Applicable for VPC, EFTPOS and CUP processors.
58
+ attr_accessor :allow_merchant_descriptor_override
59
+
60
+ # To enable airline transactions. Applicable for TSYS (tsys), VPC, Elavon Americas (elavonamericas), FDI Global (fdiglobal), GPX (gpx), Barclays (barclays2) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td></tr> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td></tr> </table>
61
+ attr_accessor :enhanced_data
62
+
63
+ # Indicates whether the merchant is compliant with Hotel and Motel Fire Safety Act of 1990. Applicable for GPX (gpx) and VPC processors.
64
+ attr_accessor :fire_safety_indicator
65
+
66
+ # To enable quasi-cash transactions. A quasi-cash transaction is a cash-like transaction for the sale of items that are directly convertible to cash, such as:- Casino gaming chips, Money orders, Wire transfers. Applicable for GPX (gpx), TSYS (tsys), Barclays (barclays2) and VPC processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>No</td></tr> </table>
67
+ attr_accessor :quasi_cash
68
+
69
+ # Identifier assigned by the acquirer. Applicable for RUPAY, VPC and Six (six) processors.
70
+ attr_accessor :acquirer_merchant_id
71
+
72
+ # Enables Enhanced AVS/Automated Address Verification Plus (AAV+). Valid values: \"basic\" - Standard address verification system. When a processor supports AVS for a transaction's card type, the issuing bank uses AVS to confirm that the customer has provided the correct billing address. When a customer provides incorrect information, the transaction might be fraudulent. \"basic + name\" - Enhanced address verification system. Consists of the standard AVS functionality plus verification of some additional fields. The additional fields that are verified for Enhanced AVS are: - customer_firstname - customer_lastname \"basic + name + shipto\" - Automated address verification plus. Consists of the Enhanced AVS functionality plus verification of some additional fields. AAV+ intended for merchants who deliver physical goods to a different address than the billing address. AAV+ verifies the additional fields only when the standard and Enhanced AVS tests pass first. For information about Enhanced AVS - The additional fields that are verified for AAV+ are: - ship_to_firstname - ship_to_lastname - ship_to_address1 - ship_to_country - ship_to_zip - ship_to_phone - customer_phone(American Express Direct only) Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>Yes</td><td>basic</td></tr> </table>
73
+ attr_accessor :avs_format
74
+
75
+ # Amex Direct specific merchant config value which determines what length (either 9 or Unique 12-char reference number) of reference number will be CYBS generated if the merchant does not pass in a trans_ref_no. Can be any combination of alpha, numeric and special characters, and/or binary data in hexadecimal. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>
76
+ attr_accessor :enable_long_trans_ref_no
77
+
78
+ # Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>
79
+ attr_accessor :enable_level2
80
+
81
+ # This flag related to multiple transaction advice addendum field. It is used to display descriptive information about a transaction on customer's American Express card statement. Applicable for American Express Direct (amexdirect) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>
82
+ attr_accessor :enable_multiple_transaction_advice_addendum
83
+
84
+ # Advice addendum field. It is used to display descriptive information about a transaction on customer's American Express card statement. Applicable for TSYS (tsys), FDI Global (fdiglobal) and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Min. Length</th><th>Max. Length</th><th>Regex</th></tr></thead> <tr><td>American Express Direct</td><td>cnp, cp, hybrid</td><td>No</td><td>1</td><td>40</td><td>^[0-9a-zA-Z&#92;-\\s.]+$</td></tr> </table>
85
+ attr_accessor :amex_transaction_advice_addendum1
86
+
87
+ # This flag is related to offer/line item details to be included instead of sending one line item, and a grand total. Example, offer0, offer 1...offer n. Applicable for American Express Direct (amexdirect) and Elavon Americas (elavonamericas) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>
88
+ attr_accessor :enable_multi_line_items
89
+
90
+ # To enable merchant to send in transaction reference number (unique reconciliation ID). Applicable for VPC, Vero (vero), FDI Global (fdiglobal), Six (six), CB2A, CUP, VPC, Chase Paymentech Salem (chasepaymentechsalem), Fiserv (fiserv), Elavon Americas (elavonamericas) and EFTPOS processors.
91
+ attr_accessor :enable_transaction_reference_number
92
+
93
+ # Enables to meet the Visa mandate requirements to reverse unused authorizations, benefitting the customer by releasing the hold on unused credit card funds. Applicable for CB2A, Elavon Americas (elavonamericas), Six (six), VPC and American Express Direct (amexdirect) processors. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>American Express Direct</td><td>cp, cnp, hybrid</td><td>No</td><td>No</td></tr> </table>
94
+ attr_accessor :enable_auto_auth_reversal_after_void
95
+
96
+ # When this is enabled, authorization responses from American Express expresspay transactions include the Primary Account Number (PAN) and expiration date of the card. Applicable for American Express Direct (amexdirect) processor.
97
+ attr_accessor :enable_expresspay_pan_translation
98
+
99
+ # Authorizes a credit. Reduces refund chargebacks and prevents customers from seeing the online update for credits which are otherwise offline settlements.
100
+ attr_accessor :enable_credit_auth
101
+
102
+ # Field used to identify the industry type of the merchant submitting the authorization request. Valid values: `0` – unknown or unsure `A` – auto rental (EMV supported) `B` – bank/financial institution (EMV supported) `D` – direct marketing `F` – food/restaurant (EMV supported) `G` – grocery store/super market (EMV supported) `H` – hotel (EMV supported) `L` – limited amount terminal (EMV supported) `O` – oil company/automated fueling system (EMV supported) `P` – passenger transport (EMV supported) `R` – retail (EMV supported) Applicable for TSYS (tsys), RUPAY and Elavon Americas (elavonamericas) processors. Possible values: - 0 - A - B - D - F - G - H - L - O - P - R
103
+ attr_accessor :industry_code
104
+
105
+ # Field that indicates whether merchant will send level 2 data for Amex cards. Applicable for TSYS (tsys) processor.
106
+ attr_accessor :send_amex_level2_data
107
+
108
+ # A soft descriptor is a text, rendered on a cardholder's statement, describing a particular product or service, purchased by the cardholder. Descriptors are intended to help the cardholder identify the products or services purchased. Valid values: `1` - trans_ref_no `2` - merchant_descriptor `3` - trans_ref_no and merchant_descriptor Applicable for TSYS (tsys) processor.
109
+ attr_accessor :soft_descriptor_type
110
+
111
+ # V-number provided by TSYS info. The leading `V` must be replaced by a `7`. For example, replace `V1234567` with `71234567`. Applicable for TSYS (tsys) processor.
112
+ attr_accessor :vital_number
113
+
114
+ # 6 digit agent bank number provided by acquirer. Applicable for TSYS (tsys) processor.
115
+ attr_accessor :bank_number
116
+
117
+ # 6 digit chain number provided by acquirer. Applicable for TSYS (tsys) processor.
118
+ attr_accessor :chain_number
119
+
120
+ # 6 digits acquirer bank identification number. Applicable for TSYS (tsys) processor.
121
+ attr_accessor :merchant_bin_number
122
+
123
+ # 5 digit merchant location number. Unless otherwise specified by merchant's bank or processor, this field should default to 00001. Applicable for TSYS (tsys) processor.
124
+ attr_accessor :merchant_location_number
125
+
126
+ # 4 digits number used to identify a specific merchant store location within the member systems. Applicable for TSYS (tsys) processor.
127
+ attr_accessor :store_id
128
+
129
+ # Contains travel agency code if airline ticket was issued by a travel agency. Applicable for TSYS (tsys) processor.
130
+ attr_accessor :travel_agency_code
131
+
132
+ # Contains travel agency name if airline ticket was issued by travel agency. Applicable for TSYS (tsys) processor.
133
+ attr_accessor :travel_agency_name
134
+
135
+ # This field is used to indicate Merchant's settlement currency. [ISO 4217 ALPHA-3 Standard Currency Codes] Applicable for TSYS (tsys) and Streamline (streamline2) processors.
136
+ attr_accessor :settlement_currency
137
+
138
+ # Indicates whether Least Cost Routing is enabled. Applicable for EFTPOS and CUP processors.
139
+ attr_accessor :enable_least_cost_routing
140
+
141
+ # This field denotes EFTPOS Merchant's choice of receiving CVV Processing Response in return. Applicable for EFTPOS processors.
142
+ attr_accessor :enable_cvv_response_indicator
143
+
144
+ # Applicable for Barclays (barclays2) processor. Validation details (for selected processors)... <table> <thead><tr><th>Processor</th><th>Acceptance Type</th><th>Required</th><th>Default Value</th></tr></thead> <tr><td>Barclays</td><td>cnp, cp, hybrid</td><td>No</td><td>Yes</td></tr> </table>
145
+ attr_accessor :enable_multi_currency_processing
146
+
147
+ # 'POS Network Switching' or 'Alternate Routing' means merchant can process PIN Debit transactions without a PIN. Set the value to 'Yes' if it is supported. Applicable for FDI Global (fdiglobal) processor.
148
+ attr_accessor :enable_pos_network_switching
149
+
150
+ # Enable dynamic currency conversion for a merchant.
151
+ attr_accessor :enable_dynamic_currency_conversion
152
+
153
+ # Merchant Tier defines the type of merchant, the numeric Merchant Tier value is allocated by EFTPOS. Applicable for EFTPOS processors.
154
+ attr_accessor :merchant_tier
155
+
156
+ # Attribute mapping from ruby-style variable name to JSON key.
157
+ def self.attribute_map
158
+ {
159
+ :'batch_group' => :'batchGroup',
160
+ :'business_application_id' => :'businessApplicationId',
161
+ :'merchant_verification_value' => :'merchantVerificationValue',
162
+ :'aba_number' => :'abaNumber',
163
+ :'acquirer' => :'acquirer',
164
+ :'merchant_id' => :'merchantId',
165
+ :'terminal_id' => :'terminalId',
166
+ :'payment_types' => :'paymentTypes',
167
+ :'currencies' => :'currencies',
168
+ :'visa_aggregator_id' => :'visaAggregatorId',
169
+ :'amex_aggregator_id' => :'amexAggregatorId',
170
+ :'master_card_aggregator_id' => :'masterCardAggregatorId',
171
+ :'sic_code' => :'sicCode',
172
+ :'allow_multiple_bills' => :'allowMultipleBills',
173
+ :'allow_merchant_descriptor_override' => :'allowMerchantDescriptorOverride',
174
+ :'enhanced_data' => :'enhancedData',
175
+ :'fire_safety_indicator' => :'fireSafetyIndicator',
176
+ :'quasi_cash' => :'quasiCash',
177
+ :'acquirer_merchant_id' => :'acquirerMerchantId',
178
+ :'avs_format' => :'avsFormat',
179
+ :'enable_long_trans_ref_no' => :'enableLongTransRefNo',
180
+ :'enable_level2' => :'enableLevel2',
181
+ :'enable_multiple_transaction_advice_addendum' => :'enableMultipleTransactionAdviceAddendum',
182
+ :'amex_transaction_advice_addendum1' => :'amexTransactionAdviceAddendum1',
183
+ :'enable_multi_line_items' => :'enableMultiLineItems',
184
+ :'enable_transaction_reference_number' => :'enableTransactionReferenceNumber',
185
+ :'enable_auto_auth_reversal_after_void' => :'enableAutoAuthReversalAfterVoid',
186
+ :'enable_expresspay_pan_translation' => :'enableExpresspayPanTranslation',
187
+ :'enable_credit_auth' => :'enableCreditAuth',
188
+ :'industry_code' => :'industryCode',
189
+ :'send_amex_level2_data' => :'sendAmexLevel2Data',
190
+ :'soft_descriptor_type' => :'softDescriptorType',
191
+ :'vital_number' => :'vitalNumber',
192
+ :'bank_number' => :'bankNumber',
193
+ :'chain_number' => :'chainNumber',
194
+ :'merchant_bin_number' => :'merchantBinNumber',
195
+ :'merchant_location_number' => :'merchantLocationNumber',
196
+ :'store_id' => :'storeID',
197
+ :'travel_agency_code' => :'travelAgencyCode',
198
+ :'travel_agency_name' => :'travelAgencyName',
199
+ :'settlement_currency' => :'settlementCurrency',
200
+ :'enable_least_cost_routing' => :'enableLeastCostRouting',
201
+ :'enable_cvv_response_indicator' => :'enableCVVResponseIndicator',
202
+ :'enable_multi_currency_processing' => :'enableMultiCurrencyProcessing',
203
+ :'enable_pos_network_switching' => :'enablePosNetworkSwitching',
204
+ :'enable_dynamic_currency_conversion' => :'enableDynamicCurrencyConversion',
205
+ :'merchant_tier' => :'merchantTier'
206
+ }
207
+ end
208
+
209
+ # Attribute mapping from JSON key to ruby-style variable name.
210
+ def self.json_map
211
+ {
212
+ :'batch_group' => :'batch_group',
213
+ :'business_application_id' => :'business_application_id',
214
+ :'merchant_verification_value' => :'merchant_verification_value',
215
+ :'aba_number' => :'aba_number',
216
+ :'acquirer' => :'acquirer',
217
+ :'merchant_id' => :'merchant_id',
218
+ :'terminal_id' => :'terminal_id',
219
+ :'payment_types' => :'payment_types',
220
+ :'currencies' => :'currencies',
221
+ :'visa_aggregator_id' => :'visa_aggregator_id',
222
+ :'amex_aggregator_id' => :'amex_aggregator_id',
223
+ :'master_card_aggregator_id' => :'master_card_aggregator_id',
224
+ :'sic_code' => :'sic_code',
225
+ :'allow_multiple_bills' => :'allow_multiple_bills',
226
+ :'allow_merchant_descriptor_override' => :'allow_merchant_descriptor_override',
227
+ :'enhanced_data' => :'enhanced_data',
228
+ :'fire_safety_indicator' => :'fire_safety_indicator',
229
+ :'quasi_cash' => :'quasi_cash',
230
+ :'acquirer_merchant_id' => :'acquirer_merchant_id',
231
+ :'avs_format' => :'avs_format',
232
+ :'enable_long_trans_ref_no' => :'enable_long_trans_ref_no',
233
+ :'enable_level2' => :'enable_level2',
234
+ :'enable_multiple_transaction_advice_addendum' => :'enable_multiple_transaction_advice_addendum',
235
+ :'amex_transaction_advice_addendum1' => :'amex_transaction_advice_addendum1',
236
+ :'enable_multi_line_items' => :'enable_multi_line_items',
237
+ :'enable_transaction_reference_number' => :'enable_transaction_reference_number',
238
+ :'enable_auto_auth_reversal_after_void' => :'enable_auto_auth_reversal_after_void',
239
+ :'enable_expresspay_pan_translation' => :'enable_expresspay_pan_translation',
240
+ :'enable_credit_auth' => :'enable_credit_auth',
241
+ :'industry_code' => :'industry_code',
242
+ :'send_amex_level2_data' => :'send_amex_level2_data',
243
+ :'soft_descriptor_type' => :'soft_descriptor_type',
244
+ :'vital_number' => :'vital_number',
245
+ :'bank_number' => :'bank_number',
246
+ :'chain_number' => :'chain_number',
247
+ :'merchant_bin_number' => :'merchant_bin_number',
248
+ :'merchant_location_number' => :'merchant_location_number',
249
+ :'store_id' => :'store_id',
250
+ :'travel_agency_code' => :'travel_agency_code',
251
+ :'travel_agency_name' => :'travel_agency_name',
252
+ :'settlement_currency' => :'settlement_currency',
253
+ :'enable_least_cost_routing' => :'enable_least_cost_routing',
254
+ :'enable_cvv_response_indicator' => :'enable_cvv_response_indicator',
255
+ :'enable_multi_currency_processing' => :'enable_multi_currency_processing',
256
+ :'enable_pos_network_switching' => :'enable_pos_network_switching',
257
+ :'enable_dynamic_currency_conversion' => :'enable_dynamic_currency_conversion',
258
+ :'merchant_tier' => :'merchant_tier'
259
+ }
260
+ end
261
+
262
+ # Attribute type mapping.
263
+ def self.swagger_types
264
+ {
265
+ :'batch_group' => :'String',
266
+ :'business_application_id' => :'String',
267
+ :'merchant_verification_value' => :'String',
268
+ :'aba_number' => :'String',
269
+ :'acquirer' => :'CardProcessingConfigCommonAcquirer',
270
+ :'merchant_id' => :'String',
271
+ :'terminal_id' => :'String',
272
+ :'payment_types' => :'Hash<String, CardProcessingConfigCommonPaymentTypes>',
273
+ :'currencies' => :'Hash<String, CardProcessingConfigCommonCurrencies1>',
274
+ :'visa_aggregator_id' => :'String',
275
+ :'amex_aggregator_id' => :'String',
276
+ :'master_card_aggregator_id' => :'String',
277
+ :'sic_code' => :'String',
278
+ :'allow_multiple_bills' => :'BOOLEAN',
279
+ :'allow_merchant_descriptor_override' => :'BOOLEAN',
280
+ :'enhanced_data' => :'String',
281
+ :'fire_safety_indicator' => :'BOOLEAN',
282
+ :'quasi_cash' => :'BOOLEAN',
283
+ :'acquirer_merchant_id' => :'String',
284
+ :'avs_format' => :'String',
285
+ :'enable_long_trans_ref_no' => :'BOOLEAN',
286
+ :'enable_level2' => :'BOOLEAN',
287
+ :'enable_multiple_transaction_advice_addendum' => :'BOOLEAN',
288
+ :'amex_transaction_advice_addendum1' => :'String',
289
+ :'enable_multi_line_items' => :'BOOLEAN',
290
+ :'enable_transaction_reference_number' => :'BOOLEAN',
291
+ :'enable_auto_auth_reversal_after_void' => :'BOOLEAN',
292
+ :'enable_expresspay_pan_translation' => :'BOOLEAN',
293
+ :'enable_credit_auth' => :'BOOLEAN',
294
+ :'industry_code' => :'String',
295
+ :'send_amex_level2_data' => :'BOOLEAN',
296
+ :'soft_descriptor_type' => :'String',
297
+ :'vital_number' => :'String',
298
+ :'bank_number' => :'String',
299
+ :'chain_number' => :'String',
300
+ :'merchant_bin_number' => :'String',
301
+ :'merchant_location_number' => :'String',
302
+ :'store_id' => :'String',
303
+ :'travel_agency_code' => :'String',
304
+ :'travel_agency_name' => :'String',
305
+ :'settlement_currency' => :'String',
306
+ :'enable_least_cost_routing' => :'BOOLEAN',
307
+ :'enable_cvv_response_indicator' => :'BOOLEAN',
308
+ :'enable_multi_currency_processing' => :'String',
309
+ :'enable_pos_network_switching' => :'BOOLEAN',
310
+ :'enable_dynamic_currency_conversion' => :'BOOLEAN',
311
+ :'merchant_tier' => :'String'
312
+ }
313
+ end
314
+
315
+ # Initializes the object
316
+ # @param [Hash] attributes Model attributes in the form of hash
317
+ def initialize(attributes = {})
318
+ return unless attributes.is_a?(Hash)
319
+
320
+ # convert string to symbol for hash key
321
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
322
+
323
+ if attributes.has_key?(:'batchGroup')
324
+ self.batch_group = attributes[:'batchGroup']
325
+ end
326
+
327
+ if attributes.has_key?(:'businessApplicationId')
328
+ self.business_application_id = attributes[:'businessApplicationId']
329
+ end
330
+
331
+ if attributes.has_key?(:'merchantVerificationValue')
332
+ self.merchant_verification_value = attributes[:'merchantVerificationValue']
333
+ end
334
+
335
+ if attributes.has_key?(:'abaNumber')
336
+ self.aba_number = attributes[:'abaNumber']
337
+ end
338
+
339
+ if attributes.has_key?(:'acquirer')
340
+ self.acquirer = attributes[:'acquirer']
341
+ end
342
+
343
+ if attributes.has_key?(:'merchantId')
344
+ self.merchant_id = attributes[:'merchantId']
345
+ end
346
+
347
+ if attributes.has_key?(:'terminalId')
348
+ self.terminal_id = attributes[:'terminalId']
349
+ end
350
+
351
+ if attributes.has_key?(:'paymentTypes')
352
+ if (value = attributes[:'paymentTypes']).is_a?(Hash)
353
+ self.payment_types = value
354
+ end
355
+ end
356
+
357
+ if attributes.has_key?(:'currencies')
358
+ if (value = attributes[:'currencies']).is_a?(Hash)
359
+ self.currencies = value
360
+ end
361
+ end
362
+
363
+ if attributes.has_key?(:'visaAggregatorId')
364
+ self.visa_aggregator_id = attributes[:'visaAggregatorId']
365
+ end
366
+
367
+ if attributes.has_key?(:'amexAggregatorId')
368
+ self.amex_aggregator_id = attributes[:'amexAggregatorId']
369
+ end
370
+
371
+ if attributes.has_key?(:'masterCardAggregatorId')
372
+ self.master_card_aggregator_id = attributes[:'masterCardAggregatorId']
373
+ end
374
+
375
+ if attributes.has_key?(:'sicCode')
376
+ self.sic_code = attributes[:'sicCode']
377
+ end
378
+
379
+ if attributes.has_key?(:'allowMultipleBills')
380
+ self.allow_multiple_bills = attributes[:'allowMultipleBills']
381
+ end
382
+
383
+ if attributes.has_key?(:'allowMerchantDescriptorOverride')
384
+ self.allow_merchant_descriptor_override = attributes[:'allowMerchantDescriptorOverride']
385
+ end
386
+
387
+ if attributes.has_key?(:'enhancedData')
388
+ self.enhanced_data = attributes[:'enhancedData']
389
+ end
390
+
391
+ if attributes.has_key?(:'fireSafetyIndicator')
392
+ self.fire_safety_indicator = attributes[:'fireSafetyIndicator']
393
+ end
394
+
395
+ if attributes.has_key?(:'quasiCash')
396
+ self.quasi_cash = attributes[:'quasiCash']
397
+ end
398
+
399
+ if attributes.has_key?(:'acquirerMerchantId')
400
+ self.acquirer_merchant_id = attributes[:'acquirerMerchantId']
401
+ end
402
+
403
+ if attributes.has_key?(:'avsFormat')
404
+ self.avs_format = attributes[:'avsFormat']
405
+ end
406
+
407
+ if attributes.has_key?(:'enableLongTransRefNo')
408
+ self.enable_long_trans_ref_no = attributes[:'enableLongTransRefNo']
409
+ end
410
+
411
+ if attributes.has_key?(:'enableLevel2')
412
+ self.enable_level2 = attributes[:'enableLevel2']
413
+ end
414
+
415
+ if attributes.has_key?(:'enableMultipleTransactionAdviceAddendum')
416
+ self.enable_multiple_transaction_advice_addendum = attributes[:'enableMultipleTransactionAdviceAddendum']
417
+ end
418
+
419
+ if attributes.has_key?(:'amexTransactionAdviceAddendum1')
420
+ self.amex_transaction_advice_addendum1 = attributes[:'amexTransactionAdviceAddendum1']
421
+ end
422
+
423
+ if attributes.has_key?(:'enableMultiLineItems')
424
+ self.enable_multi_line_items = attributes[:'enableMultiLineItems']
425
+ end
426
+
427
+ if attributes.has_key?(:'enableTransactionReferenceNumber')
428
+ self.enable_transaction_reference_number = attributes[:'enableTransactionReferenceNumber']
429
+ end
430
+
431
+ if attributes.has_key?(:'enableAutoAuthReversalAfterVoid')
432
+ self.enable_auto_auth_reversal_after_void = attributes[:'enableAutoAuthReversalAfterVoid']
433
+ end
434
+
435
+ if attributes.has_key?(:'enableExpresspayPanTranslation')
436
+ self.enable_expresspay_pan_translation = attributes[:'enableExpresspayPanTranslation']
437
+ end
438
+
439
+ if attributes.has_key?(:'enableCreditAuth')
440
+ self.enable_credit_auth = attributes[:'enableCreditAuth']
441
+ end
442
+
443
+ if attributes.has_key?(:'industryCode')
444
+ self.industry_code = attributes[:'industryCode']
445
+ end
446
+
447
+ if attributes.has_key?(:'sendAmexLevel2Data')
448
+ self.send_amex_level2_data = attributes[:'sendAmexLevel2Data']
449
+ end
450
+
451
+ if attributes.has_key?(:'softDescriptorType')
452
+ self.soft_descriptor_type = attributes[:'softDescriptorType']
453
+ end
454
+
455
+ if attributes.has_key?(:'vitalNumber')
456
+ self.vital_number = attributes[:'vitalNumber']
457
+ end
458
+
459
+ if attributes.has_key?(:'bankNumber')
460
+ self.bank_number = attributes[:'bankNumber']
461
+ end
462
+
463
+ if attributes.has_key?(:'chainNumber')
464
+ self.chain_number = attributes[:'chainNumber']
465
+ end
466
+
467
+ if attributes.has_key?(:'merchantBinNumber')
468
+ self.merchant_bin_number = attributes[:'merchantBinNumber']
469
+ end
470
+
471
+ if attributes.has_key?(:'merchantLocationNumber')
472
+ self.merchant_location_number = attributes[:'merchantLocationNumber']
473
+ end
474
+
475
+ if attributes.has_key?(:'storeID')
476
+ self.store_id = attributes[:'storeID']
477
+ end
478
+
479
+ if attributes.has_key?(:'travelAgencyCode')
480
+ self.travel_agency_code = attributes[:'travelAgencyCode']
481
+ end
482
+
483
+ if attributes.has_key?(:'travelAgencyName')
484
+ self.travel_agency_name = attributes[:'travelAgencyName']
485
+ end
486
+
487
+ if attributes.has_key?(:'settlementCurrency')
488
+ self.settlement_currency = attributes[:'settlementCurrency']
489
+ end
490
+
491
+ if attributes.has_key?(:'enableLeastCostRouting')
492
+ self.enable_least_cost_routing = attributes[:'enableLeastCostRouting']
493
+ end
494
+
495
+ if attributes.has_key?(:'enableCVVResponseIndicator')
496
+ self.enable_cvv_response_indicator = attributes[:'enableCVVResponseIndicator']
497
+ end
498
+
499
+ if attributes.has_key?(:'enableMultiCurrencyProcessing')
500
+ self.enable_multi_currency_processing = attributes[:'enableMultiCurrencyProcessing']
501
+ end
502
+
503
+ if attributes.has_key?(:'enablePosNetworkSwitching')
504
+ self.enable_pos_network_switching = attributes[:'enablePosNetworkSwitching']
505
+ end
506
+
507
+ if attributes.has_key?(:'enableDynamicCurrencyConversion')
508
+ self.enable_dynamic_currency_conversion = attributes[:'enableDynamicCurrencyConversion']
509
+ end
510
+
511
+ if attributes.has_key?(:'merchantTier')
512
+ self.merchant_tier = attributes[:'merchantTier']
513
+ end
514
+ end
515
+
516
+ # Show invalid properties with the reasons. Usually used together with valid?
517
+ # @return Array for valid properties with the reasons
518
+ def list_invalid_properties
519
+ invalid_properties = Array.new
520
+ if @merchant_id.nil?
521
+ invalid_properties.push('invalid value for "merchant_id", merchant_id cannot be nil.')
522
+ end
523
+
524
+ #if !@merchant_tier.nil? && @merchant_tier !~ Regexp.new(/^[0-9]+$/)
525
+ #invalid_properties.push('invalid value for "merchant_tier", must conform to the pattern /^[0-9]+$/.')
526
+ #end
527
+
528
+ invalid_properties
529
+ end
530
+
531
+ # Check to see if the all the properties in the model are valid
532
+ # @return true if the model is valid
533
+ def valid?
534
+ return false if @merchant_id.nil?
535
+ #return false if !@merchant_tier.nil? && @merchant_tier !~ Regexp.new(/^[0-9]+$/)
536
+ true
537
+ end
538
+
539
+ # Custom attribute writer method with validation
540
+ # @param [Object] merchant_tier Value to be assigned
541
+ def merchant_tier=(merchant_tier)
542
+ #if !merchant_tier.nil? && merchant_tier !~ Regexp.new(/^[0-9]+$/)
543
+ #fail ArgumentError, 'invalid value for "merchant_tier", must conform to the pattern /^[0-9]+$/.'
544
+ #end
545
+
546
+ @merchant_tier = merchant_tier
547
+ end
548
+
549
+ # Checks equality by comparing each attribute.
550
+ # @param [Object] Object to be compared
551
+ def ==(o)
552
+ return true if self.equal?(o)
553
+ self.class == o.class &&
554
+ batch_group == o.batch_group &&
555
+ business_application_id == o.business_application_id &&
556
+ merchant_verification_value == o.merchant_verification_value &&
557
+ aba_number == o.aba_number &&
558
+ acquirer == o.acquirer &&
559
+ merchant_id == o.merchant_id &&
560
+ terminal_id == o.terminal_id &&
561
+ payment_types == o.payment_types &&
562
+ currencies == o.currencies &&
563
+ visa_aggregator_id == o.visa_aggregator_id &&
564
+ amex_aggregator_id == o.amex_aggregator_id &&
565
+ master_card_aggregator_id == o.master_card_aggregator_id &&
566
+ sic_code == o.sic_code &&
567
+ allow_multiple_bills == o.allow_multiple_bills &&
568
+ allow_merchant_descriptor_override == o.allow_merchant_descriptor_override &&
569
+ enhanced_data == o.enhanced_data &&
570
+ fire_safety_indicator == o.fire_safety_indicator &&
571
+ quasi_cash == o.quasi_cash &&
572
+ acquirer_merchant_id == o.acquirer_merchant_id &&
573
+ avs_format == o.avs_format &&
574
+ enable_long_trans_ref_no == o.enable_long_trans_ref_no &&
575
+ enable_level2 == o.enable_level2 &&
576
+ enable_multiple_transaction_advice_addendum == o.enable_multiple_transaction_advice_addendum &&
577
+ amex_transaction_advice_addendum1 == o.amex_transaction_advice_addendum1 &&
578
+ enable_multi_line_items == o.enable_multi_line_items &&
579
+ enable_transaction_reference_number == o.enable_transaction_reference_number &&
580
+ enable_auto_auth_reversal_after_void == o.enable_auto_auth_reversal_after_void &&
581
+ enable_expresspay_pan_translation == o.enable_expresspay_pan_translation &&
582
+ enable_credit_auth == o.enable_credit_auth &&
583
+ industry_code == o.industry_code &&
584
+ send_amex_level2_data == o.send_amex_level2_data &&
585
+ soft_descriptor_type == o.soft_descriptor_type &&
586
+ vital_number == o.vital_number &&
587
+ bank_number == o.bank_number &&
588
+ chain_number == o.chain_number &&
589
+ merchant_bin_number == o.merchant_bin_number &&
590
+ merchant_location_number == o.merchant_location_number &&
591
+ store_id == o.store_id &&
592
+ travel_agency_code == o.travel_agency_code &&
593
+ travel_agency_name == o.travel_agency_name &&
594
+ settlement_currency == o.settlement_currency &&
595
+ enable_least_cost_routing == o.enable_least_cost_routing &&
596
+ enable_cvv_response_indicator == o.enable_cvv_response_indicator &&
597
+ enable_multi_currency_processing == o.enable_multi_currency_processing &&
598
+ enable_pos_network_switching == o.enable_pos_network_switching &&
599
+ enable_dynamic_currency_conversion == o.enable_dynamic_currency_conversion &&
600
+ merchant_tier == o.merchant_tier
601
+ end
602
+
603
+ # @see the `==` method
604
+ # @param [Object] Object to be compared
605
+ def eql?(o)
606
+ self == o
607
+ end
608
+
609
+ # Calculates hash code according to all attributes.
610
+ # @return [Fixnum] Hash code
611
+ def hash
612
+ [batch_group, business_application_id, merchant_verification_value, aba_number, acquirer, merchant_id, terminal_id, payment_types, currencies, visa_aggregator_id, amex_aggregator_id, master_card_aggregator_id, sic_code, allow_multiple_bills, allow_merchant_descriptor_override, enhanced_data, fire_safety_indicator, quasi_cash, acquirer_merchant_id, avs_format, enable_long_trans_ref_no, enable_level2, enable_multiple_transaction_advice_addendum, amex_transaction_advice_addendum1, enable_multi_line_items, enable_transaction_reference_number, enable_auto_auth_reversal_after_void, enable_expresspay_pan_translation, enable_credit_auth, industry_code, send_amex_level2_data, soft_descriptor_type, vital_number, bank_number, chain_number, merchant_bin_number, merchant_location_number, store_id, travel_agency_code, travel_agency_name, settlement_currency, enable_least_cost_routing, enable_cvv_response_indicator, enable_multi_currency_processing, enable_pos_network_switching, enable_dynamic_currency_conversion, merchant_tier].hash
613
+ end
614
+
615
+ # Builds the object from hash
616
+ # @param [Hash] attributes Model attributes in the form of hash
617
+ # @return [Object] Returns the model itself
618
+ def build_from_hash(attributes)
619
+ return nil unless attributes.is_a?(Hash)
620
+ self.class.swagger_types.each_pair do |key, type|
621
+ if type =~ /\AArray<(.*)>/i
622
+ # check to ensure the input is an array given that the the attribute
623
+ # is documented as an array but the input is not
624
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
625
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
626
+ end
627
+ elsif !attributes[self.class.attribute_map[key]].nil?
628
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
629
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
630
+ end
631
+
632
+ self
633
+ end
634
+
635
+ # Deserializes the data based on type
636
+ # @param string type Data type
637
+ # @param string value Value to be deserialized
638
+ # @return [Object] Deserialized data
639
+ def _deserialize(type, value)
640
+ case type.to_sym
641
+ when :DateTime
642
+ DateTime.parse(value)
643
+ when :Date
644
+ Date.parse(value)
645
+ when :String
646
+ value.to_s
647
+ when :Integer
648
+ value.to_i
649
+ when :Float
650
+ value.to_f
651
+ when :BOOLEAN
652
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
653
+ true
654
+ else
655
+ false
656
+ end
657
+ when :Object
658
+ # generic object (usually a Hash), return directly
659
+ value
660
+ when /\AArray<(?<inner_type>.+)>\z/
661
+ inner_type = Regexp.last_match[:inner_type]
662
+ value.map { |v| _deserialize(inner_type, v) }
663
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
664
+ k_type = Regexp.last_match[:k_type]
665
+ v_type = Regexp.last_match[:v_type]
666
+ {}.tap do |hash|
667
+ value.each do |k, v|
668
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
669
+ end
670
+ end
671
+ else # model
672
+ temp_model = CyberSource.const_get(type).new
673
+ temp_model.build_from_hash(value)
674
+ end
675
+ end
676
+
677
+ # Returns the string representation of the object
678
+ # @return [String] String presentation of the object
679
+ def to_s
680
+ to_hash.to_s
681
+ end
682
+
683
+ # to_body is an alias to to_hash (backward compatibility)
684
+ # @return [Hash] Returns the object in the form of hash
685
+ def to_body
686
+ to_hash
687
+ end
688
+
689
+ # Returns the object in the form of hash
690
+ # @return [Hash] Returns the object in the form of hash
691
+ def to_hash
692
+ hash = {}
693
+ self.class.attribute_map.each_pair do |attr, param|
694
+ value = self.send(attr)
695
+ next if value.nil?
696
+ hash[param] = _to_hash(value)
697
+ end
698
+ hash
699
+ end
700
+
701
+ # Outputs non-array value in the form of hash
702
+ # For object, use to_hash. Otherwise, just return the value
703
+ # @param [Object] value Any valid value
704
+ # @return [Hash] Returns the value in the form of hash
705
+ def _to_hash(value)
706
+ if value.is_a?(Array)
707
+ value.compact.map { |v| _to_hash(v) }
708
+ elsif value.is_a?(Hash)
709
+ {}.tap do |hash|
710
+ value.each { |k, v| hash[k] = _to_hash(v) }
711
+ end
712
+ elsif value.respond_to? :to_hash
713
+ value.to_hash
714
+ else
715
+ value
716
+ end
717
+ end
718
+ end
719
+ end