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
@@ -93,57 +93,30 @@ module CyberSource
93
93
  # @return Array for valid properties with the reasons
94
94
  def list_invalid_properties
95
95
  invalid_properties = Array.new
96
- if !@last_change_date.nil? && @last_change_date.to_s.length > 10
97
- invalid_properties.push('invalid value for "last_change_date", the character length must be smaller than or equal to 10.')
98
- end
99
-
100
- if !@create_date.nil? && @create_date.to_s.length > 10
101
- invalid_properties.push('invalid value for "create_date", the character length must be smaller than or equal to 10.')
102
- end
103
-
104
- if !@password_change_date.nil? && @password_change_date.to_s.length > 10
105
- invalid_properties.push('invalid value for "password_change_date", the character length must be smaller than or equal to 10.')
106
- end
107
-
108
96
  invalid_properties
109
97
  end
110
98
 
111
99
  # Check to see if the all the properties in the model are valid
112
100
  # @return true if the model is valid
113
101
  def valid?
114
- return false if !@last_change_date.nil? && @last_change_date.to_s.length > 10
115
- return false if !@create_date.nil? && @create_date.to_s.length > 10
116
- return false if !@password_change_date.nil? && @password_change_date.to_s.length > 10
117
102
  true
118
103
  end
119
104
 
120
105
  # Custom attribute writer method with validation
121
106
  # @param [Object] last_change_date Value to be assigned
122
107
  def last_change_date=(last_change_date)
123
- if !last_change_date.nil? && last_change_date.to_s.length > 10
124
- fail ArgumentError, 'invalid value for "last_change_date", the character length must be smaller than or equal to 10.'
125
- end
126
-
127
108
  @last_change_date = last_change_date
128
109
  end
129
110
 
130
111
  # Custom attribute writer method with validation
131
112
  # @param [Object] create_date Value to be assigned
132
113
  def create_date=(create_date)
133
- if !create_date.nil? && create_date.to_s.length > 10
134
- fail ArgumentError, 'invalid value for "create_date", the character length must be smaller than or equal to 10.'
135
- end
136
-
137
114
  @create_date = create_date
138
115
  end
139
116
 
140
117
  # Custom attribute writer method with validation
141
118
  # @param [Object] password_change_date Value to be assigned
142
119
  def password_change_date=(password_change_date)
143
- if !password_change_date.nil? && password_change_date.to_s.length > 10
144
- fail ArgumentError, 'invalid value for "password_change_date", the character length must be smaller than or equal to 10.'
145
- end
146
-
147
120
  @password_change_date = password_change_date
148
121
  end
149
122
 
@@ -49,27 +49,18 @@ module CyberSource
49
49
  # @return Array for valid properties with the reasons
50
50
  def list_invalid_properties
51
51
  invalid_properties = Array.new
52
- if !@name.nil? && @name.to_s.length > 30
53
- invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 30.')
54
- end
55
-
56
52
  invalid_properties
57
53
  end
58
54
 
59
55
  # Check to see if the all the properties in the model are valid
60
56
  # @return true if the model is valid
61
57
  def valid?
62
- return false if !@name.nil? && @name.to_s.length > 30
63
58
  true
64
59
  end
65
60
 
66
61
  # Custom attribute writer method with validation
67
62
  # @param [Object] name Value to be assigned
68
63
  def name=(name)
69
- if !name.nil? && name.to_s.length > 30
70
- fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 30.'
71
- end
72
-
73
64
  @name = name
74
65
  end
75
66
 
@@ -73,27 +73,18 @@ module CyberSource
73
73
  # @return Array for valid properties with the reasons
74
74
  def list_invalid_properties
75
75
  invalid_properties = Array.new
76
- if !@jti.nil? && @jti.to_s.length > 64
77
- invalid_properties.push('invalid value for "jti", the character length must be smaller than or equal to 64.')
78
- end
79
-
80
76
  invalid_properties
81
77
  end
82
78
 
83
79
  # Check to see if the all the properties in the model are valid
84
80
  # @return true if the model is valid
85
81
  def valid?
86
- return false if !@jti.nil? && @jti.to_s.length > 64
87
82
  true
88
83
  end
89
84
 
90
85
  # Custom attribute writer method with validation
91
86
  # @param [Object] jti Value to be assigned
92
87
  def jti=(jti)
93
- if !jti.nil? && jti.to_s.length > 64
94
- fail ArgumentError, 'invalid value for "jti", the character length must be smaller than or equal to 64.'
95
- end
96
-
97
88
  @jti = jti
98
89
  end
99
90
 
@@ -80,27 +80,18 @@ module CyberSource
80
80
  # @return Array for valid properties with the reasons
81
81
  def list_invalid_properties
82
82
  invalid_properties = Array.new
83
- if !@duration.nil? && @duration.to_s.length > 2
84
- invalid_properties.push('invalid value for "duration", the character length must be smaller than or equal to 2.')
85
- end
86
-
87
83
  invalid_properties
88
84
  end
89
85
 
90
86
  # Check to see if the all the properties in the model are valid
91
87
  # @return true if the model is valid
92
88
  def valid?
93
- return false if !@duration.nil? && @duration.to_s.length > 2
94
89
  true
95
90
  end
96
91
 
97
92
  # Custom attribute writer method with validation
98
93
  # @param [Object] duration Value to be assigned
99
94
  def duration=(duration)
100
- if !duration.nil? && duration.to_s.length > 2
101
- fail ArgumentError, 'invalid value for "duration", the character length must be smaller than or equal to 2.'
102
- end
103
-
104
95
  @duration = duration
105
96
  end
106
97
 
@@ -57,42 +57,24 @@ module CyberSource
57
57
  # @return Array for valid properties with the reasons
58
58
  def list_invalid_properties
59
59
  invalid_properties = Array.new
60
- if !@code.nil? && @code.to_s.length > 8
61
- invalid_properties.push('invalid value for "code", the character length must be smaller than or equal to 8.')
62
- end
63
-
64
- if !@name.nil? && @name.to_s.length > 25
65
- invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 25.')
66
- end
67
-
68
60
  invalid_properties
69
61
  end
70
62
 
71
63
  # Check to see if the all the properties in the model are valid
72
64
  # @return true if the model is valid
73
65
  def valid?
74
- return false if !@code.nil? && @code.to_s.length > 8
75
- return false if !@name.nil? && @name.to_s.length > 25
76
66
  true
77
67
  end
78
68
 
79
69
  # Custom attribute writer method with validation
80
70
  # @param [Object] code Value to be assigned
81
71
  def code=(code)
82
- if !code.nil? && code.to_s.length > 8
83
- fail ArgumentError, 'invalid value for "code", the character length must be smaller than or equal to 8.'
84
- end
85
-
86
72
  @code = code
87
73
  end
88
74
 
89
75
  # Custom attribute writer method with validation
90
76
  # @param [Object] name Value to be assigned
91
77
  def name=(name)
92
- if !name.nil? && name.to_s.length > 25
93
- fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 25.'
94
- end
95
-
96
78
  @name = name
97
79
  end
98
80
 
@@ -414,567 +414,234 @@ module CyberSource
414
414
  # @return Array for valid properties with the reasons
415
415
  def list_invalid_properties
416
416
  invalid_properties = Array.new
417
- if !@customer_name.nil? && @customer_name.to_s.length > 40
418
- invalid_properties.push('invalid value for "customer_name", the character length must be smaller than or equal to 40.')
419
- end
420
-
421
- if !@vehicle_class.nil? && @vehicle_class.to_s.length > 4
422
- invalid_properties.push('invalid value for "vehicle_class", the character length must be smaller than or equal to 4.')
423
- end
424
-
425
- if !@distance_travelled.nil? && @distance_travelled.to_s.length > 5
426
- invalid_properties.push('invalid value for "distance_travelled", the character length must be smaller than or equal to 5.')
427
- end
428
-
429
- if !@distance_unit.nil? && @distance_unit.to_s.length > 1
430
- invalid_properties.push('invalid value for "distance_unit", the character length must be smaller than or equal to 1.')
431
- end
432
-
433
- if !@return_date_time.nil? && @return_date_time.to_s.length > 21
434
- invalid_properties.push('invalid value for "return_date_time", the character length must be smaller than or equal to 21.')
435
- end
436
-
437
- if !@rental_date_time.nil? && @rental_date_time.to_s.length > 21
438
- invalid_properties.push('invalid value for "rental_date_time", the character length must be smaller than or equal to 21.')
439
- end
440
-
441
- if !@max_free_distance.nil? && @max_free_distance.to_s.length > 4
442
- invalid_properties.push('invalid value for "max_free_distance", the character length must be smaller than or equal to 4.')
443
- end
444
-
445
- if !@program_code.nil? && @program_code.to_s.length > 2
446
- invalid_properties.push('invalid value for "program_code", the character length must be smaller than or equal to 2.')
447
- end
448
-
449
- if !@agreement_number.nil? && @agreement_number.to_s.length > 25
450
- invalid_properties.push('invalid value for "agreement_number", the character length must be smaller than or equal to 25.')
451
- end
452
-
453
- if !@odometer_reading.nil? && @odometer_reading.to_s.length > 8
454
- invalid_properties.push('invalid value for "odometer_reading", the character length must be smaller than or equal to 8.')
455
- end
456
-
457
- if !@vehicle_identification_number.nil? && @vehicle_identification_number.to_s.length > 20
458
- invalid_properties.push('invalid value for "vehicle_identification_number", the character length must be smaller than or equal to 20.')
459
- end
460
-
461
- if !@company_id.nil? && @company_id.to_s.length > 12
462
- invalid_properties.push('invalid value for "company_id", the character length must be smaller than or equal to 12.')
463
- end
464
-
465
- if !@number_of_additional_drivers.nil? && @number_of_additional_drivers.to_s.length > 1
466
- invalid_properties.push('invalid value for "number_of_additional_drivers", the character length must be smaller than or equal to 1.')
467
- end
468
-
469
- if !@driver_age.nil? && @driver_age.to_s.length > 3
470
- invalid_properties.push('invalid value for "driver_age", the character length must be smaller than or equal to 3.')
471
- end
472
-
473
- if !@special_program_code.nil? && @special_program_code.to_s.length > 2
474
- invalid_properties.push('invalid value for "special_program_code", the character length must be smaller than or equal to 2.')
475
- end
476
-
477
- if !@vehicle_make.nil? && @vehicle_make.to_s.length > 10
478
- invalid_properties.push('invalid value for "vehicle_make", the character length must be smaller than or equal to 10.')
479
- end
480
-
481
- if !@vehicle_model.nil? && @vehicle_model.to_s.length > 10
482
- invalid_properties.push('invalid value for "vehicle_model", the character length must be smaller than or equal to 10.')
483
- end
484
-
485
- if !@time_period.nil? && @time_period.to_s.length > 7
486
- invalid_properties.push('invalid value for "time_period", the character length must be smaller than or equal to 7.')
487
- end
488
-
489
- if !@commodity_code.nil? && @commodity_code.to_s.length > 15
490
- invalid_properties.push('invalid value for "commodity_code", the character length must be smaller than or equal to 15.')
491
- end
492
-
493
- if !@customer_service_phone_number.nil? && @customer_service_phone_number.to_s.length > 17
494
- invalid_properties.push('invalid value for "customer_service_phone_number", the character length must be smaller than or equal to 17.')
495
- end
496
-
497
- if !@insurance_amount.nil? && @insurance_amount.to_s.length > 12
498
- invalid_properties.push('invalid value for "insurance_amount", the character length must be smaller than or equal to 12.')
499
- end
500
-
501
- if !@one_way_drop_off_amount.nil? && @one_way_drop_off_amount.to_s.length > 12
502
- invalid_properties.push('invalid value for "one_way_drop_off_amount", the character length must be smaller than or equal to 12.')
503
- end
504
-
505
- if !@adjusted_amount_indicator.nil? && @adjusted_amount_indicator.to_s.length > 1
506
- invalid_properties.push('invalid value for "adjusted_amount_indicator", the character length must be smaller than or equal to 1.')
507
- end
508
-
509
- if !@adjusted_amount.nil? && @adjusted_amount.to_s.length > 12
510
- invalid_properties.push('invalid value for "adjusted_amount", the character length must be smaller than or equal to 12.')
511
- end
512
-
513
- if !@fuel_charges.nil? && @fuel_charges.to_s.length > 12
514
- invalid_properties.push('invalid value for "fuel_charges", the character length must be smaller than or equal to 12.')
515
- end
516
-
517
- if !@weekly_rental_rate.nil? && @weekly_rental_rate.to_s.length > 12
518
- invalid_properties.push('invalid value for "weekly_rental_rate", the character length must be smaller than or equal to 12.')
519
- end
520
-
521
- if !@daily_rental_rate.nil? && @daily_rental_rate.to_s.length > 12
522
- invalid_properties.push('invalid value for "daily_rental_rate", the character length must be smaller than or equal to 12.')
523
- end
524
-
525
- if !@rate_per_mile.nil? && @rate_per_mile.to_s.length > 12
526
- invalid_properties.push('invalid value for "rate_per_mile", the character length must be smaller than or equal to 12.')
527
- end
528
-
529
- if !@mileage_charge.nil? && @mileage_charge.to_s.length > 12
530
- invalid_properties.push('invalid value for "mileage_charge", the character length must be smaller than or equal to 12.')
531
- end
532
-
533
- if !@extra_mileage_charge.nil? && @extra_mileage_charge.to_s.length > 12
534
- invalid_properties.push('invalid value for "extra_mileage_charge", the character length must be smaller than or equal to 12.')
535
- end
536
-
537
- if !@late_fee_amount.nil? && @late_fee_amount.to_s.length > 12
538
- invalid_properties.push('invalid value for "late_fee_amount", the character length must be smaller than or equal to 12.')
539
- end
540
-
541
- if !@towing_charge.nil? && @towing_charge.to_s.length > 4
542
- invalid_properties.push('invalid value for "towing_charge", the character length must be smaller than or equal to 4.')
543
- end
544
-
545
- if !@extra_charge.nil? && @extra_charge.to_s.length > 12
546
- invalid_properties.push('invalid value for "extra_charge", the character length must be smaller than or equal to 12.')
547
- end
548
-
549
- if !@gps_charge.nil? && @gps_charge.to_s.length > 12
550
- invalid_properties.push('invalid value for "gps_charge", the character length must be smaller than or equal to 12.')
551
- end
552
-
553
- if !@phone_charge.nil? && @phone_charge.to_s.length > 12
554
- invalid_properties.push('invalid value for "phone_charge", the character length must be smaller than or equal to 12.')
555
- end
556
-
557
- if !@parking_violation_charge.nil? && @parking_violation_charge.to_s.length > 12
558
- invalid_properties.push('invalid value for "parking_violation_charge", the character length must be smaller than or equal to 12.')
559
- end
560
-
561
- if !@other_charges.nil? && @other_charges.to_s.length > 12
562
- invalid_properties.push('invalid value for "other_charges", the character length must be smaller than or equal to 12.')
563
- end
564
-
565
417
  invalid_properties
566
418
  end
567
419
 
568
420
  # Check to see if the all the properties in the model are valid
569
421
  # @return true if the model is valid
570
422
  def valid?
571
- return false if !@customer_name.nil? && @customer_name.to_s.length > 40
572
- return false if !@vehicle_class.nil? && @vehicle_class.to_s.length > 4
573
- return false if !@distance_travelled.nil? && @distance_travelled.to_s.length > 5
574
- return false if !@distance_unit.nil? && @distance_unit.to_s.length > 1
575
- return false if !@return_date_time.nil? && @return_date_time.to_s.length > 21
576
- return false if !@rental_date_time.nil? && @rental_date_time.to_s.length > 21
577
- return false if !@max_free_distance.nil? && @max_free_distance.to_s.length > 4
578
- return false if !@program_code.nil? && @program_code.to_s.length > 2
579
- return false if !@agreement_number.nil? && @agreement_number.to_s.length > 25
580
- return false if !@odometer_reading.nil? && @odometer_reading.to_s.length > 8
581
- return false if !@vehicle_identification_number.nil? && @vehicle_identification_number.to_s.length > 20
582
- return false if !@company_id.nil? && @company_id.to_s.length > 12
583
- return false if !@number_of_additional_drivers.nil? && @number_of_additional_drivers.to_s.length > 1
584
- return false if !@driver_age.nil? && @driver_age.to_s.length > 3
585
- return false if !@special_program_code.nil? && @special_program_code.to_s.length > 2
586
- return false if !@vehicle_make.nil? && @vehicle_make.to_s.length > 10
587
- return false if !@vehicle_model.nil? && @vehicle_model.to_s.length > 10
588
- return false if !@time_period.nil? && @time_period.to_s.length > 7
589
- return false if !@commodity_code.nil? && @commodity_code.to_s.length > 15
590
- return false if !@customer_service_phone_number.nil? && @customer_service_phone_number.to_s.length > 17
591
- return false if !@insurance_amount.nil? && @insurance_amount.to_s.length > 12
592
- return false if !@one_way_drop_off_amount.nil? && @one_way_drop_off_amount.to_s.length > 12
593
- return false if !@adjusted_amount_indicator.nil? && @adjusted_amount_indicator.to_s.length > 1
594
- return false if !@adjusted_amount.nil? && @adjusted_amount.to_s.length > 12
595
- return false if !@fuel_charges.nil? && @fuel_charges.to_s.length > 12
596
- return false if !@weekly_rental_rate.nil? && @weekly_rental_rate.to_s.length > 12
597
- return false if !@daily_rental_rate.nil? && @daily_rental_rate.to_s.length > 12
598
- return false if !@rate_per_mile.nil? && @rate_per_mile.to_s.length > 12
599
- return false if !@mileage_charge.nil? && @mileage_charge.to_s.length > 12
600
- return false if !@extra_mileage_charge.nil? && @extra_mileage_charge.to_s.length > 12
601
- return false if !@late_fee_amount.nil? && @late_fee_amount.to_s.length > 12
602
- return false if !@towing_charge.nil? && @towing_charge.to_s.length > 4
603
- return false if !@extra_charge.nil? && @extra_charge.to_s.length > 12
604
- return false if !@gps_charge.nil? && @gps_charge.to_s.length > 12
605
- return false if !@phone_charge.nil? && @phone_charge.to_s.length > 12
606
- return false if !@parking_violation_charge.nil? && @parking_violation_charge.to_s.length > 12
607
- return false if !@other_charges.nil? && @other_charges.to_s.length > 12
608
423
  true
609
424
  end
610
425
 
611
426
  # Custom attribute writer method with validation
612
427
  # @param [Object] customer_name Value to be assigned
613
428
  def customer_name=(customer_name)
614
- if !customer_name.nil? && customer_name.to_s.length > 40
615
- fail ArgumentError, 'invalid value for "customer_name", the character length must be smaller than or equal to 40.'
616
- end
617
-
618
429
  @customer_name = customer_name
619
430
  end
620
431
 
621
432
  # Custom attribute writer method with validation
622
433
  # @param [Object] vehicle_class Value to be assigned
623
434
  def vehicle_class=(vehicle_class)
624
- if !vehicle_class.nil? && vehicle_class.to_s.length > 4
625
- fail ArgumentError, 'invalid value for "vehicle_class", the character length must be smaller than or equal to 4.'
626
- end
627
-
628
435
  @vehicle_class = vehicle_class
629
436
  end
630
437
 
631
438
  # Custom attribute writer method with validation
632
439
  # @param [Object] distance_travelled Value to be assigned
633
440
  def distance_travelled=(distance_travelled)
634
- if !distance_travelled.nil? && distance_travelled.to_s.length > 5
635
- fail ArgumentError, 'invalid value for "distance_travelled", the character length must be smaller than or equal to 5.'
636
- end
637
-
638
441
  @distance_travelled = distance_travelled
639
442
  end
640
443
 
641
444
  # Custom attribute writer method with validation
642
445
  # @param [Object] distance_unit Value to be assigned
643
446
  def distance_unit=(distance_unit)
644
- if !distance_unit.nil? && distance_unit.to_s.length > 1
645
- fail ArgumentError, 'invalid value for "distance_unit", the character length must be smaller than or equal to 1.'
646
- end
647
-
648
447
  @distance_unit = distance_unit
649
448
  end
650
449
 
651
450
  # Custom attribute writer method with validation
652
451
  # @param [Object] return_date_time Value to be assigned
653
452
  def return_date_time=(return_date_time)
654
- if !return_date_time.nil? && return_date_time.to_s.length > 21
655
- fail ArgumentError, 'invalid value for "return_date_time", the character length must be smaller than or equal to 21.'
656
- end
657
-
658
453
  @return_date_time = return_date_time
659
454
  end
660
455
 
661
456
  # Custom attribute writer method with validation
662
457
  # @param [Object] rental_date_time Value to be assigned
663
458
  def rental_date_time=(rental_date_time)
664
- if !rental_date_time.nil? && rental_date_time.to_s.length > 21
665
- fail ArgumentError, 'invalid value for "rental_date_time", the character length must be smaller than or equal to 21.'
666
- end
667
-
668
459
  @rental_date_time = rental_date_time
669
460
  end
670
461
 
671
462
  # Custom attribute writer method with validation
672
463
  # @param [Object] max_free_distance Value to be assigned
673
464
  def max_free_distance=(max_free_distance)
674
- if !max_free_distance.nil? && max_free_distance.to_s.length > 4
675
- fail ArgumentError, 'invalid value for "max_free_distance", the character length must be smaller than or equal to 4.'
676
- end
677
-
678
465
  @max_free_distance = max_free_distance
679
466
  end
680
467
 
681
468
  # Custom attribute writer method with validation
682
469
  # @param [Object] program_code Value to be assigned
683
470
  def program_code=(program_code)
684
- if !program_code.nil? && program_code.to_s.length > 2
685
- fail ArgumentError, 'invalid value for "program_code", the character length must be smaller than or equal to 2.'
686
- end
687
-
688
471
  @program_code = program_code
689
472
  end
690
473
 
691
474
  # Custom attribute writer method with validation
692
475
  # @param [Object] agreement_number Value to be assigned
693
476
  def agreement_number=(agreement_number)
694
- if !agreement_number.nil? && agreement_number.to_s.length > 25
695
- fail ArgumentError, 'invalid value for "agreement_number", the character length must be smaller than or equal to 25.'
696
- end
697
-
698
477
  @agreement_number = agreement_number
699
478
  end
700
479
 
701
480
  # Custom attribute writer method with validation
702
481
  # @param [Object] odometer_reading Value to be assigned
703
482
  def odometer_reading=(odometer_reading)
704
- if !odometer_reading.nil? && odometer_reading.to_s.length > 8
705
- fail ArgumentError, 'invalid value for "odometer_reading", the character length must be smaller than or equal to 8.'
706
- end
707
-
708
483
  @odometer_reading = odometer_reading
709
484
  end
710
485
 
711
486
  # Custom attribute writer method with validation
712
487
  # @param [Object] vehicle_identification_number Value to be assigned
713
488
  def vehicle_identification_number=(vehicle_identification_number)
714
- if !vehicle_identification_number.nil? && vehicle_identification_number.to_s.length > 20
715
- fail ArgumentError, 'invalid value for "vehicle_identification_number", the character length must be smaller than or equal to 20.'
716
- end
717
-
718
489
  @vehicle_identification_number = vehicle_identification_number
719
490
  end
720
491
 
721
492
  # Custom attribute writer method with validation
722
493
  # @param [Object] company_id Value to be assigned
723
494
  def company_id=(company_id)
724
- if !company_id.nil? && company_id.to_s.length > 12
725
- fail ArgumentError, 'invalid value for "company_id", the character length must be smaller than or equal to 12.'
726
- end
727
-
728
495
  @company_id = company_id
729
496
  end
730
497
 
731
498
  # Custom attribute writer method with validation
732
499
  # @param [Object] number_of_additional_drivers Value to be assigned
733
500
  def number_of_additional_drivers=(number_of_additional_drivers)
734
- if !number_of_additional_drivers.nil? && number_of_additional_drivers.to_s.length > 1
735
- fail ArgumentError, 'invalid value for "number_of_additional_drivers", the character length must be smaller than or equal to 1.'
736
- end
737
-
738
501
  @number_of_additional_drivers = number_of_additional_drivers
739
502
  end
740
503
 
741
504
  # Custom attribute writer method with validation
742
505
  # @param [Object] driver_age Value to be assigned
743
506
  def driver_age=(driver_age)
744
- if !driver_age.nil? && driver_age.to_s.length > 3
745
- fail ArgumentError, 'invalid value for "driver_age", the character length must be smaller than or equal to 3.'
746
- end
747
-
748
507
  @driver_age = driver_age
749
508
  end
750
509
 
751
510
  # Custom attribute writer method with validation
752
511
  # @param [Object] special_program_code Value to be assigned
753
512
  def special_program_code=(special_program_code)
754
- if !special_program_code.nil? && special_program_code.to_s.length > 2
755
- fail ArgumentError, 'invalid value for "special_program_code", the character length must be smaller than or equal to 2.'
756
- end
757
-
758
513
  @special_program_code = special_program_code
759
514
  end
760
515
 
761
516
  # Custom attribute writer method with validation
762
517
  # @param [Object] vehicle_make Value to be assigned
763
518
  def vehicle_make=(vehicle_make)
764
- if !vehicle_make.nil? && vehicle_make.to_s.length > 10
765
- fail ArgumentError, 'invalid value for "vehicle_make", the character length must be smaller than or equal to 10.'
766
- end
767
-
768
519
  @vehicle_make = vehicle_make
769
520
  end
770
521
 
771
522
  # Custom attribute writer method with validation
772
523
  # @param [Object] vehicle_model Value to be assigned
773
524
  def vehicle_model=(vehicle_model)
774
- if !vehicle_model.nil? && vehicle_model.to_s.length > 10
775
- fail ArgumentError, 'invalid value for "vehicle_model", the character length must be smaller than or equal to 10.'
776
- end
777
-
778
525
  @vehicle_model = vehicle_model
779
526
  end
780
527
 
781
528
  # Custom attribute writer method with validation
782
529
  # @param [Object] time_period Value to be assigned
783
530
  def time_period=(time_period)
784
- if !time_period.nil? && time_period.to_s.length > 7
785
- fail ArgumentError, 'invalid value for "time_period", the character length must be smaller than or equal to 7.'
786
- end
787
-
788
531
  @time_period = time_period
789
532
  end
790
533
 
791
534
  # Custom attribute writer method with validation
792
535
  # @param [Object] commodity_code Value to be assigned
793
536
  def commodity_code=(commodity_code)
794
- if !commodity_code.nil? && commodity_code.to_s.length > 15
795
- fail ArgumentError, 'invalid value for "commodity_code", the character length must be smaller than or equal to 15.'
796
- end
797
-
798
537
  @commodity_code = commodity_code
799
538
  end
800
539
 
801
540
  # Custom attribute writer method with validation
802
541
  # @param [Object] customer_service_phone_number Value to be assigned
803
542
  def customer_service_phone_number=(customer_service_phone_number)
804
- if !customer_service_phone_number.nil? && customer_service_phone_number.to_s.length > 17
805
- fail ArgumentError, 'invalid value for "customer_service_phone_number", the character length must be smaller than or equal to 17.'
806
- end
807
-
808
543
  @customer_service_phone_number = customer_service_phone_number
809
544
  end
810
545
 
811
546
  # Custom attribute writer method with validation
812
547
  # @param [Object] insurance_amount Value to be assigned
813
548
  def insurance_amount=(insurance_amount)
814
- if !insurance_amount.nil? && insurance_amount.to_s.length > 12
815
- fail ArgumentError, 'invalid value for "insurance_amount", the character length must be smaller than or equal to 12.'
816
- end
817
-
818
549
  @insurance_amount = insurance_amount
819
550
  end
820
551
 
821
552
  # Custom attribute writer method with validation
822
553
  # @param [Object] one_way_drop_off_amount Value to be assigned
823
554
  def one_way_drop_off_amount=(one_way_drop_off_amount)
824
- if !one_way_drop_off_amount.nil? && one_way_drop_off_amount.to_s.length > 12
825
- fail ArgumentError, 'invalid value for "one_way_drop_off_amount", the character length must be smaller than or equal to 12.'
826
- end
827
-
828
555
  @one_way_drop_off_amount = one_way_drop_off_amount
829
556
  end
830
557
 
831
558
  # Custom attribute writer method with validation
832
559
  # @param [Object] adjusted_amount_indicator Value to be assigned
833
560
  def adjusted_amount_indicator=(adjusted_amount_indicator)
834
- if !adjusted_amount_indicator.nil? && adjusted_amount_indicator.to_s.length > 1
835
- fail ArgumentError, 'invalid value for "adjusted_amount_indicator", the character length must be smaller than or equal to 1.'
836
- end
837
-
838
561
  @adjusted_amount_indicator = adjusted_amount_indicator
839
562
  end
840
563
 
841
564
  # Custom attribute writer method with validation
842
565
  # @param [Object] adjusted_amount Value to be assigned
843
566
  def adjusted_amount=(adjusted_amount)
844
- if !adjusted_amount.nil? && adjusted_amount.to_s.length > 12
845
- fail ArgumentError, 'invalid value for "adjusted_amount", the character length must be smaller than or equal to 12.'
846
- end
847
-
848
567
  @adjusted_amount = adjusted_amount
849
568
  end
850
569
 
851
570
  # Custom attribute writer method with validation
852
571
  # @param [Object] fuel_charges Value to be assigned
853
572
  def fuel_charges=(fuel_charges)
854
- if !fuel_charges.nil? && fuel_charges.to_s.length > 12
855
- fail ArgumentError, 'invalid value for "fuel_charges", the character length must be smaller than or equal to 12.'
856
- end
857
-
858
573
  @fuel_charges = fuel_charges
859
574
  end
860
575
 
861
576
  # Custom attribute writer method with validation
862
577
  # @param [Object] weekly_rental_rate Value to be assigned
863
578
  def weekly_rental_rate=(weekly_rental_rate)
864
- if !weekly_rental_rate.nil? && weekly_rental_rate.to_s.length > 12
865
- fail ArgumentError, 'invalid value for "weekly_rental_rate", the character length must be smaller than or equal to 12.'
866
- end
867
-
868
579
  @weekly_rental_rate = weekly_rental_rate
869
580
  end
870
581
 
871
582
  # Custom attribute writer method with validation
872
583
  # @param [Object] daily_rental_rate Value to be assigned
873
584
  def daily_rental_rate=(daily_rental_rate)
874
- if !daily_rental_rate.nil? && daily_rental_rate.to_s.length > 12
875
- fail ArgumentError, 'invalid value for "daily_rental_rate", the character length must be smaller than or equal to 12.'
876
- end
877
-
878
585
  @daily_rental_rate = daily_rental_rate
879
586
  end
880
587
 
881
588
  # Custom attribute writer method with validation
882
589
  # @param [Object] rate_per_mile Value to be assigned
883
590
  def rate_per_mile=(rate_per_mile)
884
- if !rate_per_mile.nil? && rate_per_mile.to_s.length > 12
885
- fail ArgumentError, 'invalid value for "rate_per_mile", the character length must be smaller than or equal to 12.'
886
- end
887
-
888
591
  @rate_per_mile = rate_per_mile
889
592
  end
890
593
 
891
594
  # Custom attribute writer method with validation
892
595
  # @param [Object] mileage_charge Value to be assigned
893
596
  def mileage_charge=(mileage_charge)
894
- if !mileage_charge.nil? && mileage_charge.to_s.length > 12
895
- fail ArgumentError, 'invalid value for "mileage_charge", the character length must be smaller than or equal to 12.'
896
- end
897
-
898
597
  @mileage_charge = mileage_charge
899
598
  end
900
599
 
901
600
  # Custom attribute writer method with validation
902
601
  # @param [Object] extra_mileage_charge Value to be assigned
903
602
  def extra_mileage_charge=(extra_mileage_charge)
904
- if !extra_mileage_charge.nil? && extra_mileage_charge.to_s.length > 12
905
- fail ArgumentError, 'invalid value for "extra_mileage_charge", the character length must be smaller than or equal to 12.'
906
- end
907
-
908
603
  @extra_mileage_charge = extra_mileage_charge
909
604
  end
910
605
 
911
606
  # Custom attribute writer method with validation
912
607
  # @param [Object] late_fee_amount Value to be assigned
913
608
  def late_fee_amount=(late_fee_amount)
914
- if !late_fee_amount.nil? && late_fee_amount.to_s.length > 12
915
- fail ArgumentError, 'invalid value for "late_fee_amount", the character length must be smaller than or equal to 12.'
916
- end
917
-
918
609
  @late_fee_amount = late_fee_amount
919
610
  end
920
611
 
921
612
  # Custom attribute writer method with validation
922
613
  # @param [Object] towing_charge Value to be assigned
923
614
  def towing_charge=(towing_charge)
924
- if !towing_charge.nil? && towing_charge.to_s.length > 4
925
- fail ArgumentError, 'invalid value for "towing_charge", the character length must be smaller than or equal to 4.'
926
- end
927
-
928
615
  @towing_charge = towing_charge
929
616
  end
930
617
 
931
618
  # Custom attribute writer method with validation
932
619
  # @param [Object] extra_charge Value to be assigned
933
620
  def extra_charge=(extra_charge)
934
- if !extra_charge.nil? && extra_charge.to_s.length > 12
935
- fail ArgumentError, 'invalid value for "extra_charge", the character length must be smaller than or equal to 12.'
936
- end
937
-
938
621
  @extra_charge = extra_charge
939
622
  end
940
623
 
941
624
  # Custom attribute writer method with validation
942
625
  # @param [Object] gps_charge Value to be assigned
943
626
  def gps_charge=(gps_charge)
944
- if !gps_charge.nil? && gps_charge.to_s.length > 12
945
- fail ArgumentError, 'invalid value for "gps_charge", the character length must be smaller than or equal to 12.'
946
- end
947
-
948
627
  @gps_charge = gps_charge
949
628
  end
950
629
 
951
630
  # Custom attribute writer method with validation
952
631
  # @param [Object] phone_charge Value to be assigned
953
632
  def phone_charge=(phone_charge)
954
- if !phone_charge.nil? && phone_charge.to_s.length > 12
955
- fail ArgumentError, 'invalid value for "phone_charge", the character length must be smaller than or equal to 12.'
956
- end
957
-
958
633
  @phone_charge = phone_charge
959
634
  end
960
635
 
961
636
  # Custom attribute writer method with validation
962
637
  # @param [Object] parking_violation_charge Value to be assigned
963
638
  def parking_violation_charge=(parking_violation_charge)
964
- if !parking_violation_charge.nil? && parking_violation_charge.to_s.length > 12
965
- fail ArgumentError, 'invalid value for "parking_violation_charge", the character length must be smaller than or equal to 12.'
966
- end
967
-
968
639
  @parking_violation_charge = parking_violation_charge
969
640
  end
970
641
 
971
642
  # Custom attribute writer method with validation
972
643
  # @param [Object] other_charges Value to be assigned
973
644
  def other_charges=(other_charges)
974
- if !other_charges.nil? && other_charges.to_s.length > 12
975
- fail ArgumentError, 'invalid value for "other_charges", the character length must be smaller than or equal to 12.'
976
- end
977
-
978
645
  @other_charges = other_charges
979
646
  end
980
647