cybersource_rest_client 0.0.26 → 0.0.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (392) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client.rb +1 -0
  3. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +89 -2
  4. data/lib/cybersource_rest_client/models/create_adhoc_report_request.rb +0 -36
  5. data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +0 -36
  6. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +0 -54
  7. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information_header_style.rb +0 -18
  8. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +0 -9
  9. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +0 -9
  10. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +0 -18
  11. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +0 -9
  12. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +0 -9
  13. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +0 -9
  14. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +0 -9
  15. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +0 -36
  16. data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +0 -54
  17. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +0 -18
  18. data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +0 -9
  19. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +0 -27
  20. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +0 -9
  21. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +0 -18
  22. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +0 -27
  23. data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +0 -9
  24. data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +0 -9
  25. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +0 -18
  26. data/lib/cybersource_rest_client/models/patch_customer_request.rb +0 -18
  27. data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +0 -18
  28. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +0 -18
  29. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +0 -18
  30. data/lib/cybersource_rest_client/models/post_customer_request.rb +0 -18
  31. data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +0 -18
  32. data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +286 -0
  33. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +0 -18
  34. data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +0 -36
  35. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response_transaction_batches.rb +0 -18
  36. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response.rb +0 -18
  37. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +0 -18
  38. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +0 -18
  39. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +0 -9
  40. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb +0 -18
  41. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_client_reference_information.rb +0 -9
  42. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +0 -9
  43. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +0 -36
  44. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +0 -18
  45. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +0 -18
  46. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +0 -9
  47. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +0 -9
  48. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +0 -18
  49. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +0 -18
  50. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +0 -189
  51. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_ivr.rb +0 -45
  52. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +0 -198
  53. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +0 -36
  54. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +0 -27
  55. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +0 -45
  56. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +0 -153
  57. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features_balances.rb +0 -36
  58. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +0 -9
  59. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +0 -9
  60. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_instrument_identifier.rb +0 -18
  61. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +0 -54
  62. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +0 -18
  63. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +0 -27
  64. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +0 -18
  65. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +0 -144
  66. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +0 -18
  67. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +0 -18
  68. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +0 -18
  69. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +0 -18
  70. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb +0 -9
  71. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +0 -108
  72. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +0 -18
  73. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +0 -27
  74. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information.rb +0 -9
  75. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_ip_address.rb +0 -63
  76. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_profile.rb +0 -27
  77. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_rules.rb +0 -18
  78. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_score.rb +0 -18
  79. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_actual_final_destination.rb +0 -36
  80. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_departure.rb +0 -36
  81. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_destination.rb +0 -36
  82. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_last_destination.rb +0 -36
  83. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_velocity_morphing.rb +0 -18
  84. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_customer.rb +0 -18
  85. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_instrument_identifier.rb +0 -18
  86. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_payment_instrument.rb +0 -18
  87. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_shipping_address.rb +0 -18
  88. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +0 -18
  89. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +0 -36
  90. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +0 -18
  91. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +0 -18
  92. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb +0 -27
  93. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +0 -9
  94. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +0 -54
  95. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +0 -27
  96. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +0 -9
  97. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +0 -9
  98. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +0 -9
  99. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +0 -18
  100. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +0 -9
  101. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +0 -36
  102. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +0 -45
  103. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +0 -18
  104. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +0 -9
  105. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +0 -108
  106. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +0 -63
  107. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_electronic_benefits_transfer.rb +0 -9
  108. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb +0 -9
  109. data/lib/cybersource_rest_client/models/ptsv2payments_acquirer_information.rb +0 -36
  110. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +0 -18
  111. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +0 -99
  112. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +0 -45
  113. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +0 -9
  114. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +0 -18
  115. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +0 -36
  116. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +0 -369
  117. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +0 -54
  118. data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +0 -99
  119. data/lib/cybersource_rest_client/models/ptsv2payments_device_information_raw_data.rb +0 -9
  120. data/lib/cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details.rb +0 -18
  121. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +0 -90
  122. data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +0 -9
  123. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +0 -18
  124. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +0 -54
  125. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +0 -63
  126. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +0 -27
  127. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +0 -27
  128. data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +0 -18
  129. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +0 -189
  130. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +0 -18
  131. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion.rb +0 -27
  132. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +0 -9
  133. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +0 -45
  134. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +0 -162
  135. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +0 -63
  136. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +0 -72
  137. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +0 -9
  138. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +0 -198
  139. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_passenger.rb +0 -72
  140. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +0 -126
  141. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +0 -18
  142. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +0 -9
  143. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +0 -9
  144. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +0 -45
  145. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +0 -117
  146. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +0 -18
  147. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +0 -27
  148. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_instrument_identifier.rb +0 -18
  149. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_legacy_token.rb +0 -9
  150. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_instrument.rb +0 -18
  151. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_shipping_address.rb +0 -18
  152. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +0 -81
  153. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +0 -144
  154. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +0 -18
  155. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +0 -126
  156. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +0 -36
  157. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +0 -99
  158. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +0 -9
  159. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer.rb +0 -18
  160. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +0 -63
  161. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +0 -18
  162. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb +0 -9
  163. data/lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb +0 -18
  164. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +0 -27
  165. data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +0 -18
  166. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb +0 -9
  167. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_account_history.rb +0 -9
  168. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +0 -27
  169. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_profile.rb +0 -9
  170. data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +0 -9
  171. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +0 -9
  172. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +0 -18
  173. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +0 -333
  174. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_rental_address.rb +0 -63
  175. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_return_address.rb +0 -45
  176. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_tax_details.rb +0 -45
  177. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +0 -351
  178. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +0 -9
  179. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +0 -261
  180. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +0 -36
  181. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +0 -18
  182. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +0 -144
  183. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +0 -63
  184. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +0 -9
  185. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +0 -27
  186. data/lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb +0 -9
  187. data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +0 -18
  188. data/lib/cybersource_rest_client/models/ptsv2paymentsid_travel_information.rb +0 -9
  189. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +0 -18
  190. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +0 -81
  191. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +0 -18
  192. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +0 -27
  193. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +0 -207
  194. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +0 -27
  195. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +0 -162
  196. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +0 -90
  197. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +0 -45
  198. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +0 -27
  199. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +0 -9
  200. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +0 -18
  201. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +0 -9
  202. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +0 -9
  203. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +0 -63
  204. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +0 -27
  205. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +0 -27
  206. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +0 -144
  207. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +0 -81
  208. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +0 -63
  209. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +0 -9
  210. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +0 -27
  211. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_amount_details.rb +0 -9
  212. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +0 -9
  213. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +0 -9
  214. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +0 -45
  215. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +0 -18
  216. data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +0 -9
  217. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +0 -9
  218. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +0 -27
  219. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +0 -18
  220. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +0 -9
  221. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +0 -81
  222. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +0 -36
  223. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +0 -36
  224. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +0 -36
  225. data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +0 -99
  226. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +0 -126
  227. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +0 -27
  228. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_fee_and_funding_details.rb +0 -9
  229. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_others.rb +0 -9
  230. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlement_statuses.rb +0 -9
  231. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +0 -9
  232. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb +0 -18
  233. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +0 -45
  234. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb +0 -9
  235. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb +0 -90
  236. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +0 -9
  237. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +0 -90
  238. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb +0 -9
  239. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +0 -18
  240. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +0 -9
  241. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +0 -9
  242. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +0 -171
  243. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +0 -9
  244. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +0 -45
  245. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +0 -9
  246. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb +0 -9
  247. data/lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb +0 -9
  248. data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +0 -9
  249. data/lib/cybersource_rest_client/models/riskv1addressverifications_client_reference_information.rb +0 -18
  250. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +0 -72
  251. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +0 -45
  252. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +0 -72
  253. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +0 -45
  254. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -18
  255. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +0 -36
  256. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +0 -27
  257. data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +0 -81
  258. data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +0 -18
  259. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +0 -18
  260. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +0 -90
  261. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +0 -54
  262. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +0 -36
  263. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +0 -27
  264. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_client_reference_information.rb +0 -9
  265. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +0 -27
  266. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_customer.rb +0 -9
  267. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +0 -27
  268. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +0 -36
  269. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +0 -18
  270. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +0 -36
  271. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +0 -18
  272. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +0 -270
  273. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information_strong_authentication.rb +0 -9
  274. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +0 -99
  275. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_defined_information.rb +0 -18
  276. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +0 -9
  277. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb +0 -9
  278. data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +0 -18
  279. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +0 -18
  280. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +0 -90
  281. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +0 -81
  282. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +0 -99
  283. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +0 -9
  284. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +0 -9
  285. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +0 -36
  286. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +0 -27
  287. data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_avs.rb +0 -9
  288. data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_card_verification.rb +0 -9
  289. data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +0 -9
  290. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +0 -36
  291. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +0 -27
  292. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_passengers.rb +0 -18
  293. data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb +0 -18
  294. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +0 -18
  295. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb +0 -27
  296. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +0 -99
  297. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb +0 -9
  298. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +0 -45
  299. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +0 -27
  300. data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +0 -18
  301. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_address.rb +0 -54
  302. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +0 -99
  303. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +0 -9
  304. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +0 -54
  305. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +0 -36
  306. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +0 -18
  307. data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +0 -27
  308. data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +0 -18
  309. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +0 -18
  310. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bank_account.rb +0 -9
  311. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +0 -54
  312. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +0 -45
  313. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_issuer.rb +0 -9
  314. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bank_account.rb +0 -9
  315. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +0 -99
  316. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +0 -18
  317. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb +0 -9
  318. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb +0 -9
  319. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card.rb +0 -45
  320. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +0 -18
  321. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb +0 -18
  322. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +0 -9
  323. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb +0 -9
  324. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +0 -18
  325. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_ship_to.rb +0 -99
  326. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_merchant_initiated_transaction.rb +0 -9
  327. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +0 -18
  328. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +0 -18
  329. data/lib/cybersource_rest_client/models/tmsv2customers_buyer_information.rb +0 -18
  330. data/lib/cybersource_rest_client/models/tmsv2customers_client_reference_information.rb +0 -9
  331. data/lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb +0 -9
  332. data/lib/cybersource_rest_client/models/tmsv2customers_object_information.rb +0 -18
  333. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +0 -27
  334. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +0 -18
  335. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +0 -18
  336. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +0 -27
  337. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +0 -18
  338. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +0 -54
  339. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +0 -126
  340. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +0 -45
  341. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +0 -90
  342. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +0 -9
  343. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +0 -27
  344. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +0 -27
  345. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +0 -72
  346. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +0 -18
  347. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -19
  348. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +0 -9
  349. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options.rb +0 -36
  350. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +0 -36
  351. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +0 -90
  352. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_multi_processor_routing.rb +0 -18
  353. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_processor.rb +0 -9
  354. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules.rb +0 -18
  355. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +0 -9
  356. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +0 -9
  357. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +0 -9
  358. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +0 -9
  359. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +0 -18
  360. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +0 -9
  361. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +0 -9
  362. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +0 -45
  363. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +0 -45
  364. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +0 -9
  365. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +0 -18
  366. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +0 -9
  367. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +0 -18
  368. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +0 -27
  369. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +0 -9
  370. data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +1 -1
  371. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response.rb +0 -9
  372. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information.rb +0 -27
  373. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_jurisdiction.rb +6 -72
  374. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_line_items.rb +0 -27
  375. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_tax_details.rb +0 -18
  376. data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response.rb +0 -9
  377. data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +0 -9
  378. data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +0 -9
  379. data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +0 -9
  380. data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information_partner.rb +0 -18
  381. data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +0 -9
  382. data/lib/cybersource_rest_client/models/vasv2tax_order_information_bill_to.rb +0 -54
  383. data/lib/cybersource_rest_client/models/vasv2tax_order_information_invoice_details.rb +0 -9
  384. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +0 -99
  385. data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_acceptance.rb +0 -36
  386. data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_origin.rb +0 -36
  387. data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +0 -63
  388. data/lib/cybersource_rest_client/models/vasv2tax_order_information_shipping_details.rb +0 -36
  389. data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +0 -18
  390. data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +0 -9
  391. data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information_partner.rb +0 -18
  392. metadata +3 -2
@@ -66,57 +66,30 @@ 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 !@auth_type.nil? && @auth_type.to_s.length > 15
70
- invalid_properties.push('invalid value for "auth_type", the character length must be smaller than or equal to 15.')
71
- end
72
-
73
- if !@verbal_auth_code.nil? && @verbal_auth_code.to_s.length > 7
74
- invalid_properties.push('invalid value for "verbal_auth_code", the character length must be smaller than or equal to 7.')
75
- end
76
-
77
- if !@verbal_auth_transaction_id.nil? && @verbal_auth_transaction_id.to_s.length > 15
78
- invalid_properties.push('invalid value for "verbal_auth_transaction_id", the character length must be smaller than or equal to 15.')
79
- end
80
-
81
69
  invalid_properties
82
70
  end
83
71
 
84
72
  # Check to see if the all the properties in the model are valid
85
73
  # @return true if the model is valid
86
74
  def valid?
87
- return false if !@auth_type.nil? && @auth_type.to_s.length > 15
88
- return false if !@verbal_auth_code.nil? && @verbal_auth_code.to_s.length > 7
89
- return false if !@verbal_auth_transaction_id.nil? && @verbal_auth_transaction_id.to_s.length > 15
90
75
  true
91
76
  end
92
77
 
93
78
  # Custom attribute writer method with validation
94
79
  # @param [Object] auth_type Value to be assigned
95
80
  def auth_type=(auth_type)
96
- if !auth_type.nil? && auth_type.to_s.length > 15
97
- fail ArgumentError, 'invalid value for "auth_type", the character length must be smaller than or equal to 15.'
98
- end
99
-
100
81
  @auth_type = auth_type
101
82
  end
102
83
 
103
84
  # Custom attribute writer method with validation
104
85
  # @param [Object] verbal_auth_code Value to be assigned
105
86
  def verbal_auth_code=(verbal_auth_code)
106
- if !verbal_auth_code.nil? && verbal_auth_code.to_s.length > 7
107
- fail ArgumentError, 'invalid value for "verbal_auth_code", the character length must be smaller than or equal to 7.'
108
- end
109
-
110
87
  @verbal_auth_code = verbal_auth_code
111
88
  end
112
89
 
113
90
  # Custom attribute writer method with validation
114
91
  # @param [Object] verbal_auth_transaction_id Value to be assigned
115
92
  def verbal_auth_transaction_id=(verbal_auth_transaction_id)
116
- if !verbal_auth_transaction_id.nil? && verbal_auth_transaction_id.to_s.length > 15
117
- fail ArgumentError, 'invalid value for "verbal_auth_transaction_id", the character length must be smaller than or equal to 15.'
118
- end
119
-
120
93
  @verbal_auth_transaction_id = verbal_auth_transaction_id
121
94
  end
122
95
 
@@ -87,18 +87,6 @@ module CyberSource
87
87
  invalid_properties.push('invalid value for "category_code", must be smaller than or equal to 9999.')
88
88
  end
89
89
 
90
- if !@vat_registration_number.nil? && @vat_registration_number.to_s.length > 21
91
- invalid_properties.push('invalid value for "vat_registration_number", the character length must be smaller than or equal to 21.')
92
- end
93
-
94
- if !@card_acceptor_reference_number.nil? && @card_acceptor_reference_number.to_s.length > 25
95
- invalid_properties.push('invalid value for "card_acceptor_reference_number", the character length must be smaller than or equal to 25.')
96
- end
97
-
98
- if !@tax_id.nil? && @tax_id.to_s.length > 15
99
- invalid_properties.push('invalid value for "tax_id", the character length must be smaller than or equal to 15.')
100
- end
101
-
102
90
  invalid_properties
103
91
  end
104
92
 
@@ -106,9 +94,6 @@ module CyberSource
106
94
  # @return true if the model is valid
107
95
  def valid?
108
96
  return false if !@category_code.nil? && @category_code > 9999
109
- return false if !@vat_registration_number.nil? && @vat_registration_number.to_s.length > 21
110
- return false if !@card_acceptor_reference_number.nil? && @card_acceptor_reference_number.to_s.length > 25
111
- return false if !@tax_id.nil? && @tax_id.to_s.length > 15
112
97
  true
113
98
  end
114
99
 
@@ -125,30 +110,18 @@ module CyberSource
125
110
  # Custom attribute writer method with validation
126
111
  # @param [Object] vat_registration_number Value to be assigned
127
112
  def vat_registration_number=(vat_registration_number)
128
- if !vat_registration_number.nil? && vat_registration_number.to_s.length > 21
129
- fail ArgumentError, 'invalid value for "vat_registration_number", the character length must be smaller than or equal to 21.'
130
- end
131
-
132
113
  @vat_registration_number = vat_registration_number
133
114
  end
134
115
 
135
116
  # Custom attribute writer method with validation
136
117
  # @param [Object] card_acceptor_reference_number Value to be assigned
137
118
  def card_acceptor_reference_number=(card_acceptor_reference_number)
138
- if !card_acceptor_reference_number.nil? && card_acceptor_reference_number.to_s.length > 25
139
- fail ArgumentError, 'invalid value for "card_acceptor_reference_number", the character length must be smaller than or equal to 25.'
140
- end
141
-
142
119
  @card_acceptor_reference_number = card_acceptor_reference_number
143
120
  end
144
121
 
145
122
  # Custom attribute writer method with validation
146
123
  # @param [Object] tax_id Value to be assigned
147
124
  def tax_id=(tax_id)
148
- if !tax_id.nil? && tax_id.to_s.length > 15
149
- fail ArgumentError, 'invalid value for "tax_id", the character length must be smaller than or equal to 15.'
150
- end
151
-
152
125
  @tax_id = tax_id
153
126
  end
154
127
 
@@ -220,18 +220,6 @@ module CyberSource
220
220
  # @return Array for valid properties with the reasons
221
221
  def list_invalid_properties
222
222
  invalid_properties = Array.new
223
- if !@product_code.nil? && @product_code.to_s.length > 255
224
- invalid_properties.push('invalid value for "product_code", the character length must be smaller than or equal to 255.')
225
- end
226
-
227
- if !@product_name.nil? && @product_name.to_s.length > 255
228
- invalid_properties.push('invalid value for "product_name", the character length must be smaller than or equal to 255.')
229
- end
230
-
231
- if !@product_sku.nil? && @product_sku.to_s.length > 255
232
- invalid_properties.push('invalid value for "product_sku", the character length must be smaller than or equal to 255.')
233
- end
234
-
235
223
  if !@quantity.nil? && @quantity > 999999999
236
224
  invalid_properties.push('invalid value for "quantity", must be smaller than or equal to 999999999.')
237
225
  end
@@ -240,112 +228,32 @@ module CyberSource
240
228
  invalid_properties.push('invalid value for "quantity", must be greater than or equal to 1.')
241
229
  end
242
230
 
243
- if !@unit_price.nil? && @unit_price.to_s.length > 15
244
- invalid_properties.push('invalid value for "unit_price", the character length must be smaller than or equal to 15.')
245
- end
246
-
247
- if !@unit_of_measure.nil? && @unit_of_measure.to_s.length > 12
248
- invalid_properties.push('invalid value for "unit_of_measure", the character length must be smaller than or equal to 12.')
249
- end
250
-
251
- if !@total_amount.nil? && @total_amount.to_s.length > 13
252
- invalid_properties.push('invalid value for "total_amount", the character length must be smaller than or equal to 13.')
253
- end
254
-
255
- if !@tax_amount.nil? && @tax_amount.to_s.length > 15
256
- invalid_properties.push('invalid value for "tax_amount", the character length must be smaller than or equal to 15.')
257
- end
258
-
259
- if !@tax_rate.nil? && @tax_rate.to_s.length > 7
260
- invalid_properties.push('invalid value for "tax_rate", the character length must be smaller than or equal to 7.')
261
- end
262
-
263
- if !@tax_applied_after_discount.nil? && @tax_applied_after_discount.to_s.length > 1
264
- invalid_properties.push('invalid value for "tax_applied_after_discount", the character length must be smaller than or equal to 1.')
265
- end
266
-
267
- if !@tax_status_indicator.nil? && @tax_status_indicator.to_s.length > 1
268
- invalid_properties.push('invalid value for "tax_status_indicator", the character length must be smaller than or equal to 1.')
269
- end
270
-
271
- if !@tax_type_code.nil? && @tax_type_code.to_s.length > 4
272
- invalid_properties.push('invalid value for "tax_type_code", the character length must be smaller than or equal to 4.')
273
- end
274
-
275
- if !@type_of_supply.nil? && @type_of_supply.to_s.length > 2
276
- invalid_properties.push('invalid value for "type_of_supply", the character length must be smaller than or equal to 2.')
277
- end
278
-
279
- if !@commodity_code.nil? && @commodity_code.to_s.length > 15
280
- invalid_properties.push('invalid value for "commodity_code", the character length must be smaller than or equal to 15.')
281
- end
282
-
283
- if !@discount_amount.nil? && @discount_amount.to_s.length > 13
284
- invalid_properties.push('invalid value for "discount_amount", the character length must be smaller than or equal to 13.')
285
- end
286
-
287
- if !@discount_rate.nil? && @discount_rate.to_s.length > 6
288
- invalid_properties.push('invalid value for "discount_rate", the character length must be smaller than or equal to 6.')
289
- end
290
-
291
- if !@invoice_number.nil? && @invoice_number.to_s.length > 23
292
- invalid_properties.push('invalid value for "invoice_number", the character length must be smaller than or equal to 23.')
293
- end
294
-
295
231
  invalid_properties
296
232
  end
297
233
 
298
234
  # Check to see if the all the properties in the model are valid
299
235
  # @return true if the model is valid
300
236
  def valid?
301
- return false if !@product_code.nil? && @product_code.to_s.length > 255
302
- return false if !@product_name.nil? && @product_name.to_s.length > 255
303
- return false if !@product_sku.nil? && @product_sku.to_s.length > 255
304
237
  return false if !@quantity.nil? && @quantity > 999999999
305
238
  return false if !@quantity.nil? && @quantity < 1
306
- return false if !@unit_price.nil? && @unit_price.to_s.length > 15
307
- return false if !@unit_of_measure.nil? && @unit_of_measure.to_s.length > 12
308
- return false if !@total_amount.nil? && @total_amount.to_s.length > 13
309
- return false if !@tax_amount.nil? && @tax_amount.to_s.length > 15
310
- return false if !@tax_rate.nil? && @tax_rate.to_s.length > 7
311
- return false if !@tax_applied_after_discount.nil? && @tax_applied_after_discount.to_s.length > 1
312
- return false if !@tax_status_indicator.nil? && @tax_status_indicator.to_s.length > 1
313
- return false if !@tax_type_code.nil? && @tax_type_code.to_s.length > 4
314
- return false if !@type_of_supply.nil? && @type_of_supply.to_s.length > 2
315
- return false if !@commodity_code.nil? && @commodity_code.to_s.length > 15
316
- return false if !@discount_amount.nil? && @discount_amount.to_s.length > 13
317
- return false if !@discount_rate.nil? && @discount_rate.to_s.length > 6
318
- return false if !@invoice_number.nil? && @invoice_number.to_s.length > 23
319
239
  true
320
240
  end
321
241
 
322
242
  # Custom attribute writer method with validation
323
243
  # @param [Object] product_code Value to be assigned
324
244
  def product_code=(product_code)
325
- if !product_code.nil? && product_code.to_s.length > 255
326
- fail ArgumentError, 'invalid value for "product_code", the character length must be smaller than or equal to 255.'
327
- end
328
-
329
245
  @product_code = product_code
330
246
  end
331
247
 
332
248
  # Custom attribute writer method with validation
333
249
  # @param [Object] product_name Value to be assigned
334
250
  def product_name=(product_name)
335
- if !product_name.nil? && product_name.to_s.length > 255
336
- fail ArgumentError, 'invalid value for "product_name", the character length must be smaller than or equal to 255.'
337
- end
338
-
339
251
  @product_name = product_name
340
252
  end
341
253
 
342
254
  # Custom attribute writer method with validation
343
255
  # @param [Object] product_sku Value to be assigned
344
256
  def product_sku=(product_sku)
345
- if !product_sku.nil? && product_sku.to_s.length > 255
346
- fail ArgumentError, 'invalid value for "product_sku", the character length must be smaller than or equal to 255.'
347
- end
348
-
349
257
  @product_sku = product_sku
350
258
  end
351
259
 
@@ -366,130 +274,78 @@ module CyberSource
366
274
  # Custom attribute writer method with validation
367
275
  # @param [Object] unit_price Value to be assigned
368
276
  def unit_price=(unit_price)
369
- if !unit_price.nil? && unit_price.to_s.length > 15
370
- fail ArgumentError, 'invalid value for "unit_price", the character length must be smaller than or equal to 15.'
371
- end
372
-
373
277
  @unit_price = unit_price
374
278
  end
375
279
 
376
280
  # Custom attribute writer method with validation
377
281
  # @param [Object] unit_of_measure Value to be assigned
378
282
  def unit_of_measure=(unit_of_measure)
379
- if !unit_of_measure.nil? && unit_of_measure.to_s.length > 12
380
- fail ArgumentError, 'invalid value for "unit_of_measure", the character length must be smaller than or equal to 12.'
381
- end
382
-
383
283
  @unit_of_measure = unit_of_measure
384
284
  end
385
285
 
386
286
  # Custom attribute writer method with validation
387
287
  # @param [Object] total_amount Value to be assigned
388
288
  def total_amount=(total_amount)
389
- if !total_amount.nil? && total_amount.to_s.length > 13
390
- fail ArgumentError, 'invalid value for "total_amount", the character length must be smaller than or equal to 13.'
391
- end
392
-
393
289
  @total_amount = total_amount
394
290
  end
395
291
 
396
292
  # Custom attribute writer method with validation
397
293
  # @param [Object] tax_amount Value to be assigned
398
294
  def tax_amount=(tax_amount)
399
- if !tax_amount.nil? && tax_amount.to_s.length > 15
400
- fail ArgumentError, 'invalid value for "tax_amount", the character length must be smaller than or equal to 15.'
401
- end
402
-
403
295
  @tax_amount = tax_amount
404
296
  end
405
297
 
406
298
  # Custom attribute writer method with validation
407
299
  # @param [Object] tax_rate Value to be assigned
408
300
  def tax_rate=(tax_rate)
409
- if !tax_rate.nil? && tax_rate.to_s.length > 7
410
- fail ArgumentError, 'invalid value for "tax_rate", the character length must be smaller than or equal to 7.'
411
- end
412
-
413
301
  @tax_rate = tax_rate
414
302
  end
415
303
 
416
304
  # Custom attribute writer method with validation
417
305
  # @param [Object] tax_applied_after_discount Value to be assigned
418
306
  def tax_applied_after_discount=(tax_applied_after_discount)
419
- if !tax_applied_after_discount.nil? && tax_applied_after_discount.to_s.length > 1
420
- fail ArgumentError, 'invalid value for "tax_applied_after_discount", the character length must be smaller than or equal to 1.'
421
- end
422
-
423
307
  @tax_applied_after_discount = tax_applied_after_discount
424
308
  end
425
309
 
426
310
  # Custom attribute writer method with validation
427
311
  # @param [Object] tax_status_indicator Value to be assigned
428
312
  def tax_status_indicator=(tax_status_indicator)
429
- if !tax_status_indicator.nil? && tax_status_indicator.to_s.length > 1
430
- fail ArgumentError, 'invalid value for "tax_status_indicator", the character length must be smaller than or equal to 1.'
431
- end
432
-
433
313
  @tax_status_indicator = tax_status_indicator
434
314
  end
435
315
 
436
316
  # Custom attribute writer method with validation
437
317
  # @param [Object] tax_type_code Value to be assigned
438
318
  def tax_type_code=(tax_type_code)
439
- if !tax_type_code.nil? && tax_type_code.to_s.length > 4
440
- fail ArgumentError, 'invalid value for "tax_type_code", the character length must be smaller than or equal to 4.'
441
- end
442
-
443
319
  @tax_type_code = tax_type_code
444
320
  end
445
321
 
446
322
  # Custom attribute writer method with validation
447
323
  # @param [Object] type_of_supply Value to be assigned
448
324
  def type_of_supply=(type_of_supply)
449
- if !type_of_supply.nil? && type_of_supply.to_s.length > 2
450
- fail ArgumentError, 'invalid value for "type_of_supply", the character length must be smaller than or equal to 2.'
451
- end
452
-
453
325
  @type_of_supply = type_of_supply
454
326
  end
455
327
 
456
328
  # Custom attribute writer method with validation
457
329
  # @param [Object] commodity_code Value to be assigned
458
330
  def commodity_code=(commodity_code)
459
- if !commodity_code.nil? && commodity_code.to_s.length > 15
460
- fail ArgumentError, 'invalid value for "commodity_code", the character length must be smaller than or equal to 15.'
461
- end
462
-
463
331
  @commodity_code = commodity_code
464
332
  end
465
333
 
466
334
  # Custom attribute writer method with validation
467
335
  # @param [Object] discount_amount Value to be assigned
468
336
  def discount_amount=(discount_amount)
469
- if !discount_amount.nil? && discount_amount.to_s.length > 13
470
- fail ArgumentError, 'invalid value for "discount_amount", the character length must be smaller than or equal to 13.'
471
- end
472
-
473
337
  @discount_amount = discount_amount
474
338
  end
475
339
 
476
340
  # Custom attribute writer method with validation
477
341
  # @param [Object] discount_rate Value to be assigned
478
342
  def discount_rate=(discount_rate)
479
- if !discount_rate.nil? && discount_rate.to_s.length > 6
480
- fail ArgumentError, 'invalid value for "discount_rate", the character length must be smaller than or equal to 6.'
481
- end
482
-
483
343
  @discount_rate = discount_rate
484
344
  end
485
345
 
486
346
  # Custom attribute writer method with validation
487
347
  # @param [Object] invoice_number Value to be assigned
488
348
  def invoice_number=(invoice_number)
489
- if !invoice_number.nil? && invoice_number.to_s.length > 23
490
- fail ArgumentError, 'invalid value for "invoice_number", the character length must be smaller than or equal to 23.'
491
- end
492
-
493
349
  @invoice_number = invoice_number
494
350
  end
495
351
 
@@ -129,147 +129,66 @@ module CyberSource
129
129
  # @return Array for valid properties with the reasons
130
130
  def list_invalid_properties
131
131
  invalid_properties = Array.new
132
- if !@number.nil? && @number.to_s.length > 20
133
- invalid_properties.push('invalid value for "number", the character length must be smaller than or equal to 20.')
134
- end
135
-
136
- if !@expiration_month.nil? && @expiration_month.to_s.length > 2
137
- invalid_properties.push('invalid value for "expiration_month", the character length must be smaller than or equal to 2.')
138
- end
139
-
140
- if !@expiration_year.nil? && @expiration_year.to_s.length > 4
141
- invalid_properties.push('invalid value for "expiration_year", the character length must be smaller than or equal to 4.')
142
- end
143
-
144
- if !@account_encoder_id.nil? && @account_encoder_id.to_s.length > 3
145
- invalid_properties.push('invalid value for "account_encoder_id", the character length must be smaller than or equal to 3.')
146
- end
147
-
148
- if !@issue_number.nil? && @issue_number.to_s.length > 5
149
- invalid_properties.push('invalid value for "issue_number", the character length must be smaller than or equal to 5.')
150
- end
151
-
152
- if !@start_month.nil? && @start_month.to_s.length > 2
153
- invalid_properties.push('invalid value for "start_month", the character length must be smaller than or equal to 2.')
154
- end
155
-
156
- if !@start_year.nil? && @start_year.to_s.length > 4
157
- invalid_properties.push('invalid value for "start_year", the character length must be smaller than or equal to 4.')
158
- end
159
-
160
- if !@source_account_type.nil? && @source_account_type.to_s.length > 20
161
- invalid_properties.push('invalid value for "source_account_type", the character length must be smaller than or equal to 20.')
162
- end
163
-
164
- if !@source_account_type_details.nil? && @source_account_type_details.to_s.length > 4
165
- invalid_properties.push('invalid value for "source_account_type_details", the character length must be smaller than or equal to 4.')
166
- end
167
-
168
132
  invalid_properties
169
133
  end
170
134
 
171
135
  # Check to see if the all the properties in the model are valid
172
136
  # @return true if the model is valid
173
137
  def valid?
174
- return false if !@number.nil? && @number.to_s.length > 20
175
- return false if !@expiration_month.nil? && @expiration_month.to_s.length > 2
176
- return false if !@expiration_year.nil? && @expiration_year.to_s.length > 4
177
- return false if !@account_encoder_id.nil? && @account_encoder_id.to_s.length > 3
178
- return false if !@issue_number.nil? && @issue_number.to_s.length > 5
179
- return false if !@start_month.nil? && @start_month.to_s.length > 2
180
- return false if !@start_year.nil? && @start_year.to_s.length > 4
181
- return false if !@source_account_type.nil? && @source_account_type.to_s.length > 20
182
- return false if !@source_account_type_details.nil? && @source_account_type_details.to_s.length > 4
183
138
  true
184
139
  end
185
140
 
186
141
  # Custom attribute writer method with validation
187
142
  # @param [Object] number Value to be assigned
188
143
  def number=(number)
189
- if !number.nil? && number.to_s.length > 20
190
- fail ArgumentError, 'invalid value for "number", the character length must be smaller than or equal to 20.'
191
- end
192
-
193
144
  @number = number
194
145
  end
195
146
 
196
147
  # Custom attribute writer method with validation
197
148
  # @param [Object] expiration_month Value to be assigned
198
149
  def expiration_month=(expiration_month)
199
- if !expiration_month.nil? && expiration_month.to_s.length > 2
200
- fail ArgumentError, 'invalid value for "expiration_month", the character length must be smaller than or equal to 2.'
201
- end
202
-
203
150
  @expiration_month = expiration_month
204
151
  end
205
152
 
206
153
  # Custom attribute writer method with validation
207
154
  # @param [Object] expiration_year Value to be assigned
208
155
  def expiration_year=(expiration_year)
209
- if !expiration_year.nil? && expiration_year.to_s.length > 4
210
- fail ArgumentError, 'invalid value for "expiration_year", the character length must be smaller than or equal to 4.'
211
- end
212
-
213
156
  @expiration_year = expiration_year
214
157
  end
215
158
 
216
159
  # Custom attribute writer method with validation
217
160
  # @param [Object] account_encoder_id Value to be assigned
218
161
  def account_encoder_id=(account_encoder_id)
219
- if !account_encoder_id.nil? && account_encoder_id.to_s.length > 3
220
- fail ArgumentError, 'invalid value for "account_encoder_id", the character length must be smaller than or equal to 3.'
221
- end
222
-
223
162
  @account_encoder_id = account_encoder_id
224
163
  end
225
164
 
226
165
  # Custom attribute writer method with validation
227
166
  # @param [Object] issue_number Value to be assigned
228
167
  def issue_number=(issue_number)
229
- if !issue_number.nil? && issue_number.to_s.length > 5
230
- fail ArgumentError, 'invalid value for "issue_number", the character length must be smaller than or equal to 5.'
231
- end
232
-
233
168
  @issue_number = issue_number
234
169
  end
235
170
 
236
171
  # Custom attribute writer method with validation
237
172
  # @param [Object] start_month Value to be assigned
238
173
  def start_month=(start_month)
239
- if !start_month.nil? && start_month.to_s.length > 2
240
- fail ArgumentError, 'invalid value for "start_month", the character length must be smaller than or equal to 2.'
241
- end
242
-
243
174
  @start_month = start_month
244
175
  end
245
176
 
246
177
  # Custom attribute writer method with validation
247
178
  # @param [Object] start_year Value to be assigned
248
179
  def start_year=(start_year)
249
- if !start_year.nil? && start_year.to_s.length > 4
250
- fail ArgumentError, 'invalid value for "start_year", the character length must be smaller than or equal to 4.'
251
- end
252
-
253
180
  @start_year = start_year
254
181
  end
255
182
 
256
183
  # Custom attribute writer method with validation
257
184
  # @param [Object] source_account_type Value to be assigned
258
185
  def source_account_type=(source_account_type)
259
- if !source_account_type.nil? && source_account_type.to_s.length > 20
260
- fail ArgumentError, 'invalid value for "source_account_type", the character length must be smaller than or equal to 20.'
261
- end
262
-
263
186
  @source_account_type = source_account_type
264
187
  end
265
188
 
266
189
  # Custom attribute writer method with validation
267
190
  # @param [Object] source_account_type_details Value to be assigned
268
191
  def source_account_type_details=(source_account_type_details)
269
- if !source_account_type_details.nil? && source_account_type_details.to_s.length > 4
270
- fail ArgumentError, 'invalid value for "source_account_type_details", the character length must be smaller than or equal to 4.'
271
- end
272
-
273
192
  @source_account_type_details = source_account_type_details
274
193
  end
275
194