cybersource_rest_client 0.0.19 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (795) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +63 -63
  3. data/lib/AuthenticationSDK/authentication/http/HttpSignatureHeader.rb +52 -52
  4. data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +61 -61
  5. data/lib/AuthenticationSDK/authentication/payloadDigest/digest.rb +9 -9
  6. data/lib/AuthenticationSDK/core/Authorization.rb +24 -24
  7. data/lib/AuthenticationSDK/core/ITokenGeneration.rb +3 -3
  8. data/lib/AuthenticationSDK/core/Logger.rb +25 -25
  9. data/lib/AuthenticationSDK/core/MerchantConfig.rb +190 -182
  10. data/lib/AuthenticationSDK/resource/TRRReports.json +11 -11
  11. data/lib/AuthenticationSDK/resource/cybs.yml +30 -30
  12. data/lib/AuthenticationSDK/resource/request.json +53 -53
  13. data/lib/AuthenticationSDK/resource/request_capture.json +10 -10
  14. data/lib/AuthenticationSDK/spec/Authorization_spec.rb +273 -273
  15. data/lib/AuthenticationSDK/spec/MerchantConfigData.rb +58 -58
  16. data/lib/AuthenticationSDK/spec/MerchantConfig_spec.rb +115 -115
  17. data/lib/AuthenticationSDK/spec/PostRequestData.json +53 -53
  18. data/lib/AuthenticationSDK/spec/PutRequestData.json +11 -11
  19. data/lib/AuthenticationSDK/spec/ResponseCodeMessage_spec.rb +59 -59
  20. data/lib/AuthenticationSDK/spec/spec_helper.rb +12 -12
  21. data/lib/AuthenticationSDK/util/ApiException.rb +18 -18
  22. data/lib/AuthenticationSDK/util/Cache.rb +35 -35
  23. data/lib/AuthenticationSDK/util/Constants.rb +153 -137
  24. data/lib/AuthenticationSDK/util/PropertiesUtil.rb +18 -18
  25. data/lib/AuthenticationSDK/util/Utility.rb +31 -31
  26. data/lib/cybersource_rest_client.rb +350 -167
  27. data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +219 -0
  28. data/lib/cybersource_rest_client/api/conversion_details_api.rb +2 -2
  29. data/lib/cybersource_rest_client/api/customer_api.rb +360 -0
  30. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +518 -0
  31. data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +518 -0
  32. data/lib/cybersource_rest_client/api/decision_manager_api.rb +157 -15
  33. data/lib/cybersource_rest_client/api/download_dtd_api.rb +88 -88
  34. data/lib/cybersource_rest_client/api/download_xsd_api.rb +88 -88
  35. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +165 -174
  36. data/lib/cybersource_rest_client/api/invoice_settings_api.rb +148 -0
  37. data/lib/cybersource_rest_client/api/invoices_api.rb +431 -0
  38. data/lib/cybersource_rest_client/api/key_generation_api.rb +10 -3
  39. data/lib/cybersource_rest_client/api/net_fundings_api.rb +2 -2
  40. data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +3 -3
  41. data/lib/cybersource_rest_client/api/payer_authentication_api.rb +219 -154
  42. data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +129 -129
  43. data/lib/cybersource_rest_client/api/payment_instrument_api.rb +133 -136
  44. data/lib/cybersource_rest_client/api/payments_api.rb +73 -2
  45. data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +3 -3
  46. data/lib/cybersource_rest_client/api/refund_api.rb +4 -4
  47. data/lib/cybersource_rest_client/api/report_definitions_api.rb +4 -4
  48. data/lib/cybersource_rest_client/api/report_downloads_api.rb +4 -7
  49. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +128 -83
  50. data/lib/cybersource_rest_client/api/reports_api.rb +4 -4
  51. data/lib/cybersource_rest_client/api/reversal_api.rb +65 -0
  52. data/lib/cybersource_rest_client/api/search_transactions_api.rb +4 -4
  53. data/lib/cybersource_rest_client/api/secure_file_share_api.rb +11 -4
  54. data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +219 -0
  55. data/lib/cybersource_rest_client/api/taxes_api.rb +160 -0
  56. data/lib/cybersource_rest_client/api/tokenization_api.rb +2 -2
  57. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +15 -9
  58. data/lib/cybersource_rest_client/api/user_management_api.rb +4 -4
  59. data/lib/cybersource_rest_client/api/user_management_search_api.rb +89 -0
  60. data/lib/cybersource_rest_client/api/verification_api.rb +154 -0
  61. data/lib/cybersource_rest_client/api/void_api.rb +69 -4
  62. data/lib/cybersource_rest_client/api_client.rb +484 -471
  63. data/lib/cybersource_rest_client/api_error.rb +38 -38
  64. data/lib/cybersource_rest_client/configuration.rb +202 -202
  65. data/lib/cybersource_rest_client/models/{authentication_exemptions_request.rb → add_negative_list_request.rb} +228 -228
  66. data/lib/cybersource_rest_client/models/auth_reversal_request.rb +219 -219
  67. data/lib/cybersource_rest_client/models/capture_payment_request.rb +294 -276
  68. data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +302 -284
  69. data/lib/cybersource_rest_client/models/create_adhoc_report_request.rb +382 -382
  70. data/lib/cybersource_rest_client/models/{create_decision_manager_case_request.rb → create_bundled_decision_manager_case_request.rb} +302 -266
  71. data/lib/cybersource_rest_client/models/create_credit_request.rb +294 -267
  72. data/lib/cybersource_rest_client/models/{json_web_key.rb → create_invoice_request.rb} +201 -225
  73. data/lib/cybersource_rest_client/models/create_p12_keys_request.rb +194 -0
  74. data/lib/cybersource_rest_client/models/create_payment_request.rb +366 -303
  75. data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +482 -482
  76. data/lib/cybersource_rest_client/models/create_search_request.rb +244 -244
  77. data/lib/cybersource_rest_client/models/create_shared_secret_keys_request.rb +194 -0
  78. data/lib/cybersource_rest_client/models/delete_bulk_p12_keys_request.rb +194 -0
  79. data/lib/cybersource_rest_client/models/delete_bulk_symmetric_keys_request.rb +194 -0
  80. data/lib/cybersource_rest_client/models/flex_v1_keys_post200_response.rb +202 -202
  81. data/lib/cybersource_rest_client/models/flex_v1_keys_post200_response_der.rb +205 -205
  82. data/lib/cybersource_rest_client/models/flex_v1_keys_post200_response_jwk.rb +225 -225
  83. data/lib/cybersource_rest_client/models/flex_v1_tokens_post200_response.rb +255 -255
  84. data/lib/cybersource_rest_client/models/flexv1tokens_card_info.rb +224 -224
  85. data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +183 -0
  86. data/lib/cybersource_rest_client/models/generate_public_key_request.rb +199 -189
  87. data/lib/cybersource_rest_client/models/increment_auth_request.rb +219 -0
  88. data/lib/cybersource_rest_client/models/inline_response_400.rb +185 -247
  89. data/lib/cybersource_rest_client/models/inline_response_400_1.rb +247 -202
  90. data/lib/cybersource_rest_client/models/{error_field_bean.rb → inline_response_400_1_fields.rb} +205 -205
  91. data/lib/cybersource_rest_client/models/{response_status_details.rb → inline_response_400_2.rb} +214 -194
  92. data/lib/cybersource_rest_client/models/{detail.rb → inline_response_400_details.rb} +194 -194
  93. data/lib/cybersource_rest_client/models/{error.rb → inline_response_400_errors.rb} +205 -202
  94. data/lib/cybersource_rest_client/models/inline_response_default.rb +192 -192
  95. data/lib/cybersource_rest_client/models/inline_response_default__links.rb +205 -205
  96. data/lib/cybersource_rest_client/models/inline_response_default__links_next.rb +204 -204
  97. data/lib/cybersource_rest_client/models/inline_response_default_response_status.rb +225 -225
  98. data/lib/cybersource_rest_client/models/inline_response_default_response_status_details.rb +194 -194
  99. data/lib/cybersource_rest_client/models/invoice_settings_request.rb +183 -0
  100. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response.rb +193 -0
  101. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +343 -0
  102. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information_header_style.rb +242 -0
  103. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_delete409_response.rb → invoicing_v2_invoices_all_get200_response.rb} +213 -183
  104. data/lib/cybersource_rest_client/models/{error_links.rb → invoicing_v2_invoices_all_get200_response__links.rb} +201 -205
  105. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response__links.rb → invoicing_v2_invoices_all_get200_response__links_1.rb} +210 -210
  106. data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_details.rb → invoicing_v2_invoices_all_get200_response_customer_information.rb} +199 -194
  107. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoice_information.rb +184 -0
  108. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +246 -0
  109. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information.rb +183 -0
  110. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +225 -0
  111. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get400_response.rb +225 -0
  112. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get404_response.rb +225 -0
  113. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get502_response.rb +214 -0
  114. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +266 -0
  115. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_invoice_history.rb +203 -0
  116. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +210 -0
  117. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +255 -0
  118. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +250 -0
  119. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information.rb +195 -0
  120. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +323 -0
  121. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post202_response.rb +225 -0
  122. data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +343 -0
  123. data/lib/cybersource_rest_client/models/{riskv1authenticationexemptions_merchant_information_merchant_descriptor.rb → invoicingv2invoices_customer_information.rb} +225 -229
  124. data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +250 -0
  125. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information.rb +195 -0
  126. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +298 -0
  127. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +210 -0
  128. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +235 -0
  129. data/lib/cybersource_rest_client/models/{riskv1authenticationexemptions_order_information_line_items.rb → invoicingv2invoices_order_information_line_items.rb} +284 -283
  130. data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +230 -0
  131. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response.rb +204 -0
  132. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response_key_information.rb +234 -0
  133. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response.rb +193 -0
  134. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response_key_information.rb +254 -0
  135. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response.rb +225 -0
  136. data/lib/cybersource_rest_client/models/{key_result.rb → kms_v2_keys_asym_post201_response_certificate_information.rb} +214 -202
  137. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_key_information.rb +264 -0
  138. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_deletes_post200_response.rb +214 -0
  139. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_deletes_post200_response_key_information.rb +224 -0
  140. data/lib/cybersource_rest_client/models/{risk_v1_authentication_exemptions_post201_response_consumer_authentication_information.rb → kms_v2_keys_sym_get200_response.rb} +203 -183
  141. data/lib/cybersource_rest_client/models/{error_bean.rb → kms_v2_keys_sym_get200_response_key_information.rb} +234 -247
  142. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response.rb +214 -0
  143. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_error_information.rb +195 -0
  144. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb +254 -0
  145. data/lib/cybersource_rest_client/models/kmsv2keysasym_key_information.rb +215 -0
  146. data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +218 -0
  147. data/lib/cybersource_rest_client/models/kmsv2keyssym_key_information.rb +200 -0
  148. data/lib/cybersource_rest_client/models/{tokenize_parameters.rb → kmsv2keyssymdeletes_key_information.rb} +215 -198
  149. data/lib/cybersource_rest_client/models/mit_reversal_request.rb +219 -0
  150. data/lib/cybersource_rest_client/models/mit_void_request.rb +192 -0
  151. data/lib/cybersource_rest_client/models/oct_create_payment_request.rb +237 -237
  152. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +328 -0
  153. data/lib/cybersource_rest_client/models/patch_customer_request.rb +292 -0
  154. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response.rb → patch_customer_shipping_address_request.rb} +245 -258
  155. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_embedded_instrument_identifier.rb → patch_instrument_identifier_request.rb} +286 -282
  156. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response_payment_instruments.rb → patch_payment_instrument_request.rb} +328 -285
  157. data/lib/cybersource_rest_client/models/{update_instrument_identifier_request.rb → payer_auth_setup_request.rb} +210 -183
  158. data/lib/cybersource_rest_client/models/{payment_instruments_for_instrument_identifier.rb → payment_instrument_list_for_customer.rb} +232 -242
  159. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded.rb → payment_instrument_list_for_customer__embedded.rb} +186 -186
  160. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response__links.rb → payment_instrument_list_for_customer__links.rb} +219 -219
  161. data/lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_first.rb +184 -0
  162. data/lib/cybersource_rest_client/models/{payment_instrument_self_link.rb → payment_instrument_list_for_customer__links_last.rb} +184 -183
  163. data/lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_next.rb +184 -0
  164. data/lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_prev.rb +184 -0
  165. data/lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_self.rb +184 -0
  166. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +328 -0
  167. data/lib/cybersource_rest_client/models/post_customer_request.rb +292 -0
  168. data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +245 -0
  169. data/lib/cybersource_rest_client/models/{embedded_instrument_identifier_response.rb → post_instrument_identifier_request.rb} +286 -282
  170. data/lib/cybersource_rest_client/models/{payment_instrument.rb → post_payment_instrument_request.rb} +328 -285
  171. data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +392 -392
  172. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response.rb +204 -204
  173. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response__links.rb +183 -183
  174. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response__links_self.rb +192 -192
  175. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response_transaction_batches.rb +277 -277
  176. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response.rb +193 -193
  177. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response_error_information.rb +203 -203
  178. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response_error_information_details.rb +194 -194
  179. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get500_response.rb +193 -193
  180. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get500_response_error_information.rb +194 -194
  181. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response.rb +286 -286
  182. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response__links.rb +185 -185
  183. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response__links_transactions.rb +193 -193
  184. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +316 -307
  185. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +224 -224
  186. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information.rb +219 -183
  187. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information.rb +193 -183
  188. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +199 -199
  189. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb +298 -0
  190. data/lib/cybersource_rest_client/models/{pts_v2_payments_reversals_post201_response__links.rb → pts_v2_incremental_authorization_patch201_response__links.rb} +183 -183
  191. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_client_reference_information.rb +199 -0
  192. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +205 -0
  193. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_order_information.rb +183 -0
  194. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information.rb +183 -0
  195. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +199 -0
  196. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +293 -0
  197. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch400_response.rb +225 -0
  198. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +298 -280
  199. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response__links.rb +201 -201
  200. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information.rb +192 -192
  201. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +224 -224
  202. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_invoice_details.rb +184 -0
  203. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +199 -0
  204. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processing_information.rb +184 -0
  205. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +199 -199
  206. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb +225 -225
  207. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +361 -334
  208. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response__links.rb +237 -201
  209. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response__links_self.rb +194 -194
  210. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +234 -234
  211. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +888 -0
  212. data/lib/cybersource_rest_client/models/{riskv1authentications_consumer_authentication_information_ivr.rb → pts_v2_payments_post201_response_consumer_authentication_information_ivr.rb} +319 -319
  213. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +205 -205
  214. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information_details.rb +194 -194
  215. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +794 -549
  216. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +274 -249
  217. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information.rb +192 -192
  218. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +249 -249
  219. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +209 -184
  220. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +371 -210
  221. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +611 -599
  222. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features_balances.rb +274 -0
  223. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +208 -208
  224. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +199 -199
  225. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_card.rb +184 -184
  226. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_instrument_identifier.rb +218 -0
  227. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +334 -334
  228. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +233 -208
  229. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +249 -249
  230. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +193 -183
  231. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +224 -224
  232. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +676 -701
  233. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +224 -224
  234. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +224 -224
  235. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +224 -224
  236. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +224 -224
  237. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb +199 -199
  238. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +474 -474
  239. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +224 -224
  240. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +249 -249
  241. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information.rb → pts_v2_payments_post201_response_risk_information.rb} +284 -284
  242. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_info_codes.rb → pts_v2_payments_post201_response_risk_information_info_codes.rb} +270 -270
  243. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_ip_address.rb → pts_v2_payments_post201_response_risk_information_ip_address.rb} +350 -300
  244. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_profile.rb → pts_v2_payments_post201_response_risk_information_profile.rb} +249 -249
  245. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_providers.rb → pts_v2_payments_post201_response_risk_information_providers.rb} +185 -185
  246. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_providers_provider_name.rb → pts_v2_payments_post201_response_risk_information_providers_provider_name.rb} +197 -197
  247. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_rules.rb → pts_v2_payments_post201_response_risk_information_rules.rb} +224 -224
  248. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_score.rb → pts_v2_payments_post201_response_risk_information_score.rb} +235 -235
  249. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_travel.rb → pts_v2_payments_post201_response_risk_information_travel.rb} +210 -210
  250. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_travel_actual_final_destination.rb → pts_v2_payments_post201_response_risk_information_travel_actual_final_destination.rb} +274 -274
  251. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_travel_first_departure.rb → pts_v2_payments_post201_response_risk_information_travel_first_departure.rb} +274 -274
  252. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_travel_first_destination.rb → pts_v2_payments_post201_response_risk_information_travel_first_destination.rb} +274 -274
  253. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_travel_last_destination.rb → pts_v2_payments_post201_response_risk_information_travel_last_destination.rb} +274 -274
  254. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_velocity.rb → pts_v2_payments_post201_response_risk_information_velocity.rb} +197 -197
  255. data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_velocity_morphing.rb → pts_v2_payments_post201_response_risk_information_velocity_morphing.rb} +234 -234
  256. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information.rb +220 -0
  257. data/lib/cybersource_rest_client/models/{tmsv1paymentinstruments_instrument_identifier.rb → pts_v2_payments_post201_response_token_information_customer.rb} +208 -226
  258. data/lib/cybersource_rest_client/models/{embedded_instrument_identifier_request.rb → pts_v2_payments_post201_response_token_information_instrument_identifier.rb} +218 -226
  259. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_payment_instrument.rb +208 -0
  260. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_shipping_address.rb +208 -0
  261. data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +225 -225
  262. data/lib/cybersource_rest_client/models/pts_v2_payments_post502_response.rb +214 -214
  263. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +298 -289
  264. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response__links.rb +192 -192
  265. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information.rb +183 -183
  266. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +283 -283
  267. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +224 -224
  268. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb +225 -225
  269. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +307 -307
  270. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb +249 -249
  271. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +199 -199
  272. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +324 -324
  273. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +249 -249
  274. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post400_response.rb +225 -225
  275. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +255 -246
  276. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +199 -0
  277. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +219 -219
  278. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post400_response.rb +225 -225
  279. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +307 -307
  280. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_error_information.rb +205 -205
  281. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information.rb +183 -183
  282. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +219 -219
  283. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information.rb +183 -183
  284. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +274 -274
  285. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +299 -299
  286. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information.rb +183 -183
  287. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +224 -224
  288. data/lib/cybersource_rest_client/models/pts_v2_payouts_post400_response.rb +225 -225
  289. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +199 -0
  290. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +528 -435
  291. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +349 -349
  292. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_electronic_benefits_transfer.rb +199 -199
  293. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb +209 -0
  294. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_purchase_options.rb +184 -184
  295. data/lib/cybersource_rest_client/models/{riskv1authentications_acquirer_information.rb → ptsv2payments_acquirer_information.rb} +274 -274
  296. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +233 -233
  297. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +449 -424
  298. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +320 -310
  299. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +219 -219
  300. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +273 -228
  301. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +274 -249
  302. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1308 -374
  303. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +324 -0
  304. data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +500 -249
  305. data/lib/cybersource_rest_client/models/{riskv1authentications_device_information_raw_data.rb → ptsv2payments_device_information_raw_data.rb} +209 -209
  306. data/lib/cybersource_rest_client/models/ptsv2payments_health_care_information.rb +186 -0
  307. data/lib/cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details.rb +224 -0
  308. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +484 -424
  309. data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +199 -199
  310. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +224 -224
  311. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +392 -367
  312. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +379 -354
  313. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +249 -249
  314. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +249 -249
  315. data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +310 -230
  316. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +739 -730
  317. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +224 -224
  318. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion.rb +249 -0
  319. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +209 -209
  320. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +319 -319
  321. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +643 -659
  322. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +349 -0
  323. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +460 -410
  324. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +199 -199
  325. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +838 -774
  326. data/lib/cybersource_rest_client/models/{riskv1decisions_order_information_passenger.rb → ptsv2payments_order_information_passenger.rb} +375 -375
  327. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +534 -474
  328. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +235 -235
  329. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +289 -228
  330. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +208 -208
  331. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +299 -299
  332. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +509 -484
  333. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +218 -184
  334. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +259 -259
  335. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_instrument_identifier.rb +208 -0
  336. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response_personal_identification.rb → ptsv2payments_payment_information_legacy_token.rb} +199 -203
  337. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_instrument.rb +208 -0
  338. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type.rb +203 -203
  339. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb +184 -184
  340. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_shipping_address.rb +208 -0
  341. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +409 -409
  342. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +752 -677
  343. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +256 -256
  344. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +642 -475
  345. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +409 -359
  346. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +213 -213
  347. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +449 -424
  348. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +267 -267
  349. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer.rb +224 -224
  350. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +359 -0
  351. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +224 -0
  352. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb +209 -209
  353. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +198 -198
  354. data/lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb +224 -0
  355. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +249 -249
  356. data/lib/cybersource_rest_client/models/{riskv1authentications_recurring_payment_information.rb → ptsv2payments_recurring_payment_information.rb} +235 -235
  357. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb +218 -0
  358. data/lib/cybersource_rest_client/models/{riskv1authentications_risk_information_buyer_history.rb → ptsv2payments_risk_information_buyer_history.rb} +262 -262
  359. data/lib/cybersource_rest_client/models/{riskv1authentications_risk_information_buyer_history_account_history.rb → ptsv2payments_risk_information_buyer_history_account_history.rb} +209 -209
  360. data/lib/cybersource_rest_client/models/{riskv1authentications_risk_information_buyer_history_customer_account.rb → ptsv2payments_risk_information_buyer_history_customer_account.rb} +279 -279
  361. data/lib/cybersource_rest_client/models/{riskv1decisions_risk_information_profile.rb → ptsv2payments_risk_information_profile.rb} +200 -200
  362. data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +227 -0
  363. data/lib/cybersource_rest_client/models/ptsv2payments_token_information_payment_instrument.rb +186 -0
  364. data/lib/cybersource_rest_client/models/ptsv2payments_token_information_shipping_address.rb +186 -0
  365. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +235 -0
  366. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +224 -0
  367. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +1146 -0
  368. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_rental_address.rb +349 -0
  369. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_return_address.rb +299 -0
  370. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_tax_details.rb +309 -0
  371. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +1229 -0
  372. data/lib/cybersource_rest_client/models/{instrument_identifier_bank_account.rb → ptsv2payments_travel_information_lodging_room.rb} +233 -242
  373. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit.rb +183 -0
  374. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +988 -0
  375. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +285 -0
  376. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +224 -0
  377. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +614 -0
  378. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +349 -0
  379. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +238 -0
  380. data/lib/cybersource_rest_client/models/{riskv1authenticationexemptions_merchant_information.rb → ptsv2paymentsid_client_reference_information_partner.rb} +249 -258
  381. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response_issuer.rb → ptsv2paymentsid_merchant_information.rb} +199 -208
  382. data/lib/cybersource_rest_client/models/{risk_v1_authentications_post201_response_order_information.rb → ptsv2paymentsid_order_information.rb} +183 -183
  383. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_buyer_information.rb → ptsv2paymentsid_order_information_amount_details.rb} +224 -278
  384. data/lib/cybersource_rest_client/models/{instrument_identifier_processing_information.rb → ptsv2paymentsid_processing_information.rb} +183 -183
  385. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response_processing_information_authorization_options.rb → ptsv2paymentsid_processing_information_authorization_options.rb} +183 -183
  386. data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options_initiator.rb +184 -0
  387. data/lib/cybersource_rest_client/models/{riskv1authenticationexemptions_acquirer_information.rb → ptsv2paymentsid_travel_information.rb} +199 -199
  388. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +233 -233
  389. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +399 -374
  390. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +224 -224
  391. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +249 -0
  392. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +799 -624
  393. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +292 -292
  394. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information.rb +230 -230
  395. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +646 -646
  396. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +433 -449
  397. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +320 -320
  398. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +249 -249
  399. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +199 -199
  400. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information.rb +192 -183
  401. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +224 -0
  402. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +208 -208
  403. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +211 -211
  404. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +385 -376
  405. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +249 -249
  406. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options.rb +242 -242
  407. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +283 -283
  408. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information.rb +230 -230
  409. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +639 -639
  410. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +264 -210
  411. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +409 -359
  412. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb +183 -183
  413. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +358 -333
  414. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +186 -186
  415. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +248 -218
  416. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +249 -224
  417. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information.rb +194 -194
  418. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_amount_details.rb +199 -199
  419. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +233 -233
  420. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information.rb +183 -183
  421. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +199 -199
  422. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +308 -308
  423. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb +193 -193
  424. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +224 -224
  425. data/lib/cybersource_rest_client/models/ptsv2paymentsidvoids_payment_information.rb +183 -183
  426. data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +229 -199
  427. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +243 -243
  428. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +279 -279
  429. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information.rb +192 -192
  430. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +233 -233
  431. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +199 -199
  432. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +409 -409
  433. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information.rb +192 -192
  434. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +284 -284
  435. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +283 -283
  436. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +274 -274
  437. data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +433 -433
  438. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +517 -517
  439. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +233 -233
  440. data/lib/cybersource_rest_client/models/refund_capture_request.rb +285 -267
  441. data/lib/cybersource_rest_client/models/refund_payment_request.rb +285 -267
  442. data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response.rb +213 -213
  443. data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response_conversion_details.rb +275 -275
  444. data/lib/cybersource_rest_client/models/reporting_v3_conversion_details_get200_response_notes.rb +204 -204
  445. data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response.rb +266 -266
  446. data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response_net_funding_summaries.rb +248 -248
  447. data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response_total_purchases.rb +203 -203
  448. data/lib/cybersource_rest_client/models/reporting_v3_notificationof_changes_get200_response.rb +186 -186
  449. data/lib/cybersource_rest_client/models/reporting_v3_notificationof_changes_get200_response_notification_of_changes.rb +255 -255
  450. data/lib/cybersource_rest_client/models/reporting_v3_payment_batch_summaries_get200_response.rb +203 -203
  451. data/lib/cybersource_rest_client/models/reporting_v3_payment_batch_summaries_get200_response_payment_batch_summaries.rb +282 -282
  452. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response.rb +273 -273
  453. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_authorizations.rb +255 -255
  454. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_fee_and_funding_details.rb +320 -320
  455. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_others.rb +260 -260
  456. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_request_details.rb +235 -235
  457. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlement_statuses.rb +240 -240
  458. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlements.rb +304 -304
  459. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response.rb +185 -185
  460. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response_report_definitions.rb +241 -241
  461. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response.rb +251 -251
  462. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response_attributes.rb +239 -239
  463. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response_default_settings.rb +255 -255
  464. data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response.rb +185 -185
  465. data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response_subscriptions.rb +333 -333
  466. data/lib/cybersource_rest_client/models/reporting_v3_reports_get200_response.rb +185 -185
  467. data/lib/cybersource_rest_client/models/reporting_v3_reports_get200_response__link.rb +183 -183
  468. data/lib/cybersource_rest_client/models/reporting_v3_reports_get200_response__link_report_download.rb +192 -192
  469. data/lib/cybersource_rest_client/models/reporting_v3_reports_get200_response_report_search_results.rb +334 -334
  470. data/lib/cybersource_rest_client/models/reporting_v3_reports_id_get200_response.rb +318 -318
  471. data/lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response.rb +237 -237
  472. data/lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response_details.rb +195 -195
  473. data/lib/cybersource_rest_client/models/reportingv3reports_report_preferences.rb +195 -195
  474. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +275 -0
  475. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb +224 -0
  476. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +327 -0
  477. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb +209 -0
  478. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb +433 -0
  479. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_error_information.rb +205 -0
  480. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +275 -285
  481. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +554 -324
  482. data/lib/cybersource_rest_client/models/{risk_v1_authentication_exemptions_post201_response.rb → risk_v1_authentication_setups_post201_response.rb} +246 -255
  483. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +234 -0
  484. data/lib/cybersource_rest_client/models/{response_status.rb → risk_v1_authentication_setups_post201_response_error_information.rb} +205 -225
  485. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +284 -294
  486. data/lib/cybersource_rest_client/models/{inline_response_400_fields.rb → risk_v1_authentications_post201_response_error_information.rb} +205 -205
  487. data/lib/cybersource_rest_client/models/risk_v1_authentications_post400_response.rb +225 -0
  488. data/lib/cybersource_rest_client/models/{risk_v1_authentication_excemptions_post400_response.rb → risk_v1_authentications_post400_response_1.rb} +225 -225
  489. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +292 -265
  490. data/lib/cybersource_rest_client/models/{risk_v1_authentications_post201_response_consumer_authentication_information.rb → risk_v1_decisions_post201_response_consumer_authentication_information.rb} +818 -444
  491. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_error_information.rb +205 -0
  492. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information.rb +183 -0
  493. data/lib/cybersource_rest_client/models/{risk_v1_authentications_post201_response_order_information_amount_details.rb → risk_v1_decisions_post201_response_order_information_amount_details.rb} +199 -199
  494. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +300 -300
  495. data/lib/cybersource_rest_client/models/risk_v1_decisions_post400_response.rb +225 -225
  496. data/lib/cybersource_rest_client/models/risk_v1_decisions_post400_response_1.rb +225 -0
  497. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +275 -0
  498. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_error_information.rb +205 -0
  499. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information.rb +229 -0
  500. data/lib/cybersource_rest_client/models/{file_details_response.rb → risk_v1_export_compliance_inquiries_post201_response_export_compliance_information_watch_list.rb} +185 -194
  501. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb +235 -0
  502. data/lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb +237 -0
  503. data/lib/cybersource_rest_client/models/{merchant_initiated_transaction.rb → riskv1addressverifications_buyer_information.rb} +199 -199
  504. data/lib/cybersource_rest_client/models/riskv1addressverifications_client_reference_information.rb +233 -0
  505. data/lib/cybersource_rest_client/models/{riskv1authenticationexemptions_order_information.rb → riskv1addressverifications_order_information.rb} +203 -212
  506. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +410 -0
  507. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +342 -0
  508. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +392 -0
  509. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +324 -524
  510. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information.rb +194 -194
  511. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +267 -267
  512. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information.rb +210 -192
  513. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +289 -298
  514. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +264 -264
  515. data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +201 -196
  516. data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +430 -430
  517. data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +283 -283
  518. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +243 -0
  519. data/lib/cybersource_rest_client/models/{riskv1authenticationexemptions_order_information_bill_to.rb → riskv1authentications_order_information_bill_to.rb} +487 -496
  520. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +396 -396
  521. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information.rb +210 -0
  522. data/lib/cybersource_rest_client/models/{riskv1authenticationexemptions_payment_information_card.rb → riskv1authentications_payment_information_card.rb} +316 -325
  523. data/lib/cybersource_rest_client/models/{riskv1authenticationexemptions_payment_information_tokenized_card.rb → riskv1authentications_payment_information_tokenized_card.rb} +291 -291
  524. data/lib/cybersource_rest_client/models/riskv1authentications_risk_information.rb +183 -183
  525. data/lib/cybersource_rest_client/models/riskv1authentications_travel_information.rb +206 -206
  526. data/lib/cybersource_rest_client/models/{riskv1authentications_client_reference_information.rb → riskv1authenticationsetups_client_reference_information.rb} +208 -208
  527. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information.rb +210 -0
  528. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +286 -0
  529. data/lib/cybersource_rest_client/models/{instrument_identifier_card.rb → riskv1authenticationsetups_payment_information_customer.rb} +199 -208
  530. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +268 -0
  531. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +325 -0
  532. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +224 -0
  533. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_token_information.rb +184 -0
  534. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +286 -261
  535. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +224 -224
  536. data/lib/cybersource_rest_client/models/{riskv1authentications_consumer_authentication_information.rb → riskv1decisions_consumer_authentication_information.rb} +1023 -1359
  537. data/lib/cybersource_rest_client/models/{riskv1authentications_consumer_authentication_information_strong_authentication.rb → riskv1decisions_consumer_authentication_information_strong_authentication.rb} +199 -199
  538. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +510 -304
  539. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_defined_information.rb +225 -225
  540. data/lib/cybersource_rest_client/models/{riskv1authentications_merchant_information.rb → riskv1decisions_merchant_information.rb} +208 -208
  541. data/lib/cybersource_rest_client/models/{riskv1authentications_merchant_information_merchant_descriptor.rb → riskv1decisions_merchant_information_merchant_descriptor.rb} +209 -209
  542. data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +303 -242
  543. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +234 -234
  544. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +424 -449
  545. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +472 -377
  546. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +459 -400
  547. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +210 -210
  548. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +236 -202
  549. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +285 -285
  550. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +260 -260
  551. data/lib/cybersource_rest_client/models/riskv1decisions_processing_information.rb +187 -0
  552. data/lib/cybersource_rest_client/models/riskv1decisions_processor_information.rb +193 -184
  553. data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_avs.rb +200 -200
  554. data/lib/cybersource_rest_client/models/{riskv1decisions_card_verification.rb → riskv1decisions_processor_information_card_verification.rb} +199 -199
  555. data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +217 -217
  556. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +306 -285
  557. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +259 -249
  558. data/lib/cybersource_rest_client/models/{riskv1authentications_travel_information_passengers.rb → riskv1decisions_travel_information_passengers.rb} +224 -224
  559. data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information.rb +183 -0
  560. data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb +247 -0
  561. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +224 -0
  562. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb +205 -0
  563. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb +249 -0
  564. data/lib/cybersource_rest_client/models/{instrument_identifier_enrollable_card.rb → riskv1exportcomplianceinquiries_order_information.rb} +203 -211
  565. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +503 -0
  566. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb +199 -0
  567. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +364 -0
  568. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +249 -0
  569. data/lib/cybersource_rest_client/models/{file_bean.rb → riskv1liststypeentries_buyer_information.rb} +186 -202
  570. data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +224 -0
  571. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information.rb +213 -0
  572. data/lib/cybersource_rest_client/models/{riskv1decisions_order_information_address.rb → riskv1liststypeentries_order_information_address.rb} +325 -325
  573. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +449 -0
  574. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +199 -0
  575. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +325 -0
  576. data/lib/cybersource_rest_client/models/{riskv1authenticationexemptions_payment_information.rb → riskv1liststypeentries_payment_information.rb} +193 -192
  577. data/lib/cybersource_rest_client/models/{riskv1decisions_payment_information_bank.rb → riskv1liststypeentries_payment_information_bank.rb} +275 -275
  578. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +234 -0
  579. data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information.rb +183 -0
  580. data/lib/cybersource_rest_client/models/{riskv1decisions_risk_information_marking_details.rb → riskv1liststypeentries_risk_information_marking_details.rb} +260 -275
  581. data/lib/cybersource_rest_client/models/search_request.rb +214 -0
  582. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response.rb → shipping_address_list_for_customer.rb} +233 -242
  583. data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__embedded.rb +186 -0
  584. data/lib/cybersource_rest_client/models/{payment_instrument_for_instrument_identifier_links.rb → shipping_address_list_for_customer__links.rb} +219 -219
  585. data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__links_first.rb +184 -0
  586. data/lib/cybersource_rest_client/models/{link.rb → shipping_address_list_for_customer__links_last.rb} +184 -183
  587. data/lib/cybersource_rest_client/models/{model_409_link.rb → shipping_address_list_for_customer__links_next.rb} +184 -183
  588. data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__links_prev.rb +184 -0
  589. data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__links_self.rb +184 -0
  590. data/lib/cybersource_rest_client/models/{file_detail.rb → tax_request.rb} +219 -244
  591. data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +292 -0
  592. data/lib/cybersource_rest_client/models/{der_public_key.rb → tmsv2customers__embedded.rb} +193 -205
  593. data/lib/cybersource_rest_client/models/{authorization_options.rb → tmsv2customers__embedded_authorization_options.rb} +183 -183
  594. data/lib/cybersource_rest_client/models/{initiator.rb → tmsv2customers__embedded_authorization_options_initiator.rb} +183 -183
  595. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +328 -0
  596. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded__embedded.rb → tmsv2customers__embedded_default_payment_instrument__embedded.rb} +184 -183
  597. data/lib/cybersource_rest_client/models/{instrument_identifier_response.rb → tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier.rb} +286 -258
  598. data/lib/cybersource_rest_client/models/{model_409_links.rb → tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier__links.rb} +192 -183
  599. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier__links_self.rb +184 -0
  600. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response_card.rb → tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bank_account.rb} +209 -208
  601. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +325 -0
  602. data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_card.rb → tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb} +284 -310
  603. data/lib/cybersource_rest_client/models/{issuer.rb → tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_issuer.rb} +199 -208
  604. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_metadata.rb +184 -0
  605. data/lib/cybersource_rest_client/models/{payment_instruments_links.rb → tmsv2customers__embedded_default_payment_instrument__links.rb} +192 -183
  606. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__links_self.rb +184 -0
  607. data/lib/cybersource_rest_client/models/{payment_instrument_bank_account.rb → tmsv2customers__embedded_default_payment_instrument_bank_account.rb} +199 -184
  608. data/lib/cybersource_rest_client/models/{riskv1authentications_order_information_ship_to.rb → tmsv2customers__embedded_default_payment_instrument_bill_to.rb} +449 -459
  609. data/lib/cybersource_rest_client/models/{buyer_information.rb → tmsv2customers__embedded_default_payment_instrument_buyer_information.rb} +245 -278
  610. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response_buyer_information_issued_by.rb → tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb} +199 -184
  611. data/lib/cybersource_rest_client/models/{personal_identification.rb → tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb} +218 -203
  612. data/lib/cybersource_rest_client/models/{payment_instrument_card.rb → tmsv2customers__embedded_default_payment_instrument_card.rb} +328 -369
  613. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +224 -0
  614. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb +208 -0
  615. data/lib/cybersource_rest_client/models/{merchant_information.rb → tmsv2customers__embedded_default_payment_instrument_merchant_information.rb} +183 -183
  616. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response_merchant_descriptor.rb → tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb} +199 -184
  617. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_metadata.rb +184 -0
  618. data/lib/cybersource_rest_client/models/{processing_information.rb → tmsv2customers__embedded_default_payment_instrument_processing_information.rb} +193 -195
  619. data/lib/cybersource_rest_client/models/{risk_v1_authentication_exemptions_post201_response_risk_information.rb → tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb} +199 -199
  620. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +245 -0
  621. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded__links.rb → tmsv2customers__embedded_default_shipping_address__links.rb} +192 -183
  622. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address__links_customer.rb +184 -0
  623. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address__links_self.rb +184 -0
  624. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response_metadata.rb → tmsv2customers__embedded_default_shipping_address_metadata.rb} +184 -184
  625. data/lib/cybersource_rest_client/models/{riskv1authenticationexemptions_order_information_ship_to.rb → tmsv2customers__embedded_default_shipping_address_ship_to.rb} +449 -399
  626. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response_merchant_initiated_transaction.rb → tmsv2customers__embedded_merchant_initiated_transaction.rb} +199 -199
  627. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_payment_instruments.rb +184 -0
  628. data/lib/cybersource_rest_client/models/{tms_v1_instrument_identifiers_post200_response_processing_information.rb → tmsv2customers__embedded_processing_information.rb} +183 -183
  629. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +273 -0
  630. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +235 -0
  631. data/lib/cybersource_rest_client/models/{links.rb → tmsv2customers__links.rb} +201 -210
  632. data/lib/cybersource_rest_client/models/tmsv2customers__links_payment_instruments.rb +184 -0
  633. data/lib/cybersource_rest_client/models/{instrument_identifier_payment_instruments_link.rb → tmsv2customers__links_self.rb} +184 -183
  634. data/lib/cybersource_rest_client/models/tmsv2customers__links_shipping_address.rb +184 -0
  635. data/lib/cybersource_rest_client/models/tmsv2customers_buyer_information.rb +224 -0
  636. data/lib/cybersource_rest_client/models/{create_instrument_identifier_request.rb → tmsv2customers_client_reference_information.rb} +199 -211
  637. data/lib/cybersource_rest_client/models/{instrument_identifier_update.rb → tmsv2customers_default_payment_instrument.rb} +184 -183
  638. data/lib/cybersource_rest_client/models/tmsv2customers_default_shipping_address.rb +184 -0
  639. data/lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb +209 -0
  640. data/lib/cybersource_rest_client/models/{metadata.rb → tmsv2customers_metadata.rb} +184 -184
  641. data/lib/cybersource_rest_client/models/tmsv2customers_object_information.rb +224 -0
  642. data/lib/cybersource_rest_client/models/tokenize_request.rb +198 -198
  643. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +444 -444
  644. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response__links.rb +194 -194
  645. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb +225 -225
  646. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information_applications.rb +254 -254
  647. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +224 -224
  648. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +254 -254
  649. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +259 -259
  650. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +234 -234
  651. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_error_information.rb +205 -205
  652. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_fraud_marking_information.rb +184 -184
  653. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_installment_information.rb +184 -184
  654. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information.rb +183 -183
  655. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb +184 -184
  656. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information.rb +231 -222
  657. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +324 -324
  658. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +524 -524
  659. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_invoice_details.rb +199 -0
  660. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +343 -343
  661. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +424 -424
  662. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +209 -209
  663. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information.rb +228 -228
  664. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +249 -249
  665. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +242 -242
  666. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +289 -289
  667. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb +204 -204
  668. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +394 -394
  669. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_invoice.rb +204 -204
  670. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb +204 -204
  671. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +267 -233
  672. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +261 -252
  673. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +199 -199
  674. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_bank_transfer_options.rb +184 -184
  675. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options.rb +274 -0
  676. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +371 -359
  677. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +424 -424
  678. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_multi_processor_routing.rb +244 -0
  679. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_processor.rb +199 -199
  680. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information.rb +233 -233
  681. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_profile.rb +194 -194
  682. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules.rb +225 -225
  683. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_score.rb +196 -196
  684. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +199 -199
  685. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +327 -327
  686. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded.rb +186 -186
  687. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded__links.rb +183 -183
  688. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_application_information.rb +225 -0
  689. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_application_information_applications.rb +244 -0
  690. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +199 -199
  691. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +219 -219
  692. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +234 -209
  693. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +199 -199
  694. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +199 -199
  695. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information.rb +201 -201
  696. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +299 -299
  697. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +299 -299
  698. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information.rb +201 -201
  699. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +219 -219
  700. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_payment_type.rb +194 -194
  701. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +243 -243
  702. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +199 -199
  703. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +234 -209
  704. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processor_information.rb +193 -183
  705. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information.rb +183 -183
  706. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers.rb +183 -183
  707. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +249 -249
  708. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +357 -357
  709. data/lib/cybersource_rest_client/models/tss_v2_transactions_post400_response.rb +215 -215
  710. data/lib/cybersource_rest_client/models/ums_v1_users_get200_response.rb +185 -185
  711. data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_account_information.rb +249 -249
  712. data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_contact_information.rb +210 -210
  713. data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_organization_information.rb +183 -183
  714. data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_users.rb +201 -201
  715. data/lib/cybersource_rest_client/models/update_invoice_request.rb +201 -0
  716. data/lib/cybersource_rest_client/models/v1_file_details_get200_response.rb +194 -194
  717. data/lib/cybersource_rest_client/models/v1_file_details_get200_response__links.rb +194 -194
  718. data/lib/cybersource_rest_client/models/v1_file_details_get200_response__links_files.rb +202 -202
  719. data/lib/cybersource_rest_client/models/v1_file_details_get200_response__links_self.rb +192 -192
  720. data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +244 -244
  721. data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +219 -0
  722. data/lib/cybersource_rest_client/models/{request.rb → validate_request.rb} +219 -210
  723. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response.rb +255 -0
  724. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response__links.rb +183 -0
  725. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information.rb +280 -0
  726. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_jurisdiction.rb +384 -0
  727. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_line_items.rb +271 -0
  728. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_tax_details.rb +224 -0
  729. data/lib/cybersource_rest_client/models/{card_info.rb → vas_v2_payments_post201_response_tax_information.rb} +194 -224
  730. data/lib/cybersource_rest_client/models/vas_v2_payments_post400_response.rb +225 -0
  731. data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response.rb +237 -0
  732. data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +209 -0
  733. data/lib/cybersource_rest_client/models/vas_v2_tax_voids_post400_response.rb +225 -0
  734. data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +199 -0
  735. data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +218 -0
  736. data/lib/cybersource_rest_client/models/{tmsv1instrumentidentifiers_bank_account.rb → vasv2tax_client_reference_information_partner.rb} +224 -242
  737. data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +199 -0
  738. data/lib/cybersource_rest_client/models/{create_payment_instrument_request.rb → vasv2tax_order_information.rb} +248 -246
  739. data/lib/cybersource_rest_client/models/vasv2tax_order_information_bill_to.rb +324 -0
  740. data/lib/cybersource_rest_client/models/vasv2tax_order_information_invoice_details.rb +199 -0
  741. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +501 -0
  742. data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_acceptance.rb +275 -0
  743. data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_origin.rb +275 -0
  744. data/lib/cybersource_rest_client/models/{bill_to.rb → vasv2tax_order_information_ship_to.rb} +349 -467
  745. data/lib/cybersource_rest_client/models/vasv2tax_order_information_shipping_details.rb +274 -0
  746. data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +278 -0
  747. data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +218 -0
  748. data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information_partner.rb +224 -0
  749. data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +201 -0
  750. data/lib/cybersource_rest_client/models/void_capture_request.rb +192 -192
  751. data/lib/cybersource_rest_client/models/void_credit_request.rb +192 -192
  752. data/lib/cybersource_rest_client/models/void_payment_request.rb +192 -192
  753. data/lib/cybersource_rest_client/models/void_refund_request.rb +192 -192
  754. data/lib/cybersource_rest_client/models/void_tax_request.rb +183 -0
  755. data/lib/cybersource_rest_client/utilities/flex/token_verification.rb +41 -41
  756. data/lib/cybersource_rest_client/version.rb +15 -15
  757. metadata +374 -190
  758. data/lib/cybersource_rest_client/api/authentication_exemptions_api.rb +0 -89
  759. data/lib/cybersource_rest_client/models/error_response.rb +0 -174
  760. data/lib/cybersource_rest_client/models/error_response_with_hal.rb +0 -174
  761. data/lib/cybersource_rest_client/models/existing_instrument_identifier_id.rb +0 -175
  762. data/lib/cybersource_rest_client/models/key_parameters.rb +0 -189
  763. data/lib/cybersource_rest_client/models/payment_instrument_instrument_identifier_request.rb +0 -246
  764. data/lib/cybersource_rest_client/models/payment_instruments_array.rb +0 -175
  765. data/lib/cybersource_rest_client/models/personal_identification_array.rb +0 -174
  766. data/lib/cybersource_rest_client/models/pi_for_ii_link_first.rb +0 -184
  767. data/lib/cybersource_rest_client/models/pi_for_ii_link_last.rb +0 -184
  768. data/lib/cybersource_rest_client/models/pi_for_ii_link_next.rb +0 -184
  769. data/lib/cybersource_rest_client/models/pi_for_ii_link_prev.rb +0 -184
  770. data/lib/cybersource_rest_client/models/pi_for_ii_link_self.rb +0 -184
  771. data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb +0 -365
  772. data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb +0 -221
  773. data/lib/cybersource_rest_client/models/risk_v1_authentication_exemptions_consumer_authentication_information_strong_authentication.rb +0 -269
  774. data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_device_information.rb +0 -183
  775. data/lib/cybersource_rest_client/models/riskv1authentications_travel_information_legs.rb +0 -259
  776. data/lib/cybersource_rest_client/models/self_link_bean.rb +0 -192
  777. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_delete409_response__links.rb +0 -183
  778. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded__links_self.rb +0 -183
  779. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_bank_account.rb +0 -184
  780. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_bill_to.rb +0 -467
  781. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_card.rb +0 -369
  782. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_first.rb +0 -184
  783. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_last.rb +0 -184
  784. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_next.rb +0 -184
  785. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_prev.rb +0 -184
  786. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__links_self.rb +0 -184
  787. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_bank_transfer_options.rb +0 -184
  788. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_merchant_information.rb +0 -183
  789. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_processing_information.rb +0 -195
  790. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response__links_payment_instruments.rb +0 -183
  791. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response__links_self.rb +0 -183
  792. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_authorization_options_initiator.rb +0 -183
  793. data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_bill_to.rb +0 -234
  794. data/lib/cybersource_rest_client/models/tokenize_result.rb +0 -255
  795. data/lib/cybersource_rest_client/models/update_payment_instrument_request.rb +0 -246
@@ -1,224 +1,224 @@
1
- =begin
2
- #CyberSource Merged Spec
3
-
4
- #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
-
6
- OpenAPI spec version: 0.0.1
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.2.3
10
-
11
- =end
12
-
13
- require 'date'
14
-
15
- module CyberSource
16
- class Riskv1decisionsClientReferenceInformation
17
- # Client-generated order reference or tracking number. CyberSource recommends that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. For information about tracking orders, see \"Tracking and Reconciling Your Orders\" in [Getting Started with CyberSource Advanced for the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Getting_Started_SCMP/html/wwhelp/wwhimpl/js/html/wwhelp.htm) #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.
18
- attr_accessor :code
19
-
20
- # Brief description of the order or any comment you wish to add to the order.
21
- attr_accessor :comments
22
-
23
- # Attribute mapping from ruby-style variable name to JSON key.
24
- def self.attribute_map
25
- {
26
- :'code' => :'code',
27
- :'comments' => :'comments'
28
- }
29
- end
30
-
31
- # Attribute type mapping.
32
- def self.swagger_types
33
- {
34
- :'code' => :'String',
35
- :'comments' => :'String'
36
- }
37
- end
38
-
39
- # Initializes the object
40
- # @param [Hash] attributes Model attributes in the form of hash
41
- def initialize(attributes = {})
42
- return unless attributes.is_a?(Hash)
43
-
44
- # convert string to symbol for hash key
45
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
46
-
47
- if attributes.has_key?(:'code')
48
- self.code = attributes[:'code']
49
- end
50
-
51
- if attributes.has_key?(:'comments')
52
- self.comments = attributes[:'comments']
53
- end
54
- end
55
-
56
- # Show invalid properties with the reasons. Usually used together with valid?
57
- # @return Array for valid properties with the reasons
58
- def list_invalid_properties
59
- invalid_properties = Array.new
60
- if !@code.nil? && @code.to_s.length > 50
61
- invalid_properties.push('invalid value for "code", the character length must be smaller than or equal to 50.')
62
- end
63
-
64
- if !@comments.nil? && @comments.to_s.length > 255
65
- invalid_properties.push('invalid value for "comments", the character length must be smaller than or equal to 255.')
66
- end
67
-
68
- invalid_properties
69
- end
70
-
71
- # Check to see if the all the properties in the model are valid
72
- # @return true if the model is valid
73
- def valid?
74
- return false if !@code.nil? && @code.to_s.length > 50
75
- return false if !@comments.nil? && @comments.to_s.length > 255
76
- true
77
- end
78
-
79
- # Custom attribute writer method with validation
80
- # @param [Object] code Value to be assigned
81
- def code=(code)
82
- if !code.nil? && code.to_s.length > 50
83
- fail ArgumentError, 'invalid value for "code", the character length must be smaller than or equal to 50.'
84
- end
85
-
86
- @code = code
87
- end
88
-
89
- # Custom attribute writer method with validation
90
- # @param [Object] comments Value to be assigned
91
- def comments=(comments)
92
- if !comments.nil? && comments.to_s.length > 255
93
- fail ArgumentError, 'invalid value for "comments", the character length must be smaller than or equal to 255.'
94
- end
95
-
96
- @comments = comments
97
- end
98
-
99
- # Checks equality by comparing each attribute.
100
- # @param [Object] Object to be compared
101
- def ==(o)
102
- return true if self.equal?(o)
103
- self.class == o.class &&
104
- code == o.code &&
105
- comments == o.comments
106
- end
107
-
108
- # @see the `==` method
109
- # @param [Object] Object to be compared
110
- def eql?(o)
111
- self == o
112
- end
113
-
114
- # Calculates hash code according to all attributes.
115
- # @return [Fixnum] Hash code
116
- def hash
117
- [code, comments].hash
118
- end
119
-
120
- # Builds the object from hash
121
- # @param [Hash] attributes Model attributes in the form of hash
122
- # @return [Object] Returns the model itself
123
- def build_from_hash(attributes)
124
- return nil unless attributes.is_a?(Hash)
125
- self.class.swagger_types.each_pair do |key, type|
126
- if type =~ /\AArray<(.*)>/i
127
- # check to ensure the input is an array given that the the attribute
128
- # is documented as an array but the input is not
129
- if attributes[self.class.attribute_map[key]].is_a?(Array)
130
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
131
- end
132
- elsif !attributes[self.class.attribute_map[key]].nil?
133
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
134
- end # or else data not found in attributes(hash), not an issue as the data can be optional
135
- end
136
-
137
- self
138
- end
139
-
140
- # Deserializes the data based on type
141
- # @param string type Data type
142
- # @param string value Value to be deserialized
143
- # @return [Object] Deserialized data
144
- def _deserialize(type, value)
145
- case type.to_sym
146
- when :DateTime
147
- DateTime.parse(value)
148
- when :Date
149
- Date.parse(value)
150
- when :String
151
- value.to_s
152
- when :Integer
153
- value.to_i
154
- when :Float
155
- value.to_f
156
- when :BOOLEAN
157
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
158
- true
159
- else
160
- false
161
- end
162
- when :Object
163
- # generic object (usually a Hash), return directly
164
- value
165
- when /\AArray<(?<inner_type>.+)>\z/
166
- inner_type = Regexp.last_match[:inner_type]
167
- value.map { |v| _deserialize(inner_type, v) }
168
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
169
- k_type = Regexp.last_match[:k_type]
170
- v_type = Regexp.last_match[:v_type]
171
- {}.tap do |hash|
172
- value.each do |k, v|
173
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
174
- end
175
- end
176
- else # model
177
- temp_model = CyberSource.const_get(type).new
178
- temp_model.build_from_hash(value)
179
- end
180
- end
181
-
182
- # Returns the string representation of the object
183
- # @return [String] String presentation of the object
184
- def to_s
185
- to_hash.to_s
186
- end
187
-
188
- # to_body is an alias to to_hash (backward compatibility)
189
- # @return [Hash] Returns the object in the form of hash
190
- def to_body
191
- to_hash
192
- end
193
-
194
- # Returns the object in the form of hash
195
- # @return [Hash] Returns the object in the form of hash
196
- def to_hash
197
- hash = {}
198
- self.class.attribute_map.each_pair do |attr, param|
199
- value = self.send(attr)
200
- next if value.nil?
201
- hash[param] = _to_hash(value)
202
- end
203
- hash
204
- end
205
-
206
- # Outputs non-array value in the form of hash
207
- # For object, use to_hash. Otherwise, just return the value
208
- # @param [Object] value Any valid value
209
- # @return [Hash] Returns the value in the form of hash
210
- def _to_hash(value)
211
- if value.is_a?(Array)
212
- value.compact.map { |v| _to_hash(v) }
213
- elsif value.is_a?(Hash)
214
- {}.tap do |hash|
215
- value.each { |k, v| hash[k] = _to_hash(v) }
216
- end
217
- elsif value.respond_to? :to_hash
218
- value.to_hash
219
- else
220
- value
221
- end
222
- end
223
- end
224
- 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.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CyberSource
16
+ class Riskv1decisionsClientReferenceInformation
17
+ # Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.
18
+ attr_accessor :code
19
+
20
+ # Brief description of the order or any comment you wish to add to the order.
21
+ attr_accessor :comments
22
+
23
+ # Attribute mapping from ruby-style variable name to JSON key.
24
+ def self.attribute_map
25
+ {
26
+ :'code' => :'code',
27
+ :'comments' => :'comments'
28
+ }
29
+ end
30
+
31
+ # Attribute type mapping.
32
+ def self.swagger_types
33
+ {
34
+ :'code' => :'String',
35
+ :'comments' => :'String'
36
+ }
37
+ end
38
+
39
+ # Initializes the object
40
+ # @param [Hash] attributes Model attributes in the form of hash
41
+ def initialize(attributes = {})
42
+ return unless attributes.is_a?(Hash)
43
+
44
+ # convert string to symbol for hash key
45
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
46
+
47
+ if attributes.has_key?(:'code')
48
+ self.code = attributes[:'code']
49
+ end
50
+
51
+ if attributes.has_key?(:'comments')
52
+ self.comments = attributes[:'comments']
53
+ end
54
+ end
55
+
56
+ # Show invalid properties with the reasons. Usually used together with valid?
57
+ # @return Array for valid properties with the reasons
58
+ def list_invalid_properties
59
+ invalid_properties = Array.new
60
+ if !@code.nil? && @code.to_s.length > 50
61
+ invalid_properties.push('invalid value for "code", the character length must be smaller than or equal to 50.')
62
+ end
63
+
64
+ if !@comments.nil? && @comments.to_s.length > 255
65
+ invalid_properties.push('invalid value for "comments", the character length must be smaller than or equal to 255.')
66
+ end
67
+
68
+ invalid_properties
69
+ end
70
+
71
+ # Check to see if the all the properties in the model are valid
72
+ # @return true if the model is valid
73
+ def valid?
74
+ return false if !@code.nil? && @code.to_s.length > 50
75
+ return false if !@comments.nil? && @comments.to_s.length > 255
76
+ true
77
+ end
78
+
79
+ # Custom attribute writer method with validation
80
+ # @param [Object] code Value to be assigned
81
+ def code=(code)
82
+ if !code.nil? && code.to_s.length > 50
83
+ fail ArgumentError, 'invalid value for "code", the character length must be smaller than or equal to 50.'
84
+ end
85
+
86
+ @code = code
87
+ end
88
+
89
+ # Custom attribute writer method with validation
90
+ # @param [Object] comments Value to be assigned
91
+ def comments=(comments)
92
+ if !comments.nil? && comments.to_s.length > 255
93
+ fail ArgumentError, 'invalid value for "comments", the character length must be smaller than or equal to 255.'
94
+ end
95
+
96
+ @comments = comments
97
+ end
98
+
99
+ # Checks equality by comparing each attribute.
100
+ # @param [Object] Object to be compared
101
+ def ==(o)
102
+ return true if self.equal?(o)
103
+ self.class == o.class &&
104
+ code == o.code &&
105
+ comments == o.comments
106
+ end
107
+
108
+ # @see the `==` method
109
+ # @param [Object] Object to be compared
110
+ def eql?(o)
111
+ self == o
112
+ end
113
+
114
+ # Calculates hash code according to all attributes.
115
+ # @return [Fixnum] Hash code
116
+ def hash
117
+ [code, comments].hash
118
+ end
119
+
120
+ # Builds the object from hash
121
+ # @param [Hash] attributes Model attributes in the form of hash
122
+ # @return [Object] Returns the model itself
123
+ def build_from_hash(attributes)
124
+ return nil unless attributes.is_a?(Hash)
125
+ self.class.swagger_types.each_pair do |key, type|
126
+ if type =~ /\AArray<(.*)>/i
127
+ # check to ensure the input is an array given that the the attribute
128
+ # is documented as an array but the input is not
129
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
130
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
131
+ end
132
+ elsif !attributes[self.class.attribute_map[key]].nil?
133
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
134
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
135
+ end
136
+
137
+ self
138
+ end
139
+
140
+ # Deserializes the data based on type
141
+ # @param string type Data type
142
+ # @param string value Value to be deserialized
143
+ # @return [Object] Deserialized data
144
+ def _deserialize(type, value)
145
+ case type.to_sym
146
+ when :DateTime
147
+ DateTime.parse(value)
148
+ when :Date
149
+ Date.parse(value)
150
+ when :String
151
+ value.to_s
152
+ when :Integer
153
+ value.to_i
154
+ when :Float
155
+ value.to_f
156
+ when :BOOLEAN
157
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
158
+ true
159
+ else
160
+ false
161
+ end
162
+ when :Object
163
+ # generic object (usually a Hash), return directly
164
+ value
165
+ when /\AArray<(?<inner_type>.+)>\z/
166
+ inner_type = Regexp.last_match[:inner_type]
167
+ value.map { |v| _deserialize(inner_type, v) }
168
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
169
+ k_type = Regexp.last_match[:k_type]
170
+ v_type = Regexp.last_match[:v_type]
171
+ {}.tap do |hash|
172
+ value.each do |k, v|
173
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
174
+ end
175
+ end
176
+ else # model
177
+ temp_model = CyberSource.const_get(type).new
178
+ temp_model.build_from_hash(value)
179
+ end
180
+ end
181
+
182
+ # Returns the string representation of the object
183
+ # @return [String] String presentation of the object
184
+ def to_s
185
+ to_hash.to_s
186
+ end
187
+
188
+ # to_body is an alias to to_hash (backward compatibility)
189
+ # @return [Hash] Returns the object in the form of hash
190
+ def to_body
191
+ to_hash
192
+ end
193
+
194
+ # Returns the object in the form of hash
195
+ # @return [Hash] Returns the object in the form of hash
196
+ def to_hash
197
+ hash = {}
198
+ self.class.attribute_map.each_pair do |attr, param|
199
+ value = self.send(attr)
200
+ next if value.nil?
201
+ hash[param] = _to_hash(value)
202
+ end
203
+ hash
204
+ end
205
+
206
+ # Outputs non-array value in the form of hash
207
+ # For object, use to_hash. Otherwise, just return the value
208
+ # @param [Object] value Any valid value
209
+ # @return [Hash] Returns the value in the form of hash
210
+ def _to_hash(value)
211
+ if value.is_a?(Array)
212
+ value.compact.map { |v| _to_hash(v) }
213
+ elsif value.is_a?(Hash)
214
+ {}.tap do |hash|
215
+ value.each { |k, v| hash[k] = _to_hash(v) }
216
+ end
217
+ elsif value.respond_to? :to_hash
218
+ value.to_hash
219
+ else
220
+ value
221
+ end
222
+ end
223
+ end
224
+ end
@@ -1,1359 +1,1023 @@
1
- =begin
2
- #CyberSource Merged Spec
3
-
4
- #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
-
6
- OpenAPI spec version: 0.0.1
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.2.3
10
-
11
- =end
12
-
13
- require 'date'
14
-
15
- module CyberSource
16
- class Riskv1authenticationsConsumerAuthenticationInformation
17
- attr_accessor :strong_authentication
18
-
19
- # Indicates the type of authentication that will be used to challenge the card holder. Possible Values: 01 - Static 02 - Dynamic 03 - OOB (Out of Band) 04 - Decoupled **NOTE**: EMV 3-D Secure version 2.1.0 supports values 01-03. Version 2.2.0 supports values 01-04. Decoupled authentication is not supported at this time.
20
- attr_accessor :authentication_type
21
-
22
- # Identifies the UI Type the ACS will use to complete the challenge. **NOTE**: Only available for App transactions using the Cardinal Mobile SDK.
23
- attr_accessor :acs_rendering_type
24
-
25
- # Unique transaction identifier assigned by the ACS to identify a single transaction.
26
- attr_accessor :acs_transaction_id
27
-
28
- # An override field that a merchant can pass in to set the challenge window size to display to the end cardholder. The ACS (Active Control Server) will reply with content that is formatted appropriately to this window size to allow for the best user experience. The sizes are width x height in pixels of the window displayed in the cardholder browser window. 01 - 250x400 02 - 390x400 03 - 500x600 04 - 600x400 05 - Full page
29
- attr_accessor :acs_window_size
30
-
31
- # Data that documents and supports a specific authentication process.
32
- attr_accessor :alternate_authentication_data
33
-
34
- # Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM
35
- attr_accessor :alternate_authentication_date
36
-
37
- # Mechanism used by the cardholder to authenticate to the 3D Secure requestor. Possible values: - `01`: No authentication occurred - `02`: Login using merchant system credentials - `03`: Login using Federated ID - `04`: Login using issuer credentials - `05`: Login using third-party authenticator - `06`: Login using FIDO Authenticator
38
- attr_accessor :alternate_authentication_method
39
-
40
- # The date/time of the authentication at the 3DS servers. RISK update authorization service in auth request payload with value returned in `consumerAuthenticationInformation.alternateAuthenticationData` if merchant calls via CYBS or field can be provided by merchant in authorization request if calling an external 3DS provider.
41
- attr_accessor :authentication_date
42
-
43
- # Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages. **Note**: Required for Standard integration for enroll service. Required for Hybrid integration for validate service.
44
- attr_accessor :authentication_transaction_id
45
-
46
- # The Base64 encoded JSON Payload of CB specific Authorization Values returned in the challenge Flow
47
- attr_accessor :authorization_payload
48
-
49
- # Text provided by the ACS/Issuer to Cardholder during a Frictionless or Decoupled transaction.The Issuer can provide information to Cardholder. For example, “Additional authentication is needed for this transaction, please contact (Issuer Name) at xxx-xxx-xxxx.”. The Issuing Bank can optionally support this value.
50
- attr_accessor :cardholder_message
51
-
52
- # An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK
53
- attr_accessor :challenge_cancel_code
54
-
55
- # Possible values: - `01`: No preference - `02`: No challenge request - `03`: Challenge requested (3D Secure requestor preference) - `04`: Challenge requested (mandate) - `05`: No challenge requested (transactional risk analysis is already performed) - `06`: No challenge requested (Data share only) - `07`: No challenge requested (strong consumer authentication is already performed) - `08`: No challenge requested (utilize whitelist exemption if no challenge required) - `09`: Challenge requested (whitelist prompt requested if challenge required) **Note** This field will default to `01` on merchant configuration and can be overridden by the merchant. EMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`. For details, see `pa_challenge_code` field description in [CyberSource Payer Authentication Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Payer_Authentication_SCMP_API/html)
56
- attr_accessor :challenge_code
57
-
58
- # Indicates whether a challenge is required in order to complete authentication. **Note** Regional mandates might determine that a challenge is required. Possible values: - `Y`: Challenge required - `N`: Challenge not required **Note** Used by the Hybrid integration.
59
- attr_accessor :challenge_required
60
-
61
- # The `consumerAuthenticationInformation.challengeCode` indicates the authentication type/level, or challenge, that was presented to the cardholder at checkout by the merchant when calling the Carte Bancaire 3DS servers via CYBS RISK services. It conveys to the issuer the alternative authentication methods that the consumer used.
62
- attr_accessor :challenge_status
63
-
64
- # An alias that uniquely identifies the customer's account and credit card on file. Note This field is required if Tokenization is enabled in the merchant profile settings.
65
- attr_accessor :customer_card_alias
66
-
67
- # Indicates whether the 3DS Requestor requests the ACS to utilize Decoupled Authentication and agrees to utilize Decoupled Authentication if the ACS confirms its use. Possible Values: Y - Decoupled Authentication is supported and preferred if challenge is necessary N - Do not use Decoupled Authentication **Default Value**: N
68
- attr_accessor :decoupled_authentication_indicator
69
-
70
- # Indicates the maximum amount of time that the 3DS Requestor will wait for an ACS (Active control server) to provide the results of a Decoupled Authentication transaction (in minutes). Possible Values: Numeric values between 1 and 10080 accepted.
71
- attr_accessor :decoupled_authentication_max_time
72
-
73
- # Indicates that the card being used is the one designated as the primary payment card for purchase. Recommended for Discover ProtectBuy.
74
- attr_accessor :default_card
75
-
76
- # Determines the channel that the transaction came through. Possible Values: SDK/Browser/3RI. 3RI - 3DS request initiated.
77
- attr_accessor :device_channel
78
-
79
- # The directory server error code indicating a problem with this transaction.
80
- attr_accessor :directory_server_error_code
81
-
82
- # Directory server text and additional detail about the error for this transaction.
83
- attr_accessor :directory_server_error_description
84
-
85
- # This field describes the type of 3DS transaction flow that took place. It can be one of three possible flows; CH - Challenge FR - Frictionless FD - Frictionless with delegation, (challenge not generated by the issuer but by the scheme on behalf of the issuer).
86
- attr_accessor :effective_authentication_type
87
-
88
- # An integer value greater than 1 indicating the max number of permitted authorizations for installment payments. **Note** This is required if the merchant and cardholder have agreed to installment payments.
89
- attr_accessor :installment_total_count
90
-
91
- attr_accessor :ivr
92
-
93
- # Calculated by merchants as per PSD2** RTS** (EEA** card fraud divided by all EEA card volumes). Possible Values: 1 = Represents fraud rate <=1 2 = Represents fraud rate >1 and <=6 3 = Represents fraud rate >6 and <=13 4 = Represents fraud rate >13 and <=25 5 = Represents fraud rate >25 EEA** = European Economic Area RTS** = Regulatory Technical Standards PSD2** = Payment Services Directive
94
- attr_accessor :merchant_fraud_rate
95
-
96
- # Indicates whether the customer has opted in for marketing offers. Recommended for Discover ProtectBuy.
97
- attr_accessor :marketing_opt_in
98
-
99
- # Indicates origin of the marketing offer. Recommended for Discover ProtectBuy.
100
- attr_accessor :marketing_source
101
-
102
- # Merchant category code. **Important** Required only for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
103
- attr_accessor :mcc
104
-
105
- # Risk Score provided by merchants. This is specific for CB transactions.
106
- attr_accessor :merchant_score
107
-
108
- # Category of the message for a specific use case. Possible values: - `01`: PA- payment authentication - `02`: NPA- non-payment authentication - `03-79`: Reserved for EMVCo future use (values invalid until defined by EMVCo) - `80-99`: Reserved for DS use
109
- attr_accessor :message_category
110
-
111
- # The global score calculated by the CB scoring platform and returned to merchants.
112
- attr_accessor :network_score
113
-
114
- # Non-Payer Authentication Indicator. Possible values: - `01`: Add card - `02`: Maintain card information - `03`: Cardholder verification for EMV token - `04-80` Reserved for EMVCo - `80-90` Reserved DS
115
- attr_accessor :npa_code
116
-
117
- # Specifies the Brazilian payment account type used for the transaction. This field overrides other payment types that might be specified in the request. Use one of the following values for this field: - `NA`: Not applicable. Do not override other payment types that are specified in the request. - `CR`: Credit card. - `DB`: Debit card. - `VSAVR`: Visa Vale Refeicao - `VSAVA`: Visa Vale Alimentacao **Important** Required only for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
118
- attr_accessor :override_payment_method
119
-
120
- # Two-character ISO standard Country Codes.
121
- attr_accessor :override_country_code
122
-
123
- # This field carry data that the ACS can use to verify the authentication process.
124
- attr_accessor :prior_authentication_data
125
-
126
- # Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. 01 - Frictionless authentication occurred by ACS 02 - Cardholder challenge occurred by ACS 03 - AVS verified 04 - Other issuer methods 05-79 - Reserved for EMVCo future use (values invalid until defined by EMVCo) 80-99 - Reserved for DS use
127
- attr_accessor :prior_authentication_method
128
-
129
- # This data element contains a ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder
130
- attr_accessor :prior_authentication_reference_id
131
-
132
- # Date and time in UTC of the prior cardholder authentication. Format – YYYYMMDDHHMM
133
- attr_accessor :prior_authentication_time
134
-
135
- # Specifies the product code, which designates the type of transaction. Specify one of the following values for this field: - AIR: Airline purchase Important Required for American Express SafeKey (U.S.). - `ACC`: Accommodation Rental - `ACF`: Account funding - `CHA`: Check acceptance - `DIG`: Digital Goods - `DSP`: Cash Dispensing - `GAS`: Fuel - `GEN`: General Retail - `LUX`: Luxury Retail - `PAL`: Prepaid activation and load - `PHY`: Goods or services purchase - `QCT`: Quasi-cash transaction - `REN`: Car Rental - `RES`: Restaurant - `SVC`: Services - `TBD`: Other - `TRA`: Travel **Important** Required for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
136
- attr_accessor :product_code
137
-
138
- # Cardinal's directory server assigned 3DS Requestor ID value
139
- attr_accessor :requestor_id
140
-
141
- # Indicates the type of 3RI request. Possible Values: 01 - Recurring transaction 02 - Installment transaction 03 - Add card 04 - Maintain card 05 - Account verification 06 - Split/delayed shipment 07 - Top-up 08 - Mail Order 09 - Telephone Order 10 - Whitelist status check 11 - Other payment
142
- attr_accessor :requestor_initiated_authentication_indicator
143
-
144
- # Cardinal's directory server assigned 3DS Requestor Name value
145
- attr_accessor :requestor_name
146
-
147
- # Reference ID that corresponds to the device fingerprinting data that was collected previously. Note Required for Hybrid integration.
148
- attr_accessor :reference_id
149
-
150
- # This field indicates the maximum amount of time for all 3DS 2.0 messages to be communicated between all components (in minutes). Possible Values: Greater than or equal to 05 (05 is the minimum timeout to set) Cardinal Default is set to 15 NOTE: This field is a required 3DS 2.0 field and Cardinal sends in a default of 15 if nothing is passed
151
- attr_accessor :sdk_max_timeout
152
-
153
- # SDK unique transaction identifier that is generated on each new transaction.
154
- attr_accessor :sdk_transaction_id
155
-
156
- # Indicates dedicated payment processes and procedures were used, potential secure corporate payment exemption applies. Possible Values : 0/1
157
- attr_accessor :secure_corporate_payment_indicator
158
-
159
- # Provides additional information as to why the PAResStatus has a specific value.
160
- attr_accessor :signed_pares_status_reason
161
-
162
- # The fully qualified URL that the merchant uses to post a form to the cardholder in order to complete the Consumer Authentication transaction for the Cardinal Cruise API integration.
163
- attr_accessor :step_up_url
164
-
165
- # Unique transaction identifier assigned by the 3DS Server to identify a single transaction.
166
- attr_accessor :three_ds_server_transaction_id
167
-
168
- # Transaction mode identifier. Identifies the channel from which the transaction originates. Possible values: - `M`: MOTO (Mail Order Telephone Order) - `R`: Retail - `S`: eCommerce - `P`: Mobile Device - `T`: Tablet
169
- attr_accessor :transaction_mode
170
-
171
- # Enables the communication of trusted beneficiary/whitelist status between the ACS, the DS and the 3DS Requestor. Possible Values: Y - 3DS Requestor is whitelisted by cardholder N - 3DS Requestor is not whitelisted by cardholder
172
- attr_accessor :white_list_status
173
-
174
- # This data element will be populated by the system setting Whitelist Status. Possible Values: 01 - 3DS/ Server/ 02 – DS/03 - ACS
175
- attr_accessor :white_list_status_source
176
-
177
- # Attribute mapping from ruby-style variable name to JSON key.
178
- def self.attribute_map
179
- {
180
- :'strong_authentication' => :'strongAuthentication',
181
- :'authentication_type' => :'authenticationType',
182
- :'acs_rendering_type' => :'acsRenderingType',
183
- :'acs_transaction_id' => :'acsTransactionId',
184
- :'acs_window_size' => :'acsWindowSize',
185
- :'alternate_authentication_data' => :'alternateAuthenticationData',
186
- :'alternate_authentication_date' => :'alternateAuthenticationDate',
187
- :'alternate_authentication_method' => :'alternateAuthenticationMethod',
188
- :'authentication_date' => :'authenticationDate',
189
- :'authentication_transaction_id' => :'authenticationTransactionId',
190
- :'authorization_payload' => :'authorizationPayload',
191
- :'cardholder_message' => :'cardholderMessage',
192
- :'challenge_cancel_code' => :'challengeCancelCode',
193
- :'challenge_code' => :'challengeCode',
194
- :'challenge_required' => :'challengeRequired',
195
- :'challenge_status' => :'challengeStatus',
196
- :'customer_card_alias' => :'customerCardAlias',
197
- :'decoupled_authentication_indicator' => :'decoupledAuthenticationIndicator',
198
- :'decoupled_authentication_max_time' => :'decoupledAuthenticationMaxTime',
199
- :'default_card' => :'defaultCard',
200
- :'device_channel' => :'deviceChannel',
201
- :'directory_server_error_code' => :'directoryServerErrorCode',
202
- :'directory_server_error_description' => :'directoryServerErrorDescription',
203
- :'effective_authentication_type' => :'effectiveAuthenticationType',
204
- :'installment_total_count' => :'installmentTotalCount',
205
- :'ivr' => :'ivr',
206
- :'merchant_fraud_rate' => :'merchantFraudRate',
207
- :'marketing_opt_in' => :'marketingOptIn',
208
- :'marketing_source' => :'marketingSource',
209
- :'mcc' => :'mcc',
210
- :'merchant_score' => :'merchantScore',
211
- :'message_category' => :'messageCategory',
212
- :'network_score' => :'networkScore',
213
- :'npa_code' => :'npaCode',
214
- :'override_payment_method' => :'overridePaymentMethod',
215
- :'override_country_code' => :'overrideCountryCode',
216
- :'prior_authentication_data' => :'priorAuthenticationData',
217
- :'prior_authentication_method' => :'priorAuthenticationMethod',
218
- :'prior_authentication_reference_id' => :'priorAuthenticationReferenceId',
219
- :'prior_authentication_time' => :'priorAuthenticationTime',
220
- :'product_code' => :'productCode',
221
- :'requestor_id' => :'requestorId',
222
- :'requestor_initiated_authentication_indicator' => :'requestorInitiatedAuthenticationIndicator',
223
- :'requestor_name' => :'requestorName',
224
- :'reference_id' => :'referenceId',
225
- :'sdk_max_timeout' => :'sdkMaxTimeout',
226
- :'sdk_transaction_id' => :'sdkTransactionId',
227
- :'secure_corporate_payment_indicator' => :'secureCorporatePaymentIndicator',
228
- :'signed_pares_status_reason' => :'signedParesStatusReason',
229
- :'step_up_url' => :'stepUpUrl',
230
- :'three_ds_server_transaction_id' => :'threeDSServerTransactionId',
231
- :'transaction_mode' => :'transactionMode',
232
- :'white_list_status' => :'whiteListStatus',
233
- :'white_list_status_source' => :'whiteListStatusSource'
234
- }
235
- end
236
-
237
- # Attribute type mapping.
238
- def self.swagger_types
239
- {
240
- :'strong_authentication' => :'Riskv1authenticationsConsumerAuthenticationInformationStrongAuthentication',
241
- :'authentication_type' => :'String',
242
- :'acs_rendering_type' => :'String',
243
- :'acs_transaction_id' => :'String',
244
- :'acs_window_size' => :'String',
245
- :'alternate_authentication_data' => :'String',
246
- :'alternate_authentication_date' => :'String',
247
- :'alternate_authentication_method' => :'String',
248
- :'authentication_date' => :'String',
249
- :'authentication_transaction_id' => :'String',
250
- :'authorization_payload' => :'String',
251
- :'cardholder_message' => :'String',
252
- :'challenge_cancel_code' => :'String',
253
- :'challenge_code' => :'String',
254
- :'challenge_required' => :'String',
255
- :'challenge_status' => :'String',
256
- :'customer_card_alias' => :'String',
257
- :'decoupled_authentication_indicator' => :'String',
258
- :'decoupled_authentication_max_time' => :'String',
259
- :'default_card' => :'BOOLEAN',
260
- :'device_channel' => :'String',
261
- :'directory_server_error_code' => :'String',
262
- :'directory_server_error_description' => :'String',
263
- :'effective_authentication_type' => :'String',
264
- :'installment_total_count' => :'Integer',
265
- :'ivr' => :'Riskv1authenticationsConsumerAuthenticationInformationIvr',
266
- :'merchant_fraud_rate' => :'String',
267
- :'marketing_opt_in' => :'BOOLEAN',
268
- :'marketing_source' => :'String',
269
- :'mcc' => :'String',
270
- :'merchant_score' => :'Integer',
271
- :'message_category' => :'String',
272
- :'network_score' => :'String',
273
- :'npa_code' => :'String',
274
- :'override_payment_method' => :'String',
275
- :'override_country_code' => :'String',
276
- :'prior_authentication_data' => :'String',
277
- :'prior_authentication_method' => :'String',
278
- :'prior_authentication_reference_id' => :'String',
279
- :'prior_authentication_time' => :'String',
280
- :'product_code' => :'String',
281
- :'requestor_id' => :'String',
282
- :'requestor_initiated_authentication_indicator' => :'String',
283
- :'requestor_name' => :'String',
284
- :'reference_id' => :'String',
285
- :'sdk_max_timeout' => :'String',
286
- :'sdk_transaction_id' => :'String',
287
- :'secure_corporate_payment_indicator' => :'String',
288
- :'signed_pares_status_reason' => :'String',
289
- :'step_up_url' => :'String',
290
- :'three_ds_server_transaction_id' => :'String',
291
- :'transaction_mode' => :'String',
292
- :'white_list_status' => :'String',
293
- :'white_list_status_source' => :'String'
294
- }
295
- end
296
-
297
- # Initializes the object
298
- # @param [Hash] attributes Model attributes in the form of hash
299
- def initialize(attributes = {})
300
- return unless attributes.is_a?(Hash)
301
-
302
- # convert string to symbol for hash key
303
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
304
-
305
- if attributes.has_key?(:'strongAuthentication')
306
- self.strong_authentication = attributes[:'strongAuthentication']
307
- end
308
-
309
- if attributes.has_key?(:'authenticationType')
310
- self.authentication_type = attributes[:'authenticationType']
311
- end
312
-
313
- if attributes.has_key?(:'acsRenderingType')
314
- self.acs_rendering_type = attributes[:'acsRenderingType']
315
- end
316
-
317
- if attributes.has_key?(:'acsTransactionId')
318
- self.acs_transaction_id = attributes[:'acsTransactionId']
319
- end
320
-
321
- if attributes.has_key?(:'acsWindowSize')
322
- self.acs_window_size = attributes[:'acsWindowSize']
323
- end
324
-
325
- if attributes.has_key?(:'alternateAuthenticationData')
326
- self.alternate_authentication_data = attributes[:'alternateAuthenticationData']
327
- end
328
-
329
- if attributes.has_key?(:'alternateAuthenticationDate')
330
- self.alternate_authentication_date = attributes[:'alternateAuthenticationDate']
331
- end
332
-
333
- if attributes.has_key?(:'alternateAuthenticationMethod')
334
- self.alternate_authentication_method = attributes[:'alternateAuthenticationMethod']
335
- end
336
-
337
- if attributes.has_key?(:'authenticationDate')
338
- self.authentication_date = attributes[:'authenticationDate']
339
- end
340
-
341
- if attributes.has_key?(:'authenticationTransactionId')
342
- self.authentication_transaction_id = attributes[:'authenticationTransactionId']
343
- end
344
-
345
- if attributes.has_key?(:'authorizationPayload')
346
- self.authorization_payload = attributes[:'authorizationPayload']
347
- end
348
-
349
- if attributes.has_key?(:'cardholderMessage')
350
- self.cardholder_message = attributes[:'cardholderMessage']
351
- end
352
-
353
- if attributes.has_key?(:'challengeCancelCode')
354
- self.challenge_cancel_code = attributes[:'challengeCancelCode']
355
- end
356
-
357
- if attributes.has_key?(:'challengeCode')
358
- self.challenge_code = attributes[:'challengeCode']
359
- end
360
-
361
- if attributes.has_key?(:'challengeRequired')
362
- self.challenge_required = attributes[:'challengeRequired']
363
- end
364
-
365
- if attributes.has_key?(:'challengeStatus')
366
- self.challenge_status = attributes[:'challengeStatus']
367
- end
368
-
369
- if attributes.has_key?(:'customerCardAlias')
370
- self.customer_card_alias = attributes[:'customerCardAlias']
371
- end
372
-
373
- if attributes.has_key?(:'decoupledAuthenticationIndicator')
374
- self.decoupled_authentication_indicator = attributes[:'decoupledAuthenticationIndicator']
375
- end
376
-
377
- if attributes.has_key?(:'decoupledAuthenticationMaxTime')
378
- self.decoupled_authentication_max_time = attributes[:'decoupledAuthenticationMaxTime']
379
- end
380
-
381
- if attributes.has_key?(:'defaultCard')
382
- self.default_card = attributes[:'defaultCard']
383
- end
384
-
385
- if attributes.has_key?(:'deviceChannel')
386
- self.device_channel = attributes[:'deviceChannel']
387
- end
388
-
389
- if attributes.has_key?(:'directoryServerErrorCode')
390
- self.directory_server_error_code = attributes[:'directoryServerErrorCode']
391
- end
392
-
393
- if attributes.has_key?(:'directoryServerErrorDescription')
394
- self.directory_server_error_description = attributes[:'directoryServerErrorDescription']
395
- end
396
-
397
- if attributes.has_key?(:'effectiveAuthenticationType')
398
- self.effective_authentication_type = attributes[:'effectiveAuthenticationType']
399
- end
400
-
401
- if attributes.has_key?(:'installmentTotalCount')
402
- self.installment_total_count = attributes[:'installmentTotalCount']
403
- end
404
-
405
- if attributes.has_key?(:'ivr')
406
- self.ivr = attributes[:'ivr']
407
- end
408
-
409
- if attributes.has_key?(:'merchantFraudRate')
410
- self.merchant_fraud_rate = attributes[:'merchantFraudRate']
411
- end
412
-
413
- if attributes.has_key?(:'marketingOptIn')
414
- self.marketing_opt_in = attributes[:'marketingOptIn']
415
- end
416
-
417
- if attributes.has_key?(:'marketingSource')
418
- self.marketing_source = attributes[:'marketingSource']
419
- end
420
-
421
- if attributes.has_key?(:'mcc')
422
- self.mcc = attributes[:'mcc']
423
- end
424
-
425
- if attributes.has_key?(:'merchantScore')
426
- self.merchant_score = attributes[:'merchantScore']
427
- end
428
-
429
- if attributes.has_key?(:'messageCategory')
430
- self.message_category = attributes[:'messageCategory']
431
- end
432
-
433
- if attributes.has_key?(:'networkScore')
434
- self.network_score = attributes[:'networkScore']
435
- end
436
-
437
- if attributes.has_key?(:'npaCode')
438
- self.npa_code = attributes[:'npaCode']
439
- end
440
-
441
- if attributes.has_key?(:'overridePaymentMethod')
442
- self.override_payment_method = attributes[:'overridePaymentMethod']
443
- end
444
-
445
- if attributes.has_key?(:'overrideCountryCode')
446
- self.override_country_code = attributes[:'overrideCountryCode']
447
- end
448
-
449
- if attributes.has_key?(:'priorAuthenticationData')
450
- self.prior_authentication_data = attributes[:'priorAuthenticationData']
451
- end
452
-
453
- if attributes.has_key?(:'priorAuthenticationMethod')
454
- self.prior_authentication_method = attributes[:'priorAuthenticationMethod']
455
- end
456
-
457
- if attributes.has_key?(:'priorAuthenticationReferenceId')
458
- self.prior_authentication_reference_id = attributes[:'priorAuthenticationReferenceId']
459
- end
460
-
461
- if attributes.has_key?(:'priorAuthenticationTime')
462
- self.prior_authentication_time = attributes[:'priorAuthenticationTime']
463
- end
464
-
465
- if attributes.has_key?(:'productCode')
466
- self.product_code = attributes[:'productCode']
467
- end
468
-
469
- if attributes.has_key?(:'requestorId')
470
- self.requestor_id = attributes[:'requestorId']
471
- end
472
-
473
- if attributes.has_key?(:'requestorInitiatedAuthenticationIndicator')
474
- self.requestor_initiated_authentication_indicator = attributes[:'requestorInitiatedAuthenticationIndicator']
475
- end
476
-
477
- if attributes.has_key?(:'requestorName')
478
- self.requestor_name = attributes[:'requestorName']
479
- end
480
-
481
- if attributes.has_key?(:'referenceId')
482
- self.reference_id = attributes[:'referenceId']
483
- end
484
-
485
- if attributes.has_key?(:'sdkMaxTimeout')
486
- self.sdk_max_timeout = attributes[:'sdkMaxTimeout']
487
- end
488
-
489
- if attributes.has_key?(:'sdkTransactionId')
490
- self.sdk_transaction_id = attributes[:'sdkTransactionId']
491
- end
492
-
493
- if attributes.has_key?(:'secureCorporatePaymentIndicator')
494
- self.secure_corporate_payment_indicator = attributes[:'secureCorporatePaymentIndicator']
495
- end
496
-
497
- if attributes.has_key?(:'signedParesStatusReason')
498
- self.signed_pares_status_reason = attributes[:'signedParesStatusReason']
499
- end
500
-
501
- if attributes.has_key?(:'stepUpUrl')
502
- self.step_up_url = attributes[:'stepUpUrl']
503
- end
504
-
505
- if attributes.has_key?(:'threeDSServerTransactionId')
506
- self.three_ds_server_transaction_id = attributes[:'threeDSServerTransactionId']
507
- end
508
-
509
- if attributes.has_key?(:'transactionMode')
510
- self.transaction_mode = attributes[:'transactionMode']
511
- end
512
-
513
- if attributes.has_key?(:'whiteListStatus')
514
- self.white_list_status = attributes[:'whiteListStatus']
515
- end
516
-
517
- if attributes.has_key?(:'whiteListStatusSource')
518
- self.white_list_status_source = attributes[:'whiteListStatusSource']
519
- end
520
- end
521
-
522
- # Show invalid properties with the reasons. Usually used together with valid?
523
- # @return Array for valid properties with the reasons
524
- def list_invalid_properties
525
- invalid_properties = Array.new
526
- if !@authentication_type.nil? && @authentication_type.to_s.length > 2
527
- invalid_properties.push('invalid value for "authentication_type", the character length must be smaller than or equal to 2.')
528
- end
529
-
530
- if !@acs_transaction_id.nil? && @acs_transaction_id.to_s.length > 36
531
- invalid_properties.push('invalid value for "acs_transaction_id", the character length must be smaller than or equal to 36.')
532
- end
533
-
534
- if !@acs_window_size.nil? && @acs_window_size.to_s.length > 2
535
- invalid_properties.push('invalid value for "acs_window_size", the character length must be smaller than or equal to 2.')
536
- end
537
-
538
- if !@alternate_authentication_data.nil? && @alternate_authentication_data.to_s.length > 2048
539
- invalid_properties.push('invalid value for "alternate_authentication_data", the character length must be smaller than or equal to 2048.')
540
- end
541
-
542
- if !@alternate_authentication_date.nil? && @alternate_authentication_date.to_s.length > 14
543
- invalid_properties.push('invalid value for "alternate_authentication_date", the character length must be smaller than or equal to 14.')
544
- end
545
-
546
- if !@authentication_date.nil? && @authentication_date.to_s.length > 14
547
- invalid_properties.push('invalid value for "authentication_date", the character length must be smaller than or equal to 14.')
548
- end
549
-
550
- if !@authentication_transaction_id.nil? && @authentication_transaction_id.to_s.length > 20
551
- invalid_properties.push('invalid value for "authentication_transaction_id", the character length must be smaller than or equal to 20.')
552
- end
553
-
554
- if !@cardholder_message.nil? && @cardholder_message.to_s.length > 128
555
- invalid_properties.push('invalid value for "cardholder_message", the character length must be smaller than or equal to 128.')
556
- end
557
-
558
- if !@challenge_cancel_code.nil? && @challenge_cancel_code.to_s.length > 2
559
- invalid_properties.push('invalid value for "challenge_cancel_code", the character length must be smaller than or equal to 2.')
560
- end
561
-
562
- if !@challenge_required.nil? && @challenge_required.to_s.length > 1
563
- invalid_properties.push('invalid value for "challenge_required", the character length must be smaller than or equal to 1.')
564
- end
565
-
566
- if !@challenge_status.nil? && @challenge_status.to_s.length > 2
567
- invalid_properties.push('invalid value for "challenge_status", the character length must be smaller than or equal to 2.')
568
- end
569
-
570
- if !@customer_card_alias.nil? && @customer_card_alias.to_s.length > 128
571
- invalid_properties.push('invalid value for "customer_card_alias", the character length must be smaller than or equal to 128.')
572
- end
573
-
574
- if !@decoupled_authentication_indicator.nil? && @decoupled_authentication_indicator.to_s.length > 1
575
- invalid_properties.push('invalid value for "decoupled_authentication_indicator", the character length must be smaller than or equal to 1.')
576
- end
577
-
578
- if !@decoupled_authentication_max_time.nil? && @decoupled_authentication_max_time.to_s.length > 5
579
- invalid_properties.push('invalid value for "decoupled_authentication_max_time", the character length must be smaller than or equal to 5.')
580
- end
581
-
582
- if !@device_channel.nil? && @device_channel.to_s.length > 10
583
- invalid_properties.push('invalid value for "device_channel", the character length must be smaller than or equal to 10.')
584
- end
585
-
586
- if !@directory_server_error_code.nil? && @directory_server_error_code.to_s.length > 3
587
- invalid_properties.push('invalid value for "directory_server_error_code", the character length must be smaller than or equal to 3.')
588
- end
589
-
590
- if !@directory_server_error_description.nil? && @directory_server_error_description.to_s.length > 4096
591
- invalid_properties.push('invalid value for "directory_server_error_description", the character length must be smaller than or equal to 4096.')
592
- end
593
-
594
- if !@effective_authentication_type.nil? && @effective_authentication_type.to_s.length > 2
595
- invalid_properties.push('invalid value for "effective_authentication_type", the character length must be smaller than or equal to 2.')
596
- end
597
-
598
- if !@merchant_fraud_rate.nil? && @merchant_fraud_rate.to_s.length > 2
599
- invalid_properties.push('invalid value for "merchant_fraud_rate", the character length must be smaller than or equal to 2.')
600
- end
601
-
602
- if !@marketing_source.nil? && @marketing_source.to_s.length > 40
603
- invalid_properties.push('invalid value for "marketing_source", the character length must be smaller than or equal to 40.')
604
- end
605
-
606
- if @mcc.nil?
607
- invalid_properties.push('invalid value for "mcc", mcc cannot be nil.')
608
- end
609
-
610
- if @mcc.to_s.length > 4
611
- invalid_properties.push('invalid value for "mcc", the character length must be smaller than or equal to 4.')
612
- end
613
-
614
- if !@network_score.nil? && @network_score.to_s.length > 2
615
- invalid_properties.push('invalid value for "network_score", the character length must be smaller than or equal to 2.')
616
- end
617
-
618
- if !@npa_code.nil? && @npa_code.to_s.length > 2
619
- invalid_properties.push('invalid value for "npa_code", the character length must be smaller than or equal to 2.')
620
- end
621
-
622
- if @override_country_code.nil?
623
- invalid_properties.push('invalid value for "override_country_code", override_country_code cannot be nil.')
624
- end
625
-
626
- if @override_country_code.to_s.length > 2
627
- invalid_properties.push('invalid value for "override_country_code", the character length must be smaller than or equal to 2.')
628
- end
629
-
630
- if !@prior_authentication_data.nil? && @prior_authentication_data.to_s.length > 2048
631
- invalid_properties.push('invalid value for "prior_authentication_data", the character length must be smaller than or equal to 2048.')
632
- end
633
-
634
- if !@prior_authentication_method.nil? && @prior_authentication_method.to_s.length > 2
635
- invalid_properties.push('invalid value for "prior_authentication_method", the character length must be smaller than or equal to 2.')
636
- end
637
-
638
- if !@prior_authentication_reference_id.nil? && @prior_authentication_reference_id.to_s.length > 36
639
- invalid_properties.push('invalid value for "prior_authentication_reference_id", the character length must be smaller than or equal to 36.')
640
- end
641
-
642
- if !@prior_authentication_time.nil? && @prior_authentication_time.to_s.length > 12
643
- invalid_properties.push('invalid value for "prior_authentication_time", the character length must be smaller than or equal to 12.')
644
- end
645
-
646
- if !@product_code.nil? && @product_code.to_s.length > 3
647
- invalid_properties.push('invalid value for "product_code", the character length must be smaller than or equal to 3.')
648
- end
649
-
650
- if !@requestor_id.nil? && @requestor_id.to_s.length > 35
651
- invalid_properties.push('invalid value for "requestor_id", the character length must be smaller than or equal to 35.')
652
- end
653
-
654
- if !@requestor_initiated_authentication_indicator.nil? && @requestor_initiated_authentication_indicator.to_s.length > 2
655
- invalid_properties.push('invalid value for "requestor_initiated_authentication_indicator", the character length must be smaller than or equal to 2.')
656
- end
657
-
658
- if !@requestor_name.nil? && @requestor_name.to_s.length > 40
659
- invalid_properties.push('invalid value for "requestor_name", the character length must be smaller than or equal to 40.')
660
- end
661
-
662
- if @reference_id.nil?
663
- invalid_properties.push('invalid value for "reference_id", reference_id cannot be nil.')
664
- end
665
-
666
- if @reference_id.to_s.length > 50
667
- invalid_properties.push('invalid value for "reference_id", the character length must be smaller than or equal to 50.')
668
- end
669
-
670
- if !@sdk_max_timeout.nil? && @sdk_max_timeout.to_s.length > 2
671
- invalid_properties.push('invalid value for "sdk_max_timeout", the character length must be smaller than or equal to 2.')
672
- end
673
-
674
- if !@sdk_transaction_id.nil? && @sdk_transaction_id.to_s.length > 36
675
- invalid_properties.push('invalid value for "sdk_transaction_id", the character length must be smaller than or equal to 36.')
676
- end
677
-
678
- if !@secure_corporate_payment_indicator.nil? && @secure_corporate_payment_indicator.to_s.length > 1
679
- invalid_properties.push('invalid value for "secure_corporate_payment_indicator", the character length must be smaller than or equal to 1.')
680
- end
681
-
682
- if !@signed_pares_status_reason.nil? && @signed_pares_status_reason.to_s.length > 2
683
- invalid_properties.push('invalid value for "signed_pares_status_reason", the character length must be smaller than or equal to 2.')
684
- end
685
-
686
- if !@step_up_url.nil? && @step_up_url.to_s.length > 2048
687
- invalid_properties.push('invalid value for "step_up_url", the character length must be smaller than or equal to 2048.')
688
- end
689
-
690
- if !@three_ds_server_transaction_id.nil? && @three_ds_server_transaction_id.to_s.length > 36
691
- invalid_properties.push('invalid value for "three_ds_server_transaction_id", the character length must be smaller than or equal to 36.')
692
- end
693
-
694
- if @transaction_mode.nil?
695
- invalid_properties.push('invalid value for "transaction_mode", transaction_mode cannot be nil.')
696
- end
697
-
698
- if !@white_list_status.nil? && @white_list_status.to_s.length > 1
699
- invalid_properties.push('invalid value for "white_list_status", the character length must be smaller than or equal to 1.')
700
- end
701
-
702
- if !@white_list_status_source.nil? && @white_list_status_source.to_s.length > 2
703
- invalid_properties.push('invalid value for "white_list_status_source", the character length must be smaller than or equal to 2.')
704
- end
705
-
706
- invalid_properties
707
- end
708
-
709
- # Check to see if the all the properties in the model are valid
710
- # @return true if the model is valid
711
- def valid?
712
- return false if !@authentication_type.nil? && @authentication_type.to_s.length > 2
713
- return false if !@acs_transaction_id.nil? && @acs_transaction_id.to_s.length > 36
714
- return false if !@acs_window_size.nil? && @acs_window_size.to_s.length > 2
715
- return false if !@alternate_authentication_data.nil? && @alternate_authentication_data.to_s.length > 2048
716
- return false if !@alternate_authentication_date.nil? && @alternate_authentication_date.to_s.length > 14
717
- return false if !@authentication_date.nil? && @authentication_date.to_s.length > 14
718
- return false if !@authentication_transaction_id.nil? && @authentication_transaction_id.to_s.length > 20
719
- return false if !@cardholder_message.nil? && @cardholder_message.to_s.length > 128
720
- return false if !@challenge_cancel_code.nil? && @challenge_cancel_code.to_s.length > 2
721
- return false if !@challenge_required.nil? && @challenge_required.to_s.length > 1
722
- return false if !@challenge_status.nil? && @challenge_status.to_s.length > 2
723
- return false if !@customer_card_alias.nil? && @customer_card_alias.to_s.length > 128
724
- return false if !@decoupled_authentication_indicator.nil? && @decoupled_authentication_indicator.to_s.length > 1
725
- return false if !@decoupled_authentication_max_time.nil? && @decoupled_authentication_max_time.to_s.length > 5
726
- return false if !@device_channel.nil? && @device_channel.to_s.length > 10
727
- return false if !@directory_server_error_code.nil? && @directory_server_error_code.to_s.length > 3
728
- return false if !@directory_server_error_description.nil? && @directory_server_error_description.to_s.length > 4096
729
- return false if !@effective_authentication_type.nil? && @effective_authentication_type.to_s.length > 2
730
- return false if !@merchant_fraud_rate.nil? && @merchant_fraud_rate.to_s.length > 2
731
- return false if !@marketing_source.nil? && @marketing_source.to_s.length > 40
732
- return false if @mcc.nil?
733
- return false if @mcc.to_s.length > 4
734
- return false if !@network_score.nil? && @network_score.to_s.length > 2
735
- return false if !@npa_code.nil? && @npa_code.to_s.length > 2
736
- return false if @override_country_code.nil?
737
- return false if @override_country_code.to_s.length > 2
738
- return false if !@prior_authentication_data.nil? && @prior_authentication_data.to_s.length > 2048
739
- return false if !@prior_authentication_method.nil? && @prior_authentication_method.to_s.length > 2
740
- return false if !@prior_authentication_reference_id.nil? && @prior_authentication_reference_id.to_s.length > 36
741
- return false if !@prior_authentication_time.nil? && @prior_authentication_time.to_s.length > 12
742
- return false if !@product_code.nil? && @product_code.to_s.length > 3
743
- return false if !@requestor_id.nil? && @requestor_id.to_s.length > 35
744
- return false if !@requestor_initiated_authentication_indicator.nil? && @requestor_initiated_authentication_indicator.to_s.length > 2
745
- return false if !@requestor_name.nil? && @requestor_name.to_s.length > 40
746
- return false if @reference_id.nil?
747
- return false if @reference_id.to_s.length > 50
748
- return false if !@sdk_max_timeout.nil? && @sdk_max_timeout.to_s.length > 2
749
- return false if !@sdk_transaction_id.nil? && @sdk_transaction_id.to_s.length > 36
750
- return false if !@secure_corporate_payment_indicator.nil? && @secure_corporate_payment_indicator.to_s.length > 1
751
- return false if !@signed_pares_status_reason.nil? && @signed_pares_status_reason.to_s.length > 2
752
- return false if !@step_up_url.nil? && @step_up_url.to_s.length > 2048
753
- return false if !@three_ds_server_transaction_id.nil? && @three_ds_server_transaction_id.to_s.length > 36
754
- return false if @transaction_mode.nil?
755
- return false if !@white_list_status.nil? && @white_list_status.to_s.length > 1
756
- return false if !@white_list_status_source.nil? && @white_list_status_source.to_s.length > 2
757
- true
758
- end
759
-
760
- # Custom attribute writer method with validation
761
- # @param [Object] authentication_type Value to be assigned
762
- def authentication_type=(authentication_type)
763
- if !authentication_type.nil? && authentication_type.to_s.length > 2
764
- fail ArgumentError, 'invalid value for "authentication_type", the character length must be smaller than or equal to 2.'
765
- end
766
-
767
- @authentication_type = authentication_type
768
- end
769
-
770
- # Custom attribute writer method with validation
771
- # @param [Object] acs_transaction_id Value to be assigned
772
- def acs_transaction_id=(acs_transaction_id)
773
- if !acs_transaction_id.nil? && acs_transaction_id.to_s.length > 36
774
- fail ArgumentError, 'invalid value for "acs_transaction_id", the character length must be smaller than or equal to 36.'
775
- end
776
-
777
- @acs_transaction_id = acs_transaction_id
778
- end
779
-
780
- # Custom attribute writer method with validation
781
- # @param [Object] acs_window_size Value to be assigned
782
- def acs_window_size=(acs_window_size)
783
- if !acs_window_size.nil? && acs_window_size.to_s.length > 2
784
- fail ArgumentError, 'invalid value for "acs_window_size", the character length must be smaller than or equal to 2.'
785
- end
786
-
787
- @acs_window_size = acs_window_size
788
- end
789
-
790
- # Custom attribute writer method with validation
791
- # @param [Object] alternate_authentication_data Value to be assigned
792
- def alternate_authentication_data=(alternate_authentication_data)
793
- if !alternate_authentication_data.nil? && alternate_authentication_data.to_s.length > 2048
794
- fail ArgumentError, 'invalid value for "alternate_authentication_data", the character length must be smaller than or equal to 2048.'
795
- end
796
-
797
- @alternate_authentication_data = alternate_authentication_data
798
- end
799
-
800
- # Custom attribute writer method with validation
801
- # @param [Object] alternate_authentication_date Value to be assigned
802
- def alternate_authentication_date=(alternate_authentication_date)
803
- if !alternate_authentication_date.nil? && alternate_authentication_date.to_s.length > 14
804
- fail ArgumentError, 'invalid value for "alternate_authentication_date", the character length must be smaller than or equal to 14.'
805
- end
806
-
807
- @alternate_authentication_date = alternate_authentication_date
808
- end
809
-
810
- # Custom attribute writer method with validation
811
- # @param [Object] authentication_date Value to be assigned
812
- def authentication_date=(authentication_date)
813
- if !authentication_date.nil? && authentication_date.to_s.length > 14
814
- fail ArgumentError, 'invalid value for "authentication_date", the character length must be smaller than or equal to 14.'
815
- end
816
-
817
- @authentication_date = authentication_date
818
- end
819
-
820
- # Custom attribute writer method with validation
821
- # @param [Object] authentication_transaction_id Value to be assigned
822
- def authentication_transaction_id=(authentication_transaction_id)
823
- if !authentication_transaction_id.nil? && authentication_transaction_id.to_s.length > 20
824
- fail ArgumentError, 'invalid value for "authentication_transaction_id", the character length must be smaller than or equal to 20.'
825
- end
826
-
827
- @authentication_transaction_id = authentication_transaction_id
828
- end
829
-
830
- # Custom attribute writer method with validation
831
- # @param [Object] cardholder_message Value to be assigned
832
- def cardholder_message=(cardholder_message)
833
- if !cardholder_message.nil? && cardholder_message.to_s.length > 128
834
- fail ArgumentError, 'invalid value for "cardholder_message", the character length must be smaller than or equal to 128.'
835
- end
836
-
837
- @cardholder_message = cardholder_message
838
- end
839
-
840
- # Custom attribute writer method with validation
841
- # @param [Object] challenge_cancel_code Value to be assigned
842
- def challenge_cancel_code=(challenge_cancel_code)
843
- if !challenge_cancel_code.nil? && challenge_cancel_code.to_s.length > 2
844
- fail ArgumentError, 'invalid value for "challenge_cancel_code", the character length must be smaller than or equal to 2.'
845
- end
846
-
847
- @challenge_cancel_code = challenge_cancel_code
848
- end
849
-
850
- # Custom attribute writer method with validation
851
- # @param [Object] challenge_required Value to be assigned
852
- def challenge_required=(challenge_required)
853
- if !challenge_required.nil? && challenge_required.to_s.length > 1
854
- fail ArgumentError, 'invalid value for "challenge_required", the character length must be smaller than or equal to 1.'
855
- end
856
-
857
- @challenge_required = challenge_required
858
- end
859
-
860
- # Custom attribute writer method with validation
861
- # @param [Object] challenge_status Value to be assigned
862
- def challenge_status=(challenge_status)
863
- if !challenge_status.nil? && challenge_status.to_s.length > 2
864
- fail ArgumentError, 'invalid value for "challenge_status", the character length must be smaller than or equal to 2.'
865
- end
866
-
867
- @challenge_status = challenge_status
868
- end
869
-
870
- # Custom attribute writer method with validation
871
- # @param [Object] customer_card_alias Value to be assigned
872
- def customer_card_alias=(customer_card_alias)
873
- if !customer_card_alias.nil? && customer_card_alias.to_s.length > 128
874
- fail ArgumentError, 'invalid value for "customer_card_alias", the character length must be smaller than or equal to 128.'
875
- end
876
-
877
- @customer_card_alias = customer_card_alias
878
- end
879
-
880
- # Custom attribute writer method with validation
881
- # @param [Object] decoupled_authentication_indicator Value to be assigned
882
- def decoupled_authentication_indicator=(decoupled_authentication_indicator)
883
- if !decoupled_authentication_indicator.nil? && decoupled_authentication_indicator.to_s.length > 1
884
- fail ArgumentError, 'invalid value for "decoupled_authentication_indicator", the character length must be smaller than or equal to 1.'
885
- end
886
-
887
- @decoupled_authentication_indicator = decoupled_authentication_indicator
888
- end
889
-
890
- # Custom attribute writer method with validation
891
- # @param [Object] decoupled_authentication_max_time Value to be assigned
892
- def decoupled_authentication_max_time=(decoupled_authentication_max_time)
893
- if !decoupled_authentication_max_time.nil? && decoupled_authentication_max_time.to_s.length > 5
894
- fail ArgumentError, 'invalid value for "decoupled_authentication_max_time", the character length must be smaller than or equal to 5.'
895
- end
896
-
897
- @decoupled_authentication_max_time = decoupled_authentication_max_time
898
- end
899
-
900
- # Custom attribute writer method with validation
901
- # @param [Object] device_channel Value to be assigned
902
- def device_channel=(device_channel)
903
- if !device_channel.nil? && device_channel.to_s.length > 10
904
- fail ArgumentError, 'invalid value for "device_channel", the character length must be smaller than or equal to 10.'
905
- end
906
-
907
- @device_channel = device_channel
908
- end
909
-
910
- # Custom attribute writer method with validation
911
- # @param [Object] directory_server_error_code Value to be assigned
912
- def directory_server_error_code=(directory_server_error_code)
913
- if !directory_server_error_code.nil? && directory_server_error_code.to_s.length > 3
914
- fail ArgumentError, 'invalid value for "directory_server_error_code", the character length must be smaller than or equal to 3.'
915
- end
916
-
917
- @directory_server_error_code = directory_server_error_code
918
- end
919
-
920
- # Custom attribute writer method with validation
921
- # @param [Object] directory_server_error_description Value to be assigned
922
- def directory_server_error_description=(directory_server_error_description)
923
- if !directory_server_error_description.nil? && directory_server_error_description.to_s.length > 4096
924
- fail ArgumentError, 'invalid value for "directory_server_error_description", the character length must be smaller than or equal to 4096.'
925
- end
926
-
927
- @directory_server_error_description = directory_server_error_description
928
- end
929
-
930
- # Custom attribute writer method with validation
931
- # @param [Object] effective_authentication_type Value to be assigned
932
- def effective_authentication_type=(effective_authentication_type)
933
- if !effective_authentication_type.nil? && effective_authentication_type.to_s.length > 2
934
- fail ArgumentError, 'invalid value for "effective_authentication_type", the character length must be smaller than or equal to 2.'
935
- end
936
-
937
- @effective_authentication_type = effective_authentication_type
938
- end
939
-
940
- # Custom attribute writer method with validation
941
- # @param [Object] merchant_fraud_rate Value to be assigned
942
- def merchant_fraud_rate=(merchant_fraud_rate)
943
- if !merchant_fraud_rate.nil? && merchant_fraud_rate.to_s.length > 2
944
- fail ArgumentError, 'invalid value for "merchant_fraud_rate", the character length must be smaller than or equal to 2.'
945
- end
946
-
947
- @merchant_fraud_rate = merchant_fraud_rate
948
- end
949
-
950
- # Custom attribute writer method with validation
951
- # @param [Object] marketing_source Value to be assigned
952
- def marketing_source=(marketing_source)
953
- if !marketing_source.nil? && marketing_source.to_s.length > 40
954
- fail ArgumentError, 'invalid value for "marketing_source", the character length must be smaller than or equal to 40.'
955
- end
956
-
957
- @marketing_source = marketing_source
958
- end
959
-
960
- # Custom attribute writer method with validation
961
- # @param [Object] mcc Value to be assigned
962
- def mcc=(mcc)
963
- if mcc.nil?
964
- fail ArgumentError, 'mcc cannot be nil'
965
- end
966
-
967
- if mcc.to_s.length > 4
968
- fail ArgumentError, 'invalid value for "mcc", the character length must be smaller than or equal to 4.'
969
- end
970
-
971
- @mcc = mcc
972
- end
973
-
974
- # Custom attribute writer method with validation
975
- # @param [Object] network_score Value to be assigned
976
- def network_score=(network_score)
977
- if !network_score.nil? && network_score.to_s.length > 2
978
- fail ArgumentError, 'invalid value for "network_score", the character length must be smaller than or equal to 2.'
979
- end
980
-
981
- @network_score = network_score
982
- end
983
-
984
- # Custom attribute writer method with validation
985
- # @param [Object] npa_code Value to be assigned
986
- def npa_code=(npa_code)
987
- if !npa_code.nil? && npa_code.to_s.length > 2
988
- fail ArgumentError, 'invalid value for "npa_code", the character length must be smaller than or equal to 2.'
989
- end
990
-
991
- @npa_code = npa_code
992
- end
993
-
994
- # Custom attribute writer method with validation
995
- # @param [Object] override_country_code Value to be assigned
996
- def override_country_code=(override_country_code)
997
- if override_country_code.nil?
998
- fail ArgumentError, 'override_country_code cannot be nil'
999
- end
1000
-
1001
- if override_country_code.to_s.length > 2
1002
- fail ArgumentError, 'invalid value for "override_country_code", the character length must be smaller than or equal to 2.'
1003
- end
1004
-
1005
- @override_country_code = override_country_code
1006
- end
1007
-
1008
- # Custom attribute writer method with validation
1009
- # @param [Object] prior_authentication_data Value to be assigned
1010
- def prior_authentication_data=(prior_authentication_data)
1011
- if !prior_authentication_data.nil? && prior_authentication_data.to_s.length > 2048
1012
- fail ArgumentError, 'invalid value for "prior_authentication_data", the character length must be smaller than or equal to 2048.'
1013
- end
1014
-
1015
- @prior_authentication_data = prior_authentication_data
1016
- end
1017
-
1018
- # Custom attribute writer method with validation
1019
- # @param [Object] prior_authentication_method Value to be assigned
1020
- def prior_authentication_method=(prior_authentication_method)
1021
- if !prior_authentication_method.nil? && prior_authentication_method.to_s.length > 2
1022
- fail ArgumentError, 'invalid value for "prior_authentication_method", the character length must be smaller than or equal to 2.'
1023
- end
1024
-
1025
- @prior_authentication_method = prior_authentication_method
1026
- end
1027
-
1028
- # Custom attribute writer method with validation
1029
- # @param [Object] prior_authentication_reference_id Value to be assigned
1030
- def prior_authentication_reference_id=(prior_authentication_reference_id)
1031
- if !prior_authentication_reference_id.nil? && prior_authentication_reference_id.to_s.length > 36
1032
- fail ArgumentError, 'invalid value for "prior_authentication_reference_id", the character length must be smaller than or equal to 36.'
1033
- end
1034
-
1035
- @prior_authentication_reference_id = prior_authentication_reference_id
1036
- end
1037
-
1038
- # Custom attribute writer method with validation
1039
- # @param [Object] prior_authentication_time Value to be assigned
1040
- def prior_authentication_time=(prior_authentication_time)
1041
- if !prior_authentication_time.nil? && prior_authentication_time.to_s.length > 12
1042
- fail ArgumentError, 'invalid value for "prior_authentication_time", the character length must be smaller than or equal to 12.'
1043
- end
1044
-
1045
- @prior_authentication_time = prior_authentication_time
1046
- end
1047
-
1048
- # Custom attribute writer method with validation
1049
- # @param [Object] product_code Value to be assigned
1050
- def product_code=(product_code)
1051
- if !product_code.nil? && product_code.to_s.length > 3
1052
- fail ArgumentError, 'invalid value for "product_code", the character length must be smaller than or equal to 3.'
1053
- end
1054
-
1055
- @product_code = product_code
1056
- end
1057
-
1058
- # Custom attribute writer method with validation
1059
- # @param [Object] requestor_id Value to be assigned
1060
- def requestor_id=(requestor_id)
1061
- if !requestor_id.nil? && requestor_id.to_s.length > 35
1062
- fail ArgumentError, 'invalid value for "requestor_id", the character length must be smaller than or equal to 35.'
1063
- end
1064
-
1065
- @requestor_id = requestor_id
1066
- end
1067
-
1068
- # Custom attribute writer method with validation
1069
- # @param [Object] requestor_initiated_authentication_indicator Value to be assigned
1070
- def requestor_initiated_authentication_indicator=(requestor_initiated_authentication_indicator)
1071
- if !requestor_initiated_authentication_indicator.nil? && requestor_initiated_authentication_indicator.to_s.length > 2
1072
- fail ArgumentError, 'invalid value for "requestor_initiated_authentication_indicator", the character length must be smaller than or equal to 2.'
1073
- end
1074
-
1075
- @requestor_initiated_authentication_indicator = requestor_initiated_authentication_indicator
1076
- end
1077
-
1078
- # Custom attribute writer method with validation
1079
- # @param [Object] requestor_name Value to be assigned
1080
- def requestor_name=(requestor_name)
1081
- if !requestor_name.nil? && requestor_name.to_s.length > 40
1082
- fail ArgumentError, 'invalid value for "requestor_name", the character length must be smaller than or equal to 40.'
1083
- end
1084
-
1085
- @requestor_name = requestor_name
1086
- end
1087
-
1088
- # Custom attribute writer method with validation
1089
- # @param [Object] reference_id Value to be assigned
1090
- def reference_id=(reference_id)
1091
- if reference_id.nil?
1092
- fail ArgumentError, 'reference_id cannot be nil'
1093
- end
1094
-
1095
- if reference_id.to_s.length > 50
1096
- fail ArgumentError, 'invalid value for "reference_id", the character length must be smaller than or equal to 50.'
1097
- end
1098
-
1099
- @reference_id = reference_id
1100
- end
1101
-
1102
- # Custom attribute writer method with validation
1103
- # @param [Object] sdk_max_timeout Value to be assigned
1104
- def sdk_max_timeout=(sdk_max_timeout)
1105
- if !sdk_max_timeout.nil? && sdk_max_timeout.to_s.length > 2
1106
- fail ArgumentError, 'invalid value for "sdk_max_timeout", the character length must be smaller than or equal to 2.'
1107
- end
1108
-
1109
- @sdk_max_timeout = sdk_max_timeout
1110
- end
1111
-
1112
- # Custom attribute writer method with validation
1113
- # @param [Object] sdk_transaction_id Value to be assigned
1114
- def sdk_transaction_id=(sdk_transaction_id)
1115
- if !sdk_transaction_id.nil? && sdk_transaction_id.to_s.length > 36
1116
- fail ArgumentError, 'invalid value for "sdk_transaction_id", the character length must be smaller than or equal to 36.'
1117
- end
1118
-
1119
- @sdk_transaction_id = sdk_transaction_id
1120
- end
1121
-
1122
- # Custom attribute writer method with validation
1123
- # @param [Object] secure_corporate_payment_indicator Value to be assigned
1124
- def secure_corporate_payment_indicator=(secure_corporate_payment_indicator)
1125
- if !secure_corporate_payment_indicator.nil? && secure_corporate_payment_indicator.to_s.length > 1
1126
- fail ArgumentError, 'invalid value for "secure_corporate_payment_indicator", the character length must be smaller than or equal to 1.'
1127
- end
1128
-
1129
- @secure_corporate_payment_indicator = secure_corporate_payment_indicator
1130
- end
1131
-
1132
- # Custom attribute writer method with validation
1133
- # @param [Object] signed_pares_status_reason Value to be assigned
1134
- def signed_pares_status_reason=(signed_pares_status_reason)
1135
- if !signed_pares_status_reason.nil? && signed_pares_status_reason.to_s.length > 2
1136
- fail ArgumentError, 'invalid value for "signed_pares_status_reason", the character length must be smaller than or equal to 2.'
1137
- end
1138
-
1139
- @signed_pares_status_reason = signed_pares_status_reason
1140
- end
1141
-
1142
- # Custom attribute writer method with validation
1143
- # @param [Object] step_up_url Value to be assigned
1144
- def step_up_url=(step_up_url)
1145
- if !step_up_url.nil? && step_up_url.to_s.length > 2048
1146
- fail ArgumentError, 'invalid value for "step_up_url", the character length must be smaller than or equal to 2048.'
1147
- end
1148
-
1149
- @step_up_url = step_up_url
1150
- end
1151
-
1152
- # Custom attribute writer method with validation
1153
- # @param [Object] three_ds_server_transaction_id Value to be assigned
1154
- def three_ds_server_transaction_id=(three_ds_server_transaction_id)
1155
- if !three_ds_server_transaction_id.nil? && three_ds_server_transaction_id.to_s.length > 36
1156
- fail ArgumentError, 'invalid value for "three_ds_server_transaction_id", the character length must be smaller than or equal to 36.'
1157
- end
1158
-
1159
- @three_ds_server_transaction_id = three_ds_server_transaction_id
1160
- end
1161
-
1162
- # Custom attribute writer method with validation
1163
- # @param [Object] white_list_status Value to be assigned
1164
- def white_list_status=(white_list_status)
1165
- if !white_list_status.nil? && white_list_status.to_s.length > 1
1166
- fail ArgumentError, 'invalid value for "white_list_status", the character length must be smaller than or equal to 1.'
1167
- end
1168
-
1169
- @white_list_status = white_list_status
1170
- end
1171
-
1172
- # Custom attribute writer method with validation
1173
- # @param [Object] white_list_status_source Value to be assigned
1174
- def white_list_status_source=(white_list_status_source)
1175
- if !white_list_status_source.nil? && white_list_status_source.to_s.length > 2
1176
- fail ArgumentError, 'invalid value for "white_list_status_source", the character length must be smaller than or equal to 2.'
1177
- end
1178
-
1179
- @white_list_status_source = white_list_status_source
1180
- end
1181
-
1182
- # Checks equality by comparing each attribute.
1183
- # @param [Object] Object to be compared
1184
- def ==(o)
1185
- return true if self.equal?(o)
1186
- self.class == o.class &&
1187
- strong_authentication == o.strong_authentication &&
1188
- authentication_type == o.authentication_type &&
1189
- acs_rendering_type == o.acs_rendering_type &&
1190
- acs_transaction_id == o.acs_transaction_id &&
1191
- acs_window_size == o.acs_window_size &&
1192
- alternate_authentication_data == o.alternate_authentication_data &&
1193
- alternate_authentication_date == o.alternate_authentication_date &&
1194
- alternate_authentication_method == o.alternate_authentication_method &&
1195
- authentication_date == o.authentication_date &&
1196
- authentication_transaction_id == o.authentication_transaction_id &&
1197
- authorization_payload == o.authorization_payload &&
1198
- cardholder_message == o.cardholder_message &&
1199
- challenge_cancel_code == o.challenge_cancel_code &&
1200
- challenge_code == o.challenge_code &&
1201
- challenge_required == o.challenge_required &&
1202
- challenge_status == o.challenge_status &&
1203
- customer_card_alias == o.customer_card_alias &&
1204
- decoupled_authentication_indicator == o.decoupled_authentication_indicator &&
1205
- decoupled_authentication_max_time == o.decoupled_authentication_max_time &&
1206
- default_card == o.default_card &&
1207
- device_channel == o.device_channel &&
1208
- directory_server_error_code == o.directory_server_error_code &&
1209
- directory_server_error_description == o.directory_server_error_description &&
1210
- effective_authentication_type == o.effective_authentication_type &&
1211
- installment_total_count == o.installment_total_count &&
1212
- ivr == o.ivr &&
1213
- merchant_fraud_rate == o.merchant_fraud_rate &&
1214
- marketing_opt_in == o.marketing_opt_in &&
1215
- marketing_source == o.marketing_source &&
1216
- mcc == o.mcc &&
1217
- merchant_score == o.merchant_score &&
1218
- message_category == o.message_category &&
1219
- network_score == o.network_score &&
1220
- npa_code == o.npa_code &&
1221
- override_payment_method == o.override_payment_method &&
1222
- override_country_code == o.override_country_code &&
1223
- prior_authentication_data == o.prior_authentication_data &&
1224
- prior_authentication_method == o.prior_authentication_method &&
1225
- prior_authentication_reference_id == o.prior_authentication_reference_id &&
1226
- prior_authentication_time == o.prior_authentication_time &&
1227
- product_code == o.product_code &&
1228
- requestor_id == o.requestor_id &&
1229
- requestor_initiated_authentication_indicator == o.requestor_initiated_authentication_indicator &&
1230
- requestor_name == o.requestor_name &&
1231
- reference_id == o.reference_id &&
1232
- sdk_max_timeout == o.sdk_max_timeout &&
1233
- sdk_transaction_id == o.sdk_transaction_id &&
1234
- secure_corporate_payment_indicator == o.secure_corporate_payment_indicator &&
1235
- signed_pares_status_reason == o.signed_pares_status_reason &&
1236
- step_up_url == o.step_up_url &&
1237
- three_ds_server_transaction_id == o.three_ds_server_transaction_id &&
1238
- transaction_mode == o.transaction_mode &&
1239
- white_list_status == o.white_list_status &&
1240
- white_list_status_source == o.white_list_status_source
1241
- end
1242
-
1243
- # @see the `==` method
1244
- # @param [Object] Object to be compared
1245
- def eql?(o)
1246
- self == o
1247
- end
1248
-
1249
- # Calculates hash code according to all attributes.
1250
- # @return [Fixnum] Hash code
1251
- def hash
1252
- [strong_authentication, authentication_type, acs_rendering_type, acs_transaction_id, acs_window_size, alternate_authentication_data, alternate_authentication_date, alternate_authentication_method, authentication_date, authentication_transaction_id, authorization_payload, cardholder_message, challenge_cancel_code, challenge_code, challenge_required, challenge_status, customer_card_alias, decoupled_authentication_indicator, decoupled_authentication_max_time, default_card, device_channel, directory_server_error_code, directory_server_error_description, effective_authentication_type, installment_total_count, ivr, merchant_fraud_rate, marketing_opt_in, marketing_source, mcc, merchant_score, message_category, network_score, npa_code, override_payment_method, override_country_code, prior_authentication_data, prior_authentication_method, prior_authentication_reference_id, prior_authentication_time, product_code, requestor_id, requestor_initiated_authentication_indicator, requestor_name, reference_id, sdk_max_timeout, sdk_transaction_id, secure_corporate_payment_indicator, signed_pares_status_reason, step_up_url, three_ds_server_transaction_id, transaction_mode, white_list_status, white_list_status_source].hash
1253
- end
1254
-
1255
- # Builds the object from hash
1256
- # @param [Hash] attributes Model attributes in the form of hash
1257
- # @return [Object] Returns the model itself
1258
- def build_from_hash(attributes)
1259
- return nil unless attributes.is_a?(Hash)
1260
- self.class.swagger_types.each_pair do |key, type|
1261
- if type =~ /\AArray<(.*)>/i
1262
- # check to ensure the input is an array given that the the attribute
1263
- # is documented as an array but the input is not
1264
- if attributes[self.class.attribute_map[key]].is_a?(Array)
1265
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
1266
- end
1267
- elsif !attributes[self.class.attribute_map[key]].nil?
1268
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
1269
- end # or else data not found in attributes(hash), not an issue as the data can be optional
1270
- end
1271
-
1272
- self
1273
- end
1274
-
1275
- # Deserializes the data based on type
1276
- # @param string type Data type
1277
- # @param string value Value to be deserialized
1278
- # @return [Object] Deserialized data
1279
- def _deserialize(type, value)
1280
- case type.to_sym
1281
- when :DateTime
1282
- DateTime.parse(value)
1283
- when :Date
1284
- Date.parse(value)
1285
- when :String
1286
- value.to_s
1287
- when :Integer
1288
- value.to_i
1289
- when :Float
1290
- value.to_f
1291
- when :BOOLEAN
1292
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
1293
- true
1294
- else
1295
- false
1296
- end
1297
- when :Object
1298
- # generic object (usually a Hash), return directly
1299
- value
1300
- when /\AArray<(?<inner_type>.+)>\z/
1301
- inner_type = Regexp.last_match[:inner_type]
1302
- value.map { |v| _deserialize(inner_type, v) }
1303
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
1304
- k_type = Regexp.last_match[:k_type]
1305
- v_type = Regexp.last_match[:v_type]
1306
- {}.tap do |hash|
1307
- value.each do |k, v|
1308
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
1309
- end
1310
- end
1311
- else # model
1312
- temp_model = CyberSource.const_get(type).new
1313
- temp_model.build_from_hash(value)
1314
- end
1315
- end
1316
-
1317
- # Returns the string representation of the object
1318
- # @return [String] String presentation of the object
1319
- def to_s
1320
- to_hash.to_s
1321
- end
1322
-
1323
- # to_body is an alias to to_hash (backward compatibility)
1324
- # @return [Hash] Returns the object in the form of hash
1325
- def to_body
1326
- to_hash
1327
- end
1328
-
1329
- # Returns the object in the form of hash
1330
- # @return [Hash] Returns the object in the form of hash
1331
- def to_hash
1332
- hash = {}
1333
- self.class.attribute_map.each_pair do |attr, param|
1334
- value = self.send(attr)
1335
- next if value.nil?
1336
- hash[param] = _to_hash(value)
1337
- end
1338
- hash
1339
- end
1340
-
1341
- # Outputs non-array value in the form of hash
1342
- # For object, use to_hash. Otherwise, just return the value
1343
- # @param [Object] value Any valid value
1344
- # @return [Hash] Returns the value in the form of hash
1345
- def _to_hash(value)
1346
- if value.is_a?(Array)
1347
- value.compact.map { |v| _to_hash(v) }
1348
- elsif value.is_a?(Hash)
1349
- {}.tap do |hash|
1350
- value.each { |k, v| hash[k] = _to_hash(v) }
1351
- end
1352
- elsif value.respond_to? :to_hash
1353
- value.to_hash
1354
- else
1355
- value
1356
- end
1357
- end
1358
- end
1359
- 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.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CyberSource
16
+ class Riskv1decisionsConsumerAuthenticationInformation
17
+ attr_accessor :strong_authentication
18
+
19
+ # Indicates the type of authentication that will be used to challenge the card holder. Possible Values: 01 - Static 02 - Dynamic 03 - OOB (Out of Band) 04 - Decoupled **NOTE**: EMV 3-D Secure version 2.1.0 supports values 01-03. Version 2.2.0 supports values 01-04. Decoupled authentication is not supported at this time.
20
+ attr_accessor :authentication_type
21
+
22
+ # An override field that a merchant can pass in to set the challenge window size to display to the end cardholder. The ACS (Active Control Server) will reply with content that is formatted appropriately to this window size to allow for the best user experience. The sizes are width x height in pixels of the window displayed in the cardholder browser window. 01 - 250x400 02 - 390x400 03 - 500x600 04 - 600x400 05 - Full page
23
+ attr_accessor :acs_window_size
24
+
25
+ # Data that documents and supports a specific authentication process.
26
+ attr_accessor :alternate_authentication_data
27
+
28
+ # Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM
29
+ attr_accessor :alternate_authentication_date
30
+
31
+ # Mechanism used by the cardholder to authenticate to the 3D Secure requestor. Possible values: - `01`: No authentication occurred - `02`: Login using merchant system credentials - `03`: Login using Federated ID - `04`: Login using issuer credentials - `05`: Login using third-party authenticator - `06`: Login using FIDO Authenticator
32
+ attr_accessor :alternate_authentication_method
33
+
34
+ # The date/time of the authentication at the 3DS servers. RISK update authorization service in auth request payload with value returned in `consumerAuthenticationInformation.alternateAuthenticationData` if merchant calls via CYBS or field can be provided by merchant in authorization request if calling an external 3DS provider.
35
+ attr_accessor :authentication_date
36
+
37
+ # Payer authentication transaction identifier passed to link the check enrollment and validate authentication messages. **Note**: Required for Standard integration for enroll service. Required for Hybrid integration for validate service.
38
+ attr_accessor :authentication_transaction_id
39
+
40
+ # An indicator as to why the transaction was canceled. Possible Values: - `01`: Cardholder selected Cancel. - `02`: Reserved for future EMVCo use (values invalid until defined by EMVCo). - `03`: Transaction Timed Out—Decoupled Authentication - `04`: Transaction timed out at ACS—other timeouts - `05`: Transaction Timed out at ACS - First CReq not received by ACS - `06`: Transaction Error - `07`: Unknown - `08`: Transaction Timed Out at SDK
41
+ attr_accessor :challenge_cancel_code
42
+
43
+ # Possible values: - `01`: No preference - `02`: No challenge request - `03`: Challenge requested (3D Secure requestor preference) - `04`: Challenge requested (mandate) - `05`: No challenge requested (transactional risk analysis is already performed) - `06`: No challenge requested (Data share only) - `07`: No challenge requested (strong consumer authentication is already performed) - `08`: No challenge requested (utilize whitelist exemption if no challenge required) - `09`: Challenge requested (whitelist prompt requested if challenge required) **Note** This field will default to `01` on merchant configuration and can be overridden by the merchant. EMV 3D Secure version 2.1.0 supports values `01-04`. Version 2.2.0 supports values `01-09`. For details, see `pa_challenge_code` field description in [CyberSource Payer Authentication Using the SCMP API.] (https://apps.cybersource.com/library/documentation/dev_guides/Payer_Authentication_SCMP_API/html)
44
+ attr_accessor :challenge_code
45
+
46
+ # The `consumerAuthenticationInformation.challengeCode` indicates the authentication type/level, or challenge, that was presented to the cardholder at checkout by the merchant when calling the Carte Bancaire 3DS servers via CYBS RISK services. It conveys to the issuer the alternative authentication methods that the consumer used.
47
+ attr_accessor :challenge_status
48
+
49
+ # An alias that uniquely identifies the customer's account and credit card on file. Note This field is required if Tokenization is enabled in the merchant profile settings.
50
+ attr_accessor :customer_card_alias
51
+
52
+ # Indicates whether the 3DS Requestor requests the ACS to utilize Decoupled Authentication and agrees to utilize Decoupled Authentication if the ACS confirms its use. Possible Values: Y - Decoupled Authentication is supported and preferred if challenge is necessary N - Do not use Decoupled Authentication **Default Value**: N
53
+ attr_accessor :decoupled_authentication_indicator
54
+
55
+ # Indicates the maximum amount of time that the 3DS Requestor will wait for an ACS (Active control server) to provide the results of a Decoupled Authentication transaction (in minutes). Possible Values: Numeric values between 1 and 10080 accepted.
56
+ attr_accessor :decoupled_authentication_max_time
57
+
58
+ # Indicates that the card being used is the one designated as the primary payment card for purchase. Recommended for Discover ProtectBuy.
59
+ attr_accessor :default_card
60
+
61
+ # Determines the channel that the transaction came through. Possible Values: SDK/Browser/3RI. 3RI - 3DS request initiated.
62
+ attr_accessor :device_channel
63
+
64
+ # An integer value greater than 1 indicating the max number of permitted authorizations for installment payments. **Note** This is required if the merchant and cardholder have agreed to installment payments.
65
+ attr_accessor :installment_total_count
66
+
67
+ # Calculated by merchants as per PSD2** RTS** (EEA** card fraud divided by all EEA card volumes). Possible Values: 1 = Represents fraud rate <=1 2 = Represents fraud rate >1 and <=6 3 = Represents fraud rate >6 and <=13 4 = Represents fraud rate >13 and <=25 5 = Represents fraud rate >25 EEA** = European Economic Area RTS** = Regulatory Technical Standards PSD2** = Payment Services Directive
68
+ attr_accessor :merchant_fraud_rate
69
+
70
+ # Indicates whether the customer has opted in for marketing offers. Recommended for Discover ProtectBuy.
71
+ attr_accessor :marketing_opt_in
72
+
73
+ # Indicates origin of the marketing offer. Recommended for Discover ProtectBuy.
74
+ attr_accessor :marketing_source
75
+
76
+ # Merchant category code. **Important** Required only for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
77
+ attr_accessor :mcc
78
+
79
+ # Risk Score provided by merchants. This is specific for CB transactions.
80
+ attr_accessor :merchant_score
81
+
82
+ # Category of the message for a specific use case. Possible values: - `01`: PA- payment authentication - `02`: NPA- non-payment authentication - `03-79`: Reserved for EMVCo future use (values invalid until defined by EMVCo) - `80-99`: Reserved for DS use
83
+ attr_accessor :message_category
84
+
85
+ # Non-Payer Authentication Indicator. Possible values: - `01`: Add card - `02`: Maintain card information - `03`: Cardholder verification for EMV token - `04-80` Reserved for EMVCo - `80-90` Reserved DS
86
+ attr_accessor :npa_code
87
+
88
+ # Specifies the Brazilian payment account type used for the transaction. This field overrides other payment types that might be specified in the request. Use one of the following values for this field: - `NA`: Not applicable. Do not override other payment types that are specified in the request. - `CR`: Credit card. - `DB`: Debit card. - `VSAVR`: Visa Vale Refeicao - `VSAVA`: Visa Vale Alimentacao **Important** Required only for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
89
+ attr_accessor :override_payment_method
90
+
91
+ # Two-character [ISO Standard Country Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf)..
92
+ attr_accessor :override_country_code
93
+
94
+ # This field carry data that the ACS can use to verify the authentication process.
95
+ attr_accessor :prior_authentication_data
96
+
97
+ # Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. 01 - Frictionless authentication occurred by ACS 02 - Cardholder challenge occurred by ACS 03 - AVS verified 04 - Other issuer methods 05-79 - Reserved for EMVCo future use (values invalid until defined by EMVCo) 80-99 - Reserved for DS use
98
+ attr_accessor :prior_authentication_method
99
+
100
+ # This data element contains a ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder
101
+ attr_accessor :prior_authentication_reference_id
102
+
103
+ # Date and time in UTC of the prior cardholder authentication. Format – YYYYMMDDHHMM
104
+ attr_accessor :prior_authentication_time
105
+
106
+ # Specifies the product code, which designates the type of transaction. Specify one of the following values for this field: - AIR: Airline purchase Important Required for American Express SafeKey (U.S.). - `ACC`: Accommodation Rental - `ACF`: Account funding - `CHA`: Check acceptance - `DIG`: Digital Goods - `DSP`: Cash Dispensing - `GAS`: Fuel - `GEN`: General Retail - `LUX`: Luxury Retail - `PAL`: Prepaid activation and load - `PHY`: Goods or services purchase - `QCT`: Quasi-cash transaction - `REN`: Car Rental - `RES`: Restaurant - `SVC`: Services - `TBD`: Other - `TRA`: Travel **Important** Required for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
107
+ attr_accessor :product_code
108
+
109
+ # The URL of the merchant’s return page. CyberSource adds this return URL to the step-up JWT and returns it in the response of the Payer Authentication enrollment call. The merchant's return URL page serves as a listening URL. Once the bank session completes, the merchant receives a POST to their URL. This response contains the completed bank session’s transactionId. The merchant’s return page should capture the transaction ID and send it in the Payer Authentication validation call.
110
+ attr_accessor :return_url
111
+
112
+ # Cardinal's directory server assigned 3DS Requestor ID value
113
+ attr_accessor :requestor_id
114
+
115
+ # Indicates the type of 3RI request. Possible Values: 01 - Recurring transaction 02 - Installment transaction 03 - Add card 04 - Maintain card 05 - Account verification 06 - Split/delayed shipment 07 - Top-up 08 - Mail Order 09 - Telephone Order 10 - Whitelist status check 11 - Other payment
116
+ attr_accessor :requestor_initiated_authentication_indicator
117
+
118
+ # Cardinal's directory server assigned 3DS Requestor Name value
119
+ attr_accessor :requestor_name
120
+
121
+ # Reference ID that corresponds to the device fingerprinting data that was collected previously. Note Required for Hybrid integration.
122
+ attr_accessor :reference_id
123
+
124
+ # This field indicates the maximum amount of time for all 3DS 2.0 messages to be communicated between all components (in minutes). Possible Values: Greater than or equal to 05 (05 is the minimum timeout to set) Cardinal Default is set to 15 NOTE: This field is a required 3DS 2.0 field and Cardinal sends in a default of 15 if nothing is passed
125
+ attr_accessor :sdk_max_timeout
126
+
127
+ # Indicates dedicated payment processes and procedures were used, potential secure corporate payment exemption applies. Possible Values : 0/1
128
+ attr_accessor :secure_corporate_payment_indicator
129
+
130
+ # Transaction mode identifier. Identifies the channel from which the transaction originates. Possible values: - `M`: MOTO (Mail Order Telephone Order) - `R`: Retail - `S`: eCommerce - `P`: Mobile Device - `T`: Tablet
131
+ attr_accessor :transaction_mode
132
+
133
+ # Enables the communication of trusted beneficiary/whitelist status between the ACS, the DS and the 3DS Requestor. Possible Values: Y - 3DS Requestor is whitelisted by cardholder N - 3DS Requestor is not whitelisted by cardholder
134
+ attr_accessor :white_list_status
135
+
136
+ # Attribute mapping from ruby-style variable name to JSON key.
137
+ def self.attribute_map
138
+ {
139
+ :'strong_authentication' => :'strongAuthentication',
140
+ :'authentication_type' => :'authenticationType',
141
+ :'acs_window_size' => :'acsWindowSize',
142
+ :'alternate_authentication_data' => :'alternateAuthenticationData',
143
+ :'alternate_authentication_date' => :'alternateAuthenticationDate',
144
+ :'alternate_authentication_method' => :'alternateAuthenticationMethod',
145
+ :'authentication_date' => :'authenticationDate',
146
+ :'authentication_transaction_id' => :'authenticationTransactionId',
147
+ :'challenge_cancel_code' => :'challengeCancelCode',
148
+ :'challenge_code' => :'challengeCode',
149
+ :'challenge_status' => :'challengeStatus',
150
+ :'customer_card_alias' => :'customerCardAlias',
151
+ :'decoupled_authentication_indicator' => :'decoupledAuthenticationIndicator',
152
+ :'decoupled_authentication_max_time' => :'decoupledAuthenticationMaxTime',
153
+ :'default_card' => :'defaultCard',
154
+ :'device_channel' => :'deviceChannel',
155
+ :'installment_total_count' => :'installmentTotalCount',
156
+ :'merchant_fraud_rate' => :'merchantFraudRate',
157
+ :'marketing_opt_in' => :'marketingOptIn',
158
+ :'marketing_source' => :'marketingSource',
159
+ :'mcc' => :'mcc',
160
+ :'merchant_score' => :'merchantScore',
161
+ :'message_category' => :'messageCategory',
162
+ :'npa_code' => :'npaCode',
163
+ :'override_payment_method' => :'overridePaymentMethod',
164
+ :'override_country_code' => :'overrideCountryCode',
165
+ :'prior_authentication_data' => :'priorAuthenticationData',
166
+ :'prior_authentication_method' => :'priorAuthenticationMethod',
167
+ :'prior_authentication_reference_id' => :'priorAuthenticationReferenceId',
168
+ :'prior_authentication_time' => :'priorAuthenticationTime',
169
+ :'product_code' => :'productCode',
170
+ :'return_url' => :'returnUrl',
171
+ :'requestor_id' => :'requestorId',
172
+ :'requestor_initiated_authentication_indicator' => :'requestorInitiatedAuthenticationIndicator',
173
+ :'requestor_name' => :'requestorName',
174
+ :'reference_id' => :'referenceId',
175
+ :'sdk_max_timeout' => :'sdkMaxTimeout',
176
+ :'secure_corporate_payment_indicator' => :'secureCorporatePaymentIndicator',
177
+ :'transaction_mode' => :'transactionMode',
178
+ :'white_list_status' => :'whiteListStatus'
179
+ }
180
+ end
181
+
182
+ # Attribute type mapping.
183
+ def self.swagger_types
184
+ {
185
+ :'strong_authentication' => :'Riskv1decisionsConsumerAuthenticationInformationStrongAuthentication',
186
+ :'authentication_type' => :'String',
187
+ :'acs_window_size' => :'String',
188
+ :'alternate_authentication_data' => :'String',
189
+ :'alternate_authentication_date' => :'String',
190
+ :'alternate_authentication_method' => :'String',
191
+ :'authentication_date' => :'String',
192
+ :'authentication_transaction_id' => :'String',
193
+ :'challenge_cancel_code' => :'String',
194
+ :'challenge_code' => :'String',
195
+ :'challenge_status' => :'String',
196
+ :'customer_card_alias' => :'String',
197
+ :'decoupled_authentication_indicator' => :'String',
198
+ :'decoupled_authentication_max_time' => :'String',
199
+ :'default_card' => :'BOOLEAN',
200
+ :'device_channel' => :'String',
201
+ :'installment_total_count' => :'Integer',
202
+ :'merchant_fraud_rate' => :'String',
203
+ :'marketing_opt_in' => :'BOOLEAN',
204
+ :'marketing_source' => :'String',
205
+ :'mcc' => :'String',
206
+ :'merchant_score' => :'Integer',
207
+ :'message_category' => :'String',
208
+ :'npa_code' => :'String',
209
+ :'override_payment_method' => :'String',
210
+ :'override_country_code' => :'String',
211
+ :'prior_authentication_data' => :'String',
212
+ :'prior_authentication_method' => :'String',
213
+ :'prior_authentication_reference_id' => :'String',
214
+ :'prior_authentication_time' => :'String',
215
+ :'product_code' => :'String',
216
+ :'return_url' => :'String',
217
+ :'requestor_id' => :'String',
218
+ :'requestor_initiated_authentication_indicator' => :'String',
219
+ :'requestor_name' => :'String',
220
+ :'reference_id' => :'String',
221
+ :'sdk_max_timeout' => :'String',
222
+ :'secure_corporate_payment_indicator' => :'String',
223
+ :'transaction_mode' => :'String',
224
+ :'white_list_status' => :'String'
225
+ }
226
+ end
227
+
228
+ # Initializes the object
229
+ # @param [Hash] attributes Model attributes in the form of hash
230
+ def initialize(attributes = {})
231
+ return unless attributes.is_a?(Hash)
232
+
233
+ # convert string to symbol for hash key
234
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
235
+
236
+ if attributes.has_key?(:'strongAuthentication')
237
+ self.strong_authentication = attributes[:'strongAuthentication']
238
+ end
239
+
240
+ if attributes.has_key?(:'authenticationType')
241
+ self.authentication_type = attributes[:'authenticationType']
242
+ end
243
+
244
+ if attributes.has_key?(:'acsWindowSize')
245
+ self.acs_window_size = attributes[:'acsWindowSize']
246
+ end
247
+
248
+ if attributes.has_key?(:'alternateAuthenticationData')
249
+ self.alternate_authentication_data = attributes[:'alternateAuthenticationData']
250
+ end
251
+
252
+ if attributes.has_key?(:'alternateAuthenticationDate')
253
+ self.alternate_authentication_date = attributes[:'alternateAuthenticationDate']
254
+ end
255
+
256
+ if attributes.has_key?(:'alternateAuthenticationMethod')
257
+ self.alternate_authentication_method = attributes[:'alternateAuthenticationMethod']
258
+ end
259
+
260
+ if attributes.has_key?(:'authenticationDate')
261
+ self.authentication_date = attributes[:'authenticationDate']
262
+ end
263
+
264
+ if attributes.has_key?(:'authenticationTransactionId')
265
+ self.authentication_transaction_id = attributes[:'authenticationTransactionId']
266
+ end
267
+
268
+ if attributes.has_key?(:'challengeCancelCode')
269
+ self.challenge_cancel_code = attributes[:'challengeCancelCode']
270
+ end
271
+
272
+ if attributes.has_key?(:'challengeCode')
273
+ self.challenge_code = attributes[:'challengeCode']
274
+ end
275
+
276
+ if attributes.has_key?(:'challengeStatus')
277
+ self.challenge_status = attributes[:'challengeStatus']
278
+ end
279
+
280
+ if attributes.has_key?(:'customerCardAlias')
281
+ self.customer_card_alias = attributes[:'customerCardAlias']
282
+ end
283
+
284
+ if attributes.has_key?(:'decoupledAuthenticationIndicator')
285
+ self.decoupled_authentication_indicator = attributes[:'decoupledAuthenticationIndicator']
286
+ end
287
+
288
+ if attributes.has_key?(:'decoupledAuthenticationMaxTime')
289
+ self.decoupled_authentication_max_time = attributes[:'decoupledAuthenticationMaxTime']
290
+ end
291
+
292
+ if attributes.has_key?(:'defaultCard')
293
+ self.default_card = attributes[:'defaultCard']
294
+ end
295
+
296
+ if attributes.has_key?(:'deviceChannel')
297
+ self.device_channel = attributes[:'deviceChannel']
298
+ end
299
+
300
+ if attributes.has_key?(:'installmentTotalCount')
301
+ self.installment_total_count = attributes[:'installmentTotalCount']
302
+ end
303
+
304
+ if attributes.has_key?(:'merchantFraudRate')
305
+ self.merchant_fraud_rate = attributes[:'merchantFraudRate']
306
+ end
307
+
308
+ if attributes.has_key?(:'marketingOptIn')
309
+ self.marketing_opt_in = attributes[:'marketingOptIn']
310
+ end
311
+
312
+ if attributes.has_key?(:'marketingSource')
313
+ self.marketing_source = attributes[:'marketingSource']
314
+ end
315
+
316
+ if attributes.has_key?(:'mcc')
317
+ self.mcc = attributes[:'mcc']
318
+ end
319
+
320
+ if attributes.has_key?(:'merchantScore')
321
+ self.merchant_score = attributes[:'merchantScore']
322
+ end
323
+
324
+ if attributes.has_key?(:'messageCategory')
325
+ self.message_category = attributes[:'messageCategory']
326
+ end
327
+
328
+ if attributes.has_key?(:'npaCode')
329
+ self.npa_code = attributes[:'npaCode']
330
+ end
331
+
332
+ if attributes.has_key?(:'overridePaymentMethod')
333
+ self.override_payment_method = attributes[:'overridePaymentMethod']
334
+ end
335
+
336
+ if attributes.has_key?(:'overrideCountryCode')
337
+ self.override_country_code = attributes[:'overrideCountryCode']
338
+ end
339
+
340
+ if attributes.has_key?(:'priorAuthenticationData')
341
+ self.prior_authentication_data = attributes[:'priorAuthenticationData']
342
+ end
343
+
344
+ if attributes.has_key?(:'priorAuthenticationMethod')
345
+ self.prior_authentication_method = attributes[:'priorAuthenticationMethod']
346
+ end
347
+
348
+ if attributes.has_key?(:'priorAuthenticationReferenceId')
349
+ self.prior_authentication_reference_id = attributes[:'priorAuthenticationReferenceId']
350
+ end
351
+
352
+ if attributes.has_key?(:'priorAuthenticationTime')
353
+ self.prior_authentication_time = attributes[:'priorAuthenticationTime']
354
+ end
355
+
356
+ if attributes.has_key?(:'productCode')
357
+ self.product_code = attributes[:'productCode']
358
+ end
359
+
360
+ if attributes.has_key?(:'returnUrl')
361
+ self.return_url = attributes[:'returnUrl']
362
+ end
363
+
364
+ if attributes.has_key?(:'requestorId')
365
+ self.requestor_id = attributes[:'requestorId']
366
+ end
367
+
368
+ if attributes.has_key?(:'requestorInitiatedAuthenticationIndicator')
369
+ self.requestor_initiated_authentication_indicator = attributes[:'requestorInitiatedAuthenticationIndicator']
370
+ end
371
+
372
+ if attributes.has_key?(:'requestorName')
373
+ self.requestor_name = attributes[:'requestorName']
374
+ end
375
+
376
+ if attributes.has_key?(:'referenceId')
377
+ self.reference_id = attributes[:'referenceId']
378
+ end
379
+
380
+ if attributes.has_key?(:'sdkMaxTimeout')
381
+ self.sdk_max_timeout = attributes[:'sdkMaxTimeout']
382
+ end
383
+
384
+ if attributes.has_key?(:'secureCorporatePaymentIndicator')
385
+ self.secure_corporate_payment_indicator = attributes[:'secureCorporatePaymentIndicator']
386
+ end
387
+
388
+ if attributes.has_key?(:'transactionMode')
389
+ self.transaction_mode = attributes[:'transactionMode']
390
+ end
391
+
392
+ if attributes.has_key?(:'whiteListStatus')
393
+ self.white_list_status = attributes[:'whiteListStatus']
394
+ end
395
+ end
396
+
397
+ # Show invalid properties with the reasons. Usually used together with valid?
398
+ # @return Array for valid properties with the reasons
399
+ def list_invalid_properties
400
+ invalid_properties = Array.new
401
+ if !@authentication_type.nil? && @authentication_type.to_s.length > 2
402
+ invalid_properties.push('invalid value for "authentication_type", the character length must be smaller than or equal to 2.')
403
+ end
404
+
405
+ if !@acs_window_size.nil? && @acs_window_size.to_s.length > 2
406
+ invalid_properties.push('invalid value for "acs_window_size", the character length must be smaller than or equal to 2.')
407
+ end
408
+
409
+ if !@alternate_authentication_data.nil? && @alternate_authentication_data.to_s.length > 2048
410
+ invalid_properties.push('invalid value for "alternate_authentication_data", the character length must be smaller than or equal to 2048.')
411
+ end
412
+
413
+ if !@alternate_authentication_date.nil? && @alternate_authentication_date.to_s.length > 14
414
+ invalid_properties.push('invalid value for "alternate_authentication_date", the character length must be smaller than or equal to 14.')
415
+ end
416
+
417
+ if !@authentication_date.nil? && @authentication_date.to_s.length > 14
418
+ invalid_properties.push('invalid value for "authentication_date", the character length must be smaller than or equal to 14.')
419
+ end
420
+
421
+ if !@authentication_transaction_id.nil? && @authentication_transaction_id.to_s.length > 20
422
+ invalid_properties.push('invalid value for "authentication_transaction_id", the character length must be smaller than or equal to 20.')
423
+ end
424
+
425
+ if !@challenge_cancel_code.nil? && @challenge_cancel_code.to_s.length > 2
426
+ invalid_properties.push('invalid value for "challenge_cancel_code", the character length must be smaller than or equal to 2.')
427
+ end
428
+
429
+ if !@challenge_status.nil? && @challenge_status.to_s.length > 2
430
+ invalid_properties.push('invalid value for "challenge_status", the character length must be smaller than or equal to 2.')
431
+ end
432
+
433
+ if !@customer_card_alias.nil? && @customer_card_alias.to_s.length > 128
434
+ invalid_properties.push('invalid value for "customer_card_alias", the character length must be smaller than or equal to 128.')
435
+ end
436
+
437
+ if !@decoupled_authentication_indicator.nil? && @decoupled_authentication_indicator.to_s.length > 1
438
+ invalid_properties.push('invalid value for "decoupled_authentication_indicator", the character length must be smaller than or equal to 1.')
439
+ end
440
+
441
+ if !@decoupled_authentication_max_time.nil? && @decoupled_authentication_max_time.to_s.length > 5
442
+ invalid_properties.push('invalid value for "decoupled_authentication_max_time", the character length must be smaller than or equal to 5.')
443
+ end
444
+
445
+ if !@device_channel.nil? && @device_channel.to_s.length > 10
446
+ invalid_properties.push('invalid value for "device_channel", the character length must be smaller than or equal to 10.')
447
+ end
448
+
449
+ if !@merchant_fraud_rate.nil? && @merchant_fraud_rate.to_s.length > 2
450
+ invalid_properties.push('invalid value for "merchant_fraud_rate", the character length must be smaller than or equal to 2.')
451
+ end
452
+
453
+ if !@marketing_source.nil? && @marketing_source.to_s.length > 40
454
+ invalid_properties.push('invalid value for "marketing_source", the character length must be smaller than or equal to 40.')
455
+ end
456
+
457
+ if !@mcc.nil? && @mcc.to_s.length > 4
458
+ invalid_properties.push('invalid value for "mcc", the character length must be smaller than or equal to 4.')
459
+ end
460
+
461
+ if !@npa_code.nil? && @npa_code.to_s.length > 2
462
+ invalid_properties.push('invalid value for "npa_code", the character length must be smaller than or equal to 2.')
463
+ end
464
+
465
+ if !@override_country_code.nil? && @override_country_code.to_s.length > 2
466
+ invalid_properties.push('invalid value for "override_country_code", the character length must be smaller than or equal to 2.')
467
+ end
468
+
469
+ if !@prior_authentication_data.nil? && @prior_authentication_data.to_s.length > 2048
470
+ invalid_properties.push('invalid value for "prior_authentication_data", the character length must be smaller than or equal to 2048.')
471
+ end
472
+
473
+ if !@prior_authentication_method.nil? && @prior_authentication_method.to_s.length > 2
474
+ invalid_properties.push('invalid value for "prior_authentication_method", the character length must be smaller than or equal to 2.')
475
+ end
476
+
477
+ if !@prior_authentication_reference_id.nil? && @prior_authentication_reference_id.to_s.length > 36
478
+ invalid_properties.push('invalid value for "prior_authentication_reference_id", the character length must be smaller than or equal to 36.')
479
+ end
480
+
481
+ if !@prior_authentication_time.nil? && @prior_authentication_time.to_s.length > 12
482
+ invalid_properties.push('invalid value for "prior_authentication_time", the character length must be smaller than or equal to 12.')
483
+ end
484
+
485
+ if !@product_code.nil? && @product_code.to_s.length > 3
486
+ invalid_properties.push('invalid value for "product_code", the character length must be smaller than or equal to 3.')
487
+ end
488
+
489
+ if !@return_url.nil? && @return_url.to_s.length > 2048
490
+ invalid_properties.push('invalid value for "return_url", the character length must be smaller than or equal to 2048.')
491
+ end
492
+
493
+ if !@requestor_id.nil? && @requestor_id.to_s.length > 35
494
+ invalid_properties.push('invalid value for "requestor_id", the character length must be smaller than or equal to 35.')
495
+ end
496
+
497
+ if !@requestor_initiated_authentication_indicator.nil? && @requestor_initiated_authentication_indicator.to_s.length > 2
498
+ invalid_properties.push('invalid value for "requestor_initiated_authentication_indicator", the character length must be smaller than or equal to 2.')
499
+ end
500
+
501
+ if !@requestor_name.nil? && @requestor_name.to_s.length > 40
502
+ invalid_properties.push('invalid value for "requestor_name", the character length must be smaller than or equal to 40.')
503
+ end
504
+
505
+ if !@reference_id.nil? && @reference_id.to_s.length > 50
506
+ invalid_properties.push('invalid value for "reference_id", the character length must be smaller than or equal to 50.')
507
+ end
508
+
509
+ if !@sdk_max_timeout.nil? && @sdk_max_timeout.to_s.length > 2
510
+ invalid_properties.push('invalid value for "sdk_max_timeout", the character length must be smaller than or equal to 2.')
511
+ end
512
+
513
+ if !@secure_corporate_payment_indicator.nil? && @secure_corporate_payment_indicator.to_s.length > 1
514
+ invalid_properties.push('invalid value for "secure_corporate_payment_indicator", the character length must be smaller than or equal to 1.')
515
+ end
516
+
517
+ if !@white_list_status.nil? && @white_list_status.to_s.length > 1
518
+ invalid_properties.push('invalid value for "white_list_status", the character length must be smaller than or equal to 1.')
519
+ end
520
+
521
+ invalid_properties
522
+ end
523
+
524
+ # Check to see if the all the properties in the model are valid
525
+ # @return true if the model is valid
526
+ def valid?
527
+ return false if !@authentication_type.nil? && @authentication_type.to_s.length > 2
528
+ return false if !@acs_window_size.nil? && @acs_window_size.to_s.length > 2
529
+ return false if !@alternate_authentication_data.nil? && @alternate_authentication_data.to_s.length > 2048
530
+ return false if !@alternate_authentication_date.nil? && @alternate_authentication_date.to_s.length > 14
531
+ return false if !@authentication_date.nil? && @authentication_date.to_s.length > 14
532
+ return false if !@authentication_transaction_id.nil? && @authentication_transaction_id.to_s.length > 20
533
+ return false if !@challenge_cancel_code.nil? && @challenge_cancel_code.to_s.length > 2
534
+ return false if !@challenge_status.nil? && @challenge_status.to_s.length > 2
535
+ return false if !@customer_card_alias.nil? && @customer_card_alias.to_s.length > 128
536
+ return false if !@decoupled_authentication_indicator.nil? && @decoupled_authentication_indicator.to_s.length > 1
537
+ return false if !@decoupled_authentication_max_time.nil? && @decoupled_authentication_max_time.to_s.length > 5
538
+ return false if !@device_channel.nil? && @device_channel.to_s.length > 10
539
+ return false if !@merchant_fraud_rate.nil? && @merchant_fraud_rate.to_s.length > 2
540
+ return false if !@marketing_source.nil? && @marketing_source.to_s.length > 40
541
+ return false if !@mcc.nil? && @mcc.to_s.length > 4
542
+ return false if !@npa_code.nil? && @npa_code.to_s.length > 2
543
+ return false if !@override_country_code.nil? && @override_country_code.to_s.length > 2
544
+ return false if !@prior_authentication_data.nil? && @prior_authentication_data.to_s.length > 2048
545
+ return false if !@prior_authentication_method.nil? && @prior_authentication_method.to_s.length > 2
546
+ return false if !@prior_authentication_reference_id.nil? && @prior_authentication_reference_id.to_s.length > 36
547
+ return false if !@prior_authentication_time.nil? && @prior_authentication_time.to_s.length > 12
548
+ return false if !@product_code.nil? && @product_code.to_s.length > 3
549
+ return false if !@return_url.nil? && @return_url.to_s.length > 2048
550
+ return false if !@requestor_id.nil? && @requestor_id.to_s.length > 35
551
+ return false if !@requestor_initiated_authentication_indicator.nil? && @requestor_initiated_authentication_indicator.to_s.length > 2
552
+ return false if !@requestor_name.nil? && @requestor_name.to_s.length > 40
553
+ return false if !@reference_id.nil? && @reference_id.to_s.length > 50
554
+ return false if !@sdk_max_timeout.nil? && @sdk_max_timeout.to_s.length > 2
555
+ return false if !@secure_corporate_payment_indicator.nil? && @secure_corporate_payment_indicator.to_s.length > 1
556
+ return false if !@white_list_status.nil? && @white_list_status.to_s.length > 1
557
+ true
558
+ end
559
+
560
+ # Custom attribute writer method with validation
561
+ # @param [Object] authentication_type Value to be assigned
562
+ def authentication_type=(authentication_type)
563
+ if !authentication_type.nil? && authentication_type.to_s.length > 2
564
+ fail ArgumentError, 'invalid value for "authentication_type", the character length must be smaller than or equal to 2.'
565
+ end
566
+
567
+ @authentication_type = authentication_type
568
+ end
569
+
570
+ # Custom attribute writer method with validation
571
+ # @param [Object] acs_window_size Value to be assigned
572
+ def acs_window_size=(acs_window_size)
573
+ if !acs_window_size.nil? && acs_window_size.to_s.length > 2
574
+ fail ArgumentError, 'invalid value for "acs_window_size", the character length must be smaller than or equal to 2.'
575
+ end
576
+
577
+ @acs_window_size = acs_window_size
578
+ end
579
+
580
+ # Custom attribute writer method with validation
581
+ # @param [Object] alternate_authentication_data Value to be assigned
582
+ def alternate_authentication_data=(alternate_authentication_data)
583
+ if !alternate_authentication_data.nil? && alternate_authentication_data.to_s.length > 2048
584
+ fail ArgumentError, 'invalid value for "alternate_authentication_data", the character length must be smaller than or equal to 2048.'
585
+ end
586
+
587
+ @alternate_authentication_data = alternate_authentication_data
588
+ end
589
+
590
+ # Custom attribute writer method with validation
591
+ # @param [Object] alternate_authentication_date Value to be assigned
592
+ def alternate_authentication_date=(alternate_authentication_date)
593
+ if !alternate_authentication_date.nil? && alternate_authentication_date.to_s.length > 14
594
+ fail ArgumentError, 'invalid value for "alternate_authentication_date", the character length must be smaller than or equal to 14.'
595
+ end
596
+
597
+ @alternate_authentication_date = alternate_authentication_date
598
+ end
599
+
600
+ # Custom attribute writer method with validation
601
+ # @param [Object] authentication_date Value to be assigned
602
+ def authentication_date=(authentication_date)
603
+ if !authentication_date.nil? && authentication_date.to_s.length > 14
604
+ fail ArgumentError, 'invalid value for "authentication_date", the character length must be smaller than or equal to 14.'
605
+ end
606
+
607
+ @authentication_date = authentication_date
608
+ end
609
+
610
+ # Custom attribute writer method with validation
611
+ # @param [Object] authentication_transaction_id Value to be assigned
612
+ def authentication_transaction_id=(authentication_transaction_id)
613
+ if !authentication_transaction_id.nil? && authentication_transaction_id.to_s.length > 20
614
+ fail ArgumentError, 'invalid value for "authentication_transaction_id", the character length must be smaller than or equal to 20.'
615
+ end
616
+
617
+ @authentication_transaction_id = authentication_transaction_id
618
+ end
619
+
620
+ # Custom attribute writer method with validation
621
+ # @param [Object] challenge_cancel_code Value to be assigned
622
+ def challenge_cancel_code=(challenge_cancel_code)
623
+ if !challenge_cancel_code.nil? && challenge_cancel_code.to_s.length > 2
624
+ fail ArgumentError, 'invalid value for "challenge_cancel_code", the character length must be smaller than or equal to 2.'
625
+ end
626
+
627
+ @challenge_cancel_code = challenge_cancel_code
628
+ end
629
+
630
+ # Custom attribute writer method with validation
631
+ # @param [Object] challenge_status Value to be assigned
632
+ def challenge_status=(challenge_status)
633
+ if !challenge_status.nil? && challenge_status.to_s.length > 2
634
+ fail ArgumentError, 'invalid value for "challenge_status", the character length must be smaller than or equal to 2.'
635
+ end
636
+
637
+ @challenge_status = challenge_status
638
+ end
639
+
640
+ # Custom attribute writer method with validation
641
+ # @param [Object] customer_card_alias Value to be assigned
642
+ def customer_card_alias=(customer_card_alias)
643
+ if !customer_card_alias.nil? && customer_card_alias.to_s.length > 128
644
+ fail ArgumentError, 'invalid value for "customer_card_alias", the character length must be smaller than or equal to 128.'
645
+ end
646
+
647
+ @customer_card_alias = customer_card_alias
648
+ end
649
+
650
+ # Custom attribute writer method with validation
651
+ # @param [Object] decoupled_authentication_indicator Value to be assigned
652
+ def decoupled_authentication_indicator=(decoupled_authentication_indicator)
653
+ if !decoupled_authentication_indicator.nil? && decoupled_authentication_indicator.to_s.length > 1
654
+ fail ArgumentError, 'invalid value for "decoupled_authentication_indicator", the character length must be smaller than or equal to 1.'
655
+ end
656
+
657
+ @decoupled_authentication_indicator = decoupled_authentication_indicator
658
+ end
659
+
660
+ # Custom attribute writer method with validation
661
+ # @param [Object] decoupled_authentication_max_time Value to be assigned
662
+ def decoupled_authentication_max_time=(decoupled_authentication_max_time)
663
+ if !decoupled_authentication_max_time.nil? && decoupled_authentication_max_time.to_s.length > 5
664
+ fail ArgumentError, 'invalid value for "decoupled_authentication_max_time", the character length must be smaller than or equal to 5.'
665
+ end
666
+
667
+ @decoupled_authentication_max_time = decoupled_authentication_max_time
668
+ end
669
+
670
+ # Custom attribute writer method with validation
671
+ # @param [Object] device_channel Value to be assigned
672
+ def device_channel=(device_channel)
673
+ if !device_channel.nil? && device_channel.to_s.length > 10
674
+ fail ArgumentError, 'invalid value for "device_channel", the character length must be smaller than or equal to 10.'
675
+ end
676
+
677
+ @device_channel = device_channel
678
+ end
679
+
680
+ # Custom attribute writer method with validation
681
+ # @param [Object] merchant_fraud_rate Value to be assigned
682
+ def merchant_fraud_rate=(merchant_fraud_rate)
683
+ if !merchant_fraud_rate.nil? && merchant_fraud_rate.to_s.length > 2
684
+ fail ArgumentError, 'invalid value for "merchant_fraud_rate", the character length must be smaller than or equal to 2.'
685
+ end
686
+
687
+ @merchant_fraud_rate = merchant_fraud_rate
688
+ end
689
+
690
+ # Custom attribute writer method with validation
691
+ # @param [Object] marketing_source Value to be assigned
692
+ def marketing_source=(marketing_source)
693
+ if !marketing_source.nil? && marketing_source.to_s.length > 40
694
+ fail ArgumentError, 'invalid value for "marketing_source", the character length must be smaller than or equal to 40.'
695
+ end
696
+
697
+ @marketing_source = marketing_source
698
+ end
699
+
700
+ # Custom attribute writer method with validation
701
+ # @param [Object] mcc Value to be assigned
702
+ def mcc=(mcc)
703
+ if !mcc.nil? && mcc.to_s.length > 4
704
+ fail ArgumentError, 'invalid value for "mcc", the character length must be smaller than or equal to 4.'
705
+ end
706
+
707
+ @mcc = mcc
708
+ end
709
+
710
+ # Custom attribute writer method with validation
711
+ # @param [Object] npa_code Value to be assigned
712
+ def npa_code=(npa_code)
713
+ if !npa_code.nil? && npa_code.to_s.length > 2
714
+ fail ArgumentError, 'invalid value for "npa_code", the character length must be smaller than or equal to 2.'
715
+ end
716
+
717
+ @npa_code = npa_code
718
+ end
719
+
720
+ # Custom attribute writer method with validation
721
+ # @param [Object] override_country_code Value to be assigned
722
+ def override_country_code=(override_country_code)
723
+ if !override_country_code.nil? && override_country_code.to_s.length > 2
724
+ fail ArgumentError, 'invalid value for "override_country_code", the character length must be smaller than or equal to 2.'
725
+ end
726
+
727
+ @override_country_code = override_country_code
728
+ end
729
+
730
+ # Custom attribute writer method with validation
731
+ # @param [Object] prior_authentication_data Value to be assigned
732
+ def prior_authentication_data=(prior_authentication_data)
733
+ if !prior_authentication_data.nil? && prior_authentication_data.to_s.length > 2048
734
+ fail ArgumentError, 'invalid value for "prior_authentication_data", the character length must be smaller than or equal to 2048.'
735
+ end
736
+
737
+ @prior_authentication_data = prior_authentication_data
738
+ end
739
+
740
+ # Custom attribute writer method with validation
741
+ # @param [Object] prior_authentication_method Value to be assigned
742
+ def prior_authentication_method=(prior_authentication_method)
743
+ if !prior_authentication_method.nil? && prior_authentication_method.to_s.length > 2
744
+ fail ArgumentError, 'invalid value for "prior_authentication_method", the character length must be smaller than or equal to 2.'
745
+ end
746
+
747
+ @prior_authentication_method = prior_authentication_method
748
+ end
749
+
750
+ # Custom attribute writer method with validation
751
+ # @param [Object] prior_authentication_reference_id Value to be assigned
752
+ def prior_authentication_reference_id=(prior_authentication_reference_id)
753
+ if !prior_authentication_reference_id.nil? && prior_authentication_reference_id.to_s.length > 36
754
+ fail ArgumentError, 'invalid value for "prior_authentication_reference_id", the character length must be smaller than or equal to 36.'
755
+ end
756
+
757
+ @prior_authentication_reference_id = prior_authentication_reference_id
758
+ end
759
+
760
+ # Custom attribute writer method with validation
761
+ # @param [Object] prior_authentication_time Value to be assigned
762
+ def prior_authentication_time=(prior_authentication_time)
763
+ if !prior_authentication_time.nil? && prior_authentication_time.to_s.length > 12
764
+ fail ArgumentError, 'invalid value for "prior_authentication_time", the character length must be smaller than or equal to 12.'
765
+ end
766
+
767
+ @prior_authentication_time = prior_authentication_time
768
+ end
769
+
770
+ # Custom attribute writer method with validation
771
+ # @param [Object] product_code Value to be assigned
772
+ def product_code=(product_code)
773
+ if !product_code.nil? && product_code.to_s.length > 3
774
+ fail ArgumentError, 'invalid value for "product_code", the character length must be smaller than or equal to 3.'
775
+ end
776
+
777
+ @product_code = product_code
778
+ end
779
+
780
+ # Custom attribute writer method with validation
781
+ # @param [Object] return_url Value to be assigned
782
+ def return_url=(return_url)
783
+ if !return_url.nil? && return_url.to_s.length > 2048
784
+ fail ArgumentError, 'invalid value for "return_url", the character length must be smaller than or equal to 2048.'
785
+ end
786
+
787
+ @return_url = return_url
788
+ end
789
+
790
+ # Custom attribute writer method with validation
791
+ # @param [Object] requestor_id Value to be assigned
792
+ def requestor_id=(requestor_id)
793
+ if !requestor_id.nil? && requestor_id.to_s.length > 35
794
+ fail ArgumentError, 'invalid value for "requestor_id", the character length must be smaller than or equal to 35.'
795
+ end
796
+
797
+ @requestor_id = requestor_id
798
+ end
799
+
800
+ # Custom attribute writer method with validation
801
+ # @param [Object] requestor_initiated_authentication_indicator Value to be assigned
802
+ def requestor_initiated_authentication_indicator=(requestor_initiated_authentication_indicator)
803
+ if !requestor_initiated_authentication_indicator.nil? && requestor_initiated_authentication_indicator.to_s.length > 2
804
+ fail ArgumentError, 'invalid value for "requestor_initiated_authentication_indicator", the character length must be smaller than or equal to 2.'
805
+ end
806
+
807
+ @requestor_initiated_authentication_indicator = requestor_initiated_authentication_indicator
808
+ end
809
+
810
+ # Custom attribute writer method with validation
811
+ # @param [Object] requestor_name Value to be assigned
812
+ def requestor_name=(requestor_name)
813
+ if !requestor_name.nil? && requestor_name.to_s.length > 40
814
+ fail ArgumentError, 'invalid value for "requestor_name", the character length must be smaller than or equal to 40.'
815
+ end
816
+
817
+ @requestor_name = requestor_name
818
+ end
819
+
820
+ # Custom attribute writer method with validation
821
+ # @param [Object] reference_id Value to be assigned
822
+ def reference_id=(reference_id)
823
+ if !reference_id.nil? && reference_id.to_s.length > 50
824
+ fail ArgumentError, 'invalid value for "reference_id", the character length must be smaller than or equal to 50.'
825
+ end
826
+
827
+ @reference_id = reference_id
828
+ end
829
+
830
+ # Custom attribute writer method with validation
831
+ # @param [Object] sdk_max_timeout Value to be assigned
832
+ def sdk_max_timeout=(sdk_max_timeout)
833
+ if !sdk_max_timeout.nil? && sdk_max_timeout.to_s.length > 2
834
+ fail ArgumentError, 'invalid value for "sdk_max_timeout", the character length must be smaller than or equal to 2.'
835
+ end
836
+
837
+ @sdk_max_timeout = sdk_max_timeout
838
+ end
839
+
840
+ # Custom attribute writer method with validation
841
+ # @param [Object] secure_corporate_payment_indicator Value to be assigned
842
+ def secure_corporate_payment_indicator=(secure_corporate_payment_indicator)
843
+ if !secure_corporate_payment_indicator.nil? && secure_corporate_payment_indicator.to_s.length > 1
844
+ fail ArgumentError, 'invalid value for "secure_corporate_payment_indicator", the character length must be smaller than or equal to 1.'
845
+ end
846
+
847
+ @secure_corporate_payment_indicator = secure_corporate_payment_indicator
848
+ end
849
+
850
+ # Custom attribute writer method with validation
851
+ # @param [Object] white_list_status Value to be assigned
852
+ def white_list_status=(white_list_status)
853
+ if !white_list_status.nil? && white_list_status.to_s.length > 1
854
+ fail ArgumentError, 'invalid value for "white_list_status", the character length must be smaller than or equal to 1.'
855
+ end
856
+
857
+ @white_list_status = white_list_status
858
+ end
859
+
860
+ # Checks equality by comparing each attribute.
861
+ # @param [Object] Object to be compared
862
+ def ==(o)
863
+ return true if self.equal?(o)
864
+ self.class == o.class &&
865
+ strong_authentication == o.strong_authentication &&
866
+ authentication_type == o.authentication_type &&
867
+ acs_window_size == o.acs_window_size &&
868
+ alternate_authentication_data == o.alternate_authentication_data &&
869
+ alternate_authentication_date == o.alternate_authentication_date &&
870
+ alternate_authentication_method == o.alternate_authentication_method &&
871
+ authentication_date == o.authentication_date &&
872
+ authentication_transaction_id == o.authentication_transaction_id &&
873
+ challenge_cancel_code == o.challenge_cancel_code &&
874
+ challenge_code == o.challenge_code &&
875
+ challenge_status == o.challenge_status &&
876
+ customer_card_alias == o.customer_card_alias &&
877
+ decoupled_authentication_indicator == o.decoupled_authentication_indicator &&
878
+ decoupled_authentication_max_time == o.decoupled_authentication_max_time &&
879
+ default_card == o.default_card &&
880
+ device_channel == o.device_channel &&
881
+ installment_total_count == o.installment_total_count &&
882
+ merchant_fraud_rate == o.merchant_fraud_rate &&
883
+ marketing_opt_in == o.marketing_opt_in &&
884
+ marketing_source == o.marketing_source &&
885
+ mcc == o.mcc &&
886
+ merchant_score == o.merchant_score &&
887
+ message_category == o.message_category &&
888
+ npa_code == o.npa_code &&
889
+ override_payment_method == o.override_payment_method &&
890
+ override_country_code == o.override_country_code &&
891
+ prior_authentication_data == o.prior_authentication_data &&
892
+ prior_authentication_method == o.prior_authentication_method &&
893
+ prior_authentication_reference_id == o.prior_authentication_reference_id &&
894
+ prior_authentication_time == o.prior_authentication_time &&
895
+ product_code == o.product_code &&
896
+ return_url == o.return_url &&
897
+ requestor_id == o.requestor_id &&
898
+ requestor_initiated_authentication_indicator == o.requestor_initiated_authentication_indicator &&
899
+ requestor_name == o.requestor_name &&
900
+ reference_id == o.reference_id &&
901
+ sdk_max_timeout == o.sdk_max_timeout &&
902
+ secure_corporate_payment_indicator == o.secure_corporate_payment_indicator &&
903
+ transaction_mode == o.transaction_mode &&
904
+ white_list_status == o.white_list_status
905
+ end
906
+
907
+ # @see the `==` method
908
+ # @param [Object] Object to be compared
909
+ def eql?(o)
910
+ self == o
911
+ end
912
+
913
+ # Calculates hash code according to all attributes.
914
+ # @return [Fixnum] Hash code
915
+ def hash
916
+ [strong_authentication, authentication_type, acs_window_size, alternate_authentication_data, alternate_authentication_date, alternate_authentication_method, authentication_date, authentication_transaction_id, challenge_cancel_code, challenge_code, challenge_status, customer_card_alias, decoupled_authentication_indicator, decoupled_authentication_max_time, default_card, device_channel, installment_total_count, merchant_fraud_rate, marketing_opt_in, marketing_source, mcc, merchant_score, message_category, npa_code, override_payment_method, override_country_code, prior_authentication_data, prior_authentication_method, prior_authentication_reference_id, prior_authentication_time, product_code, return_url, requestor_id, requestor_initiated_authentication_indicator, requestor_name, reference_id, sdk_max_timeout, secure_corporate_payment_indicator, transaction_mode, white_list_status].hash
917
+ end
918
+
919
+ # Builds the object from hash
920
+ # @param [Hash] attributes Model attributes in the form of hash
921
+ # @return [Object] Returns the model itself
922
+ def build_from_hash(attributes)
923
+ return nil unless attributes.is_a?(Hash)
924
+ self.class.swagger_types.each_pair do |key, type|
925
+ if type =~ /\AArray<(.*)>/i
926
+ # check to ensure the input is an array given that the the attribute
927
+ # is documented as an array but the input is not
928
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
929
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
930
+ end
931
+ elsif !attributes[self.class.attribute_map[key]].nil?
932
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
933
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
934
+ end
935
+
936
+ self
937
+ end
938
+
939
+ # Deserializes the data based on type
940
+ # @param string type Data type
941
+ # @param string value Value to be deserialized
942
+ # @return [Object] Deserialized data
943
+ def _deserialize(type, value)
944
+ case type.to_sym
945
+ when :DateTime
946
+ DateTime.parse(value)
947
+ when :Date
948
+ Date.parse(value)
949
+ when :String
950
+ value.to_s
951
+ when :Integer
952
+ value.to_i
953
+ when :Float
954
+ value.to_f
955
+ when :BOOLEAN
956
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
957
+ true
958
+ else
959
+ false
960
+ end
961
+ when :Object
962
+ # generic object (usually a Hash), return directly
963
+ value
964
+ when /\AArray<(?<inner_type>.+)>\z/
965
+ inner_type = Regexp.last_match[:inner_type]
966
+ value.map { |v| _deserialize(inner_type, v) }
967
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
968
+ k_type = Regexp.last_match[:k_type]
969
+ v_type = Regexp.last_match[:v_type]
970
+ {}.tap do |hash|
971
+ value.each do |k, v|
972
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
973
+ end
974
+ end
975
+ else # model
976
+ temp_model = CyberSource.const_get(type).new
977
+ temp_model.build_from_hash(value)
978
+ end
979
+ end
980
+
981
+ # Returns the string representation of the object
982
+ # @return [String] String presentation of the object
983
+ def to_s
984
+ to_hash.to_s
985
+ end
986
+
987
+ # to_body is an alias to to_hash (backward compatibility)
988
+ # @return [Hash] Returns the object in the form of hash
989
+ def to_body
990
+ to_hash
991
+ end
992
+
993
+ # Returns the object in the form of hash
994
+ # @return [Hash] Returns the object in the form of hash
995
+ def to_hash
996
+ hash = {}
997
+ self.class.attribute_map.each_pair do |attr, param|
998
+ value = self.send(attr)
999
+ next if value.nil?
1000
+ hash[param] = _to_hash(value)
1001
+ end
1002
+ hash
1003
+ end
1004
+
1005
+ # Outputs non-array value in the form of hash
1006
+ # For object, use to_hash. Otherwise, just return the value
1007
+ # @param [Object] value Any valid value
1008
+ # @return [Hash] Returns the value in the form of hash
1009
+ def _to_hash(value)
1010
+ if value.is_a?(Array)
1011
+ value.compact.map { |v| _to_hash(v) }
1012
+ elsif value.is_a?(Hash)
1013
+ {}.tap do |hash|
1014
+ value.each { |k, v| hash[k] = _to_hash(v) }
1015
+ end
1016
+ elsif value.respond_to? :to_hash
1017
+ value.to_hash
1018
+ else
1019
+ value
1020
+ end
1021
+ end
1022
+ end
1023
+ end