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
@@ -23,7 +23,7 @@ module CyberSource
23
23
  # One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **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 (1900 through 3000) 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 `2021`. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)
24
24
  attr_accessor :expiration_year
25
25
 
26
- # 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
26
+ # 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
27
27
  attr_accessor :type
28
28
 
29
29
  # This field contains token information.
@@ -61,9 +61,12 @@ module CyberSource
61
61
  # Indicates whether the terminal can print or display messages. Possible values: - 1: Neither - 2: Print only - 3: Display only - 4: Print and display - 5: Merchant terminal supports purchase only approvals This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX - VisaNet Optional field.
62
62
  attr_accessor :terminal_output_capability
63
63
 
64
- # Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX Required field for authorization or credit of PIN transactions.
64
+ # Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 2: PIN Pad down - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX Required field for authorization or credit of PIN transactions.
65
65
  attr_accessor :terminal_pin_capability
66
66
 
67
+ # This field will contain the type of Pin Pad the terminal has. Possible values: - PCI-SPoC: Where the pin is being put on screen - PCI-PTS: Where the pin is being put on actual hardware pin pad
68
+ attr_accessor :pin_entry_solution
69
+
67
70
  # Value created by the client software that uniquely identifies the POS device. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX.
68
71
  attr_accessor :device_id
69
72
 
@@ -117,6 +120,7 @@ module CyberSource
117
120
  :'terminal_card_capture_capability' => :'terminalCardCaptureCapability',
118
121
  :'terminal_output_capability' => :'terminalOutputCapability',
119
122
  :'terminal_pin_capability' => :'terminalPinCapability',
123
+ :'pin_entry_solution' => :'pinEntrySolution',
120
124
  :'device_id' => :'deviceId',
121
125
  :'pin_block_encoding_format' => :'pinBlockEncodingFormat',
122
126
  :'encrypted_pin' => :'encryptedPin',
@@ -151,6 +155,7 @@ module CyberSource
151
155
  :'terminal_card_capture_capability' => :'String',
152
156
  :'terminal_output_capability' => :'String',
153
157
  :'terminal_pin_capability' => :'Integer',
158
+ :'pin_entry_solution' => :'String',
154
159
  :'device_id' => :'String',
155
160
  :'pin_block_encoding_format' => :'Integer',
156
161
  :'encrypted_pin' => :'String',
@@ -245,6 +250,10 @@ module CyberSource
245
250
  self.terminal_pin_capability = attributes[:'terminalPinCapability']
246
251
  end
247
252
 
253
+ if attributes.has_key?(:'pinEntrySolution')
254
+ self.pin_entry_solution = attributes[:'pinEntrySolution']
255
+ end
256
+
248
257
  if attributes.has_key?(:'deviceId')
249
258
  self.device_id = attributes[:'deviceId']
250
259
  end
@@ -294,37 +303,12 @@ module CyberSource
294
303
  # @return Array for valid properties with the reasons
295
304
  def list_invalid_properties
296
305
  invalid_properties = Array.new
297
- if !@cat_level.nil? && @cat_level > 9
298
- invalid_properties.push('invalid value for "cat_level", must be smaller than or equal to 9.')
299
- end
300
-
301
- if !@cat_level.nil? && @cat_level < 1
302
- invalid_properties.push('invalid value for "cat_level", must be greater than or equal to 1.')
303
- end
304
-
305
- if !@terminal_capability.nil? && @terminal_capability > 5
306
- invalid_properties.push('invalid value for "terminal_capability", must be smaller than or equal to 5.')
307
- end
308
-
309
- if !@terminal_capability.nil? && @terminal_capability < 1
310
- invalid_properties.push('invalid value for "terminal_capability", must be greater than or equal to 1.')
311
- end
312
-
313
- if !@pin_block_encoding_format.nil? && @pin_block_encoding_format > 9
314
- invalid_properties.push('invalid value for "pin_block_encoding_format", must be smaller than or equal to 9.')
315
- end
316
-
317
306
  invalid_properties
318
307
  end
319
308
 
320
309
  # Check to see if the all the properties in the model are valid
321
310
  # @return true if the model is valid
322
311
  def valid?
323
- return false if !@cat_level.nil? && @cat_level > 9
324
- return false if !@cat_level.nil? && @cat_level < 1
325
- return false if !@terminal_capability.nil? && @terminal_capability > 5
326
- return false if !@terminal_capability.nil? && @terminal_capability < 1
327
- return false if !@pin_block_encoding_format.nil? && @pin_block_encoding_format > 9
328
312
  true
329
313
  end
330
314
 
@@ -349,14 +333,6 @@ module CyberSource
349
333
  # Custom attribute writer method with validation
350
334
  # @param [Object] cat_level Value to be assigned
351
335
  def cat_level=(cat_level)
352
- if !cat_level.nil? && cat_level > 9
353
- fail ArgumentError, 'invalid value for "cat_level", must be smaller than or equal to 9.'
354
- end
355
-
356
- if !cat_level.nil? && cat_level < 1
357
- fail ArgumentError, 'invalid value for "cat_level", must be greater than or equal to 1.'
358
- end
359
-
360
336
  @cat_level = cat_level
361
337
  end
362
338
 
@@ -369,14 +345,6 @@ module CyberSource
369
345
  # Custom attribute writer method with validation
370
346
  # @param [Object] terminal_capability Value to be assigned
371
347
  def terminal_capability=(terminal_capability)
372
- if !terminal_capability.nil? && terminal_capability > 5
373
- fail ArgumentError, 'invalid value for "terminal_capability", must be smaller than or equal to 5.'
374
- end
375
-
376
- if !terminal_capability.nil? && terminal_capability < 1
377
- fail ArgumentError, 'invalid value for "terminal_capability", must be greater than or equal to 1.'
378
- end
379
-
380
348
  @terminal_capability = terminal_capability
381
349
  end
382
350
 
@@ -419,10 +387,6 @@ module CyberSource
419
387
  # Custom attribute writer method with validation
420
388
  # @param [Object] pin_block_encoding_format Value to be assigned
421
389
  def pin_block_encoding_format=(pin_block_encoding_format)
422
- if !pin_block_encoding_format.nil? && pin_block_encoding_format > 9
423
- fail ArgumentError, 'invalid value for "pin_block_encoding_format", must be smaller than or equal to 9.'
424
- end
425
-
426
390
  @pin_block_encoding_format = pin_block_encoding_format
427
391
  end
428
392
 
@@ -502,6 +466,7 @@ module CyberSource
502
466
  terminal_card_capture_capability == o.terminal_card_capture_capability &&
503
467
  terminal_output_capability == o.terminal_output_capability &&
504
468
  terminal_pin_capability == o.terminal_pin_capability &&
469
+ pin_entry_solution == o.pin_entry_solution &&
505
470
  device_id == o.device_id &&
506
471
  pin_block_encoding_format == o.pin_block_encoding_format &&
507
472
  encrypted_pin == o.encrypted_pin &&
@@ -524,7 +489,7 @@ module CyberSource
524
489
  # Calculates hash code according to all attributes.
525
490
  # @return [Fixnum] Hash code
526
491
  def hash
527
- [terminal_id, terminal_serial_number, cardholder_verification_method_used, lane_number, cat_level, entry_mode, terminal_capability, operating_environment, emv, amex_capn_data, track_data, store_and_forward_indicator, cardholder_verification_method, terminal_input_capability, terminal_card_capture_capability, terminal_output_capability, terminal_pin_capability, device_id, pin_block_encoding_format, encrypted_pin, encrypted_key_serial_number, partner_sdk_version, emv_application_identifier_and_dedicated_file_name, terminal_compliance, is_dedicated_hardware_terminal, terminal_model, terminal_make, service_code].hash
492
+ [terminal_id, terminal_serial_number, cardholder_verification_method_used, lane_number, cat_level, entry_mode, terminal_capability, operating_environment, emv, amex_capn_data, track_data, store_and_forward_indicator, cardholder_verification_method, terminal_input_capability, terminal_card_capture_capability, terminal_output_capability, terminal_pin_capability, pin_entry_solution, device_id, pin_block_encoding_format, encrypted_pin, encrypted_key_serial_number, partner_sdk_version, emv_application_identifier_and_dedicated_file_name, terminal_compliance, is_dedicated_hardware_terminal, terminal_model, terminal_make, service_code].hash
528
493
  end
529
494
 
530
495
  # Builds the object from hash
@@ -14,9 +14,12 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class Ptsv2paymentsProcessingInformation
17
- # Array of actions (one or more) to be included in the payment to invoke bundled serviecs along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request.
17
+ # Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request. - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested.
18
18
  attr_accessor :action_list
19
19
 
20
+ # Indicates whether to use the customer’s escrow agreement. Possible values: - `true`: yes, use the customer’s escrow agreement. - `false`: no, do not use the customer’s escrow agreement.
21
+ attr_accessor :enable_escrow_option
22
+
20
23
  # CyberSource tokens types you are performing a create on. If not supplied the default token type for the merchants token vault will be used. Valid values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress
21
24
  attr_accessor :action_token_types
22
25
 
@@ -100,6 +103,7 @@ module CyberSource
100
103
  def self.attribute_map
101
104
  {
102
105
  :'action_list' => :'actionList',
106
+ :'enable_escrow_option' => :'enableEscrowOption',
103
107
  :'action_token_types' => :'actionTokenTypes',
104
108
  :'capture' => :'capture',
105
109
  :'processor_id' => :'processorId',
@@ -136,6 +140,7 @@ module CyberSource
136
140
  def self.swagger_types
137
141
  {
138
142
  :'action_list' => :'Array<String>',
143
+ :'enable_escrow_option' => :'BOOLEAN',
139
144
  :'action_token_types' => :'Array<String>',
140
145
  :'capture' => :'BOOLEAN',
141
146
  :'processor_id' => :'String',
@@ -182,6 +187,10 @@ module CyberSource
182
187
  end
183
188
  end
184
189
 
190
+ if attributes.has_key?(:'enableEscrowOption')
191
+ self.enable_escrow_option = attributes[:'enableEscrowOption']
192
+ end
193
+
185
194
  if attributes.has_key?(:'actionTokenTypes')
186
195
  if (value = attributes[:'actionTokenTypes']).is_a?(Array)
187
196
  self.action_token_types = value
@@ -418,6 +427,7 @@ module CyberSource
418
427
  return true if self.equal?(o)
419
428
  self.class == o.class &&
420
429
  action_list == o.action_list &&
430
+ enable_escrow_option == o.enable_escrow_option &&
421
431
  action_token_types == o.action_token_types &&
422
432
  capture == o.capture &&
423
433
  processor_id == o.processor_id &&
@@ -458,7 +468,7 @@ module CyberSource
458
468
  # Calculates hash code according to all attributes.
459
469
  # @return [Fixnum] Hash code
460
470
  def hash
461
- [action_list, action_token_types, capture, processor_id, business_application_id, commerce_indicator, commerce_indicator_label, payment_solution, reconciliation_id, link_id, purchase_level, payment_id, report_group, visa_checkout_id, industry_data_type, authorization_options, capture_options, recurring_options, bank_transfer_options, purchase_options, electronic_benefits_transfer, loan_options, wallet_type, national_net_domestic_data, japan_payment_options, mobile_remote_payment_type, extended_credit_total_count, network_routing_order, pay_by_points_indicator, is_return_auth_record_enabled].hash
471
+ [action_list, enable_escrow_option, action_token_types, capture, processor_id, business_application_id, commerce_indicator, commerce_indicator_label, payment_solution, reconciliation_id, link_id, purchase_level, payment_id, report_group, visa_checkout_id, industry_data_type, authorization_options, capture_options, recurring_options, bank_transfer_options, purchase_options, electronic_benefits_transfer, loan_options, wallet_type, national_net_domestic_data, japan_payment_options, mobile_remote_payment_type, extended_credit_total_count, network_routing_order, pay_by_points_indicator, is_return_auth_record_enabled].hash
462
472
  end
463
473
 
464
474
  # Builds the object from hash
@@ -66,60 +66,24 @@ module CyberSource
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if !@capture_sequence_number.nil? && @capture_sequence_number > 99
70
- invalid_properties.push('invalid value for "capture_sequence_number", must be smaller than or equal to 99.')
71
- end
72
-
73
- if !@capture_sequence_number.nil? && @capture_sequence_number < 1
74
- invalid_properties.push('invalid value for "capture_sequence_number", must be greater than or equal to 1.')
75
- end
76
-
77
- if !@total_capture_count.nil? && @total_capture_count > 99
78
- invalid_properties.push('invalid value for "total_capture_count", must be smaller than or equal to 99.')
79
- end
80
-
81
- if !@total_capture_count.nil? && @total_capture_count < 1
82
- invalid_properties.push('invalid value for "total_capture_count", must be greater than or equal to 1.')
83
- end
84
-
85
69
  invalid_properties
86
70
  end
87
71
 
88
72
  # Check to see if the all the properties in the model are valid
89
73
  # @return true if the model is valid
90
74
  def valid?
91
- return false if !@capture_sequence_number.nil? && @capture_sequence_number > 99
92
- return false if !@capture_sequence_number.nil? && @capture_sequence_number < 1
93
- return false if !@total_capture_count.nil? && @total_capture_count > 99
94
- return false if !@total_capture_count.nil? && @total_capture_count < 1
95
75
  true
96
76
  end
97
77
 
98
78
  # Custom attribute writer method with validation
99
79
  # @param [Object] capture_sequence_number Value to be assigned
100
80
  def capture_sequence_number=(capture_sequence_number)
101
- if !capture_sequence_number.nil? && capture_sequence_number > 99
102
- fail ArgumentError, 'invalid value for "capture_sequence_number", must be smaller than or equal to 99.'
103
- end
104
-
105
- if !capture_sequence_number.nil? && capture_sequence_number < 1
106
- fail ArgumentError, 'invalid value for "capture_sequence_number", must be greater than or equal to 1.'
107
- end
108
-
109
81
  @capture_sequence_number = capture_sequence_number
110
82
  end
111
83
 
112
84
  # Custom attribute writer method with validation
113
85
  # @param [Object] total_capture_count Value to be assigned
114
86
  def total_capture_count=(total_capture_count)
115
- if !total_capture_count.nil? && total_capture_count > 99
116
- fail ArgumentError, 'invalid value for "total_capture_count", must be smaller than or equal to 99.'
117
- end
118
-
119
- if !total_capture_count.nil? && total_capture_count < 1
120
- fail ArgumentError, 'invalid value for "total_capture_count", must be greater than or equal to 1.'
121
- end
122
-
123
87
  @total_capture_count = total_capture_count
124
88
  end
125
89
 
@@ -419,32 +419,12 @@ module CyberSource
419
419
  # @return Array for valid properties with the reasons
420
420
  def list_invalid_properties
421
421
  invalid_properties = Array.new
422
- if !@number_of_rooms.nil? && @number_of_rooms > 99
423
- invalid_properties.push('invalid value for "number_of_rooms", must be smaller than or equal to 99.')
424
- end
425
-
426
- if !@number_of_rooms.nil? && @number_of_rooms < 1
427
- invalid_properties.push('invalid value for "number_of_rooms", must be greater than or equal to 1.')
428
- end
429
-
430
- if !@number_of_guests.nil? && @number_of_guests > 99
431
- invalid_properties.push('invalid value for "number_of_guests", must be smaller than or equal to 99.')
432
- end
433
-
434
- if !@number_of_guests.nil? && @number_of_guests < 1
435
- invalid_properties.push('invalid value for "number_of_guests", must be greater than or equal to 1.')
436
- end
437
-
438
422
  invalid_properties
439
423
  end
440
424
 
441
425
  # Check to see if the all the properties in the model are valid
442
426
  # @return true if the model is valid
443
427
  def valid?
444
- return false if !@number_of_rooms.nil? && @number_of_rooms > 99
445
- return false if !@number_of_rooms.nil? && @number_of_rooms < 1
446
- return false if !@number_of_guests.nil? && @number_of_guests > 99
447
- return false if !@number_of_guests.nil? && @number_of_guests < 1
448
428
  true
449
429
  end
450
430
 
@@ -469,28 +449,12 @@ module CyberSource
469
449
  # Custom attribute writer method with validation
470
450
  # @param [Object] number_of_rooms Value to be assigned
471
451
  def number_of_rooms=(number_of_rooms)
472
- if !number_of_rooms.nil? && number_of_rooms > 99
473
- fail ArgumentError, 'invalid value for "number_of_rooms", must be smaller than or equal to 99.'
474
- end
475
-
476
- if !number_of_rooms.nil? && number_of_rooms < 1
477
- fail ArgumentError, 'invalid value for "number_of_rooms", must be greater than or equal to 1.'
478
- end
479
-
480
452
  @number_of_rooms = number_of_rooms
481
453
  end
482
454
 
483
455
  # Custom attribute writer method with validation
484
456
  # @param [Object] number_of_guests Value to be assigned
485
457
  def number_of_guests=(number_of_guests)
486
- if !number_of_guests.nil? && number_of_guests > 99
487
- fail ArgumentError, 'invalid value for "number_of_guests", must be smaller than or equal to 99.'
488
- end
489
-
490
- if !number_of_guests.nil? && number_of_guests < 1
491
- fail ArgumentError, 'invalid value for "number_of_guests", must be greater than or equal to 1.'
492
- end
493
-
494
458
  @number_of_guests = number_of_guests
495
459
  end
496
460
 
@@ -57,22 +57,12 @@ module CyberSource
57
57
  # @return Array for valid properties with the reasons
58
58
  def list_invalid_properties
59
59
  invalid_properties = Array.new
60
- if !@number_of_nights.nil? && @number_of_nights > 9999
61
- invalid_properties.push('invalid value for "number_of_nights", must be smaller than or equal to 9999.')
62
- end
63
-
64
- if !@number_of_nights.nil? && @number_of_nights < 1
65
- invalid_properties.push('invalid value for "number_of_nights", must be greater than or equal to 1.')
66
- end
67
-
68
60
  invalid_properties
69
61
  end
70
62
 
71
63
  # Check to see if the all the properties in the model are valid
72
64
  # @return true if the model is valid
73
65
  def valid?
74
- return false if !@number_of_nights.nil? && @number_of_nights > 9999
75
- return false if !@number_of_nights.nil? && @number_of_nights < 1
76
66
  true
77
67
  end
78
68
 
@@ -85,14 +75,6 @@ module CyberSource
85
75
  # Custom attribute writer method with validation
86
76
  # @param [Object] number_of_nights Value to be assigned
87
77
  def number_of_nights=(number_of_nights)
88
- if !number_of_nights.nil? && number_of_nights > 9999
89
- fail ArgumentError, 'invalid value for "number_of_nights", must be smaller than or equal to 9999.'
90
- end
91
-
92
- if !number_of_nights.nil? && number_of_nights < 1
93
- fail ArgumentError, 'invalid value for "number_of_nights", must be greater than or equal to 1.'
94
- end
95
-
96
78
  @number_of_nights = number_of_nights
97
79
  end
98
80
 
@@ -20,11 +20,26 @@ module CyberSource
20
20
  # Customer’s government-assigned tax identification number. #### Tax Calculation Optional for international and value added taxes only. Not applicable to U.S. and Canadian taxes. For processor-specific information, see the purchaser_vat_registration_number field in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html)
21
21
  attr_accessor :vat_registration_number
22
22
 
23
+ # Recipient’s date of birth. **Format**: `YYYYMMDD`. This field is a `pass-through`, which means that CyberSource ensures that the value is eight numeric characters but otherwise does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor. For more details, see `recipient_date_of_birth` 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/)
24
+ attr_accessor :date_of_birth
25
+
26
+ # Customer's gender. Possible values are F (female), M (male),O (other).
27
+ attr_accessor :gender
28
+
29
+ # language setting of the user
30
+ attr_accessor :language
31
+
32
+ attr_accessor :personal_identification
33
+
23
34
  # Attribute mapping from ruby-style variable name to JSON key.
24
35
  def self.attribute_map
25
36
  {
26
37
  :'merchant_customer_id' => :'merchantCustomerId',
27
- :'vat_registration_number' => :'vatRegistrationNumber'
38
+ :'vat_registration_number' => :'vatRegistrationNumber',
39
+ :'date_of_birth' => :'dateOfBirth',
40
+ :'gender' => :'gender',
41
+ :'language' => :'language',
42
+ :'personal_identification' => :'personalIdentification'
28
43
  }
29
44
  end
30
45
 
@@ -32,7 +47,11 @@ module CyberSource
32
47
  def self.swagger_types
33
48
  {
34
49
  :'merchant_customer_id' => :'String',
35
- :'vat_registration_number' => :'String'
50
+ :'vat_registration_number' => :'String',
51
+ :'date_of_birth' => :'String',
52
+ :'gender' => :'String',
53
+ :'language' => :'String',
54
+ :'personal_identification' => :'Array<Ptsv2paymentsidcapturesBuyerInformationPersonalIdentification>'
36
55
  }
37
56
  end
38
57
 
@@ -51,6 +70,24 @@ module CyberSource
51
70
  if attributes.has_key?(:'vatRegistrationNumber')
52
71
  self.vat_registration_number = attributes[:'vatRegistrationNumber']
53
72
  end
73
+
74
+ if attributes.has_key?(:'dateOfBirth')
75
+ self.date_of_birth = attributes[:'dateOfBirth']
76
+ end
77
+
78
+ if attributes.has_key?(:'gender')
79
+ self.gender = attributes[:'gender']
80
+ end
81
+
82
+ if attributes.has_key?(:'language')
83
+ self.language = attributes[:'language']
84
+ end
85
+
86
+ if attributes.has_key?(:'personalIdentification')
87
+ if (value = attributes[:'personalIdentification']).is_a?(Array)
88
+ self.personal_identification = value
89
+ end
90
+ end
54
91
  end
55
92
 
56
93
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -78,13 +115,35 @@ module CyberSource
78
115
  @vat_registration_number = vat_registration_number
79
116
  end
80
117
 
118
+ # Custom attribute writer method with validation
119
+ # @param [Object] date_of_birth Value to be assigned
120
+ def date_of_birth=(date_of_birth)
121
+ @date_of_birth = date_of_birth
122
+ end
123
+
124
+ # Custom attribute writer method with validation
125
+ # @param [Object] gender Value to be assigned
126
+ def gender=(gender)
127
+ @gender = gender
128
+ end
129
+
130
+ # Custom attribute writer method with validation
131
+ # @param [Object] language Value to be assigned
132
+ def language=(language)
133
+ @language = language
134
+ end
135
+
81
136
  # Checks equality by comparing each attribute.
82
137
  # @param [Object] Object to be compared
83
138
  def ==(o)
84
139
  return true if self.equal?(o)
85
140
  self.class == o.class &&
86
141
  merchant_customer_id == o.merchant_customer_id &&
87
- vat_registration_number == o.vat_registration_number
142
+ vat_registration_number == o.vat_registration_number &&
143
+ date_of_birth == o.date_of_birth &&
144
+ gender == o.gender &&
145
+ language == o.language &&
146
+ personal_identification == o.personal_identification
88
147
  end
89
148
 
90
149
  # @see the `==` method
@@ -96,7 +155,7 @@ module CyberSource
96
155
  # Calculates hash code according to all attributes.
97
156
  # @return [Fixnum] Hash code
98
157
  def hash
99
- [merchant_customer_id, vat_registration_number].hash
158
+ [merchant_customer_id, vat_registration_number, date_of_birth, gender, language, personal_identification].hash
100
159
  end
101
160
 
102
161
  # Builds the object from hash
@@ -13,26 +13,21 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class GeneratePublicKeyRequest
17
- # How the card number should be encrypted in the subsequent Tokenize Card request. Possible values are RsaOaep256 or None (if using this value the card number must be in plain text when included in the Tokenize Card request). The Tokenize Card request uses a secure connection (TLS 1.2+) regardless of what encryption type is specified.
18
- attr_accessor :encryption_type
19
-
20
- # The merchant origin (e.g. https://example.com) used to integrate with Flex API. Required to comply with CORS and CSP standards.
21
- attr_accessor :target_origin
16
+ class Ptsv2paymentsidcapturesBuyerInformationPersonalIdentification
17
+ # The value of the identification type. This field is supported only on the following processors. #### ComercioLatino Set this field to the Cadastro de Pessoas Fisicas (CPF). #### CyberSource Latin American Processing Supported for Redecard in Brazil. Set this field to the Cadastro de Pessoas Fisicas (CPF), which is required for AVS for Redecard in Brazil. **Note** CyberSource Latin American Processing is the name of a specific processing connection that CyberSource supports. In the CyberSource API documentation, CyberSource Latin American Processing does not refer to the general topic of processing in Latin America. The information in this field description is for the specific processing connection called CyberSource Latin American Processing. It is not for any other Latin American processors that CyberSource supports. For processor-specific information, see the `personal_id` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) If `type = PASSPORT`, this is the cardholder's passport number. Recommended for Discover ProtectBuy.
18
+ attr_accessor :id
22
19
 
23
20
  # Attribute mapping from ruby-style variable name to JSON key.
24
21
  def self.attribute_map
25
22
  {
26
- :'encryption_type' => :'encryptionType',
27
- :'target_origin' => :'targetOrigin'
23
+ :'id' => :'id'
28
24
  }
29
25
  end
30
26
 
31
27
  # Attribute type mapping.
32
28
  def self.swagger_types
33
29
  {
34
- :'encryption_type' => :'String',
35
- :'target_origin' => :'String'
30
+ :'id' => :'String'
36
31
  }
37
32
  end
38
33
 
@@ -44,12 +39,8 @@ module CyberSource
44
39
  # convert string to symbol for hash key
45
40
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
46
41
 
47
- if attributes.has_key?(:'encryptionType')
48
- self.encryption_type = attributes[:'encryptionType']
49
- end
50
-
51
- if attributes.has_key?(:'targetOrigin')
52
- self.target_origin = attributes[:'targetOrigin']
42
+ if attributes.has_key?(:'id')
43
+ self.id = attributes[:'id']
53
44
  end
54
45
  end
55
46
 
@@ -57,27 +48,27 @@ module CyberSource
57
48
  # @return Array for valid properties with the reasons
58
49
  def list_invalid_properties
59
50
  invalid_properties = Array.new
60
- if @encryption_type.nil?
61
- invalid_properties.push('invalid value for "encryption_type", encryption_type cannot be nil.')
62
- end
63
-
64
51
  invalid_properties
65
52
  end
66
53
 
67
54
  # Check to see if the all the properties in the model are valid
68
55
  # @return true if the model is valid
69
56
  def valid?
70
- return false if @encryption_type.nil?
71
57
  true
72
58
  end
73
59
 
60
+ # Custom attribute writer method with validation
61
+ # @param [Object] id Value to be assigned
62
+ def id=(id)
63
+ @id = id
64
+ end
65
+
74
66
  # Checks equality by comparing each attribute.
75
67
  # @param [Object] Object to be compared
76
68
  def ==(o)
77
69
  return true if self.equal?(o)
78
70
  self.class == o.class &&
79
- encryption_type == o.encryption_type &&
80
- target_origin == o.target_origin
71
+ id == o.id
81
72
  end
82
73
 
83
74
  # @see the `==` method
@@ -89,7 +80,7 @@ module CyberSource
89
80
  # Calculates hash code according to all attributes.
90
81
  # @return [Fixnum] Hash code
91
82
  def hash
92
- [encryption_type, target_origin].hash
83
+ [id].hash
93
84
  end
94
85
 
95
86
  # Builds the object from hash
@@ -264,22 +264,12 @@ module CyberSource
264
264
  # @return Array for valid properties with the reasons
265
265
  def list_invalid_properties
266
266
  invalid_properties = Array.new
267
- if !@sequence.nil? && @sequence > 99
268
- invalid_properties.push('invalid value for "sequence", must be smaller than or equal to 99.')
269
- end
270
-
271
- if !@total_count.nil? && @total_count > 99
272
- invalid_properties.push('invalid value for "total_count", must be smaller than or equal to 99.')
273
- end
274
-
275
267
  invalid_properties
276
268
  end
277
269
 
278
270
  # Check to see if the all the properties in the model are valid
279
271
  # @return true if the model is valid
280
272
  def valid?
281
- return false if !@sequence.nil? && @sequence > 99
282
- return false if !@total_count.nil? && @total_count > 99
283
273
  true
284
274
  end
285
275
 
@@ -304,10 +294,6 @@ module CyberSource
304
294
  # Custom attribute writer method with validation
305
295
  # @param [Object] sequence Value to be assigned
306
296
  def sequence=(sequence)
307
- if !sequence.nil? && sequence > 99
308
- fail ArgumentError, 'invalid value for "sequence", must be smaller than or equal to 99.'
309
- end
310
-
311
297
  @sequence = sequence
312
298
  end
313
299
 
@@ -320,10 +306,6 @@ module CyberSource
320
306
  # Custom attribute writer method with validation
321
307
  # @param [Object] total_count Value to be assigned
322
308
  def total_count=(total_count)
323
- if !total_count.nil? && total_count > 99
324
- fail ArgumentError, 'invalid value for "total_count", must be smaller than or equal to 99.'
325
- end
326
-
327
309
  @total_count = total_count
328
310
  end
329
311
 
@@ -91,17 +91,12 @@ module CyberSource
91
91
  # @return Array for valid properties with the reasons
92
92
  def list_invalid_properties
93
93
  invalid_properties = Array.new
94
- if !@category_code.nil? && @category_code > 9999
95
- invalid_properties.push('invalid value for "category_code", must be smaller than or equal to 9999.')
96
- end
97
-
98
94
  invalid_properties
99
95
  end
100
96
 
101
97
  # Check to see if the all the properties in the model are valid
102
98
  # @return true if the model is valid
103
99
  def valid?
104
- return false if !@category_code.nil? && @category_code > 9999
105
100
  true
106
101
  end
107
102
 
@@ -114,10 +109,6 @@ module CyberSource
114
109
  # Custom attribute writer method with validation
115
110
  # @param [Object] category_code Value to be assigned
116
111
  def category_code=(category_code)
117
- if !category_code.nil? && category_code > 9999
118
- fail ArgumentError, 'invalid value for "category_code", must be smaller than or equal to 9999.'
119
- end
120
-
121
112
  @category_code = category_code
122
113
  end
123
114