cybersource_rest_client 0.0.83 → 0.0.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +46 -27
  3. data/lib/AuthenticationSDK/core/MerchantConfig.rb +82 -48
  4. data/lib/AuthenticationSDK/util/Cache.rb +7 -4
  5. data/lib/AuthenticationSDK/util/Constants.rb +6 -0
  6. data/lib/AuthenticationSDK/util/MLEUtility.rb +9 -0
  7. data/lib/cybersource_rest_client/api/batches_api.rb +1 -1
  8. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +14 -22
  9. data/lib/cybersource_rest_client/api/credentials_api.rb +104 -0
  10. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
  11. data/lib/cybersource_rest_client/api/enrollment_api.rb +2 -2
  12. data/lib/cybersource_rest_client/api/instructions_api.rb +10 -10
  13. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +3 -3
  14. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +20 -28
  15. data/lib/cybersource_rest_client/api/network_tokens_api.rb +654 -0
  16. data/lib/cybersource_rest_client/api/plans_api.rb +1 -1
  17. data/lib/cybersource_rest_client/api/subscriptions_api.rb +183 -1
  18. data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +1 -1
  19. data/lib/cybersource_rest_client/api_client.rb +4 -0
  20. data/lib/cybersource_rest_client/models/account_validations_request.rb +15 -5
  21. data/lib/cybersource_rest_client/models/acpv1instructions_decline_threshold.rb +1 -1
  22. data/lib/cybersource_rest_client/models/acpv1instructions_mandates.rb +1 -1
  23. data/lib/cybersource_rest_client/models/acpv1instructions_recurring_payment_information.rb +1 -1
  24. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information.rb +1 -1
  25. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb +1 -1
  26. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb +1 -1
  27. data/lib/cybersource_rest_client/models/acpv1mppcredentials_challenge.rb +369 -0
  28. data/lib/cybersource_rest_client/models/acpv1mppcredentials_challenge_encryption_jwk.rb +336 -0
  29. data/lib/cybersource_rest_client/models/acpv1tokens_assurance_data.rb +7 -7
  30. data/lib/cybersource_rest_client/models/acpv1tokens_authenticated_identities.rb +1 -1
  31. data/lib/cybersource_rest_client/models/acpv1tokens_authentication_context.rb +1 -1
  32. data/lib/cybersource_rest_client/models/acpv1tokens_bill_to.rb +1 -1
  33. data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information.rb +1 -1
  34. data/lib/cybersource_rest_client/models/acpv1tokens_consumer_identity.rb +1 -1
  35. data/lib/cybersource_rest_client/models/acpv1tokens_device_information.rb +1 -1
  36. data/lib/cybersource_rest_client/models/acpv1tokens_enrollment_reference_data.rb +1 -1
  37. data/lib/cybersource_rest_client/models/acpv1tokens_payment_information.rb +1 -1
  38. data/lib/cybersource_rest_client/models/auth_reversal_request.rb +11 -1
  39. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information.rb +32 -6
  40. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank.rb +1 -1
  41. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank_account.rb +1 -1
  42. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_customer.rb +196 -0
  43. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_instrument_identifier.rb +196 -0
  44. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_payment_instrument.rb +196 -0
  45. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_token_information.rb +208 -0
  46. data/lib/cybersource_rest_client/models/card_processing_config_common_processors.rb +105 -1
  47. data/lib/cybersource_rest_client/models/commerce_solutions_products.rb +15 -5
  48. data/lib/cybersource_rest_client/models/create_credit_request.rb +15 -5
  49. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_amount_details_surcharge.rb +22 -5
  50. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response.rb +247 -0
  51. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_1.rb +224 -0
  52. data/lib/cybersource_rest_client/models/{pbl_payment_links_post201_response__links.rb → get_subscriptions_payments_response_1__links.rb} +1 -1
  53. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response__links.rb +209 -0
  54. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_cycles_completed_count.rb +191 -0
  55. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_subscription_payment.rb +356 -0
  56. data/lib/cybersource_rest_client/models/inline_response_201_1_tokenized_card.rb +26 -5
  57. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_commerce_solutions.rb +15 -5
  58. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_payments.rb +25 -5
  59. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_risk.rb +15 -5
  60. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_value_added_services.rb +25 -5
  61. data/lib/cybersource_rest_client/models/inline_response_400_10.rb +30 -75
  62. data/lib/cybersource_rest_client/models/{inline_response_400_8_details.rb → inline_response_400_10_details.rb} +1 -1
  63. data/lib/cybersource_rest_client/models/inline_response_400_11.rb +235 -0
  64. data/lib/cybersource_rest_client/models/{inline_response_400_7_details.rb → inline_response_400_11_details.rb} +3 -3
  65. data/lib/cybersource_rest_client/models/inline_response_400_12.rb +281 -0
  66. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +37 -60
  67. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +6 -6
  68. data/lib/cybersource_rest_client/models/inline_response_400_8.rb +58 -36
  69. data/lib/cybersource_rest_client/models/{inline_response_400_6_fields.rb → inline_response_400_8_fields.rb} +1 -1
  70. data/lib/cybersource_rest_client/models/inline_response_400_9.rb +16 -16
  71. data/lib/cybersource_rest_client/models/inline_response_400_9_details.rb +2 -2
  72. data/lib/cybersource_rest_client/models/inline_response_404_3.rb +1 -1
  73. data/lib/cybersource_rest_client/models/inline_response_422_1.rb +1 -1
  74. data/lib/cybersource_rest_client/models/iplv2paymentlinks_order_information_line_items.rb +73 -5
  75. data/lib/cybersource_rest_client/models/mit_reversal_request.rb +11 -1
  76. data/lib/cybersource_rest_client/models/mpp_credentials_request.rb +221 -0
  77. data/lib/cybersource_rest_client/models/mpp_credentials_response200.rb +338 -0
  78. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +1 -1
  79. data/lib/cybersource_rest_client/models/patch_customer_request.rb +1 -1
  80. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +1 -1
  81. data/lib/cybersource_rest_client/models/payment_instrument_list_1__embedded.rb +1 -1
  82. data/lib/cybersource_rest_client/models/payment_instrument_list__embedded.rb +1 -1
  83. data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded__embedded.rb → payment_instrument_list__embedded__embedded.rb} +1 -1
  84. data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded_payment_instruments.rb → payment_instrument_list__embedded_payment_instruments.rb} +2 -2
  85. data/lib/cybersource_rest_client/models/payments_products.rb +25 -5
  86. data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information_configurations_processors.rb +14 -2
  87. data/lib/cybersource_rest_client/models/payments_products_microform.rb +199 -0
  88. data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information.rb +199 -0
  89. data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations.rb +189 -0
  90. data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations_features.rb +189 -0
  91. data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations_features_gateway_agnostic.rb +189 -0
  92. data/lib/cybersource_rest_client/models/payments_products_microform_subscription_information.rb +227 -0
  93. data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +1 -1
  94. data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response.rb +1 -1
  95. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +1 -1
  96. data/lib/cybersource_rest_client/models/post_customer_request.rb +1 -1
  97. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +1 -1
  98. data/lib/cybersource_rest_client/models/post_tokenized_card_request.rb +15 -5
  99. data/lib/cybersource_rest_client/models/pts_v2_create_billing_agreement_post201_response_agreement_information.rb +80 -1
  100. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +41 -1
  101. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_merchant_information.rb +196 -0
  102. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_account_information.rb +189 -0
  103. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information.rb +15 -5
  104. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information_account_features.rb +196 -0
  105. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_token_information.rb +189 -0
  106. data/lib/cybersource_rest_client/models/pts_v2_modify_billing_agreement_post201_response_agreement_information.rb +35 -1
  107. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +22 -5
  108. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +1 -1
  109. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_order_information_shipping_details.rb +1 -1
  110. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +106 -5
  111. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication.rb +22 -5
  112. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information.rb +15 -5
  113. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_payment_information_tokenized_card.rb → pts_v2_payments_post201_response_payment_account_information_tokenized_card.rb} +1 -1
  114. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +1 -1
  115. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +18 -1
  116. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +23 -6
  117. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information.rb +15 -5
  118. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_third_party_token.rb +213 -0
  119. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +1 -1
  120. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_error_information.rb +1 -1
  121. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information_amount_details.rb +18 -1
  122. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +19 -2
  123. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +1 -1
  124. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +7 -1
  125. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +45 -5
  126. data/lib/cybersource_rest_client/models/{pull_funds201_response_processor_information_avs.rb → pts_v2_payouts_post201_response_processor_information_avs.rb} +1 -1
  127. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_customer.rb +196 -0
  128. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_electronic_verification_results.rb +281 -0
  129. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_buyer_information.rb +196 -0
  130. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_order_information_amount_details.rb +1 -1
  131. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information.rb +18 -5
  132. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +19 -6
  133. data/lib/cybersource_rest_client/models/ptsv2billingagreements_agreement_information.rb +84 -5
  134. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information.rb +12 -2
  135. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_amount_details.rb +230 -0
  136. data/lib/cybersource_rest_client/models/{ptsv2intents_order_information_invoice_details.rb → ptsv2billingagreements_order_information_invoice_details.rb} +1 -1
  137. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_bank.rb +15 -5
  138. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_bank_account_alias.rb +207 -0
  139. data/lib/cybersource_rest_client/models/ptsv2billingagreements_processing_information.rb +18 -1
  140. data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_agreement_information.rb +56 -5
  141. data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_processing_information.rb +18 -1
  142. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +35 -5
  143. data/lib/cybersource_rest_client/models/ptsv2credits_token_information.rb +228 -0
  144. data/lib/cybersource_rest_client/models/ptsv2intents_order_information.rb +1 -1
  145. data/lib/cybersource_rest_client/models/ptsv2intentsid_order_information.rb +1 -1
  146. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +15 -5
  147. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +16 -5
  148. data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +28 -1
  149. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_digital_currency.rb +231 -0
  150. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +23 -6
  151. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +32 -5
  152. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +15 -5
  153. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account_alias.rb +207 -0
  154. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_third_party_token.rb +196 -0
  155. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +18 -1
  156. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +72 -6
  157. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_program_indicators.rb +202 -0
  158. data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +56 -5
  159. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +16 -5
  160. data/lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb +16 -5
  161. data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +32 -5
  162. data/lib/cybersource_rest_client/models/ptsv2payments_token_information_token_authentication_information.rb +193 -0
  163. data/lib/cybersource_rest_client/models/ptsv2payments_token_information_token_authentication_information_authenticated_identities.rb +252 -0
  164. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +15 -5
  165. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +100 -5
  166. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +22 -5
  167. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +18 -1
  168. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processor_information.rb +39 -5
  169. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information.rb +15 -5
  170. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_shipping_details.rb +196 -0
  171. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +32 -5
  172. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_device_information.rb +196 -0
  173. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_payment_information.rb +22 -5
  174. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +18 -5
  175. data/lib/cybersource_rest_client/models/pull_funds201_response_processor_information.rb +36 -6
  176. data/lib/cybersource_rest_client/models/pull_funds_request.rb +11 -1
  177. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +45 -5
  178. data/lib/cybersource_rest_client/models/risk_products.rb +15 -5
  179. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +39 -5
  180. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +1 -1
  181. data/lib/cybersource_rest_client/models/tms_card_art.rb +23 -1
  182. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bill_to.rb +22 -5
  183. data/lib/cybersource_rest_client/models/tms_tokenized_card_delete_request.rb +189 -0
  184. data/lib/cybersource_rest_client/models/tmsv1paymentinstruments__embedded.rb +190 -0
  185. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card.rb +22 -1
  186. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_card.rb +1 -1
  187. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata.rb +16 -5
  188. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer.rb +41 -8
  189. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer_bank_applications.rb +201 -0
  190. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer_capabilities.rb +257 -0
  191. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_verification_results.rb +202 -0
  192. data/lib/cybersource_rest_client/models/tmsv2customers__embedded.rb +200 -0
  193. data/lib/cybersource_rest_client/models/{tmsv3tokenstoken_idpaymentcredentials_order_information_bill_to.rb → tmsv2tokenizedcards_bill_to.rb} +1 -1
  194. data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_iddelete_reason.rb +208 -0
  195. data/lib/cybersource_rest_client/models/tmsv3tokenstoken_idpaymentcredentials_order_information.rb +1 -1
  196. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +1 -1
  197. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +1 -1
  198. data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +44 -14
  199. data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +325 -0
  200. data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information_sub_merchant.rb +366 -0
  201. data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +22 -5
  202. data/lib/cybersource_rest_client/models/ucv1sessions_data_installment_information.rb +196 -0
  203. data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information.rb +22 -5
  204. data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information_merchant_descriptor.rb +18 -1
  205. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information.rb +16 -6
  206. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_amount_details.rb +86 -12
  207. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_invoice_details.rb +242 -0
  208. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_invoice_details_transaction_advice_addendum.rb +196 -0
  209. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_line_items.rb +702 -0
  210. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_shipping_details.rb +213 -0
  211. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information.rb +38 -1
  212. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_bank_transfer_options.rb +196 -0
  213. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_recurring_options.rb +192 -0
  214. data/lib/cybersource_rest_client/models/ucv1sessions_data_recipient_information.rb +107 -53
  215. data/lib/cybersource_rest_client/models/ucv1sessions_data_sender_information.rb +376 -0
  216. data/lib/cybersource_rest_client/models/ucv1sessions_data_sender_information_account.rb +213 -0
  217. data/lib/cybersource_rest_client/models/update_payments.rb +192 -0
  218. data/lib/cybersource_rest_client/models/value_added_services_products.rb +25 -5
  219. data/lib/cybersource_rest_client.rb +71 -12
  220. metadata +78 -19
  221. data/lib/cybersource_rest_client/api/token_api.rb +0 -306
  222. data/lib/cybersource_rest_client/api/tokenized_card_api.rb +0 -371
@@ -0,0 +1,356 @@
1
+ =begin
2
+ #CyberSource Merged Spec
3
+
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
+
6
+ OpenAPI spec version: 0.0.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.38
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module CyberSource
15
+ class GetSubscriptionsPaymentsResponseSubscriptionPayment
16
+ # Identifier assigned by Recurring Billing to uniquely reference this billing cycle's payment, distinct from the Cybersource transactionID.
17
+ attr_accessor :id
18
+
19
+ # The current status of the payment. Possible values: - SCHEDULED - PAID - FAILED - SKIPPED - SCHEDULED_SKIPPED
20
+ attr_accessor :status
21
+
22
+ # The type of payment. Possible values: - STANDARD - RETRY
23
+ attr_accessor :payment_type
24
+
25
+ # An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.
26
+ attr_accessor :transaction_id
27
+
28
+ # The date and time of the payment processing.
29
+ attr_accessor :date
30
+
31
+ # Currency used for the order. Use the three-character [ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) #### Used by **Authorization** Required field. **Authorization Reversal** For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### PIN Debit Currency for the amount you requested for the PIN debit purchase. This value is returned for partial authorizations. The issuing bank can approve a partial amount if the balance on the debit card is less than the requested transaction amount. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Returned by PIN debit purchase. For PIN debit reversal requests, you must use the same currency that was used for the PIN debit purchase or PIN debit credit that you are reversing. For the possible values, see the [ISO Standard Currency Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/currencies.pdf). Required field for PIN Debit purchase and PIN Debit credit requests. Optional field for PIN Debit reversal requests. #### GPX This field is optional for reversing an authorization or credit. #### DCC for First Data Your local currency. #### Tax Calculation Required for international tax and value added tax only. Optional for U.S. and Canadian taxes. Your local currency.
32
+ attr_accessor :currency
33
+
34
+ # The start date of the billing cycle for this payment.
35
+ attr_accessor :billing_start_date
36
+
37
+ # The end date of the billing cycle for this payment.
38
+ attr_accessor :billing_end_date
39
+
40
+ # The billing cycle number.
41
+ attr_accessor :billing_cycle
42
+
43
+ # The sequential number of the payment in the subscription.
44
+ attr_accessor :payment_number
45
+
46
+ # The amount billed for this payment.
47
+ attr_accessor :billing_amount
48
+
49
+ # The setup fee associated with the payment.
50
+ attr_accessor :setup_fee
51
+
52
+ # The surcharge amount, if any.
53
+ attr_accessor :surcharge_amount
54
+
55
+ # The description for the surcharge.
56
+ attr_accessor :surcharge_description
57
+
58
+ # Indicates if the payment is modifiable, meaning it can be skipped or restored.
59
+ attr_accessor :modifiable
60
+
61
+ # Attribute mapping from ruby-style variable name to JSON key.
62
+ def self.attribute_map
63
+ {
64
+ :'id' => :'id',
65
+ :'status' => :'status',
66
+ :'payment_type' => :'paymentType',
67
+ :'transaction_id' => :'transactionID',
68
+ :'date' => :'date',
69
+ :'currency' => :'currency',
70
+ :'billing_start_date' => :'billingStartDate',
71
+ :'billing_end_date' => :'billingEndDate',
72
+ :'billing_cycle' => :'billingCycle',
73
+ :'payment_number' => :'paymentNumber',
74
+ :'billing_amount' => :'billingAmount',
75
+ :'setup_fee' => :'setupFee',
76
+ :'surcharge_amount' => :'surchargeAmount',
77
+ :'surcharge_description' => :'surchargeDescription',
78
+ :'modifiable' => :'modifiable'
79
+ }
80
+ end
81
+
82
+ # Attribute mapping from JSON key to ruby-style variable name.
83
+ def self.json_map
84
+ {
85
+ :'id' => :'id',
86
+ :'status' => :'status',
87
+ :'payment_type' => :'payment_type',
88
+ :'transaction_id' => :'transaction_id',
89
+ :'date' => :'date',
90
+ :'currency' => :'currency',
91
+ :'billing_start_date' => :'billing_start_date',
92
+ :'billing_end_date' => :'billing_end_date',
93
+ :'billing_cycle' => :'billing_cycle',
94
+ :'payment_number' => :'payment_number',
95
+ :'billing_amount' => :'billing_amount',
96
+ :'setup_fee' => :'setup_fee',
97
+ :'surcharge_amount' => :'surcharge_amount',
98
+ :'surcharge_description' => :'surcharge_description',
99
+ :'modifiable' => :'modifiable'
100
+ }
101
+ end
102
+
103
+ # Attribute type mapping.
104
+ def self.swagger_types
105
+ {
106
+ :'id' => :'String',
107
+ :'status' => :'String',
108
+ :'payment_type' => :'String',
109
+ :'transaction_id' => :'String',
110
+ :'date' => :'DateTime',
111
+ :'currency' => :'String',
112
+ :'billing_start_date' => :'DateTime',
113
+ :'billing_end_date' => :'DateTime',
114
+ :'billing_cycle' => :'String',
115
+ :'payment_number' => :'String',
116
+ :'billing_amount' => :'String',
117
+ :'setup_fee' => :'String',
118
+ :'surcharge_amount' => :'String',
119
+ :'surcharge_description' => :'String',
120
+ :'modifiable' => :'BOOLEAN'
121
+ }
122
+ end
123
+
124
+ # Initializes the object
125
+ # @param [Hash] attributes Model attributes in the form of hash
126
+ def initialize(attributes = {})
127
+ return unless attributes.is_a?(Hash)
128
+
129
+ # convert string to symbol for hash key
130
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
131
+
132
+ if attributes.has_key?(:'id')
133
+ self.id = attributes[:'id']
134
+ end
135
+
136
+ if attributes.has_key?(:'status')
137
+ self.status = attributes[:'status']
138
+ end
139
+
140
+ if attributes.has_key?(:'paymentType')
141
+ self.payment_type = attributes[:'paymentType']
142
+ end
143
+
144
+ if attributes.has_key?(:'transactionID')
145
+ self.transaction_id = attributes[:'transactionID']
146
+ end
147
+
148
+ if attributes.has_key?(:'date')
149
+ self.date = attributes[:'date']
150
+ end
151
+
152
+ if attributes.has_key?(:'currency')
153
+ self.currency = attributes[:'currency']
154
+ end
155
+
156
+ if attributes.has_key?(:'billingStartDate')
157
+ self.billing_start_date = attributes[:'billingStartDate']
158
+ end
159
+
160
+ if attributes.has_key?(:'billingEndDate')
161
+ self.billing_end_date = attributes[:'billingEndDate']
162
+ end
163
+
164
+ if attributes.has_key?(:'billingCycle')
165
+ self.billing_cycle = attributes[:'billingCycle']
166
+ end
167
+
168
+ if attributes.has_key?(:'paymentNumber')
169
+ self.payment_number = attributes[:'paymentNumber']
170
+ end
171
+
172
+ if attributes.has_key?(:'billingAmount')
173
+ self.billing_amount = attributes[:'billingAmount']
174
+ end
175
+
176
+ if attributes.has_key?(:'setupFee')
177
+ self.setup_fee = attributes[:'setupFee']
178
+ end
179
+
180
+ if attributes.has_key?(:'surchargeAmount')
181
+ self.surcharge_amount = attributes[:'surchargeAmount']
182
+ end
183
+
184
+ if attributes.has_key?(:'surchargeDescription')
185
+ self.surcharge_description = attributes[:'surchargeDescription']
186
+ end
187
+
188
+ if attributes.has_key?(:'modifiable')
189
+ self.modifiable = attributes[:'modifiable']
190
+ end
191
+ end
192
+
193
+ # Show invalid properties with the reasons. Usually used together with valid?
194
+ # @return Array for valid properties with the reasons
195
+ def list_invalid_properties
196
+ invalid_properties = Array.new
197
+ invalid_properties
198
+ end
199
+
200
+ # Check to see if the all the properties in the model are valid
201
+ # @return true if the model is valid
202
+ def valid?
203
+ true
204
+ end
205
+
206
+ # Custom attribute writer method with validation
207
+ # @param [Object] transaction_id Value to be assigned
208
+ def transaction_id=(transaction_id)
209
+ @transaction_id = transaction_id
210
+ end
211
+
212
+ # Custom attribute writer method with validation
213
+ # @param [Object] currency Value to be assigned
214
+ def currency=(currency)
215
+ @currency = currency
216
+ end
217
+
218
+ # Checks equality by comparing each attribute.
219
+ # @param [Object] Object to be compared
220
+ def ==(o)
221
+ return true if self.equal?(o)
222
+ self.class == o.class &&
223
+ id == o.id &&
224
+ status == o.status &&
225
+ payment_type == o.payment_type &&
226
+ transaction_id == o.transaction_id &&
227
+ date == o.date &&
228
+ currency == o.currency &&
229
+ billing_start_date == o.billing_start_date &&
230
+ billing_end_date == o.billing_end_date &&
231
+ billing_cycle == o.billing_cycle &&
232
+ payment_number == o.payment_number &&
233
+ billing_amount == o.billing_amount &&
234
+ setup_fee == o.setup_fee &&
235
+ surcharge_amount == o.surcharge_amount &&
236
+ surcharge_description == o.surcharge_description &&
237
+ modifiable == o.modifiable
238
+ end
239
+
240
+ # @see the `==` method
241
+ # @param [Object] Object to be compared
242
+ def eql?(o)
243
+ self == o
244
+ end
245
+
246
+ # Calculates hash code according to all attributes.
247
+ # @return [Fixnum] Hash code
248
+ def hash
249
+ [id, status, payment_type, transaction_id, date, currency, billing_start_date, billing_end_date, billing_cycle, payment_number, billing_amount, setup_fee, surcharge_amount, surcharge_description, modifiable].hash
250
+ end
251
+
252
+ # Builds the object from hash
253
+ # @param [Hash] attributes Model attributes in the form of hash
254
+ # @return [Object] Returns the model itself
255
+ def build_from_hash(attributes)
256
+ return nil unless attributes.is_a?(Hash)
257
+ self.class.swagger_types.each_pair do |key, type|
258
+ if type =~ /\AArray<(.*)>/i
259
+ # check to ensure the input is an array given that the the attribute
260
+ # is documented as an array but the input is not
261
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
262
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
263
+ end
264
+ elsif !attributes[self.class.attribute_map[key]].nil?
265
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
266
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
267
+ end
268
+
269
+ self
270
+ end
271
+
272
+ # Deserializes the data based on type
273
+ # @param string type Data type
274
+ # @param string value Value to be deserialized
275
+ # @return [Object] Deserialized data
276
+ def _deserialize(type, value)
277
+ case type.to_sym
278
+ when :DateTime
279
+ DateTime.parse(value)
280
+ when :Date
281
+ Date.parse(value)
282
+ when :String
283
+ value.to_s
284
+ when :Integer
285
+ value.to_i
286
+ when :Float
287
+ value.to_f
288
+ when :BOOLEAN
289
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
290
+ true
291
+ else
292
+ false
293
+ end
294
+ when :Object
295
+ # generic object (usually a Hash), return directly
296
+ value
297
+ when /\AArray<(?<inner_type>.+)>\z/
298
+ inner_type = Regexp.last_match[:inner_type]
299
+ value.map { |v| _deserialize(inner_type, v) }
300
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
301
+ k_type = Regexp.last_match[:k_type]
302
+ v_type = Regexp.last_match[:v_type]
303
+ {}.tap do |hash|
304
+ value.each do |k, v|
305
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
306
+ end
307
+ end
308
+ else # model
309
+ temp_model = CyberSource.const_get(type).new
310
+ temp_model.build_from_hash(value)
311
+ end
312
+ end
313
+
314
+ # Returns the string representation of the object
315
+ # @return [String] String presentation of the object
316
+ def to_s
317
+ to_hash.to_s
318
+ end
319
+
320
+ # to_body is an alias to to_hash (backward compatibility)
321
+ # @return [Hash] Returns the object in the form of hash
322
+ def to_body
323
+ to_hash
324
+ end
325
+
326
+ # Returns the object in the form of hash
327
+ # @return [Hash] Returns the object in the form of hash
328
+ def to_hash
329
+ hash = {}
330
+ self.class.attribute_map.each_pair do |attr, param|
331
+ value = self.send(attr)
332
+ next if value.nil?
333
+ hash[param] = _to_hash(value)
334
+ end
335
+ hash
336
+ end
337
+
338
+ # Outputs non-array value in the form of hash
339
+ # For object, use to_hash. Otherwise, just return the value
340
+ # @param [Object] value Any valid value
341
+ # @return [Hash] Returns the value in the form of hash
342
+ def _to_hash(value)
343
+ if value.is_a?(Array)
344
+ value.compact.map { |v| _to_hash(v) }
345
+ elsif value.is_a?(Hash)
346
+ {}.tap do |hash|
347
+ value.each { |k, v| hash[k] = _to_hash(v) }
348
+ end
349
+ elsif value.respond_to? :to_hash
350
+ value.to_hash
351
+ else
352
+ value
353
+ end
354
+ end
355
+ end
356
+ end
@@ -61,8 +61,13 @@ module CyberSource
61
61
  # Payment account reference.
62
62
  attr_accessor :payment_account_reference
63
63
 
64
+ # A sequence counter used as part of the input to the TAVV cryptogram and it is incremented for each cryptogram generation. This field is only returned for Visa network tokens.
65
+ attr_accessor :application_transaction_counter
66
+
64
67
  attr_accessor :card
65
68
 
69
+ attr_accessor :verification_results
70
+
66
71
  # Attribute mapping from ruby-style variable name to JSON key.
67
72
  def self.attribute_map
68
73
  {
@@ -82,7 +87,9 @@ module CyberSource
82
87
  :'eci' => :'eci',
83
88
  :'requestor_id' => :'requestorId',
84
89
  :'payment_account_reference' => :'paymentAccountReference',
85
- :'card' => :'card'
90
+ :'application_transaction_counter' => :'applicationTransactionCounter',
91
+ :'card' => :'card',
92
+ :'verification_results' => :'verificationResults'
86
93
  }
87
94
  end
88
95
 
@@ -105,7 +112,9 @@ module CyberSource
105
112
  :'eci' => :'eci',
106
113
  :'requestor_id' => :'requestor_id',
107
114
  :'payment_account_reference' => :'payment_account_reference',
108
- :'card' => :'card'
115
+ :'application_transaction_counter' => :'application_transaction_counter',
116
+ :'card' => :'card',
117
+ :'verification_results' => :'verification_results'
109
118
  }
110
119
  end
111
120
 
@@ -128,7 +137,9 @@ module CyberSource
128
137
  :'eci' => :'String',
129
138
  :'requestor_id' => :'String',
130
139
  :'payment_account_reference' => :'String',
131
- :'card' => :'Tmsv2TokenizedCardCard'
140
+ :'application_transaction_counter' => :'String',
141
+ :'card' => :'Tmsv2TokenizedCardCard',
142
+ :'verification_results' => :'Tmsv2TokenizedCardVerificationResults'
132
143
  }
133
144
  end
134
145
 
@@ -204,9 +215,17 @@ module CyberSource
204
215
  self.payment_account_reference = attributes[:'paymentAccountReference']
205
216
  end
206
217
 
218
+ if attributes.has_key?(:'applicationTransactionCounter')
219
+ self.application_transaction_counter = attributes[:'applicationTransactionCounter']
220
+ end
221
+
207
222
  if attributes.has_key?(:'card')
208
223
  self.card = attributes[:'card']
209
224
  end
225
+
226
+ if attributes.has_key?(:'verificationResults')
227
+ self.verification_results = attributes[:'verificationResults']
228
+ end
210
229
  end
211
230
 
212
231
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -249,7 +268,9 @@ module CyberSource
249
268
  eci == o.eci &&
250
269
  requestor_id == o.requestor_id &&
251
270
  payment_account_reference == o.payment_account_reference &&
252
- card == o.card
271
+ application_transaction_counter == o.application_transaction_counter &&
272
+ card == o.card &&
273
+ verification_results == o.verification_results
253
274
  end
254
275
 
255
276
  # @see the `==` method
@@ -261,7 +282,7 @@ module CyberSource
261
282
  # Calculates hash code according to all attributes.
262
283
  # @return [Fixnum] Hash code
263
284
  def hash
264
- [id, object, source, state, enrollment_id, token_reference_id, number, expiration_month, expiration_year, type, reason, cryptogram, security_code, eci, requestor_id, payment_account_reference, card].hash
285
+ [id, object, source, state, enrollment_id, token_reference_id, number, expiration_month, expiration_year, type, reason, cryptogram, security_code, eci, requestor_id, payment_account_reference, application_transaction_counter, card, verification_results].hash
265
286
  end
266
287
 
267
288
  # Builds the object from hash
@@ -19,12 +19,15 @@ module CyberSource
19
19
 
20
20
  attr_accessor :bin_lookup
21
21
 
22
+ attr_accessor :agentic_commerce
23
+
22
24
  # Attribute mapping from ruby-style variable name to JSON key.
23
25
  def self.attribute_map
24
26
  {
25
27
  :'token_management' => :'tokenManagement',
26
28
  :'account_updater' => :'accountUpdater',
27
- :'bin_lookup' => :'binLookup'
29
+ :'bin_lookup' => :'binLookup',
30
+ :'agentic_commerce' => :'agenticCommerce'
28
31
  }
29
32
  end
30
33
 
@@ -33,7 +36,8 @@ module CyberSource
33
36
  {
34
37
  :'token_management' => :'token_management',
35
38
  :'account_updater' => :'account_updater',
36
- :'bin_lookup' => :'bin_lookup'
39
+ :'bin_lookup' => :'bin_lookup',
40
+ :'agentic_commerce' => :'agentic_commerce'
37
41
  }
38
42
  end
39
43
 
@@ -42,7 +46,8 @@ module CyberSource
42
46
  {
43
47
  :'token_management' => :'InlineResponse2014SetupsPaymentsCardProcessing',
44
48
  :'account_updater' => :'InlineResponse2014SetupsPaymentsCardProcessing',
45
- :'bin_lookup' => :'InlineResponse2014SetupsPaymentsCardProcessing'
49
+ :'bin_lookup' => :'InlineResponse2014SetupsPaymentsCardProcessing',
50
+ :'agentic_commerce' => :'InlineResponse2014SetupsPaymentsCardProcessing'
46
51
  }
47
52
  end
48
53
 
@@ -65,6 +70,10 @@ module CyberSource
65
70
  if attributes.has_key?(:'binLookup')
66
71
  self.bin_lookup = attributes[:'binLookup']
67
72
  end
73
+
74
+ if attributes.has_key?(:'agenticCommerce')
75
+ self.agentic_commerce = attributes[:'agenticCommerce']
76
+ end
68
77
  end
69
78
 
70
79
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -87,7 +96,8 @@ module CyberSource
87
96
  self.class == o.class &&
88
97
  token_management == o.token_management &&
89
98
  account_updater == o.account_updater &&
90
- bin_lookup == o.bin_lookup
99
+ bin_lookup == o.bin_lookup &&
100
+ agentic_commerce == o.agentic_commerce
91
101
  end
92
102
 
93
103
  # @see the `==` method
@@ -99,7 +109,7 @@ module CyberSource
99
109
  # Calculates hash code according to all attributes.
100
110
  # @return [Fixnum] Hash code
101
111
  def hash
102
- [token_management, account_updater, bin_lookup].hash
112
+ [token_management, account_updater, bin_lookup, agentic_commerce].hash
103
113
  end
104
114
 
105
115
  # Builds the object from hash
@@ -53,6 +53,10 @@ module CyberSource
53
53
 
54
54
  attr_accessor :batch_upload
55
55
 
56
+ attr_accessor :transact_guard
57
+
58
+ attr_accessor :microform
59
+
56
60
  # Attribute mapping from ruby-style variable name to JSON key.
57
61
  def self.attribute_map
58
62
  {
@@ -75,7 +79,9 @@ module CyberSource
75
79
  :'unified_checkout' => :'unifiedCheckout',
76
80
  :'receivables_manager' => :'receivablesManager',
77
81
  :'service_fee' => :'serviceFee',
78
- :'batch_upload' => :'batchUpload'
82
+ :'batch_upload' => :'batchUpload',
83
+ :'transact_guard' => :'transactGuard',
84
+ :'microform' => :'microform'
79
85
  }
80
86
  end
81
87
 
@@ -101,7 +107,9 @@ module CyberSource
101
107
  :'unified_checkout' => :'unified_checkout',
102
108
  :'receivables_manager' => :'receivables_manager',
103
109
  :'service_fee' => :'service_fee',
104
- :'batch_upload' => :'batch_upload'
110
+ :'batch_upload' => :'batch_upload',
111
+ :'transact_guard' => :'transact_guard',
112
+ :'microform' => :'microform'
105
113
  }
106
114
  end
107
115
 
@@ -127,7 +135,9 @@ module CyberSource
127
135
  :'unified_checkout' => :'InlineResponse2014SetupsPaymentsDigitalPayments',
128
136
  :'receivables_manager' => :'InlineResponse2014SetupsPaymentsDigitalPayments',
129
137
  :'service_fee' => :'InlineResponse2014SetupsPaymentsCardProcessing',
130
- :'batch_upload' => :'InlineResponse2014SetupsPaymentsDigitalPayments'
138
+ :'batch_upload' => :'InlineResponse2014SetupsPaymentsDigitalPayments',
139
+ :'transact_guard' => :'InlineResponse2014SetupsPaymentsDigitalPayments',
140
+ :'microform' => :'InlineResponse2014SetupsPaymentsCardProcessing'
131
141
  }
132
142
  end
133
143
 
@@ -218,6 +228,14 @@ module CyberSource
218
228
  if attributes.has_key?(:'batchUpload')
219
229
  self.batch_upload = attributes[:'batchUpload']
220
230
  end
231
+
232
+ if attributes.has_key?(:'transactGuard')
233
+ self.transact_guard = attributes[:'transactGuard']
234
+ end
235
+
236
+ if attributes.has_key?(:'microform')
237
+ self.microform = attributes[:'microform']
238
+ end
221
239
  end
222
240
 
223
241
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -257,7 +275,9 @@ module CyberSource
257
275
  unified_checkout == o.unified_checkout &&
258
276
  receivables_manager == o.receivables_manager &&
259
277
  service_fee == o.service_fee &&
260
- batch_upload == o.batch_upload
278
+ batch_upload == o.batch_upload &&
279
+ transact_guard == o.transact_guard &&
280
+ microform == o.microform
261
281
  end
262
282
 
263
283
  # @see the `==` method
@@ -269,7 +289,7 @@ module CyberSource
269
289
  # Calculates hash code according to all attributes.
270
290
  # @return [Fixnum] Hash code
271
291
  def hash
272
- [card_processing, alternative_payment_methods, card_present_connect, e_check, payer_authentication, digital_payments, secure_acceptance, virtual_terminal, currency_conversion, tax, customer_invoicing, recurring_billing, cybs_ready_terminal, payment_orchestration, payouts, pay_by_link, unified_checkout, receivables_manager, service_fee, batch_upload].hash
292
+ [card_processing, alternative_payment_methods, card_present_connect, e_check, payer_authentication, digital_payments, secure_acceptance, virtual_terminal, currency_conversion, tax, customer_invoicing, recurring_billing, cybs_ready_terminal, payment_orchestration, payouts, pay_by_link, unified_checkout, receivables_manager, service_fee, batch_upload, transact_guard, microform].hash
273
293
  end
274
294
 
275
295
  # Builds the object from hash
@@ -17,11 +17,14 @@ module CyberSource
17
17
 
18
18
  attr_accessor :decision_manager
19
19
 
20
+ attr_accessor :enhanced_authentication
21
+
20
22
  # Attribute mapping from ruby-style variable name to JSON key.
21
23
  def self.attribute_map
22
24
  {
23
25
  :'fraud_management_essentials' => :'fraudManagementEssentials',
24
- :'decision_manager' => :'decisionManager'
26
+ :'decision_manager' => :'decisionManager',
27
+ :'enhanced_authentication' => :'enhancedAuthentication'
25
28
  }
26
29
  end
27
30
 
@@ -29,7 +32,8 @@ module CyberSource
29
32
  def self.json_map
30
33
  {
31
34
  :'fraud_management_essentials' => :'fraud_management_essentials',
32
- :'decision_manager' => :'decision_manager'
35
+ :'decision_manager' => :'decision_manager',
36
+ :'enhanced_authentication' => :'enhanced_authentication'
33
37
  }
34
38
  end
35
39
 
@@ -37,7 +41,8 @@ module CyberSource
37
41
  def self.swagger_types
38
42
  {
39
43
  :'fraud_management_essentials' => :'InlineResponse2014SetupsPaymentsCardProcessing',
40
- :'decision_manager' => :'InlineResponse2014SetupsPaymentsCardProcessing'
44
+ :'decision_manager' => :'InlineResponse2014SetupsPaymentsCardProcessing',
45
+ :'enhanced_authentication' => :'InlineResponse2014SetupsPaymentsCardProcessing'
41
46
  }
42
47
  end
43
48
 
@@ -56,6 +61,10 @@ module CyberSource
56
61
  if attributes.has_key?(:'decisionManager')
57
62
  self.decision_manager = attributes[:'decisionManager']
58
63
  end
64
+
65
+ if attributes.has_key?(:'enhancedAuthentication')
66
+ self.enhanced_authentication = attributes[:'enhancedAuthentication']
67
+ end
59
68
  end
60
69
 
61
70
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -77,7 +86,8 @@ module CyberSource
77
86
  return true if self.equal?(o)
78
87
  self.class == o.class &&
79
88
  fraud_management_essentials == o.fraud_management_essentials &&
80
- decision_manager == o.decision_manager
89
+ decision_manager == o.decision_manager &&
90
+ enhanced_authentication == o.enhanced_authentication
81
91
  end
82
92
 
83
93
  # @see the `==` method
@@ -89,7 +99,7 @@ module CyberSource
89
99
  # Calculates hash code according to all attributes.
90
100
  # @return [Fixnum] Hash code
91
101
  def hash
92
- [fraud_management_essentials, decision_manager].hash
102
+ [fraud_management_essentials, decision_manager, enhanced_authentication].hash
93
103
  end
94
104
 
95
105
  # Builds the object from hash