cybersource_rest_client 0.0.48 → 0.0.50

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 (352) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/core/MerchantConfig.rb +5 -0
  3. data/lib/AuthenticationSDK/util/Constants.rb +2 -0
  4. data/lib/cybersource_rest_client/api/batches_api.rb +330 -0
  5. data/lib/cybersource_rest_client/api/customer_api.rb +55 -47
  6. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +112 -104
  7. data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +112 -104
  8. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +93 -81
  9. data/lib/cybersource_rest_client/api/keymanagement_api.rb +3 -3
  10. data/lib/cybersource_rest_client/api/microform_integration_api.rb +89 -0
  11. data/lib/cybersource_rest_client/api/payment_instrument_api.rb +55 -49
  12. data/lib/cybersource_rest_client/api/payments_api.rb +71 -0
  13. data/lib/cybersource_rest_client/api/plans_api.rb +573 -0
  14. data/lib/cybersource_rest_client/api/push_funds_api.rb +131 -0
  15. data/lib/cybersource_rest_client/api/subscriptions_api.rb +568 -0
  16. data/lib/cybersource_rest_client/api/taxes_api.rb +2 -2
  17. data/lib/cybersource_rest_client/api/token_api.rb +112 -0
  18. data/lib/cybersource_rest_client/api/transient_token_data_api.rb +2 -2
  19. data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +6 -5
  20. data/lib/cybersource_rest_client/api_client.rb +11 -0
  21. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_risk_information_providers.rb → accountupdaterv1batches_included.rb} +9 -9
  22. data/lib/cybersource_rest_client/models/accountupdaterv1batches_included_tokens.rb +228 -0
  23. data/lib/cybersource_rest_client/models/body.rb +42 -32
  24. data/lib/cybersource_rest_client/models/create_plan_request.rb +201 -0
  25. data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +0 -18
  26. data/lib/cybersource_rest_client/models/{flexv1tokens_card_info.rb → create_subscription_request.rb} +44 -40
  27. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_risk_information_providers_provider_name.rb → generate_capture_context_request.rb} +36 -17
  28. data/lib/cybersource_rest_client/models/generate_unified_checkout_capture_context_request.rb +1 -1
  29. data/lib/cybersource_rest_client/models/inline_response_200.rb +19 -41
  30. data/lib/cybersource_rest_client/models/inline_response_200_1.rb +227 -0
  31. data/lib/cybersource_rest_client/models/inline_response_200_10.rb +200 -0
  32. data/lib/cybersource_rest_client/models/inline_response_200_11.rb +236 -0
  33. data/lib/cybersource_rest_client/models/{inline_response_200_keys.rb → inline_response_200_11_keys.rb} +1 -1
  34. data/lib/cybersource_rest_client/models/inline_response_200_12.rb +239 -0
  35. data/lib/cybersource_rest_client/models/inline_response_200_12__embedded.rb +185 -0
  36. data/lib/cybersource_rest_client/models/inline_response_200_12__embedded__links.rb +185 -0
  37. data/lib/cybersource_rest_client/models/inline_response_200_12__embedded__links_reports.rb +184 -0
  38. data/lib/cybersource_rest_client/models/inline_response_200_12__embedded_batches.rb +280 -0
  39. data/lib/cybersource_rest_client/models/inline_response_200_12__embedded_totals.rb +219 -0
  40. data/lib/cybersource_rest_client/models/inline_response_200_12__links.rb +193 -0
  41. data/lib/cybersource_rest_client/models/inline_response_200_13.rb +275 -0
  42. data/lib/cybersource_rest_client/models/inline_response_200_13__links.rb +194 -0
  43. data/lib/cybersource_rest_client/models/inline_response_200_13__links_report.rb +183 -0
  44. data/lib/cybersource_rest_client/models/{tokenize_request.rb → inline_response_200_13_billing.rb} +32 -20
  45. data/lib/cybersource_rest_client/models/inline_response_200_14.rb +277 -0
  46. data/lib/cybersource_rest_client/models/inline_response_200_14_records.rb +201 -0
  47. data/lib/cybersource_rest_client/models/inline_response_200_14_response_record.rb +292 -0
  48. data/lib/cybersource_rest_client/models/inline_response_200_14_response_record_additional_updates.rb +232 -0
  49. data/lib/cybersource_rest_client/models/inline_response_200_14_source_record.rb +282 -0
  50. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +194 -0
  51. data/lib/cybersource_rest_client/models/inline_response_200_3.rb +228 -0
  52. data/lib/cybersource_rest_client/models/inline_response_200_3_plan_information.rb +200 -0
  53. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +228 -0
  54. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +200 -0
  55. data/lib/cybersource_rest_client/models/inline_response_200_6.rb +214 -0
  56. data/lib/cybersource_rest_client/models/inline_response_200_6__links.rb +210 -0
  57. data/lib/cybersource_rest_client/models/inline_response_200_6_order_information.rb +192 -0
  58. data/lib/cybersource_rest_client/models/inline_response_200_6_order_information_bill_to.rb +206 -0
  59. data/lib/cybersource_rest_client/models/inline_response_200_6_payment_information.rb +183 -0
  60. data/lib/cybersource_rest_client/models/inline_response_200_6_payment_information_customer.rb +190 -0
  61. data/lib/cybersource_rest_client/models/inline_response_200_6_plan_information.rb +224 -0
  62. data/lib/cybersource_rest_client/models/inline_response_200_6_plan_information_billing_cycles.rb +194 -0
  63. data/lib/cybersource_rest_client/models/inline_response_200_6_subscription_information.rb +242 -0
  64. data/lib/cybersource_rest_client/models/inline_response_200_6_subscriptions.rb +236 -0
  65. data/lib/cybersource_rest_client/models/inline_response_200_7.rb +245 -0
  66. data/lib/cybersource_rest_client/models/inline_response_200_8.rb +228 -0
  67. data/lib/cybersource_rest_client/models/inline_response_200_9.rb +228 -0
  68. data/lib/cybersource_rest_client/models/inline_response_200_9_subscription_information.rb +200 -0
  69. data/lib/cybersource_rest_client/models/{flex_v1_keys_post200_response.rb → inline_response_200__links.rb} +20 -21
  70. data/lib/cybersource_rest_client/models/inline_response_200_order_information.rb +183 -0
  71. data/lib/cybersource_rest_client/models/inline_response_200_order_information_amount_details.rb +222 -0
  72. data/lib/cybersource_rest_client/models/inline_response_200_plan_information.rb +250 -0
  73. data/lib/cybersource_rest_client/models/inline_response_200_plan_information_billing_cycles.rb +184 -0
  74. data/lib/cybersource_rest_client/models/inline_response_200_plan_information_billing_period.rb +195 -0
  75. data/lib/cybersource_rest_client/models/inline_response_200_plans.rb +218 -0
  76. data/lib/cybersource_rest_client/models/inline_response_201.rb +228 -0
  77. data/lib/cybersource_rest_client/models/inline_response_201_1.rb +228 -0
  78. data/lib/cybersource_rest_client/models/{invoicing_v2_invoices_all_get200_response__links_1.rb → inline_response_201_1__links.rb} +23 -14
  79. data/lib/cybersource_rest_client/models/inline_response_201_1_subscription_information.rb +200 -0
  80. data/lib/cybersource_rest_client/models/inline_response_201_plan_information.rb +200 -0
  81. data/lib/cybersource_rest_client/models/inline_response_202.rb +228 -0
  82. data/lib/cybersource_rest_client/models/inline_response_202_1.rb +228 -0
  83. data/lib/cybersource_rest_client/models/inline_response_202_1_subscription_information.rb +200 -0
  84. data/lib/cybersource_rest_client/models/inline_response_202_2.rb +202 -0
  85. data/lib/cybersource_rest_client/models/inline_response_202_2__links.rb +194 -0
  86. data/lib/cybersource_rest_client/models/inline_response_202_2__links_status.rb +183 -0
  87. data/lib/cybersource_rest_client/models/inline_response_202_subscription_information.rb +200 -0
  88. data/lib/cybersource_rest_client/models/inline_response_400_1.rb +33 -55
  89. data/lib/cybersource_rest_client/models/inline_response_400_2.rb +10 -9
  90. data/lib/cybersource_rest_client/models/inline_response_400_3.rb +55 -33
  91. data/lib/cybersource_rest_client/models/{inline_response_400_1_fields.rb → inline_response_400_3_fields.rb} +1 -1
  92. data/lib/cybersource_rest_client/models/inline_response_400_4.rb +30 -71
  93. data/lib/cybersource_rest_client/models/inline_response_400_5.rb +225 -0
  94. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +265 -0
  95. data/lib/cybersource_rest_client/models/{inline_response_400_4_details.rb → inline_response_400_6_details.rb} +1 -1
  96. data/lib/cybersource_rest_client/models/inline_response_400_errors.rb +2 -2
  97. data/lib/cybersource_rest_client/models/inline_response_401.rb +241 -0
  98. data/lib/cybersource_rest_client/models/inline_response_401__links.rb +183 -0
  99. data/lib/cybersource_rest_client/models/inline_response_401__links_self.rb +183 -0
  100. data/lib/cybersource_rest_client/models/inline_response_401_fields.rb +202 -0
  101. data/lib/cybersource_rest_client/models/inline_response_403.rb +185 -0
  102. data/lib/cybersource_rest_client/models/inline_response_403_errors.rb +194 -0
  103. data/lib/cybersource_rest_client/models/inline_response_404.rb +194 -0
  104. data/lib/cybersource_rest_client/models/inline_response_409.rb +185 -0
  105. data/lib/cybersource_rest_client/models/inline_response_409_errors.rb +194 -0
  106. data/lib/cybersource_rest_client/models/inline_response_410.rb +185 -0
  107. data/lib/cybersource_rest_client/models/inline_response_410_errors.rb +194 -0
  108. data/lib/cybersource_rest_client/models/inline_response_412.rb +185 -0
  109. data/lib/cybersource_rest_client/models/inline_response_412_errors.rb +194 -0
  110. data/lib/cybersource_rest_client/models/inline_response_424.rb +185 -0
  111. data/lib/cybersource_rest_client/models/inline_response_424_errors.rb +194 -0
  112. data/lib/cybersource_rest_client/models/inline_response_500.rb +9 -38
  113. data/lib/cybersource_rest_client/models/inline_response_500_1.rb +214 -0
  114. data/lib/cybersource_rest_client/models/inline_response_500_errors.rb +194 -0
  115. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response.rb +1 -1
  116. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response__links.rb +22 -13
  117. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +1 -1
  118. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +1 -1
  119. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +1 -1
  120. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +2 -2
  121. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +0 -18
  122. data/lib/cybersource_rest_client/models/{flex_v1_tokens_post200_response.rb → microformv2sessions_checkout_api_initialization.rb} +68 -59
  123. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +15 -5
  124. data/lib/cybersource_rest_client/models/patch_customer_request.rb +1 -1
  125. data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +2 -2
  126. data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +4 -4
  127. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +15 -5
  128. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +15 -5
  129. data/lib/cybersource_rest_client/models/post_customer_request.rb +1 -1
  130. data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +2 -2
  131. data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +4 -4
  132. data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +4 -4
  133. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +15 -5
  134. data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +0 -18
  135. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch400_response.rb +1 -1
  136. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb +1 -1
  137. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1.rb +262 -0
  138. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information.rb +192 -0
  139. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb +344 -0
  140. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_ship_to.rb +318 -0
  141. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information.rb +201 -0
  142. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_bank.rb +183 -0
  143. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_bank_account.rb +184 -0
  144. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_payment_type.rb +183 -0
  145. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_payment_type_method.rb +184 -0
  146. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +238 -0
  147. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information_avs.rb +190 -0
  148. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information_seller_protection.rb +184 -0
  149. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +0 -18
  150. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +0 -9
  151. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +1 -1
  152. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -1
  153. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +22 -4
  154. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information.rb +5 -2
  155. data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +1 -1
  156. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +1 -1
  157. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_client_reference_information.rb +226 -0
  158. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +17 -1
  159. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb +1 -1
  160. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post400_response.rb +1 -1
  161. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post400_response.rb +1 -1
  162. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information.rb +215 -0
  163. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb +318 -0
  164. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_client_reference_information.rb +238 -0
  165. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_defined_information.rb +206 -0
  166. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +225 -0
  167. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +270 -0
  168. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information.rb +208 -0
  169. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +224 -0
  170. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_surcharge.rb +190 -0
  171. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +236 -0
  172. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +297 -0
  173. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_payouts_options.rb +206 -0
  174. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_recurring_options.rb +184 -0
  175. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_options.rb +183 -0
  176. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_options_funding_options.rb +183 -0
  177. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_options_funding_options_initiator.rb +190 -0
  178. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +384 -0
  179. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information.rb +183 -0
  180. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +281 -0
  181. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card_customer.rb +190 -0
  182. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card_instrument_identifier.rb +190 -0
  183. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card_payment_instrument.rb +190 -0
  184. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_personal_identification.rb +206 -0
  185. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +425 -0
  186. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +206 -0
  187. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information.rb +183 -0
  188. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +270 -0
  189. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_personal_identification.rb +222 -0
  190. data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +11 -1
  191. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +0 -18
  192. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +17 -19
  193. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +2 -2
  194. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +30 -4
  195. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +0 -9
  196. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +1 -19
  197. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +1 -1
  198. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +20 -4
  199. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +1 -1
  200. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type.rb +2 -12
  201. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb +15 -5
  202. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -1
  203. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +12 -47
  204. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +12 -2
  205. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +0 -36
  206. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +0 -36
  207. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +0 -18
  208. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +63 -4
  209. data/lib/cybersource_rest_client/models/{generate_public_key_request.rb → ptsv2paymentsidcaptures_buyer_information_personal_identification.rb} +15 -24
  210. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +0 -18
  211. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +0 -9
  212. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +65 -1
  213. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +1 -1
  214. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options.rb +0 -36
  215. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_client_reference_information.rb +297 -0
  216. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +0 -9
  217. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +1 -19
  218. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +2 -2
  219. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +14 -4
  220. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +37 -5
  221. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_e_wallet.rb +190 -0
  222. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_payment_type.rb +203 -0
  223. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_payment_type_method.rb +184 -0
  224. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +35 -4
  225. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_refund_options.rb +184 -0
  226. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +0 -18
  227. data/lib/cybersource_rest_client/models/ptsv2paymentsidvoids_payment_information.rb +1 -1
  228. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +0 -9
  229. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +1 -1
  230. data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_agreement_information.rb +184 -0
  231. data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_client_reference_information.rb +206 -0
  232. data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information.rb +192 -0
  233. data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_payment_information_customer.rb → ptsv2refreshpaymentstatusid_payment_information_customer.rb} +1 -1
  234. data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information_payment_type.rb +193 -0
  235. data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_processing_information.rb +186 -0
  236. data/lib/cybersource_rest_client/models/push_funds201_response.rb +301 -0
  237. data/lib/cybersource_rest_client/models/push_funds201_response__links.rb +210 -0
  238. data/lib/cybersource_rest_client/models/push_funds201_response__links_customer.rb +195 -0
  239. data/lib/cybersource_rest_client/models/push_funds201_response__links_instrument_identifier.rb +195 -0
  240. data/lib/cybersource_rest_client/models/push_funds201_response__links_payment_instrument.rb +195 -0
  241. data/lib/cybersource_rest_client/models/push_funds201_response__links_self.rb +195 -0
  242. data/lib/cybersource_rest_client/models/{flex_v1_keys_post200_response_jwk.rb → push_funds201_response_client_reference_information.rb} +28 -47
  243. data/lib/cybersource_rest_client/models/push_funds201_response_error_information.rb +217 -0
  244. data/lib/cybersource_rest_client/models/push_funds201_response_error_information_details.rb +206 -0
  245. data/lib/cybersource_rest_client/models/push_funds201_response_merchant_information.rb +183 -0
  246. data/lib/cybersource_rest_client/models/push_funds201_response_merchant_information_merchant_descriptor.rb +222 -0
  247. data/lib/cybersource_rest_client/models/push_funds201_response_order_information.rb +183 -0
  248. data/lib/cybersource_rest_client/models/push_funds201_response_order_information_amount_details.rb +247 -0
  249. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +264 -0
  250. data/lib/cybersource_rest_client/models/push_funds201_response_recipient_information.rb +183 -0
  251. data/lib/cybersource_rest_client/models/push_funds201_response_recipient_information_card.rb +206 -0
  252. data/lib/cybersource_rest_client/models/push_funds400_response.rb +247 -0
  253. data/lib/cybersource_rest_client/models/push_funds400_response_details.rb +194 -0
  254. data/lib/cybersource_rest_client/models/push_funds401_response.rb +226 -0
  255. data/lib/cybersource_rest_client/models/push_funds404_response.rb +226 -0
  256. data/lib/cybersource_rest_client/models/push_funds502_response.rb +236 -0
  257. data/lib/cybersource_rest_client/models/push_funds_request.rb +264 -0
  258. data/lib/cybersource_rest_client/models/rbsv1plans_client_reference_information.rb +229 -0
  259. data/lib/cybersource_rest_client/models/rbsv1plans_order_information.rb +183 -0
  260. data/lib/cybersource_rest_client/models/rbsv1plans_order_information_amount_details.rb +240 -0
  261. data/lib/cybersource_rest_client/models/rbsv1plans_plan_information.rb +259 -0
  262. data/lib/cybersource_rest_client/models/rbsv1plans_plan_information_billing_cycles.rb +185 -0
  263. data/lib/cybersource_rest_client/models/rbsv1plansid_plan_information.rb +250 -0
  264. data/lib/cybersource_rest_client/models/rbsv1plansid_processing_information.rb +183 -0
  265. data/lib/cybersource_rest_client/models/rbsv1plansid_processing_information_subscription_billing_options.rb +184 -0
  266. data/lib/cybersource_rest_client/models/rbsv1subscriptions_client_reference_information.rb +245 -0
  267. data/lib/cybersource_rest_client/models/rbsv1subscriptions_payment_information.rb +183 -0
  268. data/lib/cybersource_rest_client/models/rbsv1subscriptions_payment_information_customer.rb +199 -0
  269. data/lib/cybersource_rest_client/models/rbsv1subscriptions_plan_information.rb +192 -0
  270. data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information.rb +199 -0
  271. data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information_authorization_options.rb +183 -0
  272. data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information_authorization_options_initiator.rb +184 -0
  273. data/lib/cybersource_rest_client/models/rbsv1subscriptions_subscription_information.rb +246 -0
  274. data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_order_information.rb +183 -0
  275. data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_order_information_amount_details.rb +206 -0
  276. data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_plan_information.rb +183 -0
  277. data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_subscription_information.rb +232 -0
  278. data/lib/cybersource_rest_client/models/refresh_payment_status_request.rb +210 -0
  279. data/lib/cybersource_rest_client/models/refund_capture_request.rb +1 -1
  280. data/lib/cybersource_rest_client/models/refund_payment_request.rb +1 -1
  281. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +88 -4
  282. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information.rb +0 -18
  283. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +1 -19
  284. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +1 -1
  285. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +20 -4
  286. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -18
  287. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +1 -1
  288. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -1
  289. data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +14 -4
  290. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +17 -1
  291. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +152 -22
  292. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -1
  293. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -1
  294. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -1
  295. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -1
  296. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +14 -4
  297. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +1 -19
  298. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +34 -2
  299. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -1
  300. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -1
  301. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +1 -19
  302. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +1 -1
  303. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -1
  304. data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +1 -1
  305. data/lib/cybersource_rest_client/models/tmsv2customers__embedded.rb +1 -1
  306. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +15 -5
  307. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded.rb +1 -1
  308. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier.rb +4 -4
  309. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +1 -1
  310. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +3 -3
  311. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_metadata.rb +1 -1
  312. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bank_account.rb +1 -1
  313. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb +1 -1
  314. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card.rb +22 -4
  315. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +1 -1
  316. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb +1 -1
  317. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +1 -1
  318. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_metadata.rb +1 -1
  319. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information.rb +1 -1
  320. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb +1 -1
  321. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +2 -2
  322. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_metadata.rb +1 -1
  323. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_ship_to.rb +1 -1
  324. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_merchant_initiated_transaction.rb +20 -4
  325. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +15 -5
  326. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +1 -1
  327. data/lib/cybersource_rest_client/models/tmsv2customers_default_payment_instrument.rb +1 -1
  328. data/lib/cybersource_rest_client/models/tmsv2customers_default_shipping_address.rb +1 -1
  329. data/lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb +2 -2
  330. data/lib/cybersource_rest_client/models/tmsv2customers_metadata.rb +1 -1
  331. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_invoice_details.rb +0 -9
  332. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +0 -18
  333. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +1 -1
  334. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb +1 -1
  335. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +0 -18
  336. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information.rb +1 -1
  337. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +1 -1
  338. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +13 -4
  339. data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_users.rb +15 -4
  340. data/lib/cybersource_rest_client/models/{flex_v1_keys_post200_response_der.rb → update_plan_request.rb} +20 -24
  341. data/lib/cybersource_rest_client/models/update_subscription.rb +219 -0
  342. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_tax_information.rb +2 -2
  343. data/lib/cybersource_rest_client/models/vas_v2_payments_post400_response.rb +1 -1
  344. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +1 -19
  345. data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_acceptance.rb +5 -5
  346. data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_origin.rb +5 -5
  347. data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +1 -1
  348. data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +3 -3
  349. data/lib/cybersource_rest_client.rb +189 -16
  350. metadata +191 -18
  351. data/lib/cybersource_rest_client/api/key_generation_api.rb +0 -96
  352. data/lib/cybersource_rest_client/api/tokenization_api.rb +0 -89
@@ -0,0 +1,210 @@
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 RefreshPaymentStatusRequest
17
+ attr_accessor :payment_information
18
+
19
+ attr_accessor :client_reference_information
20
+
21
+ attr_accessor :agreement_information
22
+
23
+ attr_accessor :processing_information
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+ :'payment_information' => :'paymentInformation',
29
+ :'client_reference_information' => :'clientReferenceInformation',
30
+ :'agreement_information' => :'agreementInformation',
31
+ :'processing_information' => :'processingInformation'
32
+ }
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.swagger_types
37
+ {
38
+ :'payment_information' => :'Ptsv2refreshpaymentstatusidPaymentInformation',
39
+ :'client_reference_information' => :'Ptsv2refreshpaymentstatusidClientReferenceInformation',
40
+ :'agreement_information' => :'Ptsv2refreshpaymentstatusidAgreementInformation',
41
+ :'processing_information' => :'Ptsv2refreshpaymentstatusidProcessingInformation'
42
+ }
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ return unless attributes.is_a?(Hash)
49
+
50
+ # convert string to symbol for hash key
51
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
52
+
53
+ if attributes.has_key?(:'paymentInformation')
54
+ self.payment_information = attributes[:'paymentInformation']
55
+ end
56
+
57
+ if attributes.has_key?(:'clientReferenceInformation')
58
+ self.client_reference_information = attributes[:'clientReferenceInformation']
59
+ end
60
+
61
+ if attributes.has_key?(:'agreementInformation')
62
+ self.agreement_information = attributes[:'agreementInformation']
63
+ end
64
+
65
+ if attributes.has_key?(:'processingInformation')
66
+ self.processing_information = attributes[:'processingInformation']
67
+ end
68
+ end
69
+
70
+ # Show invalid properties with the reasons. Usually used together with valid?
71
+ # @return Array for valid properties with the reasons
72
+ def list_invalid_properties
73
+ invalid_properties = Array.new
74
+ invalid_properties
75
+ end
76
+
77
+ # Check to see if the all the properties in the model are valid
78
+ # @return true if the model is valid
79
+ def valid?
80
+ true
81
+ end
82
+
83
+ # Checks equality by comparing each attribute.
84
+ # @param [Object] Object to be compared
85
+ def ==(o)
86
+ return true if self.equal?(o)
87
+ self.class == o.class &&
88
+ payment_information == o.payment_information &&
89
+ client_reference_information == o.client_reference_information &&
90
+ agreement_information == o.agreement_information &&
91
+ processing_information == o.processing_information
92
+ end
93
+
94
+ # @see the `==` method
95
+ # @param [Object] Object to be compared
96
+ def eql?(o)
97
+ self == o
98
+ end
99
+
100
+ # Calculates hash code according to all attributes.
101
+ # @return [Fixnum] Hash code
102
+ def hash
103
+ [payment_information, client_reference_information, agreement_information, processing_information].hash
104
+ end
105
+
106
+ # Builds the object from hash
107
+ # @param [Hash] attributes Model attributes in the form of hash
108
+ # @return [Object] Returns the model itself
109
+ def build_from_hash(attributes)
110
+ return nil unless attributes.is_a?(Hash)
111
+ self.class.swagger_types.each_pair do |key, type|
112
+ if type =~ /\AArray<(.*)>/i
113
+ # check to ensure the input is an array given that the the attribute
114
+ # is documented as an array but the input is not
115
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
116
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
117
+ end
118
+ elsif !attributes[self.class.attribute_map[key]].nil?
119
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
120
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
121
+ end
122
+
123
+ self
124
+ end
125
+
126
+ # Deserializes the data based on type
127
+ # @param string type Data type
128
+ # @param string value Value to be deserialized
129
+ # @return [Object] Deserialized data
130
+ def _deserialize(type, value)
131
+ case type.to_sym
132
+ when :DateTime
133
+ DateTime.parse(value)
134
+ when :Date
135
+ Date.parse(value)
136
+ when :String
137
+ value.to_s
138
+ when :Integer
139
+ value.to_i
140
+ when :Float
141
+ value.to_f
142
+ when :BOOLEAN
143
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
144
+ true
145
+ else
146
+ false
147
+ end
148
+ when :Object
149
+ # generic object (usually a Hash), return directly
150
+ value
151
+ when /\AArray<(?<inner_type>.+)>\z/
152
+ inner_type = Regexp.last_match[:inner_type]
153
+ value.map { |v| _deserialize(inner_type, v) }
154
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
155
+ k_type = Regexp.last_match[:k_type]
156
+ v_type = Regexp.last_match[:v_type]
157
+ {}.tap do |hash|
158
+ value.each do |k, v|
159
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
160
+ end
161
+ end
162
+ else # model
163
+ temp_model = CyberSource.const_get(type).new
164
+ temp_model.build_from_hash(value)
165
+ end
166
+ end
167
+
168
+ # Returns the string representation of the object
169
+ # @return [String] String presentation of the object
170
+ def to_s
171
+ to_hash.to_s
172
+ end
173
+
174
+ # to_body is an alias to to_hash (backward compatibility)
175
+ # @return [Hash] Returns the object in the form of hash
176
+ def to_body
177
+ to_hash
178
+ end
179
+
180
+ # Returns the object in the form of hash
181
+ # @return [Hash] Returns the object in the form of hash
182
+ def to_hash
183
+ hash = {}
184
+ self.class.attribute_map.each_pair do |attr, param|
185
+ value = self.send(attr)
186
+ next if value.nil?
187
+ hash[param] = _to_hash(value)
188
+ end
189
+ hash
190
+ end
191
+
192
+ # Outputs non-array value in the form of hash
193
+ # For object, use to_hash. Otherwise, just return the value
194
+ # @param [Object] value Any valid value
195
+ # @return [Hash] Returns the value in the form of hash
196
+ def _to_hash(value)
197
+ if value.is_a?(Array)
198
+ value.compact.map { |v| _to_hash(v) }
199
+ elsif value.is_a?(Hash)
200
+ {}.tap do |hash|
201
+ value.each { |k, v| hash[k] = _to_hash(v) }
202
+ end
203
+ elsif value.respond_to? :to_hash
204
+ value.to_hash
205
+ else
206
+ value
207
+ end
208
+ end
209
+ end
210
+ end
@@ -60,7 +60,7 @@ module CyberSource
60
60
  # Attribute type mapping.
61
61
  def self.swagger_types
62
62
  {
63
- :'client_reference_information' => :'Ptsv2paymentsClientReferenceInformation',
63
+ :'client_reference_information' => :'Ptsv2paymentsidrefundsClientReferenceInformation',
64
64
  :'processing_information' => :'Ptsv2paymentsidrefundsProcessingInformation',
65
65
  :'payment_information' => :'Ptsv2paymentsidrefundsPaymentInformation',
66
66
  :'order_information' => :'Ptsv2paymentsidrefundsOrderInformation',
@@ -60,7 +60,7 @@ module CyberSource
60
60
  # Attribute type mapping.
61
61
  def self.swagger_types
62
62
  {
63
- :'client_reference_information' => :'Ptsv2paymentsClientReferenceInformation',
63
+ :'client_reference_information' => :'Ptsv2paymentsidrefundsClientReferenceInformation',
64
64
  :'processing_information' => :'Ptsv2paymentsidrefundsProcessingInformation',
65
65
  :'payment_information' => :'Ptsv2paymentsidrefundsPaymentInformation',
66
66
  :'order_information' => :'Ptsv2paymentsidrefundsOrderInformation',
@@ -130,6 +130,24 @@ module CyberSource
130
130
  # The Directory Server Transaction ID is generated by the Mastercard Directory Server during the authentication transaction and passed back to the merchant with the authentication results. For Cybersource Through Visanet Gateway: The value for this field corresponds to the following data in the TC 33 capture file3: Record: CP01 TCR7, Position: 114-149, Field: MC AVV Verification—Directory Server Transaction ID
131
131
  attr_accessor :directory_server_transaction_id
132
132
 
133
+ # Directory Server assigned ACS identifier.
134
+ attr_accessor :acs_operator_id
135
+
136
+ # Unique identifier assigned by the EMVCo Secretariat upon Testing and Approval.
137
+ attr_accessor :acs_reference_number
138
+
139
+ # Decision on the Risk Assessment from Mastercard.
140
+ attr_accessor :idci_decision
141
+
142
+ # ReasonCode from Mastercard
143
+ attr_accessor :idci_reason_code1
144
+
145
+ # ReasonCode from Mastercard
146
+ attr_accessor :idci_reason_code2
147
+
148
+ # Risk Assessment from Mastercard
149
+ attr_accessor :idci_score
150
+
133
151
  # Attribute mapping from ruby-style variable name to JSON key.
134
152
  def self.attribute_map
135
153
  {
@@ -171,7 +189,13 @@ module CyberSource
171
189
  :'veres_enrolled' => :'veresEnrolled',
172
190
  :'white_list_status_source' => :'whiteListStatusSource',
173
191
  :'xid' => :'xid',
174
- :'directory_server_transaction_id' => :'directoryServerTransactionId'
192
+ :'directory_server_transaction_id' => :'directoryServerTransactionId',
193
+ :'acs_operator_id' => :'acsOperatorID',
194
+ :'acs_reference_number' => :'acsReferenceNumber',
195
+ :'idci_decision' => :'idciDecision',
196
+ :'idci_reason_code1' => :'idciReasonCode1',
197
+ :'idci_reason_code2' => :'idciReasonCode2',
198
+ :'idci_score' => :'idciScore'
175
199
  }
176
200
  end
177
201
 
@@ -216,7 +240,13 @@ module CyberSource
216
240
  :'veres_enrolled' => :'String',
217
241
  :'white_list_status_source' => :'String',
218
242
  :'xid' => :'String',
219
- :'directory_server_transaction_id' => :'String'
243
+ :'directory_server_transaction_id' => :'String',
244
+ :'acs_operator_id' => :'Integer',
245
+ :'acs_reference_number' => :'String',
246
+ :'idci_decision' => :'String',
247
+ :'idci_reason_code1' => :'String',
248
+ :'idci_reason_code2' => :'String',
249
+ :'idci_score' => :'Integer'
220
250
  }
221
251
  end
222
252
 
@@ -383,6 +413,30 @@ module CyberSource
383
413
  if attributes.has_key?(:'directoryServerTransactionId')
384
414
  self.directory_server_transaction_id = attributes[:'directoryServerTransactionId']
385
415
  end
416
+
417
+ if attributes.has_key?(:'acsOperatorID')
418
+ self.acs_operator_id = attributes[:'acsOperatorID']
419
+ end
420
+
421
+ if attributes.has_key?(:'acsReferenceNumber')
422
+ self.acs_reference_number = attributes[:'acsReferenceNumber']
423
+ end
424
+
425
+ if attributes.has_key?(:'idciDecision')
426
+ self.idci_decision = attributes[:'idciDecision']
427
+ end
428
+
429
+ if attributes.has_key?(:'idciReasonCode1')
430
+ self.idci_reason_code1 = attributes[:'idciReasonCode1']
431
+ end
432
+
433
+ if attributes.has_key?(:'idciReasonCode2')
434
+ self.idci_reason_code2 = attributes[:'idciReasonCode2']
435
+ end
436
+
437
+ if attributes.has_key?(:'idciScore')
438
+ self.idci_score = attributes[:'idciScore']
439
+ end
386
440
  end
387
441
 
388
442
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -524,6 +578,30 @@ module CyberSource
524
578
  @directory_server_transaction_id = directory_server_transaction_id
525
579
  end
526
580
 
581
+ # Custom attribute writer method with validation
582
+ # @param [Object] acs_reference_number Value to be assigned
583
+ def acs_reference_number=(acs_reference_number)
584
+ @acs_reference_number = acs_reference_number
585
+ end
586
+
587
+ # Custom attribute writer method with validation
588
+ # @param [Object] idci_decision Value to be assigned
589
+ def idci_decision=(idci_decision)
590
+ @idci_decision = idci_decision
591
+ end
592
+
593
+ # Custom attribute writer method with validation
594
+ # @param [Object] idci_reason_code1 Value to be assigned
595
+ def idci_reason_code1=(idci_reason_code1)
596
+ @idci_reason_code1 = idci_reason_code1
597
+ end
598
+
599
+ # Custom attribute writer method with validation
600
+ # @param [Object] idci_reason_code2 Value to be assigned
601
+ def idci_reason_code2=(idci_reason_code2)
602
+ @idci_reason_code2 = idci_reason_code2
603
+ end
604
+
527
605
  # Checks equality by comparing each attribute.
528
606
  # @param [Object] Object to be compared
529
607
  def ==(o)
@@ -567,7 +645,13 @@ module CyberSource
567
645
  veres_enrolled == o.veres_enrolled &&
568
646
  white_list_status_source == o.white_list_status_source &&
569
647
  xid == o.xid &&
570
- directory_server_transaction_id == o.directory_server_transaction_id
648
+ directory_server_transaction_id == o.directory_server_transaction_id &&
649
+ acs_operator_id == o.acs_operator_id &&
650
+ acs_reference_number == o.acs_reference_number &&
651
+ idci_decision == o.idci_decision &&
652
+ idci_reason_code1 == o.idci_reason_code1 &&
653
+ idci_reason_code2 == o.idci_reason_code2 &&
654
+ idci_score == o.idci_score
571
655
  end
572
656
 
573
657
  # @see the `==` method
@@ -579,7 +663,7 @@ module CyberSource
579
663
  # Calculates hash code according to all attributes.
580
664
  # @return [Fixnum] Hash code
581
665
  def hash
582
- [access_token, acs_rendering_type, acs_transaction_id, acs_url, authentication_path, authorization_payload, authentication_type, authentication_transaction_id, authentication_transaction_context_id, validity_period, cardholder_message, cavv, cavv_algorithm, challenge_cancel_code, challenge_required, decoupled_authentication_indicator, directory_server_error_code, directory_server_error_description, ecommerce_indicator, eci, eci_raw, effective_authentication_type, ivr, network_score, pareq, pares_status, proof_xml, proxy_pan, sdk_transaction_id, signed_pares_status_reason, specification_version, step_up_url, three_ds_server_transaction_id, ucaf_authentication_data, ucaf_collection_indicator, veres_enrolled, white_list_status_source, xid, directory_server_transaction_id].hash
666
+ [access_token, acs_rendering_type, acs_transaction_id, acs_url, authentication_path, authorization_payload, authentication_type, authentication_transaction_id, authentication_transaction_context_id, validity_period, cardholder_message, cavv, cavv_algorithm, challenge_cancel_code, challenge_required, decoupled_authentication_indicator, directory_server_error_code, directory_server_error_description, ecommerce_indicator, eci, eci_raw, effective_authentication_type, ivr, network_score, pareq, pares_status, proof_xml, proxy_pan, sdk_transaction_id, signed_pares_status_reason, specification_version, step_up_url, three_ds_server_transaction_id, ucaf_authentication_data, ucaf_collection_indicator, veres_enrolled, white_list_status_source, xid, directory_server_transaction_id, acs_operator_id, acs_reference_number, idci_decision, idci_reason_code1, idci_reason_code2, idci_score].hash
583
667
  end
584
668
 
585
669
  # Builds the object from hash
@@ -67,36 +67,18 @@ module CyberSource
67
67
  # @return Array for valid properties with the reasons
68
68
  def list_invalid_properties
69
69
  invalid_properties = Array.new
70
- if !@ip_country_confidence.nil? && @ip_country_confidence > 100
71
- invalid_properties.push('invalid value for "ip_country_confidence", must be smaller than or equal to 100.')
72
- end
73
-
74
- if !@ip_country_confidence.nil? && @ip_country_confidence < -1
75
- invalid_properties.push('invalid value for "ip_country_confidence", must be greater than or equal to -1.')
76
- end
77
-
78
70
  invalid_properties
79
71
  end
80
72
 
81
73
  # Check to see if the all the properties in the model are valid
82
74
  # @return true if the model is valid
83
75
  def valid?
84
- return false if !@ip_country_confidence.nil? && @ip_country_confidence > 100
85
- return false if !@ip_country_confidence.nil? && @ip_country_confidence < -1
86
76
  true
87
77
  end
88
78
 
89
79
  # Custom attribute writer method with validation
90
80
  # @param [Object] ip_country_confidence Value to be assigned
91
81
  def ip_country_confidence=(ip_country_confidence)
92
- if !ip_country_confidence.nil? && ip_country_confidence > 100
93
- fail ArgumentError, 'invalid value for "ip_country_confidence", must be smaller than or equal to 100.'
94
- end
95
-
96
- if !ip_country_confidence.nil? && ip_country_confidence < -1
97
- fail ArgumentError, 'invalid value for "ip_country_confidence", must be greater than or equal to -1.'
98
- end
99
-
100
82
  @ip_country_confidence = ip_country_confidence
101
83
  end
102
84
 
@@ -29,7 +29,7 @@ module CyberSource
29
29
  # For an authorization or capture transaction (`processingOptions.capture` is `true` or `false`), this field is required when `orderInformation.lineItems[].productCode` is not `default` or one of the other values that are related to shipping and/or handling. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes.
30
30
  attr_accessor :product_name
31
31
 
32
- # Type of product. The value for this field is used to identify the product category (electronic, handling, physical, service, or shipping). The default value is `default`. If you are performing an authorization transaction (`processingOptions.capture` is set to `false`), and you set this field to a value other than `default` or one of the values related to shipping and/or handling, then `orderInformation.lineItems[].quantity`, `orderInformation.lineItems[].productName`, and `orderInformation.lineItems[].productSku` fields are required. Optional field. For details, see the `product_code` field description in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. To use the tax calculation service, use values listed in the Tax Product Code Guide. For information about this document, contact customer support. See \"Product Codes,\" page 14, for more information.
32
+ # Type of product. The value for this field is used to identify the product category (electronic, handling, physical, service, or shipping). The default value is `default`. If you are performing an authorization transaction (`processingOptions.capture` is set to `false`), and you set this field to a value other than `default` or one of the values related to shipping and/or handling, then `orderInformation.lineItems[].quantity`, `orderInformation.lineItems[].productName`, and `orderInformation.lineItems[].productSku` fields are required. Optional field. For details, see the `product_code` field description in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. The Product Codes for the tax service are located in the Cybersource Tax Codes guide. Contact Customer Support to request the guide. If you don’t send a tax service Product Code in your tax request, product-based rules or exemptions will not be applied and the transaction will default to fully taxable in the locations where you’ve indicated you need to collect tax [by way of nexus, no nexus, or seller registration number fields].
33
33
  attr_accessor :product_code
34
34
 
35
35
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -97,14 +97,6 @@ module CyberSource
97
97
  invalid_properties.push('invalid value for "unit_price", unit_price cannot be nil.')
98
98
  end
99
99
 
100
- if !@quantity.nil? && @quantity > 999999999
101
- invalid_properties.push('invalid value for "quantity", must be smaller than or equal to 999999999.')
102
- end
103
-
104
- if !@quantity.nil? && @quantity < 1
105
- invalid_properties.push('invalid value for "quantity", must be greater than or equal to 1.')
106
- end
107
-
108
100
  invalid_properties
109
101
  end
110
102
 
@@ -112,8 +104,6 @@ module CyberSource
112
104
  # @return true if the model is valid
113
105
  def valid?
114
106
  return false if @unit_price.nil?
115
- return false if !@quantity.nil? && @quantity > 999999999
116
- return false if !@quantity.nil? && @quantity < 1
117
107
  true
118
108
  end
119
109
 
@@ -130,14 +120,6 @@ module CyberSource
130
120
  # Custom attribute writer method with validation
131
121
  # @param [Object] quantity Value to be assigned
132
122
  def quantity=(quantity)
133
- if !quantity.nil? && quantity > 999999999
134
- fail ArgumentError, 'invalid value for "quantity", must be smaller than or equal to 999999999.'
135
- end
136
-
137
- if !quantity.nil? && quantity < 1
138
- fail ArgumentError, 'invalid value for "quantity", must be greater than or equal to 1.'
139
- end
140
-
141
123
  @quantity = quantity
142
124
  end
143
125
 
@@ -26,7 +26,7 @@ module CyberSource
26
26
  # Fourth line of the shipping address.
27
27
  attr_accessor :address4
28
28
 
29
- # State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
29
+ # State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
30
30
  attr_accessor :administrative_area
31
31
 
32
32
  # Country of the shipping address. Use the two-character [ISO Standard Country Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) Required field for authorization if any shipping address information is included in the request; otherwise, optional. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
@@ -41,6 +41,9 @@ module CyberSource
41
41
  # 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
42
42
  attr_accessor :white_list_status
43
43
 
44
+ # A flag to indicate if the passed credential has been encrypted by the Merchant.
45
+ attr_accessor :credential_encrypted
46
+
44
47
  # Attribute mapping from ruby-style variable name to JSON key.
45
48
  def self.attribute_map
46
49
  {
@@ -52,7 +55,8 @@ module CyberSource
52
55
  :'response_access_token' => :'responseAccessToken',
53
56
  :'signed_pares_status_reason' => :'signedParesStatusReason',
54
57
  :'signed_pares' => :'signedPares',
55
- :'white_list_status' => :'whiteListStatus'
58
+ :'white_list_status' => :'whiteListStatus',
59
+ :'credential_encrypted' => :'credentialEncrypted'
56
60
  }
57
61
  end
58
62
 
@@ -67,7 +71,8 @@ module CyberSource
67
71
  :'response_access_token' => :'String',
68
72
  :'signed_pares_status_reason' => :'String',
69
73
  :'signed_pares' => :'String',
70
- :'white_list_status' => :'String'
74
+ :'white_list_status' => :'String',
75
+ :'credential_encrypted' => :'String'
71
76
  }
72
77
  end
73
78
 
@@ -114,6 +119,10 @@ module CyberSource
114
119
  if attributes.has_key?(:'whiteListStatus')
115
120
  self.white_list_status = attributes[:'whiteListStatus']
116
121
  end
122
+
123
+ if attributes.has_key?(:'credentialEncrypted')
124
+ self.credential_encrypted = attributes[:'credentialEncrypted']
125
+ end
117
126
  end
118
127
 
119
128
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -171,6 +180,12 @@ module CyberSource
171
180
  @white_list_status = white_list_status
172
181
  end
173
182
 
183
+ # Custom attribute writer method with validation
184
+ # @param [Object] credential_encrypted Value to be assigned
185
+ def credential_encrypted=(credential_encrypted)
186
+ @credential_encrypted = credential_encrypted
187
+ end
188
+
174
189
  # Checks equality by comparing each attribute.
175
190
  # @param [Object] Object to be compared
176
191
  def ==(o)
@@ -184,7 +199,8 @@ module CyberSource
184
199
  response_access_token == o.response_access_token &&
185
200
  signed_pares_status_reason == o.signed_pares_status_reason &&
186
201
  signed_pares == o.signed_pares &&
187
- white_list_status == o.white_list_status
202
+ white_list_status == o.white_list_status &&
203
+ credential_encrypted == o.credential_encrypted
188
204
  end
189
205
 
190
206
  # @see the `==` method
@@ -196,7 +212,7 @@ module CyberSource
196
212
  # Calculates hash code according to all attributes.
197
213
  # @return [Fixnum] Hash code
198
214
  def hash
199
- [authentication_transaction_id, authentication_transaction_context, otp_token, authentication_type, effective_authentication_type, response_access_token, signed_pares_status_reason, signed_pares, white_list_status].hash
215
+ [authentication_transaction_id, authentication_transaction_context, otp_token, authentication_type, effective_authentication_type, response_access_token, signed_pares_status_reason, signed_pares, white_list_status, credential_encrypted].hash
200
216
  end
201
217
 
202
218
  # Builds the object from hash
@@ -70,14 +70,6 @@ module CyberSource
70
70
  invalid_properties.push('invalid value for "unit_price", unit_price cannot be nil.')
71
71
  end
72
72
 
73
- if !@quantity.nil? && @quantity > 999999999
74
- invalid_properties.push('invalid value for "quantity", must be smaller than or equal to 999999999.')
75
- end
76
-
77
- if !@quantity.nil? && @quantity < 1
78
- invalid_properties.push('invalid value for "quantity", must be greater than or equal to 1.')
79
- end
80
-
81
73
  invalid_properties
82
74
  end
83
75
 
@@ -85,8 +77,6 @@ module CyberSource
85
77
  # @return true if the model is valid
86
78
  def valid?
87
79
  return false if @unit_price.nil?
88
- return false if !@quantity.nil? && @quantity > 999999999
89
- return false if !@quantity.nil? && @quantity < 1
90
80
  true
91
81
  end
92
82
 
@@ -103,14 +93,6 @@ module CyberSource
103
93
  # Custom attribute writer method with validation
104
94
  # @param [Object] quantity Value to be assigned
105
95
  def quantity=(quantity)
106
- if !quantity.nil? && quantity > 999999999
107
- fail ArgumentError, 'invalid value for "quantity", must be smaller than or equal to 999999999.'
108
- end
109
-
110
- if !quantity.nil? && quantity < 1
111
- fail ArgumentError, 'invalid value for "quantity", must be greater than or equal to 1.'
112
- end
113
-
114
96
  @quantity = quantity
115
97
  end
116
98
 
@@ -17,7 +17,7 @@ module CyberSource
17
17
  # description: The BIN is the first six digits of the card's Primary Account Number (PAN).
18
18
  attr_accessor :bin
19
19
 
20
- # Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
20
+ # Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
21
21
  attr_accessor :type
22
22
 
23
23
  # Two-digit month in which the payment card expires. Format: `MM`. Valid values: `01` through `12`. Leading 0 is required. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (_type_=039), if there is no expiration date on the card, use `12`. #### FDMS Nashville Required field. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response.
@@ -17,7 +17,7 @@ module CyberSource
17
17
  # Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.
18
18
  attr_accessor :transaction_type
19
19
 
20
- # Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
20
+ # Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
21
21
  attr_accessor :type
22
22
 
23
23
  # One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_type=039`), if there is no expiration date on the card, use `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)