cybersource_rest_client 0.0.26 → 0.0.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (417) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +5 -1
  3. data/lib/AuthenticationSDK/core/MerchantConfig.rb +11 -2
  4. data/lib/AuthenticationSDK/util/Constants.rb +3 -1
  5. data/lib/cybersource_rest_client.rb +11 -11
  6. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
  7. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +92 -5
  8. data/lib/cybersource_rest_client/api_client.rb +3 -3
  9. data/lib/cybersource_rest_client/configuration.rb +2 -2
  10. data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +1 -1
  11. data/lib/cybersource_rest_client/models/create_adhoc_report_request.rb +0 -36
  12. data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +0 -36
  13. data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +13 -4
  14. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +0 -54
  15. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information_header_style.rb +0 -18
  16. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +0 -9
  17. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +0 -9
  18. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +0 -18
  19. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +0 -9
  20. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +0 -9
  21. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +0 -9
  22. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +0 -9
  23. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +0 -36
  24. data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +0 -54
  25. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +0 -18
  26. data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +0 -9
  27. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +0 -27
  28. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +0 -9
  29. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +0 -18
  30. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +0 -27
  31. data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +0 -9
  32. data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +1 -10
  33. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +0 -18
  34. data/lib/cybersource_rest_client/models/patch_customer_request.rb +0 -18
  35. data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +0 -18
  36. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +0 -18
  37. data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +1 -1
  38. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer.rb → payment_instrument_list.rb} +3 -3
  39. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__embedded.rb → payment_instrument_list__embedded.rb} +1 -1
  40. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links.rb → payment_instrument_list__links.rb} +6 -6
  41. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_first.rb → payment_instrument_list__links_first.rb} +1 -1
  42. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_last.rb → payment_instrument_list__links_last.rb} +1 -1
  43. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_next.rb → payment_instrument_list__links_next.rb} +1 -1
  44. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_prev.rb → payment_instrument_list__links_prev.rb} +1 -1
  45. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_self.rb → payment_instrument_list__links_self.rb} +1 -1
  46. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +0 -18
  47. data/lib/cybersource_rest_client/models/post_customer_request.rb +0 -18
  48. data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +0 -18
  49. data/lib/cybersource_rest_client/models/{riskv1addressverifications_client_reference_information.rb → post_instrument_identifier_enrollment_request.rb} +105 -52
  50. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +0 -18
  51. data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +0 -36
  52. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response_transaction_batches.rb +0 -18
  53. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response.rb +0 -18
  54. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +0 -18
  55. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +0 -18
  56. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +0 -9
  57. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb +0 -18
  58. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_client_reference_information.rb +0 -9
  59. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +1 -1
  60. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +0 -9
  61. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +0 -36
  62. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +0 -18
  63. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +0 -18
  64. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +0 -9
  65. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +0 -9
  66. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +0 -18
  67. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +0 -18
  68. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +0 -189
  69. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_ivr.rb +0 -45
  70. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +0 -198
  71. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +0 -36
  72. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +0 -27
  73. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +0 -45
  74. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +0 -153
  75. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features_balances.rb +0 -36
  76. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +0 -9
  77. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +0 -9
  78. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_instrument_identifier.rb +0 -18
  79. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -55
  80. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +0 -18
  81. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +0 -27
  82. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +17 -1
  83. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +0 -18
  84. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +17 -145
  85. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +0 -18
  86. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +0 -18
  87. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +0 -18
  88. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +0 -18
  89. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb +0 -9
  90. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +0 -108
  91. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +0 -18
  92. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +3 -30
  93. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information.rb +0 -9
  94. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_info_codes.rb +21 -9
  95. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_ip_address.rb +0 -63
  96. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_profile.rb +0 -27
  97. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_rules.rb +0 -18
  98. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_score.rb +0 -18
  99. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_actual_final_destination.rb +0 -36
  100. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_departure.rb +0 -36
  101. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_destination.rb +0 -36
  102. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_last_destination.rb +0 -36
  103. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_velocity_morphing.rb +0 -18
  104. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_customer.rb +0 -18
  105. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_instrument_identifier.rb +0 -18
  106. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_payment_instrument.rb +0 -18
  107. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_shipping_address.rb +0 -18
  108. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +0 -18
  109. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +0 -36
  110. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +0 -18
  111. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +0 -18
  112. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb +0 -27
  113. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +0 -9
  114. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +0 -54
  115. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +0 -27
  116. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +0 -9
  117. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +0 -9
  118. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +0 -9
  119. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +0 -18
  120. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +0 -9
  121. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +0 -36
  122. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +0 -45
  123. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +0 -18
  124. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +0 -9
  125. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +1 -109
  126. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +0 -63
  127. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_electronic_benefits_transfer.rb +0 -9
  128. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb +0 -9
  129. data/lib/cybersource_rest_client/models/ptsv2payments_acquirer_information.rb +0 -36
  130. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +0 -18
  131. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +0 -99
  132. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +0 -45
  133. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +0 -9
  134. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +1 -19
  135. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +0 -36
  136. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +34 -371
  137. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +0 -54
  138. data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +11 -100
  139. data/lib/cybersource_rest_client/models/ptsv2payments_device_information_raw_data.rb +0 -9
  140. data/lib/cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details.rb +1 -19
  141. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +0 -90
  142. data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +0 -9
  143. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +0 -18
  144. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +0 -54
  145. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +0 -63
  146. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +0 -27
  147. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +0 -27
  148. data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +0 -18
  149. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +0 -189
  150. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +0 -18
  151. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion.rb +0 -27
  152. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +0 -9
  153. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +0 -45
  154. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +0 -162
  155. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +0 -63
  156. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +0 -72
  157. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +0 -9
  158. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +0 -198
  159. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_passenger.rb +0 -72
  160. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +0 -126
  161. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +0 -18
  162. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +0 -9
  163. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +0 -9
  164. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +0 -45
  165. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +1 -118
  166. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +0 -18
  167. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +0 -27
  168. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_instrument_identifier.rb +0 -18
  169. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_legacy_token.rb +0 -9
  170. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_instrument.rb +0 -18
  171. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_shipping_address.rb +0 -18
  172. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -82
  173. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +0 -144
  174. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +0 -18
  175. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +1 -127
  176. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +7 -43
  177. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +0 -99
  178. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +0 -9
  179. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer.rb +0 -18
  180. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +0 -63
  181. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +0 -18
  182. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb +0 -9
  183. data/lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb +0 -18
  184. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +0 -27
  185. data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +24 -22
  186. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb +0 -9
  187. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_account_history.rb +0 -9
  188. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +0 -27
  189. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_profile.rb +0 -9
  190. data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +14 -13
  191. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +0 -9
  192. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +0 -18
  193. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +0 -333
  194. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_rental_address.rb +0 -63
  195. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_return_address.rb +0 -45
  196. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_tax_details.rb +0 -45
  197. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +0 -351
  198. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +0 -9
  199. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +0 -261
  200. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +0 -36
  201. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +0 -18
  202. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +0 -144
  203. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +0 -63
  204. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +0 -9
  205. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +0 -27
  206. data/lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb +0 -9
  207. data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +0 -18
  208. data/lib/cybersource_rest_client/models/ptsv2paymentsid_travel_information.rb +0 -9
  209. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +0 -18
  210. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +0 -81
  211. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +0 -18
  212. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +0 -27
  213. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +0 -207
  214. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +0 -27
  215. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +0 -162
  216. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +0 -90
  217. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +0 -45
  218. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +0 -27
  219. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +0 -9
  220. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +0 -18
  221. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +0 -9
  222. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +0 -9
  223. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +1 -64
  224. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +0 -27
  225. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +0 -27
  226. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +0 -144
  227. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +1 -82
  228. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +1 -64
  229. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +0 -9
  230. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +0 -27
  231. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_amount_details.rb +0 -9
  232. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +0 -9
  233. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +0 -9
  234. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +1 -46
  235. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +0 -18
  236. data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +0 -9
  237. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +0 -9
  238. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +0 -27
  239. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +0 -18
  240. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +0 -9
  241. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +0 -81
  242. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +1 -37
  243. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +0 -36
  244. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +0 -36
  245. data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +0 -99
  246. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +0 -126
  247. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +0 -27
  248. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_fee_and_funding_details.rb +0 -9
  249. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_others.rb +0 -9
  250. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlement_statuses.rb +0 -9
  251. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +1 -10
  252. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb +0 -18
  253. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +0 -45
  254. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb +0 -9
  255. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb +0 -90
  256. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +1 -10
  257. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +0 -90
  258. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb +10 -10
  259. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +0 -18
  260. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +1 -10
  261. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_error_information.rb +1 -1
  262. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +1 -10
  263. data/lib/cybersource_rest_client/models/{riskv1authenticationsetups_client_reference_information.rb → risk_v1_decisions_post201_response_client_reference_information.rb} +30 -23
  264. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +0 -171
  265. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_error_information.rb +1 -1
  266. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +0 -9
  267. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +0 -45
  268. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +1 -10
  269. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb +0 -9
  270. data/lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb +1 -10
  271. data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +0 -9
  272. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +0 -72
  273. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +0 -45
  274. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +0 -72
  275. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +0 -50
  276. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -18
  277. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +1 -37
  278. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -28
  279. data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +17 -1
  280. data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +0 -81
  281. data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +0 -18
  282. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +0 -18
  283. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +0 -90
  284. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +0 -54
  285. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -37
  286. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -28
  287. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -28
  288. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_customer.rb +0 -9
  289. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +0 -27
  290. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -37
  291. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +1 -19
  292. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +0 -36
  293. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +18 -18
  294. data/lib/cybersource_rest_client/models/{vasv2tax_client_reference_information_partner.rb → riskv1decisions_client_reference_information_partner.rb} +1 -19
  295. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -271
  296. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information_strong_authentication.rb +0 -9
  297. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +11 -100
  298. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_defined_information.rb +0 -18
  299. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +0 -9
  300. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb +0 -9
  301. data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +0 -18
  302. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +0 -18
  303. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +0 -90
  304. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +0 -81
  305. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +0 -99
  306. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +0 -9
  307. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +0 -9
  308. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -37
  309. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -28
  310. data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_avs.rb +0 -9
  311. data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_card_verification.rb +0 -9
  312. data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +0 -9
  313. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +0 -36
  314. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +0 -27
  315. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_passengers.rb +0 -18
  316. data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb +0 -18
  317. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +0 -18
  318. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb +0 -27
  319. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +0 -99
  320. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb +0 -9
  321. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +0 -45
  322. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +0 -27
  323. data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +0 -18
  324. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_address.rb +0 -54
  325. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +0 -99
  326. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +0 -9
  327. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +0 -54
  328. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +0 -36
  329. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -19
  330. data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +0 -27
  331. data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +0 -18
  332. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +0 -18
  333. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bank_account.rb +0 -9
  334. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +0 -54
  335. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +0 -45
  336. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_issuer.rb +0 -9
  337. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bank_account.rb +0 -9
  338. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +0 -99
  339. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +0 -18
  340. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb +0 -9
  341. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb +0 -9
  342. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card.rb +0 -45
  343. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +0 -18
  344. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb +0 -18
  345. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +0 -9
  346. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb +0 -9
  347. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +0 -18
  348. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_ship_to.rb +0 -99
  349. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_merchant_initiated_transaction.rb +0 -9
  350. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +0 -18
  351. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +0 -18
  352. data/lib/cybersource_rest_client/models/tmsv2customers_buyer_information.rb +0 -18
  353. data/lib/cybersource_rest_client/models/tmsv2customers_client_reference_information.rb +0 -9
  354. data/lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb +0 -9
  355. data/lib/cybersource_rest_client/models/tmsv2customers_object_information.rb +0 -18
  356. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +10 -28
  357. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +0 -18
  358. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +0 -18
  359. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +0 -27
  360. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +0 -18
  361. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +0 -54
  362. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +0 -126
  363. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +0 -45
  364. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +0 -90
  365. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +0 -9
  366. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +0 -27
  367. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +0 -27
  368. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +1 -73
  369. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +0 -18
  370. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +18 -20
  371. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +0 -9
  372. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options.rb +0 -36
  373. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +0 -36
  374. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +0 -90
  375. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_multi_processor_routing.rb +0 -18
  376. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_processor.rb +0 -9
  377. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules.rb +0 -18
  378. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +0 -9
  379. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +0 -9
  380. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +0 -9
  381. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +0 -9
  382. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +0 -18
  383. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +0 -9
  384. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +0 -9
  385. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +0 -45
  386. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +0 -45
  387. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +1 -10
  388. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +0 -18
  389. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +0 -9
  390. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -19
  391. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +0 -27
  392. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +0 -9
  393. data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +1 -1
  394. data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +1 -1
  395. data/lib/cybersource_rest_client/models/validate_request.rb +1 -1
  396. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response.rb +0 -9
  397. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information.rb +0 -27
  398. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_jurisdiction.rb +6 -72
  399. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_line_items.rb +0 -27
  400. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_tax_details.rb +0 -18
  401. data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response.rb +0 -9
  402. data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +0 -9
  403. data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +0 -9
  404. data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +1 -10
  405. data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +0 -9
  406. data/lib/cybersource_rest_client/models/vasv2tax_order_information_bill_to.rb +0 -54
  407. data/lib/cybersource_rest_client/models/vasv2tax_order_information_invoice_details.rb +0 -9
  408. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +0 -99
  409. data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_acceptance.rb +0 -36
  410. data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_origin.rb +0 -36
  411. data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +0 -63
  412. data/lib/cybersource_rest_client/models/vasv2tax_order_information_shipping_details.rb +0 -36
  413. data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +0 -18
  414. data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +0 -9
  415. data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information_partner.rb +0 -18
  416. data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +1 -1
  417. metadata +105 -86
@@ -102,117 +102,54 @@ module CyberSource
102
102
  # @return Array for valid properties with the reasons
103
103
  def list_invalid_properties
104
104
  invalid_properties = Array.new
105
- if !@city.nil? && @city.to_s.length > 25
106
- invalid_properties.push('invalid value for "city", the character length must be smaller than or equal to 25.')
107
- end
108
-
109
- if !@state.nil? && @state.to_s.length > 3
110
- invalid_properties.push('invalid value for "state", the character length must be smaller than or equal to 3.')
111
- end
112
-
113
- if !@country.nil? && @country.to_s.length > 3
114
- invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 3.')
115
- end
116
-
117
- if !@location_id.nil? && @location_id.to_s.length > 10
118
- invalid_properties.push('invalid value for "location_id", the character length must be smaller than or equal to 10.')
119
- end
120
-
121
- if !@address1.nil? && @address1.to_s.length > 13
122
- invalid_properties.push('invalid value for "address1", the character length must be smaller than or equal to 13.')
123
- end
124
-
125
- if !@address2.nil? && @address2.to_s.length > 13
126
- invalid_properties.push('invalid value for "address2", the character length must be smaller than or equal to 13.')
127
- end
128
-
129
- if !@location.nil? && @location.to_s.length > 38
130
- invalid_properties.push('invalid value for "location", the character length must be smaller than or equal to 38.')
131
- end
132
-
133
105
  invalid_properties
134
106
  end
135
107
 
136
108
  # Check to see if the all the properties in the model are valid
137
109
  # @return true if the model is valid
138
110
  def valid?
139
- return false if !@city.nil? && @city.to_s.length > 25
140
- return false if !@state.nil? && @state.to_s.length > 3
141
- return false if !@country.nil? && @country.to_s.length > 3
142
- return false if !@location_id.nil? && @location_id.to_s.length > 10
143
- return false if !@address1.nil? && @address1.to_s.length > 13
144
- return false if !@address2.nil? && @address2.to_s.length > 13
145
- return false if !@location.nil? && @location.to_s.length > 38
146
111
  true
147
112
  end
148
113
 
149
114
  # Custom attribute writer method with validation
150
115
  # @param [Object] city Value to be assigned
151
116
  def city=(city)
152
- if !city.nil? && city.to_s.length > 25
153
- fail ArgumentError, 'invalid value for "city", the character length must be smaller than or equal to 25.'
154
- end
155
-
156
117
  @city = city
157
118
  end
158
119
 
159
120
  # Custom attribute writer method with validation
160
121
  # @param [Object] state Value to be assigned
161
122
  def state=(state)
162
- if !state.nil? && state.to_s.length > 3
163
- fail ArgumentError, 'invalid value for "state", the character length must be smaller than or equal to 3.'
164
- end
165
-
166
123
  @state = state
167
124
  end
168
125
 
169
126
  # Custom attribute writer method with validation
170
127
  # @param [Object] country Value to be assigned
171
128
  def country=(country)
172
- if !country.nil? && country.to_s.length > 3
173
- fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 3.'
174
- end
175
-
176
129
  @country = country
177
130
  end
178
131
 
179
132
  # Custom attribute writer method with validation
180
133
  # @param [Object] location_id Value to be assigned
181
134
  def location_id=(location_id)
182
- if !location_id.nil? && location_id.to_s.length > 10
183
- fail ArgumentError, 'invalid value for "location_id", the character length must be smaller than or equal to 10.'
184
- end
185
-
186
135
  @location_id = location_id
187
136
  end
188
137
 
189
138
  # Custom attribute writer method with validation
190
139
  # @param [Object] address1 Value to be assigned
191
140
  def address1=(address1)
192
- if !address1.nil? && address1.to_s.length > 13
193
- fail ArgumentError, 'invalid value for "address1", the character length must be smaller than or equal to 13.'
194
- end
195
-
196
141
  @address1 = address1
197
142
  end
198
143
 
199
144
  # Custom attribute writer method with validation
200
145
  # @param [Object] address2 Value to be assigned
201
146
  def address2=(address2)
202
- if !address2.nil? && address2.to_s.length > 13
203
- fail ArgumentError, 'invalid value for "address2", the character length must be smaller than or equal to 13.'
204
- end
205
-
206
147
  @address2 = address2
207
148
  end
208
149
 
209
150
  # Custom attribute writer method with validation
210
151
  # @param [Object] location Value to be assigned
211
152
  def location=(location)
212
- if !location.nil? && location.to_s.length > 38
213
- fail ArgumentError, 'invalid value for "location", the character length must be smaller than or equal to 38.'
214
- end
215
-
216
153
  @location = location
217
154
  end
218
155
 
@@ -84,87 +84,42 @@ module CyberSource
84
84
  # @return Array for valid properties with the reasons
85
85
  def list_invalid_properties
86
86
  invalid_properties = Array.new
87
- if !@city.nil? && @city.to_s.length > 25
88
- invalid_properties.push('invalid value for "city", the character length must be smaller than or equal to 25.')
89
- end
90
-
91
- if !@state.nil? && @state.to_s.length > 3
92
- invalid_properties.push('invalid value for "state", the character length must be smaller than or equal to 3.')
93
- end
94
-
95
- if !@country.nil? && @country.to_s.length > 3
96
- invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 3.')
97
- end
98
-
99
- if !@location_id.nil? && @location_id.to_s.length > 10
100
- invalid_properties.push('invalid value for "location_id", the character length must be smaller than or equal to 10.')
101
- end
102
-
103
- if !@location.nil? && @location.to_s.length > 38
104
- invalid_properties.push('invalid value for "location", the character length must be smaller than or equal to 38.')
105
- end
106
-
107
87
  invalid_properties
108
88
  end
109
89
 
110
90
  # Check to see if the all the properties in the model are valid
111
91
  # @return true if the model is valid
112
92
  def valid?
113
- return false if !@city.nil? && @city.to_s.length > 25
114
- return false if !@state.nil? && @state.to_s.length > 3
115
- return false if !@country.nil? && @country.to_s.length > 3
116
- return false if !@location_id.nil? && @location_id.to_s.length > 10
117
- return false if !@location.nil? && @location.to_s.length > 38
118
93
  true
119
94
  end
120
95
 
121
96
  # Custom attribute writer method with validation
122
97
  # @param [Object] city Value to be assigned
123
98
  def city=(city)
124
- if !city.nil? && city.to_s.length > 25
125
- fail ArgumentError, 'invalid value for "city", the character length must be smaller than or equal to 25.'
126
- end
127
-
128
99
  @city = city
129
100
  end
130
101
 
131
102
  # Custom attribute writer method with validation
132
103
  # @param [Object] state Value to be assigned
133
104
  def state=(state)
134
- if !state.nil? && state.to_s.length > 3
135
- fail ArgumentError, 'invalid value for "state", the character length must be smaller than or equal to 3.'
136
- end
137
-
138
105
  @state = state
139
106
  end
140
107
 
141
108
  # Custom attribute writer method with validation
142
109
  # @param [Object] country Value to be assigned
143
110
  def country=(country)
144
- if !country.nil? && country.to_s.length > 3
145
- fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 3.'
146
- end
147
-
148
111
  @country = country
149
112
  end
150
113
 
151
114
  # Custom attribute writer method with validation
152
115
  # @param [Object] location_id Value to be assigned
153
116
  def location_id=(location_id)
154
- if !location_id.nil? && location_id.to_s.length > 10
155
- fail ArgumentError, 'invalid value for "location_id", the character length must be smaller than or equal to 10.'
156
- end
157
-
158
117
  @location_id = location_id
159
118
  end
160
119
 
161
120
  # Custom attribute writer method with validation
162
121
  # @param [Object] location Value to be assigned
163
122
  def location=(location)
164
- if !location.nil? && location.to_s.length > 38
165
- fail ArgumentError, 'invalid value for "location", the character length must be smaller than or equal to 38.'
166
- end
167
-
168
123
  @location = location
169
124
  end
170
125
 
@@ -93,87 +93,42 @@ 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 !@amount.nil? && @amount.to_s.length > 13
97
- invalid_properties.push('invalid value for "amount", the character length must be smaller than or equal to 13.')
98
- end
99
-
100
- if !@rate.nil? && @rate.to_s.length > 6
101
- invalid_properties.push('invalid value for "rate", the character length must be smaller than or equal to 6.')
102
- end
103
-
104
- if !@exemption_code.nil? && @exemption_code.to_s.length > 1
105
- invalid_properties.push('invalid value for "exemption_code", the character length must be smaller than or equal to 1.')
106
- end
107
-
108
- if !@tax_type.nil? && @tax_type.to_s.length > 10
109
- invalid_properties.push('invalid value for "tax_type", the character length must be smaller than or equal to 10.')
110
- end
111
-
112
- if !@tax_summary.nil? && @tax_summary.to_s.length > 12
113
- invalid_properties.push('invalid value for "tax_summary", the character length must be smaller than or equal to 12.')
114
- end
115
-
116
96
  invalid_properties
117
97
  end
118
98
 
119
99
  # Check to see if the all the properties in the model are valid
120
100
  # @return true if the model is valid
121
101
  def valid?
122
- return false if !@amount.nil? && @amount.to_s.length > 13
123
- return false if !@rate.nil? && @rate.to_s.length > 6
124
- return false if !@exemption_code.nil? && @exemption_code.to_s.length > 1
125
- return false if !@tax_type.nil? && @tax_type.to_s.length > 10
126
- return false if !@tax_summary.nil? && @tax_summary.to_s.length > 12
127
102
  true
128
103
  end
129
104
 
130
105
  # Custom attribute writer method with validation
131
106
  # @param [Object] amount Value to be assigned
132
107
  def amount=(amount)
133
- if !amount.nil? && amount.to_s.length > 13
134
- fail ArgumentError, 'invalid value for "amount", the character length must be smaller than or equal to 13.'
135
- end
136
-
137
108
  @amount = amount
138
109
  end
139
110
 
140
111
  # Custom attribute writer method with validation
141
112
  # @param [Object] rate Value to be assigned
142
113
  def rate=(rate)
143
- if !rate.nil? && rate.to_s.length > 6
144
- fail ArgumentError, 'invalid value for "rate", the character length must be smaller than or equal to 6.'
145
- end
146
-
147
114
  @rate = rate
148
115
  end
149
116
 
150
117
  # Custom attribute writer method with validation
151
118
  # @param [Object] exemption_code Value to be assigned
152
119
  def exemption_code=(exemption_code)
153
- if !exemption_code.nil? && exemption_code.to_s.length > 1
154
- fail ArgumentError, 'invalid value for "exemption_code", the character length must be smaller than or equal to 1.'
155
- end
156
-
157
120
  @exemption_code = exemption_code
158
121
  end
159
122
 
160
123
  # Custom attribute writer method with validation
161
124
  # @param [Object] tax_type Value to be assigned
162
125
  def tax_type=(tax_type)
163
- if !tax_type.nil? && tax_type.to_s.length > 10
164
- fail ArgumentError, 'invalid value for "tax_type", the character length must be smaller than or equal to 10.'
165
- end
166
-
167
126
  @tax_type = tax_type
168
127
  end
169
128
 
170
129
  # Custom attribute writer method with validation
171
130
  # @param [Object] tax_summary Value to be assigned
172
131
  def tax_summary=(tax_summary)
173
- if !tax_summary.nil? && tax_summary.to_s.length > 12
174
- fail ArgumentError, 'invalid value for "tax_summary", the character length must be smaller than or equal to 12.'
175
- end
176
-
177
132
  @tax_summary = tax_summary
178
133
  end
179
134
 
@@ -419,18 +419,6 @@ module CyberSource
419
419
  # @return Array for valid properties with the reasons
420
420
  def list_invalid_properties
421
421
  invalid_properties = Array.new
422
- if !@check_in_date.nil? && @check_in_date.to_s.length > 6
423
- invalid_properties.push('invalid value for "check_in_date", the character length must be smaller than or equal to 6.')
424
- end
425
-
426
- if !@check_out_date.nil? && @check_out_date.to_s.length > 6
427
- invalid_properties.push('invalid value for "check_out_date", the character length must be smaller than or equal to 6.')
428
- end
429
-
430
- if !@smoking_preference.nil? && @smoking_preference.to_s.length > 1
431
- invalid_properties.push('invalid value for "smoking_preference", the character length must be smaller than or equal to 1.')
432
- end
433
-
434
422
  if !@number_of_rooms.nil? && @number_of_rooms > 99
435
423
  invalid_properties.push('invalid value for "number_of_rooms", must be smaller than or equal to 99.')
436
424
  end
@@ -447,229 +435,34 @@ module CyberSource
447
435
  invalid_properties.push('invalid value for "number_of_guests", must be greater than or equal to 1.')
448
436
  end
449
437
 
450
- if !@room_bed_type.nil? && @room_bed_type.to_s.length > 12
451
- invalid_properties.push('invalid value for "room_bed_type", the character length must be smaller than or equal to 12.')
452
- end
453
-
454
- if !@room_tax_type.nil? && @room_tax_type.to_s.length > 10
455
- invalid_properties.push('invalid value for "room_tax_type", the character length must be smaller than or equal to 10.')
456
- end
457
-
458
- if !@room_rate_type.nil? && @room_rate_type.to_s.length > 12
459
- invalid_properties.push('invalid value for "room_rate_type", the character length must be smaller than or equal to 12.')
460
- end
461
-
462
- if !@guest_name.nil? && @guest_name.to_s.length > 40
463
- invalid_properties.push('invalid value for "guest_name", the character length must be smaller than or equal to 40.')
464
- end
465
-
466
- if !@customer_service_phone_number.nil? && @customer_service_phone_number.to_s.length > 17
467
- invalid_properties.push('invalid value for "customer_service_phone_number", the character length must be smaller than or equal to 17.')
468
- end
469
-
470
- if !@corporate_client_code.nil? && @corporate_client_code.to_s.length > 17
471
- invalid_properties.push('invalid value for "corporate_client_code", the character length must be smaller than or equal to 17.')
472
- end
473
-
474
- if !@additional_discount_amount.nil? && @additional_discount_amount.to_s.length > 12
475
- invalid_properties.push('invalid value for "additional_discount_amount", the character length must be smaller than or equal to 12.')
476
- end
477
-
478
- if !@room_location.nil? && @room_location.to_s.length > 10
479
- invalid_properties.push('invalid value for "room_location", the character length must be smaller than or equal to 10.')
480
- end
481
-
482
- if !@special_program_code.nil? && @special_program_code.to_s.length > 1
483
- invalid_properties.push('invalid value for "special_program_code", the character length must be smaller than or equal to 1.')
484
- end
485
-
486
- if !@total_tax_amount.nil? && @total_tax_amount.to_s.length > 12
487
- invalid_properties.push('invalid value for "total_tax_amount", the character length must be smaller than or equal to 12.')
488
- end
489
-
490
- if !@prepaid_cost.nil? && @prepaid_cost.to_s.length > 12
491
- invalid_properties.push('invalid value for "prepaid_cost", the character length must be smaller than or equal to 12.')
492
- end
493
-
494
- if !@food_and_beverage_cost.nil? && @food_and_beverage_cost.to_s.length > 12
495
- invalid_properties.push('invalid value for "food_and_beverage_cost", the character length must be smaller than or equal to 12.')
496
- end
497
-
498
- if !@room_tax_amount.nil? && @room_tax_amount.to_s.length > 12
499
- invalid_properties.push('invalid value for "room_tax_amount", the character length must be smaller than or equal to 12.')
500
- end
501
-
502
- if !@adjustment_amount.nil? && @adjustment_amount.to_s.length > 12
503
- invalid_properties.push('invalid value for "adjustment_amount", the character length must be smaller than or equal to 12.')
504
- end
505
-
506
- if !@phone_cost.nil? && @phone_cost.to_s.length > 12
507
- invalid_properties.push('invalid value for "phone_cost", the character length must be smaller than or equal to 12.')
508
- end
509
-
510
- if !@restaurant_cost.nil? && @restaurant_cost.to_s.length > 12
511
- invalid_properties.push('invalid value for "restaurant_cost", the character length must be smaller than or equal to 12.')
512
- end
513
-
514
- if !@room_service_cost.nil? && @room_service_cost.to_s.length > 12
515
- invalid_properties.push('invalid value for "room_service_cost", the character length must be smaller than or equal to 12.')
516
- end
517
-
518
- if !@mini_bar_cost.nil? && @mini_bar_cost.to_s.length > 12
519
- invalid_properties.push('invalid value for "mini_bar_cost", the character length must be smaller than or equal to 12.')
520
- end
521
-
522
- if !@laundry_cost.nil? && @laundry_cost.to_s.length > 12
523
- invalid_properties.push('invalid value for "laundry_cost", the character length must be smaller than or equal to 12.')
524
- end
525
-
526
- if !@miscellaneous_cost.nil? && @miscellaneous_cost.to_s.length > 12
527
- invalid_properties.push('invalid value for "miscellaneous_cost", the character length must be smaller than or equal to 12.')
528
- end
529
-
530
- if !@gift_shop_cost.nil? && @gift_shop_cost.to_s.length > 12
531
- invalid_properties.push('invalid value for "gift_shop_cost", the character length must be smaller than or equal to 12.')
532
- end
533
-
534
- if !@movie_cost.nil? && @movie_cost.to_s.length > 12
535
- invalid_properties.push('invalid value for "movie_cost", the character length must be smaller than or equal to 12.')
536
- end
537
-
538
- if !@health_club_cost.nil? && @health_club_cost.to_s.length > 12
539
- invalid_properties.push('invalid value for "health_club_cost", the character length must be smaller than or equal to 12.')
540
- end
541
-
542
- if !@valet_parking_cost.nil? && @valet_parking_cost.to_s.length > 12
543
- invalid_properties.push('invalid value for "valet_parking_cost", the character length must be smaller than or equal to 12.')
544
- end
545
-
546
- if !@cash_disbursement_cost.nil? && @cash_disbursement_cost.to_s.length > 12
547
- invalid_properties.push('invalid value for "cash_disbursement_cost", the character length must be smaller than or equal to 12.')
548
- end
549
-
550
- if !@non_room_cost.nil? && @non_room_cost.to_s.length > 12
551
- invalid_properties.push('invalid value for "non_room_cost", the character length must be smaller than or equal to 12.')
552
- end
553
-
554
- if !@business_center_cost.nil? && @business_center_cost.to_s.length > 12
555
- invalid_properties.push('invalid value for "business_center_cost", the character length must be smaller than or equal to 12.')
556
- end
557
-
558
- if !@lounge_bar_cost.nil? && @lounge_bar_cost.to_s.length > 12
559
- invalid_properties.push('invalid value for "lounge_bar_cost", the character length must be smaller than or equal to 12.')
560
- end
561
-
562
- if !@transportation_cost.nil? && @transportation_cost.to_s.length > 12
563
- invalid_properties.push('invalid value for "transportation_cost", the character length must be smaller than or equal to 12.')
564
- end
565
-
566
- if !@gratuity_amount.nil? && @gratuity_amount.to_s.length > 12
567
- invalid_properties.push('invalid value for "gratuity_amount", the character length must be smaller than or equal to 12.')
568
- end
569
-
570
- if !@conference_room_cost.nil? && @conference_room_cost.to_s.length > 12
571
- invalid_properties.push('invalid value for "conference_room_cost", the character length must be smaller than or equal to 12.')
572
- end
573
-
574
- if !@audio_visual_cost.nil? && @audio_visual_cost.to_s.length > 12
575
- invalid_properties.push('invalid value for "audio_visual_cost", the character length must be smaller than or equal to 12.')
576
- end
577
-
578
- if !@banquest_cost.nil? && @banquest_cost.to_s.length > 12
579
- invalid_properties.push('invalid value for "banquest_cost", the character length must be smaller than or equal to 12.')
580
- end
581
-
582
- if !@non_room_tax_amount.nil? && @non_room_tax_amount.to_s.length > 12
583
- invalid_properties.push('invalid value for "non_room_tax_amount", the character length must be smaller than or equal to 12.')
584
- end
585
-
586
- if !@early_check_out_cost.nil? && @early_check_out_cost.to_s.length > 12
587
- invalid_properties.push('invalid value for "early_check_out_cost", the character length must be smaller than or equal to 12.')
588
- end
589
-
590
- if !@internet_access_cost.nil? && @internet_access_cost.to_s.length > 12
591
- invalid_properties.push('invalid value for "internet_access_cost", the character length must be smaller than or equal to 12.')
592
- end
593
-
594
438
  invalid_properties
595
439
  end
596
440
 
597
441
  # Check to see if the all the properties in the model are valid
598
442
  # @return true if the model is valid
599
443
  def valid?
600
- return false if !@check_in_date.nil? && @check_in_date.to_s.length > 6
601
- return false if !@check_out_date.nil? && @check_out_date.to_s.length > 6
602
- return false if !@smoking_preference.nil? && @smoking_preference.to_s.length > 1
603
444
  return false if !@number_of_rooms.nil? && @number_of_rooms > 99
604
445
  return false if !@number_of_rooms.nil? && @number_of_rooms < 1
605
446
  return false if !@number_of_guests.nil? && @number_of_guests > 99
606
447
  return false if !@number_of_guests.nil? && @number_of_guests < 1
607
- return false if !@room_bed_type.nil? && @room_bed_type.to_s.length > 12
608
- return false if !@room_tax_type.nil? && @room_tax_type.to_s.length > 10
609
- return false if !@room_rate_type.nil? && @room_rate_type.to_s.length > 12
610
- return false if !@guest_name.nil? && @guest_name.to_s.length > 40
611
- return false if !@customer_service_phone_number.nil? && @customer_service_phone_number.to_s.length > 17
612
- return false if !@corporate_client_code.nil? && @corporate_client_code.to_s.length > 17
613
- return false if !@additional_discount_amount.nil? && @additional_discount_amount.to_s.length > 12
614
- return false if !@room_location.nil? && @room_location.to_s.length > 10
615
- return false if !@special_program_code.nil? && @special_program_code.to_s.length > 1
616
- return false if !@total_tax_amount.nil? && @total_tax_amount.to_s.length > 12
617
- return false if !@prepaid_cost.nil? && @prepaid_cost.to_s.length > 12
618
- return false if !@food_and_beverage_cost.nil? && @food_and_beverage_cost.to_s.length > 12
619
- return false if !@room_tax_amount.nil? && @room_tax_amount.to_s.length > 12
620
- return false if !@adjustment_amount.nil? && @adjustment_amount.to_s.length > 12
621
- return false if !@phone_cost.nil? && @phone_cost.to_s.length > 12
622
- return false if !@restaurant_cost.nil? && @restaurant_cost.to_s.length > 12
623
- return false if !@room_service_cost.nil? && @room_service_cost.to_s.length > 12
624
- return false if !@mini_bar_cost.nil? && @mini_bar_cost.to_s.length > 12
625
- return false if !@laundry_cost.nil? && @laundry_cost.to_s.length > 12
626
- return false if !@miscellaneous_cost.nil? && @miscellaneous_cost.to_s.length > 12
627
- return false if !@gift_shop_cost.nil? && @gift_shop_cost.to_s.length > 12
628
- return false if !@movie_cost.nil? && @movie_cost.to_s.length > 12
629
- return false if !@health_club_cost.nil? && @health_club_cost.to_s.length > 12
630
- return false if !@valet_parking_cost.nil? && @valet_parking_cost.to_s.length > 12
631
- return false if !@cash_disbursement_cost.nil? && @cash_disbursement_cost.to_s.length > 12
632
- return false if !@non_room_cost.nil? && @non_room_cost.to_s.length > 12
633
- return false if !@business_center_cost.nil? && @business_center_cost.to_s.length > 12
634
- return false if !@lounge_bar_cost.nil? && @lounge_bar_cost.to_s.length > 12
635
- return false if !@transportation_cost.nil? && @transportation_cost.to_s.length > 12
636
- return false if !@gratuity_amount.nil? && @gratuity_amount.to_s.length > 12
637
- return false if !@conference_room_cost.nil? && @conference_room_cost.to_s.length > 12
638
- return false if !@audio_visual_cost.nil? && @audio_visual_cost.to_s.length > 12
639
- return false if !@banquest_cost.nil? && @banquest_cost.to_s.length > 12
640
- return false if !@non_room_tax_amount.nil? && @non_room_tax_amount.to_s.length > 12
641
- return false if !@early_check_out_cost.nil? && @early_check_out_cost.to_s.length > 12
642
- return false if !@internet_access_cost.nil? && @internet_access_cost.to_s.length > 12
643
448
  true
644
449
  end
645
450
 
646
451
  # Custom attribute writer method with validation
647
452
  # @param [Object] check_in_date Value to be assigned
648
453
  def check_in_date=(check_in_date)
649
- if !check_in_date.nil? && check_in_date.to_s.length > 6
650
- fail ArgumentError, 'invalid value for "check_in_date", the character length must be smaller than or equal to 6.'
651
- end
652
-
653
454
  @check_in_date = check_in_date
654
455
  end
655
456
 
656
457
  # Custom attribute writer method with validation
657
458
  # @param [Object] check_out_date Value to be assigned
658
459
  def check_out_date=(check_out_date)
659
- if !check_out_date.nil? && check_out_date.to_s.length > 6
660
- fail ArgumentError, 'invalid value for "check_out_date", the character length must be smaller than or equal to 6.'
661
- end
662
-
663
460
  @check_out_date = check_out_date
664
461
  end
665
462
 
666
463
  # Custom attribute writer method with validation
667
464
  # @param [Object] smoking_preference Value to be assigned
668
465
  def smoking_preference=(smoking_preference)
669
- if !smoking_preference.nil? && smoking_preference.to_s.length > 1
670
- fail ArgumentError, 'invalid value for "smoking_preference", the character length must be smaller than or equal to 1.'
671
- end
672
-
673
466
  @smoking_preference = smoking_preference
674
467
  end
675
468
 
@@ -704,360 +497,216 @@ module CyberSource
704
497
  # Custom attribute writer method with validation
705
498
  # @param [Object] room_bed_type Value to be assigned
706
499
  def room_bed_type=(room_bed_type)
707
- if !room_bed_type.nil? && room_bed_type.to_s.length > 12
708
- fail ArgumentError, 'invalid value for "room_bed_type", the character length must be smaller than or equal to 12.'
709
- end
710
-
711
500
  @room_bed_type = room_bed_type
712
501
  end
713
502
 
714
503
  # Custom attribute writer method with validation
715
504
  # @param [Object] room_tax_type Value to be assigned
716
505
  def room_tax_type=(room_tax_type)
717
- if !room_tax_type.nil? && room_tax_type.to_s.length > 10
718
- fail ArgumentError, 'invalid value for "room_tax_type", the character length must be smaller than or equal to 10.'
719
- end
720
-
721
506
  @room_tax_type = room_tax_type
722
507
  end
723
508
 
724
509
  # Custom attribute writer method with validation
725
510
  # @param [Object] room_rate_type Value to be assigned
726
511
  def room_rate_type=(room_rate_type)
727
- if !room_rate_type.nil? && room_rate_type.to_s.length > 12
728
- fail ArgumentError, 'invalid value for "room_rate_type", the character length must be smaller than or equal to 12.'
729
- end
730
-
731
512
  @room_rate_type = room_rate_type
732
513
  end
733
514
 
734
515
  # Custom attribute writer method with validation
735
516
  # @param [Object] guest_name Value to be assigned
736
517
  def guest_name=(guest_name)
737
- if !guest_name.nil? && guest_name.to_s.length > 40
738
- fail ArgumentError, 'invalid value for "guest_name", the character length must be smaller than or equal to 40.'
739
- end
740
-
741
518
  @guest_name = guest_name
742
519
  end
743
520
 
744
521
  # Custom attribute writer method with validation
745
522
  # @param [Object] customer_service_phone_number Value to be assigned
746
523
  def customer_service_phone_number=(customer_service_phone_number)
747
- if !customer_service_phone_number.nil? && customer_service_phone_number.to_s.length > 17
748
- fail ArgumentError, 'invalid value for "customer_service_phone_number", the character length must be smaller than or equal to 17.'
749
- end
750
-
751
524
  @customer_service_phone_number = customer_service_phone_number
752
525
  end
753
526
 
754
527
  # Custom attribute writer method with validation
755
528
  # @param [Object] corporate_client_code Value to be assigned
756
529
  def corporate_client_code=(corporate_client_code)
757
- if !corporate_client_code.nil? && corporate_client_code.to_s.length > 17
758
- fail ArgumentError, 'invalid value for "corporate_client_code", the character length must be smaller than or equal to 17.'
759
- end
760
-
761
530
  @corporate_client_code = corporate_client_code
762
531
  end
763
532
 
764
533
  # Custom attribute writer method with validation
765
534
  # @param [Object] additional_discount_amount Value to be assigned
766
535
  def additional_discount_amount=(additional_discount_amount)
767
- if !additional_discount_amount.nil? && additional_discount_amount.to_s.length > 12
768
- fail ArgumentError, 'invalid value for "additional_discount_amount", the character length must be smaller than or equal to 12.'
769
- end
770
-
771
536
  @additional_discount_amount = additional_discount_amount
772
537
  end
773
538
 
774
539
  # Custom attribute writer method with validation
775
540
  # @param [Object] room_location Value to be assigned
776
541
  def room_location=(room_location)
777
- if !room_location.nil? && room_location.to_s.length > 10
778
- fail ArgumentError, 'invalid value for "room_location", the character length must be smaller than or equal to 10.'
779
- end
780
-
781
542
  @room_location = room_location
782
543
  end
783
544
 
784
545
  # Custom attribute writer method with validation
785
546
  # @param [Object] special_program_code Value to be assigned
786
547
  def special_program_code=(special_program_code)
787
- if !special_program_code.nil? && special_program_code.to_s.length > 1
788
- fail ArgumentError, 'invalid value for "special_program_code", the character length must be smaller than or equal to 1.'
789
- end
790
-
791
548
  @special_program_code = special_program_code
792
549
  end
793
550
 
794
551
  # Custom attribute writer method with validation
795
552
  # @param [Object] total_tax_amount Value to be assigned
796
553
  def total_tax_amount=(total_tax_amount)
797
- if !total_tax_amount.nil? && total_tax_amount.to_s.length > 12
798
- fail ArgumentError, 'invalid value for "total_tax_amount", the character length must be smaller than or equal to 12.'
799
- end
800
-
801
554
  @total_tax_amount = total_tax_amount
802
555
  end
803
556
 
804
557
  # Custom attribute writer method with validation
805
558
  # @param [Object] prepaid_cost Value to be assigned
806
559
  def prepaid_cost=(prepaid_cost)
807
- if !prepaid_cost.nil? && prepaid_cost.to_s.length > 12
808
- fail ArgumentError, 'invalid value for "prepaid_cost", the character length must be smaller than or equal to 12.'
809
- end
810
-
811
560
  @prepaid_cost = prepaid_cost
812
561
  end
813
562
 
814
563
  # Custom attribute writer method with validation
815
564
  # @param [Object] food_and_beverage_cost Value to be assigned
816
565
  def food_and_beverage_cost=(food_and_beverage_cost)
817
- if !food_and_beverage_cost.nil? && food_and_beverage_cost.to_s.length > 12
818
- fail ArgumentError, 'invalid value for "food_and_beverage_cost", the character length must be smaller than or equal to 12.'
819
- end
820
-
821
566
  @food_and_beverage_cost = food_and_beverage_cost
822
567
  end
823
568
 
824
569
  # Custom attribute writer method with validation
825
570
  # @param [Object] room_tax_amount Value to be assigned
826
571
  def room_tax_amount=(room_tax_amount)
827
- if !room_tax_amount.nil? && room_tax_amount.to_s.length > 12
828
- fail ArgumentError, 'invalid value for "room_tax_amount", the character length must be smaller than or equal to 12.'
829
- end
830
-
831
572
  @room_tax_amount = room_tax_amount
832
573
  end
833
574
 
834
575
  # Custom attribute writer method with validation
835
576
  # @param [Object] adjustment_amount Value to be assigned
836
577
  def adjustment_amount=(adjustment_amount)
837
- if !adjustment_amount.nil? && adjustment_amount.to_s.length > 12
838
- fail ArgumentError, 'invalid value for "adjustment_amount", the character length must be smaller than or equal to 12.'
839
- end
840
-
841
578
  @adjustment_amount = adjustment_amount
842
579
  end
843
580
 
844
581
  # Custom attribute writer method with validation
845
582
  # @param [Object] phone_cost Value to be assigned
846
583
  def phone_cost=(phone_cost)
847
- if !phone_cost.nil? && phone_cost.to_s.length > 12
848
- fail ArgumentError, 'invalid value for "phone_cost", the character length must be smaller than or equal to 12.'
849
- end
850
-
851
584
  @phone_cost = phone_cost
852
585
  end
853
586
 
854
587
  # Custom attribute writer method with validation
855
588
  # @param [Object] restaurant_cost Value to be assigned
856
589
  def restaurant_cost=(restaurant_cost)
857
- if !restaurant_cost.nil? && restaurant_cost.to_s.length > 12
858
- fail ArgumentError, 'invalid value for "restaurant_cost", the character length must be smaller than or equal to 12.'
859
- end
860
-
861
590
  @restaurant_cost = restaurant_cost
862
591
  end
863
592
 
864
593
  # Custom attribute writer method with validation
865
594
  # @param [Object] room_service_cost Value to be assigned
866
595
  def room_service_cost=(room_service_cost)
867
- if !room_service_cost.nil? && room_service_cost.to_s.length > 12
868
- fail ArgumentError, 'invalid value for "room_service_cost", the character length must be smaller than or equal to 12.'
869
- end
870
-
871
596
  @room_service_cost = room_service_cost
872
597
  end
873
598
 
874
599
  # Custom attribute writer method with validation
875
600
  # @param [Object] mini_bar_cost Value to be assigned
876
601
  def mini_bar_cost=(mini_bar_cost)
877
- if !mini_bar_cost.nil? && mini_bar_cost.to_s.length > 12
878
- fail ArgumentError, 'invalid value for "mini_bar_cost", the character length must be smaller than or equal to 12.'
879
- end
880
-
881
602
  @mini_bar_cost = mini_bar_cost
882
603
  end
883
604
 
884
605
  # Custom attribute writer method with validation
885
606
  # @param [Object] laundry_cost Value to be assigned
886
607
  def laundry_cost=(laundry_cost)
887
- if !laundry_cost.nil? && laundry_cost.to_s.length > 12
888
- fail ArgumentError, 'invalid value for "laundry_cost", the character length must be smaller than or equal to 12.'
889
- end
890
-
891
608
  @laundry_cost = laundry_cost
892
609
  end
893
610
 
894
611
  # Custom attribute writer method with validation
895
612
  # @param [Object] miscellaneous_cost Value to be assigned
896
613
  def miscellaneous_cost=(miscellaneous_cost)
897
- if !miscellaneous_cost.nil? && miscellaneous_cost.to_s.length > 12
898
- fail ArgumentError, 'invalid value for "miscellaneous_cost", the character length must be smaller than or equal to 12.'
899
- end
900
-
901
614
  @miscellaneous_cost = miscellaneous_cost
902
615
  end
903
616
 
904
617
  # Custom attribute writer method with validation
905
618
  # @param [Object] gift_shop_cost Value to be assigned
906
619
  def gift_shop_cost=(gift_shop_cost)
907
- if !gift_shop_cost.nil? && gift_shop_cost.to_s.length > 12
908
- fail ArgumentError, 'invalid value for "gift_shop_cost", the character length must be smaller than or equal to 12.'
909
- end
910
-
911
620
  @gift_shop_cost = gift_shop_cost
912
621
  end
913
622
 
914
623
  # Custom attribute writer method with validation
915
624
  # @param [Object] movie_cost Value to be assigned
916
625
  def movie_cost=(movie_cost)
917
- if !movie_cost.nil? && movie_cost.to_s.length > 12
918
- fail ArgumentError, 'invalid value for "movie_cost", the character length must be smaller than or equal to 12.'
919
- end
920
-
921
626
  @movie_cost = movie_cost
922
627
  end
923
628
 
924
629
  # Custom attribute writer method with validation
925
630
  # @param [Object] health_club_cost Value to be assigned
926
631
  def health_club_cost=(health_club_cost)
927
- if !health_club_cost.nil? && health_club_cost.to_s.length > 12
928
- fail ArgumentError, 'invalid value for "health_club_cost", the character length must be smaller than or equal to 12.'
929
- end
930
-
931
632
  @health_club_cost = health_club_cost
932
633
  end
933
634
 
934
635
  # Custom attribute writer method with validation
935
636
  # @param [Object] valet_parking_cost Value to be assigned
936
637
  def valet_parking_cost=(valet_parking_cost)
937
- if !valet_parking_cost.nil? && valet_parking_cost.to_s.length > 12
938
- fail ArgumentError, 'invalid value for "valet_parking_cost", the character length must be smaller than or equal to 12.'
939
- end
940
-
941
638
  @valet_parking_cost = valet_parking_cost
942
639
  end
943
640
 
944
641
  # Custom attribute writer method with validation
945
642
  # @param [Object] cash_disbursement_cost Value to be assigned
946
643
  def cash_disbursement_cost=(cash_disbursement_cost)
947
- if !cash_disbursement_cost.nil? && cash_disbursement_cost.to_s.length > 12
948
- fail ArgumentError, 'invalid value for "cash_disbursement_cost", the character length must be smaller than or equal to 12.'
949
- end
950
-
951
644
  @cash_disbursement_cost = cash_disbursement_cost
952
645
  end
953
646
 
954
647
  # Custom attribute writer method with validation
955
648
  # @param [Object] non_room_cost Value to be assigned
956
649
  def non_room_cost=(non_room_cost)
957
- if !non_room_cost.nil? && non_room_cost.to_s.length > 12
958
- fail ArgumentError, 'invalid value for "non_room_cost", the character length must be smaller than or equal to 12.'
959
- end
960
-
961
650
  @non_room_cost = non_room_cost
962
651
  end
963
652
 
964
653
  # Custom attribute writer method with validation
965
654
  # @param [Object] business_center_cost Value to be assigned
966
655
  def business_center_cost=(business_center_cost)
967
- if !business_center_cost.nil? && business_center_cost.to_s.length > 12
968
- fail ArgumentError, 'invalid value for "business_center_cost", the character length must be smaller than or equal to 12.'
969
- end
970
-
971
656
  @business_center_cost = business_center_cost
972
657
  end
973
658
 
974
659
  # Custom attribute writer method with validation
975
660
  # @param [Object] lounge_bar_cost Value to be assigned
976
661
  def lounge_bar_cost=(lounge_bar_cost)
977
- if !lounge_bar_cost.nil? && lounge_bar_cost.to_s.length > 12
978
- fail ArgumentError, 'invalid value for "lounge_bar_cost", the character length must be smaller than or equal to 12.'
979
- end
980
-
981
662
  @lounge_bar_cost = lounge_bar_cost
982
663
  end
983
664
 
984
665
  # Custom attribute writer method with validation
985
666
  # @param [Object] transportation_cost Value to be assigned
986
667
  def transportation_cost=(transportation_cost)
987
- if !transportation_cost.nil? && transportation_cost.to_s.length > 12
988
- fail ArgumentError, 'invalid value for "transportation_cost", the character length must be smaller than or equal to 12.'
989
- end
990
-
991
668
  @transportation_cost = transportation_cost
992
669
  end
993
670
 
994
671
  # Custom attribute writer method with validation
995
672
  # @param [Object] gratuity_amount Value to be assigned
996
673
  def gratuity_amount=(gratuity_amount)
997
- if !gratuity_amount.nil? && gratuity_amount.to_s.length > 12
998
- fail ArgumentError, 'invalid value for "gratuity_amount", the character length must be smaller than or equal to 12.'
999
- end
1000
-
1001
674
  @gratuity_amount = gratuity_amount
1002
675
  end
1003
676
 
1004
677
  # Custom attribute writer method with validation
1005
678
  # @param [Object] conference_room_cost Value to be assigned
1006
679
  def conference_room_cost=(conference_room_cost)
1007
- if !conference_room_cost.nil? && conference_room_cost.to_s.length > 12
1008
- fail ArgumentError, 'invalid value for "conference_room_cost", the character length must be smaller than or equal to 12.'
1009
- end
1010
-
1011
680
  @conference_room_cost = conference_room_cost
1012
681
  end
1013
682
 
1014
683
  # Custom attribute writer method with validation
1015
684
  # @param [Object] audio_visual_cost Value to be assigned
1016
685
  def audio_visual_cost=(audio_visual_cost)
1017
- if !audio_visual_cost.nil? && audio_visual_cost.to_s.length > 12
1018
- fail ArgumentError, 'invalid value for "audio_visual_cost", the character length must be smaller than or equal to 12.'
1019
- end
1020
-
1021
686
  @audio_visual_cost = audio_visual_cost
1022
687
  end
1023
688
 
1024
689
  # Custom attribute writer method with validation
1025
690
  # @param [Object] banquest_cost Value to be assigned
1026
691
  def banquest_cost=(banquest_cost)
1027
- if !banquest_cost.nil? && banquest_cost.to_s.length > 12
1028
- fail ArgumentError, 'invalid value for "banquest_cost", the character length must be smaller than or equal to 12.'
1029
- end
1030
-
1031
692
  @banquest_cost = banquest_cost
1032
693
  end
1033
694
 
1034
695
  # Custom attribute writer method with validation
1035
696
  # @param [Object] non_room_tax_amount Value to be assigned
1036
697
  def non_room_tax_amount=(non_room_tax_amount)
1037
- if !non_room_tax_amount.nil? && non_room_tax_amount.to_s.length > 12
1038
- fail ArgumentError, 'invalid value for "non_room_tax_amount", the character length must be smaller than or equal to 12.'
1039
- end
1040
-
1041
698
  @non_room_tax_amount = non_room_tax_amount
1042
699
  end
1043
700
 
1044
701
  # Custom attribute writer method with validation
1045
702
  # @param [Object] early_check_out_cost Value to be assigned
1046
703
  def early_check_out_cost=(early_check_out_cost)
1047
- if !early_check_out_cost.nil? && early_check_out_cost.to_s.length > 12
1048
- fail ArgumentError, 'invalid value for "early_check_out_cost", the character length must be smaller than or equal to 12.'
1049
- end
1050
-
1051
704
  @early_check_out_cost = early_check_out_cost
1052
705
  end
1053
706
 
1054
707
  # Custom attribute writer method with validation
1055
708
  # @param [Object] internet_access_cost Value to be assigned
1056
709
  def internet_access_cost=(internet_access_cost)
1057
- if !internet_access_cost.nil? && internet_access_cost.to_s.length > 12
1058
- fail ArgumentError, 'invalid value for "internet_access_cost", the character length must be smaller than or equal to 12.'
1059
- end
1060
-
1061
710
  @internet_access_cost = internet_access_cost
1062
711
  end
1063
712