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
@@ -85,72 +85,36 @@ module CyberSource
85
85
  # @return Array for valid properties with the reasons
86
86
  def list_invalid_properties
87
87
  invalid_properties = Array.new
88
- if !@ticket_number.nil? && @ticket_number.to_s.length > 15
89
- invalid_properties.push('invalid value for "ticket_number", the character length must be smaller than or equal to 15.')
90
- end
91
-
92
- if !@passenger_name.nil? && @passenger_name.to_s.length > 20
93
- invalid_properties.push('invalid value for "passenger_name", the character length must be smaller than or equal to 20.')
94
- end
95
-
96
- if !@connected_ticket_number.nil? && @connected_ticket_number.to_s.length > 15
97
- invalid_properties.push('invalid value for "connected_ticket_number", the character length must be smaller than or equal to 15.')
98
- end
99
-
100
- if !@credit_reason_indicator.nil? && @credit_reason_indicator.to_s.length > 15
101
- invalid_properties.push('invalid value for "credit_reason_indicator", the character length must be smaller than or equal to 15.')
102
- end
103
-
104
88
  invalid_properties
105
89
  end
106
90
 
107
91
  # Check to see if the all the properties in the model are valid
108
92
  # @return true if the model is valid
109
93
  def valid?
110
- return false if !@ticket_number.nil? && @ticket_number.to_s.length > 15
111
- return false if !@passenger_name.nil? && @passenger_name.to_s.length > 20
112
- return false if !@connected_ticket_number.nil? && @connected_ticket_number.to_s.length > 15
113
- return false if !@credit_reason_indicator.nil? && @credit_reason_indicator.to_s.length > 15
114
94
  true
115
95
  end
116
96
 
117
97
  # Custom attribute writer method with validation
118
98
  # @param [Object] ticket_number Value to be assigned
119
99
  def ticket_number=(ticket_number)
120
- if !ticket_number.nil? && ticket_number.to_s.length > 15
121
- fail ArgumentError, 'invalid value for "ticket_number", the character length must be smaller than or equal to 15.'
122
- end
123
-
124
100
  @ticket_number = ticket_number
125
101
  end
126
102
 
127
103
  # Custom attribute writer method with validation
128
104
  # @param [Object] passenger_name Value to be assigned
129
105
  def passenger_name=(passenger_name)
130
- if !passenger_name.nil? && passenger_name.to_s.length > 20
131
- fail ArgumentError, 'invalid value for "passenger_name", the character length must be smaller than or equal to 20.'
132
- end
133
-
134
106
  @passenger_name = passenger_name
135
107
  end
136
108
 
137
109
  # Custom attribute writer method with validation
138
110
  # @param [Object] connected_ticket_number Value to be assigned
139
111
  def connected_ticket_number=(connected_ticket_number)
140
- if !connected_ticket_number.nil? && connected_ticket_number.to_s.length > 15
141
- fail ArgumentError, 'invalid value for "connected_ticket_number", the character length must be smaller than or equal to 15.'
142
- end
143
-
144
112
  @connected_ticket_number = connected_ticket_number
145
113
  end
146
114
 
147
115
  # Custom attribute writer method with validation
148
116
  # @param [Object] credit_reason_indicator Value to be assigned
149
117
  def credit_reason_indicator=(credit_reason_indicator)
150
- if !credit_reason_indicator.nil? && credit_reason_indicator.to_s.length > 15
151
- fail ArgumentError, 'invalid value for "credit_reason_indicator", the character length must be smaller than or equal to 15.'
152
- end
153
-
154
118
  @credit_reason_indicator = credit_reason_indicator
155
119
  end
156
120
 
@@ -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 !@category_code.nil? && @category_code.to_s.length > 4
61
- invalid_properties.push('invalid value for "category_code", the character length must be smaller than or equal to 4.')
62
- end
63
-
64
- if !@sub_category_code.nil? && @sub_category_code.to_s.length > 4
65
- invalid_properties.push('invalid value for "sub_category_code", the character length must be smaller than or equal to 4.')
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 !@category_code.nil? && @category_code.to_s.length > 4
75
- return false if !@sub_category_code.nil? && @sub_category_code.to_s.length > 4
76
66
  true
77
67
  end
78
68
 
79
69
  # Custom attribute writer method with validation
80
70
  # @param [Object] category_code Value to be assigned
81
71
  def category_code=(category_code)
82
- if !category_code.nil? && category_code.to_s.length > 4
83
- fail ArgumentError, 'invalid value for "category_code", the character length must be smaller than or equal to 4.'
84
- end
85
-
86
72
  @category_code = category_code
87
73
  end
88
74
 
89
75
  # Custom attribute writer method with validation
90
76
  # @param [Object] sub_category_code Value to be assigned
91
77
  def sub_category_code=(sub_category_code)
92
- if !sub_category_code.nil? && sub_category_code.to_s.length > 4
93
- fail ArgumentError, 'invalid value for "sub_category_code", the character length must be smaller than or equal to 4.'
94
- end
95
-
96
78
  @sub_category_code = sub_category_code
97
79
  end
98
80
 
@@ -219,252 +219,108 @@ module CyberSource
219
219
  # @return Array for valid properties with the reasons
220
220
  def list_invalid_properties
221
221
  invalid_properties = Array.new
222
- if !@carrier_code.nil? && @carrier_code.to_s.length > 4
223
- invalid_properties.push('invalid value for "carrier_code", the character length must be smaller than or equal to 4.')
224
- end
225
-
226
- if !@flight_number.nil? && @flight_number.to_s.length > 6
227
- invalid_properties.push('invalid value for "flight_number", the character length must be smaller than or equal to 6.')
228
- end
229
-
230
- if !@originating_airport_code.nil? && @originating_airport_code.to_s.length > 5
231
- invalid_properties.push('invalid value for "originating_airport_code", the character length must be smaller than or equal to 5.')
232
- end
233
-
234
- if !@_class.nil? && @_class.to_s.length > 3
235
- invalid_properties.push('invalid value for "_class", the character length must be smaller than or equal to 3.')
236
- end
237
-
238
- if !@destination_airport_code.nil? && @destination_airport_code.to_s.length > 3
239
- invalid_properties.push('invalid value for "destination_airport_code", the character length must be smaller than or equal to 3.')
240
- end
241
-
242
- if !@fare_basis.nil? && @fare_basis.to_s.length > 15
243
- invalid_properties.push('invalid value for "fare_basis", the character length must be smaller than or equal to 15.')
244
- end
245
-
246
- if !@depart_tax_amount.nil? && @depart_tax_amount.to_s.length > 12
247
- invalid_properties.push('invalid value for "depart_tax_amount", the character length must be smaller than or equal to 12.')
248
- end
249
-
250
- if !@conjunction_ticket.nil? && @conjunction_ticket.to_s.length > 25
251
- invalid_properties.push('invalid value for "conjunction_ticket", the character length must be smaller than or equal to 25.')
252
- end
253
-
254
- if !@exchange_ticket_number.nil? && @exchange_ticket_number.to_s.length > 25
255
- invalid_properties.push('invalid value for "exchange_ticket_number", the character length must be smaller than or equal to 25.')
256
- end
257
-
258
- if !@coupon_number.nil? && @coupon_number.to_s.length > 1
259
- invalid_properties.push('invalid value for "coupon_number", the character length must be smaller than or equal to 1.')
260
- end
261
-
262
- if !@departure_time_meridian.nil? && @departure_time_meridian.to_s.length > 1
263
- invalid_properties.push('invalid value for "departure_time_meridian", the character length must be smaller than or equal to 1.')
264
- end
265
-
266
- if !@arrival_time_meridian.nil? && @arrival_time_meridian.to_s.length > 1
267
- invalid_properties.push('invalid value for "arrival_time_meridian", the character length must be smaller than or equal to 1.')
268
- end
269
-
270
- if !@endorsements_restrictions.nil? && @endorsements_restrictions.to_s.length > 20
271
- invalid_properties.push('invalid value for "endorsements_restrictions", the character length must be smaller than or equal to 20.')
272
- end
273
-
274
- if !@total_fare_amount.nil? && @total_fare_amount.to_s.length > 15
275
- invalid_properties.push('invalid value for "total_fare_amount", the character length must be smaller than or equal to 15.')
276
- end
277
-
278
- if !@fee_amount.nil? && @fee_amount.to_s.length > 12
279
- invalid_properties.push('invalid value for "fee_amount", the character length must be smaller than or equal to 12.')
280
- end
281
-
282
- if !@tax_amount.nil? && @tax_amount.to_s.length > 12
283
- invalid_properties.push('invalid value for "tax_amount", the character length must be smaller than or equal to 12.')
284
- end
285
-
286
222
  invalid_properties
287
223
  end
288
224
 
289
225
  # Check to see if the all the properties in the model are valid
290
226
  # @return true if the model is valid
291
227
  def valid?
292
- return false if !@carrier_code.nil? && @carrier_code.to_s.length > 4
293
- return false if !@flight_number.nil? && @flight_number.to_s.length > 6
294
- return false if !@originating_airport_code.nil? && @originating_airport_code.to_s.length > 5
295
- return false if !@_class.nil? && @_class.to_s.length > 3
296
- return false if !@destination_airport_code.nil? && @destination_airport_code.to_s.length > 3
297
- return false if !@fare_basis.nil? && @fare_basis.to_s.length > 15
298
- return false if !@depart_tax_amount.nil? && @depart_tax_amount.to_s.length > 12
299
- return false if !@conjunction_ticket.nil? && @conjunction_ticket.to_s.length > 25
300
- return false if !@exchange_ticket_number.nil? && @exchange_ticket_number.to_s.length > 25
301
- return false if !@coupon_number.nil? && @coupon_number.to_s.length > 1
302
- return false if !@departure_time_meridian.nil? && @departure_time_meridian.to_s.length > 1
303
- return false if !@arrival_time_meridian.nil? && @arrival_time_meridian.to_s.length > 1
304
- return false if !@endorsements_restrictions.nil? && @endorsements_restrictions.to_s.length > 20
305
- return false if !@total_fare_amount.nil? && @total_fare_amount.to_s.length > 15
306
- return false if !@fee_amount.nil? && @fee_amount.to_s.length > 12
307
- return false if !@tax_amount.nil? && @tax_amount.to_s.length > 12
308
228
  true
309
229
  end
310
230
 
311
231
  # Custom attribute writer method with validation
312
232
  # @param [Object] carrier_code Value to be assigned
313
233
  def carrier_code=(carrier_code)
314
- if !carrier_code.nil? && carrier_code.to_s.length > 4
315
- fail ArgumentError, 'invalid value for "carrier_code", the character length must be smaller than or equal to 4.'
316
- end
317
-
318
234
  @carrier_code = carrier_code
319
235
  end
320
236
 
321
237
  # Custom attribute writer method with validation
322
238
  # @param [Object] flight_number Value to be assigned
323
239
  def flight_number=(flight_number)
324
- if !flight_number.nil? && flight_number.to_s.length > 6
325
- fail ArgumentError, 'invalid value for "flight_number", the character length must be smaller than or equal to 6.'
326
- end
327
-
328
240
  @flight_number = flight_number
329
241
  end
330
242
 
331
243
  # Custom attribute writer method with validation
332
244
  # @param [Object] originating_airport_code Value to be assigned
333
245
  def originating_airport_code=(originating_airport_code)
334
- if !originating_airport_code.nil? && originating_airport_code.to_s.length > 5
335
- fail ArgumentError, 'invalid value for "originating_airport_code", the character length must be smaller than or equal to 5.'
336
- end
337
-
338
246
  @originating_airport_code = originating_airport_code
339
247
  end
340
248
 
341
249
  # Custom attribute writer method with validation
342
250
  # @param [Object] _class Value to be assigned
343
251
  def _class=(_class)
344
- if !_class.nil? && _class.to_s.length > 3
345
- fail ArgumentError, 'invalid value for "_class", the character length must be smaller than or equal to 3.'
346
- end
347
-
348
252
  @_class = _class
349
253
  end
350
254
 
351
255
  # Custom attribute writer method with validation
352
256
  # @param [Object] destination_airport_code Value to be assigned
353
257
  def destination_airport_code=(destination_airport_code)
354
- if !destination_airport_code.nil? && destination_airport_code.to_s.length > 3
355
- fail ArgumentError, 'invalid value for "destination_airport_code", the character length must be smaller than or equal to 3.'
356
- end
357
-
358
258
  @destination_airport_code = destination_airport_code
359
259
  end
360
260
 
361
261
  # Custom attribute writer method with validation
362
262
  # @param [Object] fare_basis Value to be assigned
363
263
  def fare_basis=(fare_basis)
364
- if !fare_basis.nil? && fare_basis.to_s.length > 15
365
- fail ArgumentError, 'invalid value for "fare_basis", the character length must be smaller than or equal to 15.'
366
- end
367
-
368
264
  @fare_basis = fare_basis
369
265
  end
370
266
 
371
267
  # Custom attribute writer method with validation
372
268
  # @param [Object] depart_tax_amount Value to be assigned
373
269
  def depart_tax_amount=(depart_tax_amount)
374
- if !depart_tax_amount.nil? && depart_tax_amount.to_s.length > 12
375
- fail ArgumentError, 'invalid value for "depart_tax_amount", the character length must be smaller than or equal to 12.'
376
- end
377
-
378
270
  @depart_tax_amount = depart_tax_amount
379
271
  end
380
272
 
381
273
  # Custom attribute writer method with validation
382
274
  # @param [Object] conjunction_ticket Value to be assigned
383
275
  def conjunction_ticket=(conjunction_ticket)
384
- if !conjunction_ticket.nil? && conjunction_ticket.to_s.length > 25
385
- fail ArgumentError, 'invalid value for "conjunction_ticket", the character length must be smaller than or equal to 25.'
386
- end
387
-
388
276
  @conjunction_ticket = conjunction_ticket
389
277
  end
390
278
 
391
279
  # Custom attribute writer method with validation
392
280
  # @param [Object] exchange_ticket_number Value to be assigned
393
281
  def exchange_ticket_number=(exchange_ticket_number)
394
- if !exchange_ticket_number.nil? && exchange_ticket_number.to_s.length > 25
395
- fail ArgumentError, 'invalid value for "exchange_ticket_number", the character length must be smaller than or equal to 25.'
396
- end
397
-
398
282
  @exchange_ticket_number = exchange_ticket_number
399
283
  end
400
284
 
401
285
  # Custom attribute writer method with validation
402
286
  # @param [Object] coupon_number Value to be assigned
403
287
  def coupon_number=(coupon_number)
404
- if !coupon_number.nil? && coupon_number.to_s.length > 1
405
- fail ArgumentError, 'invalid value for "coupon_number", the character length must be smaller than or equal to 1.'
406
- end
407
-
408
288
  @coupon_number = coupon_number
409
289
  end
410
290
 
411
291
  # Custom attribute writer method with validation
412
292
  # @param [Object] departure_time_meridian Value to be assigned
413
293
  def departure_time_meridian=(departure_time_meridian)
414
- if !departure_time_meridian.nil? && departure_time_meridian.to_s.length > 1
415
- fail ArgumentError, 'invalid value for "departure_time_meridian", the character length must be smaller than or equal to 1.'
416
- end
417
-
418
294
  @departure_time_meridian = departure_time_meridian
419
295
  end
420
296
 
421
297
  # Custom attribute writer method with validation
422
298
  # @param [Object] arrival_time_meridian Value to be assigned
423
299
  def arrival_time_meridian=(arrival_time_meridian)
424
- if !arrival_time_meridian.nil? && arrival_time_meridian.to_s.length > 1
425
- fail ArgumentError, 'invalid value for "arrival_time_meridian", the character length must be smaller than or equal to 1.'
426
- end
427
-
428
300
  @arrival_time_meridian = arrival_time_meridian
429
301
  end
430
302
 
431
303
  # Custom attribute writer method with validation
432
304
  # @param [Object] endorsements_restrictions Value to be assigned
433
305
  def endorsements_restrictions=(endorsements_restrictions)
434
- if !endorsements_restrictions.nil? && endorsements_restrictions.to_s.length > 20
435
- fail ArgumentError, 'invalid value for "endorsements_restrictions", the character length must be smaller than or equal to 20.'
436
- end
437
-
438
306
  @endorsements_restrictions = endorsements_restrictions
439
307
  end
440
308
 
441
309
  # Custom attribute writer method with validation
442
310
  # @param [Object] total_fare_amount Value to be assigned
443
311
  def total_fare_amount=(total_fare_amount)
444
- if !total_fare_amount.nil? && total_fare_amount.to_s.length > 15
445
- fail ArgumentError, 'invalid value for "total_fare_amount", the character length must be smaller than or equal to 15.'
446
- end
447
-
448
312
  @total_fare_amount = total_fare_amount
449
313
  end
450
314
 
451
315
  # Custom attribute writer method with validation
452
316
  # @param [Object] fee_amount Value to be assigned
453
317
  def fee_amount=(fee_amount)
454
- if !fee_amount.nil? && fee_amount.to_s.length > 12
455
- fail ArgumentError, 'invalid value for "fee_amount", the character length must be smaller than or equal to 12.'
456
- end
457
-
458
318
  @fee_amount = fee_amount
459
319
  end
460
320
 
461
321
  # Custom attribute writer method with validation
462
322
  # @param [Object] tax_amount Value to be assigned
463
323
  def tax_amount=(tax_amount)
464
- if !tax_amount.nil? && tax_amount.to_s.length > 12
465
- fail ArgumentError, 'invalid value for "tax_amount", the character length must be smaller than or equal to 12.'
466
- end
467
-
468
324
  @tax_amount = tax_amount
469
325
  end
470
326
 
@@ -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 !@code.nil? && @code.to_s.length > 4
106
- invalid_properties.push('invalid value for "code", the character length must be smaller than or equal to 4.')
107
- end
108
-
109
- if !@name.nil? && @name.to_s.length > 20
110
- invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 20.')
111
- end
112
-
113
- if !@address.nil? && @address.to_s.length > 16
114
- invalid_properties.push('invalid value for "address", the character length must be smaller than or equal to 16.')
115
- end
116
-
117
- if !@locality.nil? && @locality.to_s.length > 18
118
- invalid_properties.push('invalid value for "locality", the character length must be smaller than or equal to 18.')
119
- end
120
-
121
- if !@administrative_area.nil? && @administrative_area.to_s.length > 18
122
- invalid_properties.push('invalid value for "administrative_area", the character length must be smaller than or equal to 18.')
123
- end
124
-
125
- if !@postal_code.nil? && @postal_code.to_s.length > 15
126
- invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 15.')
127
- end
128
-
129
- if !@country.nil? && @country.to_s.length > 18
130
- invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 18.')
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 !@code.nil? && @code.to_s.length > 4
140
- return false if !@name.nil? && @name.to_s.length > 20
141
- return false if !@address.nil? && @address.to_s.length > 16
142
- return false if !@locality.nil? && @locality.to_s.length > 18
143
- return false if !@administrative_area.nil? && @administrative_area.to_s.length > 18
144
- return false if !@postal_code.nil? && @postal_code.to_s.length > 15
145
- return false if !@country.nil? && @country.to_s.length > 18
146
111
  true
147
112
  end
148
113
 
149
114
  # Custom attribute writer method with validation
150
115
  # @param [Object] code Value to be assigned
151
116
  def code=(code)
152
- if !code.nil? && code.to_s.length > 4
153
- fail ArgumentError, 'invalid value for "code", the character length must be smaller than or equal to 4.'
154
- end
155
-
156
117
  @code = code
157
118
  end
158
119
 
159
120
  # Custom attribute writer method with validation
160
121
  # @param [Object] name Value to be assigned
161
122
  def name=(name)
162
- if !name.nil? && name.to_s.length > 20
163
- fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 20.'
164
- end
165
-
166
123
  @name = name
167
124
  end
168
125
 
169
126
  # Custom attribute writer method with validation
170
127
  # @param [Object] address Value to be assigned
171
128
  def address=(address)
172
- if !address.nil? && address.to_s.length > 16
173
- fail ArgumentError, 'invalid value for "address", the character length must be smaller than or equal to 16.'
174
- end
175
-
176
129
  @address = address
177
130
  end
178
131
 
179
132
  # Custom attribute writer method with validation
180
133
  # @param [Object] locality Value to be assigned
181
134
  def locality=(locality)
182
- if !locality.nil? && locality.to_s.length > 18
183
- fail ArgumentError, 'invalid value for "locality", the character length must be smaller than or equal to 18.'
184
- end
185
-
186
135
  @locality = locality
187
136
  end
188
137
 
189
138
  # Custom attribute writer method with validation
190
139
  # @param [Object] administrative_area Value to be assigned
191
140
  def administrative_area=(administrative_area)
192
- if !administrative_area.nil? && administrative_area.to_s.length > 18
193
- fail ArgumentError, 'invalid value for "administrative_area", the character length must be smaller than or equal to 18.'
194
- end
195
-
196
141
  @administrative_area = administrative_area
197
142
  end
198
143
 
199
144
  # Custom attribute writer method with validation
200
145
  # @param [Object] postal_code Value to be assigned
201
146
  def postal_code=(postal_code)
202
- if !postal_code.nil? && postal_code.to_s.length > 15
203
- fail ArgumentError, 'invalid value for "postal_code", the character length must be smaller than or equal to 15.'
204
- end
205
-
206
147
  @postal_code = postal_code
207
148
  end
208
149
 
209
150
  # Custom attribute writer method with validation
210
151
  # @param [Object] country Value to be assigned
211
152
  def country=(country)
212
- if !country.nil? && country.to_s.length > 18
213
- fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 18.'
214
- end
215
-
216
153
  @country = country
217
154
  end
218
155