cybersource_rest_client 0.0.26 → 0.0.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (417) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +5 -1
  3. data/lib/AuthenticationSDK/core/MerchantConfig.rb +11 -2
  4. data/lib/AuthenticationSDK/util/Constants.rb +3 -1
  5. data/lib/cybersource_rest_client.rb +11 -11
  6. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
  7. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +92 -5
  8. data/lib/cybersource_rest_client/api_client.rb +3 -3
  9. data/lib/cybersource_rest_client/configuration.rb +2 -2
  10. data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +1 -1
  11. data/lib/cybersource_rest_client/models/create_adhoc_report_request.rb +0 -36
  12. data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +0 -36
  13. data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +13 -4
  14. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +0 -54
  15. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information_header_style.rb +0 -18
  16. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +0 -9
  17. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +0 -9
  18. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +0 -18
  19. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +0 -9
  20. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +0 -9
  21. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +0 -9
  22. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +0 -9
  23. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +0 -36
  24. data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +0 -54
  25. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +0 -18
  26. data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +0 -9
  27. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +0 -27
  28. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +0 -9
  29. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +0 -18
  30. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +0 -27
  31. data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +0 -9
  32. data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +1 -10
  33. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +0 -18
  34. data/lib/cybersource_rest_client/models/patch_customer_request.rb +0 -18
  35. data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +0 -18
  36. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +0 -18
  37. data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +1 -1
  38. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer.rb → payment_instrument_list.rb} +3 -3
  39. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__embedded.rb → payment_instrument_list__embedded.rb} +1 -1
  40. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links.rb → payment_instrument_list__links.rb} +6 -6
  41. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_first.rb → payment_instrument_list__links_first.rb} +1 -1
  42. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_last.rb → payment_instrument_list__links_last.rb} +1 -1
  43. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_next.rb → payment_instrument_list__links_next.rb} +1 -1
  44. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_prev.rb → payment_instrument_list__links_prev.rb} +1 -1
  45. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_self.rb → payment_instrument_list__links_self.rb} +1 -1
  46. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +0 -18
  47. data/lib/cybersource_rest_client/models/post_customer_request.rb +0 -18
  48. data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +0 -18
  49. data/lib/cybersource_rest_client/models/{riskv1addressverifications_client_reference_information.rb → post_instrument_identifier_enrollment_request.rb} +105 -52
  50. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +0 -18
  51. data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +0 -36
  52. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response_transaction_batches.rb +0 -18
  53. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response.rb +0 -18
  54. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +0 -18
  55. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +0 -18
  56. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +0 -9
  57. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb +0 -18
  58. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_client_reference_information.rb +0 -9
  59. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +1 -1
  60. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +0 -9
  61. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +0 -36
  62. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +0 -18
  63. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +0 -18
  64. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +0 -9
  65. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +0 -9
  66. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +0 -18
  67. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +0 -18
  68. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +0 -189
  69. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_ivr.rb +0 -45
  70. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +0 -198
  71. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +0 -36
  72. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +0 -27
  73. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +0 -45
  74. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +0 -153
  75. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features_balances.rb +0 -36
  76. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +0 -9
  77. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +0 -9
  78. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_instrument_identifier.rb +0 -18
  79. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -55
  80. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +0 -18
  81. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +0 -27
  82. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +17 -1
  83. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +0 -18
  84. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +17 -145
  85. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +0 -18
  86. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +0 -18
  87. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +0 -18
  88. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +0 -18
  89. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb +0 -9
  90. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +0 -108
  91. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +0 -18
  92. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +3 -30
  93. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information.rb +0 -9
  94. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_info_codes.rb +21 -9
  95. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_ip_address.rb +0 -63
  96. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_profile.rb +0 -27
  97. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_rules.rb +0 -18
  98. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_score.rb +0 -18
  99. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_actual_final_destination.rb +0 -36
  100. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_departure.rb +0 -36
  101. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_destination.rb +0 -36
  102. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_last_destination.rb +0 -36
  103. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_velocity_morphing.rb +0 -18
  104. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_customer.rb +0 -18
  105. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_instrument_identifier.rb +0 -18
  106. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_payment_instrument.rb +0 -18
  107. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_shipping_address.rb +0 -18
  108. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +0 -18
  109. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +0 -36
  110. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +0 -18
  111. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +0 -18
  112. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb +0 -27
  113. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +0 -9
  114. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +0 -54
  115. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +0 -27
  116. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +0 -9
  117. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +0 -9
  118. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +0 -9
  119. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +0 -18
  120. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +0 -9
  121. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +0 -36
  122. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +0 -45
  123. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +0 -18
  124. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +0 -9
  125. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +1 -109
  126. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +0 -63
  127. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_electronic_benefits_transfer.rb +0 -9
  128. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb +0 -9
  129. data/lib/cybersource_rest_client/models/ptsv2payments_acquirer_information.rb +0 -36
  130. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +0 -18
  131. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +0 -99
  132. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +0 -45
  133. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +0 -9
  134. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +1 -19
  135. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +0 -36
  136. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +34 -371
  137. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +0 -54
  138. data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +11 -100
  139. data/lib/cybersource_rest_client/models/ptsv2payments_device_information_raw_data.rb +0 -9
  140. data/lib/cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details.rb +1 -19
  141. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +0 -90
  142. data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +0 -9
  143. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +0 -18
  144. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +0 -54
  145. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +0 -63
  146. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +0 -27
  147. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +0 -27
  148. data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +0 -18
  149. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +0 -189
  150. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +0 -18
  151. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion.rb +0 -27
  152. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +0 -9
  153. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +0 -45
  154. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +0 -162
  155. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +0 -63
  156. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +0 -72
  157. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +0 -9
  158. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +0 -198
  159. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_passenger.rb +0 -72
  160. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +0 -126
  161. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +0 -18
  162. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +0 -9
  163. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +0 -9
  164. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +0 -45
  165. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +1 -118
  166. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +0 -18
  167. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +0 -27
  168. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_instrument_identifier.rb +0 -18
  169. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_legacy_token.rb +0 -9
  170. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_instrument.rb +0 -18
  171. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_shipping_address.rb +0 -18
  172. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -82
  173. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +0 -144
  174. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +0 -18
  175. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +1 -127
  176. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +7 -43
  177. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +0 -99
  178. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +0 -9
  179. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer.rb +0 -18
  180. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +0 -63
  181. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +0 -18
  182. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb +0 -9
  183. data/lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb +0 -18
  184. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +0 -27
  185. data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +24 -22
  186. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb +0 -9
  187. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_account_history.rb +0 -9
  188. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +0 -27
  189. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_profile.rb +0 -9
  190. data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +14 -13
  191. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +0 -9
  192. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +0 -18
  193. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +0 -333
  194. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_rental_address.rb +0 -63
  195. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_return_address.rb +0 -45
  196. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_tax_details.rb +0 -45
  197. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +0 -351
  198. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +0 -9
  199. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +0 -261
  200. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +0 -36
  201. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +0 -18
  202. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +0 -144
  203. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +0 -63
  204. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +0 -9
  205. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +0 -27
  206. data/lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb +0 -9
  207. data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +0 -18
  208. data/lib/cybersource_rest_client/models/ptsv2paymentsid_travel_information.rb +0 -9
  209. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +0 -18
  210. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +0 -81
  211. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +0 -18
  212. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +0 -27
  213. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +0 -207
  214. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +0 -27
  215. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +0 -162
  216. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +0 -90
  217. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +0 -45
  218. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +0 -27
  219. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +0 -9
  220. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +0 -18
  221. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +0 -9
  222. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +0 -9
  223. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +1 -64
  224. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +0 -27
  225. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +0 -27
  226. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +0 -144
  227. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +1 -82
  228. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +1 -64
  229. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +0 -9
  230. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +0 -27
  231. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_amount_details.rb +0 -9
  232. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +0 -9
  233. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +0 -9
  234. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +1 -46
  235. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +0 -18
  236. data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +0 -9
  237. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +0 -9
  238. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +0 -27
  239. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +0 -18
  240. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +0 -9
  241. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +0 -81
  242. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +1 -37
  243. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +0 -36
  244. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +0 -36
  245. data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +0 -99
  246. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +0 -126
  247. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +0 -27
  248. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_fee_and_funding_details.rb +0 -9
  249. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_others.rb +0 -9
  250. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlement_statuses.rb +0 -9
  251. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +1 -10
  252. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb +0 -18
  253. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +0 -45
  254. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb +0 -9
  255. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb +0 -90
  256. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +1 -10
  257. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +0 -90
  258. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb +10 -10
  259. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +0 -18
  260. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +1 -10
  261. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_error_information.rb +1 -1
  262. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +1 -10
  263. data/lib/cybersource_rest_client/models/{riskv1authenticationsetups_client_reference_information.rb → risk_v1_decisions_post201_response_client_reference_information.rb} +30 -23
  264. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +0 -171
  265. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_error_information.rb +1 -1
  266. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +0 -9
  267. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +0 -45
  268. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +1 -10
  269. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb +0 -9
  270. data/lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb +1 -10
  271. data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +0 -9
  272. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +0 -72
  273. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +0 -45
  274. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +0 -72
  275. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +0 -50
  276. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -18
  277. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +1 -37
  278. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -28
  279. data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +17 -1
  280. data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +0 -81
  281. data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +0 -18
  282. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +0 -18
  283. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +0 -90
  284. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +0 -54
  285. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -37
  286. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -28
  287. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -28
  288. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_customer.rb +0 -9
  289. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +0 -27
  290. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -37
  291. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +1 -19
  292. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +0 -36
  293. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +18 -18
  294. data/lib/cybersource_rest_client/models/{vasv2tax_client_reference_information_partner.rb → riskv1decisions_client_reference_information_partner.rb} +1 -19
  295. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -271
  296. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information_strong_authentication.rb +0 -9
  297. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +11 -100
  298. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_defined_information.rb +0 -18
  299. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +0 -9
  300. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb +0 -9
  301. data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +0 -18
  302. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +0 -18
  303. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +0 -90
  304. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +0 -81
  305. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +0 -99
  306. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +0 -9
  307. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +0 -9
  308. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -37
  309. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -28
  310. data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_avs.rb +0 -9
  311. data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_card_verification.rb +0 -9
  312. data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +0 -9
  313. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +0 -36
  314. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +0 -27
  315. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_passengers.rb +0 -18
  316. data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb +0 -18
  317. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +0 -18
  318. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb +0 -27
  319. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +0 -99
  320. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb +0 -9
  321. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +0 -45
  322. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +0 -27
  323. data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +0 -18
  324. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_address.rb +0 -54
  325. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +0 -99
  326. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +0 -9
  327. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +0 -54
  328. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +0 -36
  329. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -19
  330. data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +0 -27
  331. data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +0 -18
  332. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +0 -18
  333. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bank_account.rb +0 -9
  334. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +0 -54
  335. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +0 -45
  336. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_issuer.rb +0 -9
  337. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bank_account.rb +0 -9
  338. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +0 -99
  339. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +0 -18
  340. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb +0 -9
  341. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb +0 -9
  342. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card.rb +0 -45
  343. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +0 -18
  344. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb +0 -18
  345. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +0 -9
  346. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb +0 -9
  347. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +0 -18
  348. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_ship_to.rb +0 -99
  349. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_merchant_initiated_transaction.rb +0 -9
  350. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +0 -18
  351. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +0 -18
  352. data/lib/cybersource_rest_client/models/tmsv2customers_buyer_information.rb +0 -18
  353. data/lib/cybersource_rest_client/models/tmsv2customers_client_reference_information.rb +0 -9
  354. data/lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb +0 -9
  355. data/lib/cybersource_rest_client/models/tmsv2customers_object_information.rb +0 -18
  356. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +10 -28
  357. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +0 -18
  358. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +0 -18
  359. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +0 -27
  360. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +0 -18
  361. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +0 -54
  362. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +0 -126
  363. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +0 -45
  364. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +0 -90
  365. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +0 -9
  366. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +0 -27
  367. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +0 -27
  368. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +1 -73
  369. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +0 -18
  370. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +18 -20
  371. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +0 -9
  372. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options.rb +0 -36
  373. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +0 -36
  374. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +0 -90
  375. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_multi_processor_routing.rb +0 -18
  376. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_processor.rb +0 -9
  377. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules.rb +0 -18
  378. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +0 -9
  379. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +0 -9
  380. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +0 -9
  381. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +0 -9
  382. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +0 -18
  383. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +0 -9
  384. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +0 -9
  385. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +0 -45
  386. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +0 -45
  387. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +1 -10
  388. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +0 -18
  389. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +0 -9
  390. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -19
  391. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +0 -27
  392. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +0 -9
  393. data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +1 -1
  394. data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +1 -1
  395. data/lib/cybersource_rest_client/models/validate_request.rb +1 -1
  396. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response.rb +0 -9
  397. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information.rb +0 -27
  398. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_jurisdiction.rb +6 -72
  399. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_line_items.rb +0 -27
  400. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_tax_details.rb +0 -18
  401. data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response.rb +0 -9
  402. data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +0 -9
  403. data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +0 -9
  404. data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +1 -10
  405. data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +0 -9
  406. data/lib/cybersource_rest_client/models/vasv2tax_order_information_bill_to.rb +0 -54
  407. data/lib/cybersource_rest_client/models/vasv2tax_order_information_invoice_details.rb +0 -9
  408. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +0 -99
  409. data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_acceptance.rb +0 -36
  410. data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_origin.rb +0 -36
  411. data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +0 -63
  412. data/lib/cybersource_rest_client/models/vasv2tax_order_information_shipping_details.rb +0 -36
  413. data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +0 -18
  414. data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +0 -9
  415. data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information_partner.rb +0 -18
  416. data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +1 -1
  417. metadata +105 -86
@@ -86,42 +86,24 @@ module CyberSource
86
86
  # @return Array for valid properties with the reasons
87
87
  def list_invalid_properties
88
88
  invalid_properties = Array.new
89
- if !@tags.nil? && @tags.to_s.length > 1998
90
- invalid_properties.push('invalid value for "tags", the character length must be smaller than or equal to 1998.')
91
- end
92
-
93
- if !@card_sequence_number.nil? && @card_sequence_number.to_s.length > 3
94
- invalid_properties.push('invalid value for "card_sequence_number", the character length must be smaller than or equal to 3.')
95
- end
96
-
97
89
  invalid_properties
98
90
  end
99
91
 
100
92
  # Check to see if the all the properties in the model are valid
101
93
  # @return true if the model is valid
102
94
  def valid?
103
- return false if !@tags.nil? && @tags.to_s.length > 1998
104
- return false if !@card_sequence_number.nil? && @card_sequence_number.to_s.length > 3
105
95
  true
106
96
  end
107
97
 
108
98
  # Custom attribute writer method with validation
109
99
  # @param [Object] tags Value to be assigned
110
100
  def tags=(tags)
111
- if !tags.nil? && tags.to_s.length > 1998
112
- fail ArgumentError, 'invalid value for "tags", the character length must be smaller than or equal to 1998.'
113
- end
114
-
115
101
  @tags = tags
116
102
  end
117
103
 
118
104
  # Custom attribute writer method with validation
119
105
  # @param [Object] card_sequence_number Value to be assigned
120
106
  def card_sequence_number=(card_sequence_number)
121
- if !card_sequence_number.nil? && card_sequence_number.to_s.length > 3
122
- fail ArgumentError, 'invalid value for "card_sequence_number", the character length must be smaller than or equal to 3.'
123
- end
124
-
125
107
  @card_sequence_number = card_sequence_number
126
108
  end
127
109
 
@@ -32,7 +32,7 @@ module CyberSource
32
32
  # Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. Only `internet`, `moto`, `install`, `recurring`, and `recurring_internet` are valid values. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Other Types of Transactions See Appendix I, \"Commerce Indicators,\" on page 441. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction. Note that this should ONLY be used when the cardholder and card are present at the time of the transaction. For all keyed transactions originated from a POS terminal where the cardholder and card are not present, commerceIndicator should be submitted as “moto\"
33
33
  attr_accessor :commerce_indicator
34
34
 
35
- # Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay.
35
+ # Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay. - `014`: Mastercard credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `015`: Visa credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token.
36
36
  attr_accessor :payment_solution
37
37
 
38
38
  # Please check with Cybersource customer support to see if your merchant account is configured correctly so you can include this field in your request. * For Payouts: max length for FDCCompass is String (22).
@@ -271,222 +271,96 @@ module CyberSource
271
271
  # @return Array for valid properties with the reasons
272
272
  def list_invalid_properties
273
273
  invalid_properties = Array.new
274
- if !@processor_id.nil? && @processor_id.to_s.length > 3
275
- invalid_properties.push('invalid value for "processor_id", the character length must be smaller than or equal to 3.')
276
- end
277
-
278
- if !@commerce_indicator.nil? && @commerce_indicator.to_s.length > 20
279
- invalid_properties.push('invalid value for "commerce_indicator", the character length must be smaller than or equal to 20.')
280
- end
281
-
282
- if !@payment_solution.nil? && @payment_solution.to_s.length > 12
283
- invalid_properties.push('invalid value for "payment_solution", the character length must be smaller than or equal to 12.')
284
- end
285
-
286
- if !@reconciliation_id.nil? && @reconciliation_id.to_s.length > 60
287
- invalid_properties.push('invalid value for "reconciliation_id", the character length must be smaller than or equal to 60.')
288
- end
289
-
290
- if !@link_id.nil? && @link_id.to_s.length > 26
291
- invalid_properties.push('invalid value for "link_id", the character length must be smaller than or equal to 26.')
292
- end
293
-
294
- if !@purchase_level.nil? && @purchase_level.to_s.length > 1
295
- invalid_properties.push('invalid value for "purchase_level", the character length must be smaller than or equal to 1.')
296
- end
297
-
298
- if !@report_group.nil? && @report_group.to_s.length > 25
299
- invalid_properties.push('invalid value for "report_group", the character length must be smaller than or equal to 25.')
300
- end
301
-
302
- if !@visa_checkout_id.nil? && @visa_checkout_id.to_s.length > 48
303
- invalid_properties.push('invalid value for "visa_checkout_id", the character length must be smaller than or equal to 48.')
304
- end
305
-
306
- if !@industry_data_type.nil? && @industry_data_type.to_s.length > 20
307
- invalid_properties.push('invalid value for "industry_data_type", the character length must be smaller than or equal to 20.')
308
- end
309
-
310
- if !@wallet_type.nil? && @wallet_type.to_s.length > 5
311
- invalid_properties.push('invalid value for "wallet_type", the character length must be smaller than or equal to 5.')
312
- end
313
-
314
- if !@national_net_domestic_data.nil? && @national_net_domestic_data.to_s.length > 123
315
- invalid_properties.push('invalid value for "national_net_domestic_data", the character length must be smaller than or equal to 123.')
316
- end
317
-
318
- if !@mobile_remote_payment_type.nil? && @mobile_remote_payment_type.to_s.length > 1
319
- invalid_properties.push('invalid value for "mobile_remote_payment_type", the character length must be smaller than or equal to 1.')
320
- end
321
-
322
- if !@extended_credit_total_count.nil? && @extended_credit_total_count.to_s.length > 1
323
- invalid_properties.push('invalid value for "extended_credit_total_count", the character length must be smaller than or equal to 1.')
324
- end
325
-
326
- if !@network_routing_order.nil? && @network_routing_order.to_s.length > 30
327
- invalid_properties.push('invalid value for "network_routing_order", the character length must be smaller than or equal to 30.')
328
- end
329
-
330
274
  invalid_properties
331
275
  end
332
276
 
333
277
  # Check to see if the all the properties in the model are valid
334
278
  # @return true if the model is valid
335
279
  def valid?
336
- return false if !@processor_id.nil? && @processor_id.to_s.length > 3
337
- return false if !@commerce_indicator.nil? && @commerce_indicator.to_s.length > 20
338
- return false if !@payment_solution.nil? && @payment_solution.to_s.length > 12
339
- return false if !@reconciliation_id.nil? && @reconciliation_id.to_s.length > 60
340
- return false if !@link_id.nil? && @link_id.to_s.length > 26
341
- return false if !@purchase_level.nil? && @purchase_level.to_s.length > 1
342
- return false if !@report_group.nil? && @report_group.to_s.length > 25
343
- return false if !@visa_checkout_id.nil? && @visa_checkout_id.to_s.length > 48
344
- return false if !@industry_data_type.nil? && @industry_data_type.to_s.length > 20
345
- return false if !@wallet_type.nil? && @wallet_type.to_s.length > 5
346
- return false if !@national_net_domestic_data.nil? && @national_net_domestic_data.to_s.length > 123
347
- return false if !@mobile_remote_payment_type.nil? && @mobile_remote_payment_type.to_s.length > 1
348
- return false if !@extended_credit_total_count.nil? && @extended_credit_total_count.to_s.length > 1
349
- return false if !@network_routing_order.nil? && @network_routing_order.to_s.length > 30
350
280
  true
351
281
  end
352
282
 
353
283
  # Custom attribute writer method with validation
354
284
  # @param [Object] processor_id Value to be assigned
355
285
  def processor_id=(processor_id)
356
- if !processor_id.nil? && processor_id.to_s.length > 3
357
- fail ArgumentError, 'invalid value for "processor_id", the character length must be smaller than or equal to 3.'
358
- end
359
-
360
286
  @processor_id = processor_id
361
287
  end
362
288
 
363
289
  # Custom attribute writer method with validation
364
290
  # @param [Object] commerce_indicator Value to be assigned
365
291
  def commerce_indicator=(commerce_indicator)
366
- if !commerce_indicator.nil? && commerce_indicator.to_s.length > 20
367
- fail ArgumentError, 'invalid value for "commerce_indicator", the character length must be smaller than or equal to 20.'
368
- end
369
-
370
292
  @commerce_indicator = commerce_indicator
371
293
  end
372
294
 
373
295
  # Custom attribute writer method with validation
374
296
  # @param [Object] payment_solution Value to be assigned
375
297
  def payment_solution=(payment_solution)
376
- if !payment_solution.nil? && payment_solution.to_s.length > 12
377
- fail ArgumentError, 'invalid value for "payment_solution", the character length must be smaller than or equal to 12.'
378
- end
379
-
380
298
  @payment_solution = payment_solution
381
299
  end
382
300
 
383
301
  # Custom attribute writer method with validation
384
302
  # @param [Object] reconciliation_id Value to be assigned
385
303
  def reconciliation_id=(reconciliation_id)
386
- if !reconciliation_id.nil? && reconciliation_id.to_s.length > 60
387
- fail ArgumentError, 'invalid value for "reconciliation_id", the character length must be smaller than or equal to 60.'
388
- end
389
-
390
304
  @reconciliation_id = reconciliation_id
391
305
  end
392
306
 
393
307
  # Custom attribute writer method with validation
394
308
  # @param [Object] link_id Value to be assigned
395
309
  def link_id=(link_id)
396
- if !link_id.nil? && link_id.to_s.length > 26
397
- fail ArgumentError, 'invalid value for "link_id", the character length must be smaller than or equal to 26.'
398
- end
399
-
400
310
  @link_id = link_id
401
311
  end
402
312
 
403
313
  # Custom attribute writer method with validation
404
314
  # @param [Object] purchase_level Value to be assigned
405
315
  def purchase_level=(purchase_level)
406
- if !purchase_level.nil? && purchase_level.to_s.length > 1
407
- fail ArgumentError, 'invalid value for "purchase_level", the character length must be smaller than or equal to 1.'
408
- end
409
-
410
316
  @purchase_level = purchase_level
411
317
  end
412
318
 
413
319
  # Custom attribute writer method with validation
414
320
  # @param [Object] report_group Value to be assigned
415
321
  def report_group=(report_group)
416
- if !report_group.nil? && report_group.to_s.length > 25
417
- fail ArgumentError, 'invalid value for "report_group", the character length must be smaller than or equal to 25.'
418
- end
419
-
420
322
  @report_group = report_group
421
323
  end
422
324
 
423
325
  # Custom attribute writer method with validation
424
326
  # @param [Object] visa_checkout_id Value to be assigned
425
327
  def visa_checkout_id=(visa_checkout_id)
426
- if !visa_checkout_id.nil? && visa_checkout_id.to_s.length > 48
427
- fail ArgumentError, 'invalid value for "visa_checkout_id", the character length must be smaller than or equal to 48.'
428
- end
429
-
430
328
  @visa_checkout_id = visa_checkout_id
431
329
  end
432
330
 
433
331
  # Custom attribute writer method with validation
434
332
  # @param [Object] industry_data_type Value to be assigned
435
333
  def industry_data_type=(industry_data_type)
436
- if !industry_data_type.nil? && industry_data_type.to_s.length > 20
437
- fail ArgumentError, 'invalid value for "industry_data_type", the character length must be smaller than or equal to 20.'
438
- end
439
-
440
334
  @industry_data_type = industry_data_type
441
335
  end
442
336
 
443
337
  # Custom attribute writer method with validation
444
338
  # @param [Object] wallet_type Value to be assigned
445
339
  def wallet_type=(wallet_type)
446
- if !wallet_type.nil? && wallet_type.to_s.length > 5
447
- fail ArgumentError, 'invalid value for "wallet_type", the character length must be smaller than or equal to 5.'
448
- end
449
-
450
340
  @wallet_type = wallet_type
451
341
  end
452
342
 
453
343
  # Custom attribute writer method with validation
454
344
  # @param [Object] national_net_domestic_data Value to be assigned
455
345
  def national_net_domestic_data=(national_net_domestic_data)
456
- if !national_net_domestic_data.nil? && national_net_domestic_data.to_s.length > 123
457
- fail ArgumentError, 'invalid value for "national_net_domestic_data", the character length must be smaller than or equal to 123.'
458
- end
459
-
460
346
  @national_net_domestic_data = national_net_domestic_data
461
347
  end
462
348
 
463
349
  # Custom attribute writer method with validation
464
350
  # @param [Object] mobile_remote_payment_type Value to be assigned
465
351
  def mobile_remote_payment_type=(mobile_remote_payment_type)
466
- if !mobile_remote_payment_type.nil? && mobile_remote_payment_type.to_s.length > 1
467
- fail ArgumentError, 'invalid value for "mobile_remote_payment_type", the character length must be smaller than or equal to 1.'
468
- end
469
-
470
352
  @mobile_remote_payment_type = mobile_remote_payment_type
471
353
  end
472
354
 
473
355
  # Custom attribute writer method with validation
474
356
  # @param [Object] extended_credit_total_count Value to be assigned
475
357
  def extended_credit_total_count=(extended_credit_total_count)
476
- if !extended_credit_total_count.nil? && extended_credit_total_count.to_s.length > 1
477
- fail ArgumentError, 'invalid value for "extended_credit_total_count", the character length must be smaller than or equal to 1.'
478
- end
479
-
480
358
  @extended_credit_total_count = extended_credit_total_count
481
359
  end
482
360
 
483
361
  # Custom attribute writer method with validation
484
362
  # @param [Object] network_routing_order Value to be assigned
485
363
  def network_routing_order=(network_routing_order)
486
- if !network_routing_order.nil? && network_routing_order.to_s.length > 30
487
- fail ArgumentError, 'invalid value for "network_routing_order", the character length must be smaller than or equal to 30.'
488
- end
489
-
490
364
  @network_routing_order = network_routing_order
491
365
  end
492
366
 
@@ -53,7 +53,7 @@ module CyberSource
53
53
  attr_accessor :redemption_inquiry
54
54
 
55
55
  # Type of transportation mode : Possible Values: - 00 = Unknown - 01 = Urban bus - 02 = Interurban bus - 03=Lighttrainmasstransit(Underground Metro LTR) - 04 = Train - 05 = Commuter train - 06 = Water-borne vehicle - 07 = Toll - 08 = Parking - 09 = Taxi - 10 = High-speed train - 11 = Rural bus - 12 = Express commuter train - 13 = Para transit - 14 = Self drive vehicle - 15 = Coach - 16 = Locomotive - 17 = Powered motor coach - 18 = Trailer - 19 = Regional train - 20 = Inter-city - 21 = Funicular train - 22 = Cable car
56
- attr_accessor :transit_transaction_type
56
+ attr_accessor :transportation_mode
57
57
 
58
58
  # Indicates if transaction is an aggregated auth Possible values: - **true** - **false**
59
59
  attr_accessor :aggregated_auth_indicator
@@ -80,7 +80,7 @@ module CyberSource
80
80
  :'bill_payment' => :'billPayment',
81
81
  :'bill_payment_type' => :'billPaymentType',
82
82
  :'redemption_inquiry' => :'redemptionInquiry',
83
- :'transit_transaction_type' => :'transitTransactionType',
83
+ :'transportation_mode' => :'transportationMode',
84
84
  :'aggregated_auth_indicator' => :'aggregatedAuthIndicator',
85
85
  :'debt_recovery_indicator' => :'debtRecoveryIndicator',
86
86
  :'deferred_auth_indicator' => :'deferredAuthIndicator'
@@ -103,7 +103,7 @@ module CyberSource
103
103
  :'bill_payment' => :'BOOLEAN',
104
104
  :'bill_payment_type' => :'String',
105
105
  :'redemption_inquiry' => :'BOOLEAN',
106
- :'transit_transaction_type' => :'String',
106
+ :'transportation_mode' => :'String',
107
107
  :'aggregated_auth_indicator' => :'String',
108
108
  :'debt_recovery_indicator' => :'String',
109
109
  :'deferred_auth_indicator' => :'BOOLEAN'
@@ -176,8 +176,8 @@ module CyberSource
176
176
  self.redemption_inquiry = attributes[:'redemptionInquiry']
177
177
  end
178
178
 
179
- if attributes.has_key?(:'transitTransactionType')
180
- self.transit_transaction_type = attributes[:'transitTransactionType']
179
+ if attributes.has_key?(:'transportationMode')
180
+ self.transportation_mode = attributes[:'transportationMode']
181
181
  end
182
182
 
183
183
  if attributes.has_key?(:'aggregatedAuthIndicator')
@@ -197,72 +197,36 @@ module CyberSource
197
197
  # @return Array for valid properties with the reasons
198
198
  def list_invalid_properties
199
199
  invalid_properties = Array.new
200
- if !@auth_type.nil? && @auth_type.to_s.length > 15
201
- invalid_properties.push('invalid value for "auth_type", the character length must be smaller than or equal to 15.')
202
- end
203
-
204
- if !@verbal_auth_code.nil? && @verbal_auth_code.to_s.length > 7
205
- invalid_properties.push('invalid value for "verbal_auth_code", the character length must be smaller than or equal to 7.')
206
- end
207
-
208
- if !@verbal_auth_transaction_id.nil? && @verbal_auth_transaction_id.to_s.length > 15
209
- invalid_properties.push('invalid value for "verbal_auth_transaction_id", the character length must be smaller than or equal to 15.')
210
- end
211
-
212
- if !@auth_indicator.nil? && @auth_indicator.to_s.length > 1
213
- invalid_properties.push('invalid value for "auth_indicator", the character length must be smaller than or equal to 1.')
214
- end
215
-
216
200
  invalid_properties
217
201
  end
218
202
 
219
203
  # Check to see if the all the properties in the model are valid
220
204
  # @return true if the model is valid
221
205
  def valid?
222
- return false if !@auth_type.nil? && @auth_type.to_s.length > 15
223
- return false if !@verbal_auth_code.nil? && @verbal_auth_code.to_s.length > 7
224
- return false if !@verbal_auth_transaction_id.nil? && @verbal_auth_transaction_id.to_s.length > 15
225
- return false if !@auth_indicator.nil? && @auth_indicator.to_s.length > 1
226
206
  true
227
207
  end
228
208
 
229
209
  # Custom attribute writer method with validation
230
210
  # @param [Object] auth_type Value to be assigned
231
211
  def auth_type=(auth_type)
232
- if !auth_type.nil? && auth_type.to_s.length > 15
233
- fail ArgumentError, 'invalid value for "auth_type", the character length must be smaller than or equal to 15.'
234
- end
235
-
236
212
  @auth_type = auth_type
237
213
  end
238
214
 
239
215
  # Custom attribute writer method with validation
240
216
  # @param [Object] verbal_auth_code Value to be assigned
241
217
  def verbal_auth_code=(verbal_auth_code)
242
- if !verbal_auth_code.nil? && verbal_auth_code.to_s.length > 7
243
- fail ArgumentError, 'invalid value for "verbal_auth_code", the character length must be smaller than or equal to 7.'
244
- end
245
-
246
218
  @verbal_auth_code = verbal_auth_code
247
219
  end
248
220
 
249
221
  # Custom attribute writer method with validation
250
222
  # @param [Object] verbal_auth_transaction_id Value to be assigned
251
223
  def verbal_auth_transaction_id=(verbal_auth_transaction_id)
252
- if !verbal_auth_transaction_id.nil? && verbal_auth_transaction_id.to_s.length > 15
253
- fail ArgumentError, 'invalid value for "verbal_auth_transaction_id", the character length must be smaller than or equal to 15.'
254
- end
255
-
256
224
  @verbal_auth_transaction_id = verbal_auth_transaction_id
257
225
  end
258
226
 
259
227
  # Custom attribute writer method with validation
260
228
  # @param [Object] auth_indicator Value to be assigned
261
229
  def auth_indicator=(auth_indicator)
262
- if !auth_indicator.nil? && auth_indicator.to_s.length > 1
263
- fail ArgumentError, 'invalid value for "auth_indicator", the character length must be smaller than or equal to 1.'
264
- end
265
-
266
230
  @auth_indicator = auth_indicator
267
231
  end
268
232
 
@@ -284,7 +248,7 @@ module CyberSource
284
248
  bill_payment == o.bill_payment &&
285
249
  bill_payment_type == o.bill_payment_type &&
286
250
  redemption_inquiry == o.redemption_inquiry &&
287
- transit_transaction_type == o.transit_transaction_type &&
251
+ transportation_mode == o.transportation_mode &&
288
252
  aggregated_auth_indicator == o.aggregated_auth_indicator &&
289
253
  debt_recovery_indicator == o.debt_recovery_indicator &&
290
254
  deferred_auth_indicator == o.deferred_auth_indicator
@@ -299,7 +263,7 @@ module CyberSource
299
263
  # Calculates hash code according to all attributes.
300
264
  # @return [Fixnum] Hash code
301
265
  def hash
302
- [auth_type, verbal_auth_code, verbal_auth_transaction_id, auth_indicator, partial_auth_indicator, balance_inquiry, ignore_avs_result, decline_avs_flags, ignore_cv_result, initiator, bill_payment, bill_payment_type, redemption_inquiry, transit_transaction_type, aggregated_auth_indicator, debt_recovery_indicator, deferred_auth_indicator].hash
266
+ [auth_type, verbal_auth_code, verbal_auth_transaction_id, auth_indicator, partial_auth_indicator, balance_inquiry, ignore_avs_result, decline_avs_flags, ignore_cv_result, initiator, bill_payment, bill_payment_type, redemption_inquiry, transportation_mode, aggregated_auth_indicator, debt_recovery_indicator, deferred_auth_indicator].hash
303
267
  end
304
268
 
305
269
  # Builds the object from hash
@@ -138,177 +138,78 @@ module CyberSource
138
138
  # @return Array for valid properties with the reasons
139
139
  def list_invalid_properties
140
140
  invalid_properties = Array.new
141
- if !@decline_avs_flags.nil? && @decline_avs_flags.to_s.length > 15
142
- invalid_properties.push('invalid value for "decline_avs_flags", the character length must be smaller than or equal to 15.')
143
- end
144
-
145
- if !@sec_code.nil? && @sec_code.to_s.length > 3
146
- invalid_properties.push('invalid value for "sec_code", the character length must be smaller than or equal to 3.')
147
- end
148
-
149
- if !@terminal_city.nil? && @terminal_city.to_s.length > 4
150
- invalid_properties.push('invalid value for "terminal_city", the character length must be smaller than or equal to 4.')
151
- end
152
-
153
- if !@terminal_state.nil? && @terminal_state.to_s.length > 2
154
- invalid_properties.push('invalid value for "terminal_state", the character length must be smaller than or equal to 2.')
155
- end
156
-
157
- if !@effective_date.nil? && @effective_date.to_s.length > 8
158
- invalid_properties.push('invalid value for "effective_date", the character length must be smaller than or equal to 8.')
159
- end
160
-
161
- if !@partial_payment_id.nil? && @partial_payment_id.to_s.length > 25
162
- invalid_properties.push('invalid value for "partial_payment_id", the character length must be smaller than or equal to 25.')
163
- end
164
-
165
- if !@customer_memo.nil? && @customer_memo.to_s.length > 80
166
- invalid_properties.push('invalid value for "customer_memo", the character length must be smaller than or equal to 80.')
167
- end
168
-
169
- if !@payment_category_code.nil? && @payment_category_code.to_s.length > 1
170
- invalid_properties.push('invalid value for "payment_category_code", the character length must be smaller than or equal to 1.')
171
- end
172
-
173
- if !@settlement_method.nil? && @settlement_method.to_s.length > 1
174
- invalid_properties.push('invalid value for "settlement_method", the character length must be smaller than or equal to 1.')
175
- end
176
-
177
- if !@fraud_screening_level.nil? && @fraud_screening_level.to_s.length > 1
178
- invalid_properties.push('invalid value for "fraud_screening_level", the character length must be smaller than or equal to 1.')
179
- end
180
-
181
- if !@customer_present.nil? && @customer_present.to_s.length > 1
182
- invalid_properties.push('invalid value for "customer_present", the character length must be smaller than or equal to 1.')
183
- end
184
-
185
141
  invalid_properties
186
142
  end
187
143
 
188
144
  # Check to see if the all the properties in the model are valid
189
145
  # @return true if the model is valid
190
146
  def valid?
191
- return false if !@decline_avs_flags.nil? && @decline_avs_flags.to_s.length > 15
192
- return false if !@sec_code.nil? && @sec_code.to_s.length > 3
193
- return false if !@terminal_city.nil? && @terminal_city.to_s.length > 4
194
- return false if !@terminal_state.nil? && @terminal_state.to_s.length > 2
195
- return false if !@effective_date.nil? && @effective_date.to_s.length > 8
196
- return false if !@partial_payment_id.nil? && @partial_payment_id.to_s.length > 25
197
- return false if !@customer_memo.nil? && @customer_memo.to_s.length > 80
198
- return false if !@payment_category_code.nil? && @payment_category_code.to_s.length > 1
199
- return false if !@settlement_method.nil? && @settlement_method.to_s.length > 1
200
- return false if !@fraud_screening_level.nil? && @fraud_screening_level.to_s.length > 1
201
- return false if !@customer_present.nil? && @customer_present.to_s.length > 1
202
147
  true
203
148
  end
204
149
 
205
150
  # Custom attribute writer method with validation
206
151
  # @param [Object] decline_avs_flags Value to be assigned
207
152
  def decline_avs_flags=(decline_avs_flags)
208
- if !decline_avs_flags.nil? && decline_avs_flags.to_s.length > 15
209
- fail ArgumentError, 'invalid value for "decline_avs_flags", the character length must be smaller than or equal to 15.'
210
- end
211
-
212
153
  @decline_avs_flags = decline_avs_flags
213
154
  end
214
155
 
215
156
  # Custom attribute writer method with validation
216
157
  # @param [Object] sec_code Value to be assigned
217
158
  def sec_code=(sec_code)
218
- if !sec_code.nil? && sec_code.to_s.length > 3
219
- fail ArgumentError, 'invalid value for "sec_code", the character length must be smaller than or equal to 3.'
220
- end
221
-
222
159
  @sec_code = sec_code
223
160
  end
224
161
 
225
162
  # Custom attribute writer method with validation
226
163
  # @param [Object] terminal_city Value to be assigned
227
164
  def terminal_city=(terminal_city)
228
- if !terminal_city.nil? && terminal_city.to_s.length > 4
229
- fail ArgumentError, 'invalid value for "terminal_city", the character length must be smaller than or equal to 4.'
230
- end
231
-
232
165
  @terminal_city = terminal_city
233
166
  end
234
167
 
235
168
  # Custom attribute writer method with validation
236
169
  # @param [Object] terminal_state Value to be assigned
237
170
  def terminal_state=(terminal_state)
238
- if !terminal_state.nil? && terminal_state.to_s.length > 2
239
- fail ArgumentError, 'invalid value for "terminal_state", the character length must be smaller than or equal to 2.'
240
- end
241
-
242
171
  @terminal_state = terminal_state
243
172
  end
244
173
 
245
174
  # Custom attribute writer method with validation
246
175
  # @param [Object] effective_date Value to be assigned
247
176
  def effective_date=(effective_date)
248
- if !effective_date.nil? && effective_date.to_s.length > 8
249
- fail ArgumentError, 'invalid value for "effective_date", the character length must be smaller than or equal to 8.'
250
- end
251
-
252
177
  @effective_date = effective_date
253
178
  end
254
179
 
255
180
  # Custom attribute writer method with validation
256
181
  # @param [Object] partial_payment_id Value to be assigned
257
182
  def partial_payment_id=(partial_payment_id)
258
- if !partial_payment_id.nil? && partial_payment_id.to_s.length > 25
259
- fail ArgumentError, 'invalid value for "partial_payment_id", the character length must be smaller than or equal to 25.'
260
- end
261
-
262
183
  @partial_payment_id = partial_payment_id
263
184
  end
264
185
 
265
186
  # Custom attribute writer method with validation
266
187
  # @param [Object] customer_memo Value to be assigned
267
188
  def customer_memo=(customer_memo)
268
- if !customer_memo.nil? && customer_memo.to_s.length > 80
269
- fail ArgumentError, 'invalid value for "customer_memo", the character length must be smaller than or equal to 80.'
270
- end
271
-
272
189
  @customer_memo = customer_memo
273
190
  end
274
191
 
275
192
  # Custom attribute writer method with validation
276
193
  # @param [Object] payment_category_code Value to be assigned
277
194
  def payment_category_code=(payment_category_code)
278
- if !payment_category_code.nil? && payment_category_code.to_s.length > 1
279
- fail ArgumentError, 'invalid value for "payment_category_code", the character length must be smaller than or equal to 1.'
280
- end
281
-
282
195
  @payment_category_code = payment_category_code
283
196
  end
284
197
 
285
198
  # Custom attribute writer method with validation
286
199
  # @param [Object] settlement_method Value to be assigned
287
200
  def settlement_method=(settlement_method)
288
- if !settlement_method.nil? && settlement_method.to_s.length > 1
289
- fail ArgumentError, 'invalid value for "settlement_method", the character length must be smaller than or equal to 1.'
290
- end
291
-
292
201
  @settlement_method = settlement_method
293
202
  end
294
203
 
295
204
  # Custom attribute writer method with validation
296
205
  # @param [Object] fraud_screening_level Value to be assigned
297
206
  def fraud_screening_level=(fraud_screening_level)
298
- if !fraud_screening_level.nil? && fraud_screening_level.to_s.length > 1
299
- fail ArgumentError, 'invalid value for "fraud_screening_level", the character length must be smaller than or equal to 1.'
300
- end
301
-
302
207
  @fraud_screening_level = fraud_screening_level
303
208
  end
304
209
 
305
210
  # Custom attribute writer method with validation
306
211
  # @param [Object] customer_present Value to be assigned
307
212
  def customer_present=(customer_present)
308
- if !customer_present.nil? && customer_present.to_s.length > 1
309
- fail ArgumentError, 'invalid value for "customer_present", the character length must be smaller than or equal to 1.'
310
- end
311
-
312
213
  @customer_present = customer_present
313
214
  end
314
215