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
@@ -110,42 +110,24 @@ module CyberSource
110
110
  # @return Array for valid properties with the reasons
111
111
  def list_invalid_properties
112
112
  invalid_properties = Array.new
113
- if !@pre_order_date.nil? && @pre_order_date.to_s.length > 10
114
- invalid_properties.push('invalid value for "pre_order_date", the character length must be smaller than or equal to 10.')
115
- end
116
-
117
- if !@total_offers_count.nil? && @total_offers_count.to_s.length > 2
118
- invalid_properties.push('invalid value for "total_offers_count", the character length must be smaller than or equal to 2.')
119
- end
120
-
121
113
  invalid_properties
122
114
  end
123
115
 
124
116
  # Check to see if the all the properties in the model are valid
125
117
  # @return true if the model is valid
126
118
  def valid?
127
- return false if !@pre_order_date.nil? && @pre_order_date.to_s.length > 10
128
- return false if !@total_offers_count.nil? && @total_offers_count.to_s.length > 2
129
119
  true
130
120
  end
131
121
 
132
122
  # Custom attribute writer method with validation
133
123
  # @param [Object] pre_order_date Value to be assigned
134
124
  def pre_order_date=(pre_order_date)
135
- if !pre_order_date.nil? && pre_order_date.to_s.length > 10
136
- fail ArgumentError, 'invalid value for "pre_order_date", the character length must be smaller than or equal to 10.'
137
- end
138
-
139
125
  @pre_order_date = pre_order_date
140
126
  end
141
127
 
142
128
  # Custom attribute writer method with validation
143
129
  # @param [Object] total_offers_count Value to be assigned
144
130
  def total_offers_count=(total_offers_count)
145
- if !total_offers_count.nil? && total_offers_count.to_s.length > 2
146
- fail ArgumentError, 'invalid value for "total_offers_count", the character length must be smaller than or equal to 2.'
147
- end
148
-
149
131
  @total_offers_count = total_offers_count
150
132
  end
151
133
 
@@ -62,18 +62,10 @@ module CyberSource
62
62
  invalid_properties.push('invalid value for "currency", currency cannot be nil.')
63
63
  end
64
64
 
65
- if @currency.to_s.length > 3
66
- invalid_properties.push('invalid value for "currency", the character length must be smaller than or equal to 3.')
67
- end
68
-
69
65
  if @total_amount.nil?
70
66
  invalid_properties.push('invalid value for "total_amount", total_amount cannot be nil.')
71
67
  end
72
68
 
73
- if @total_amount.to_s.length > 19
74
- invalid_properties.push('invalid value for "total_amount", the character length must be smaller than or equal to 19.')
75
- end
76
-
77
69
  invalid_properties
78
70
  end
79
71
 
@@ -81,9 +73,7 @@ module CyberSource
81
73
  # @return true if the model is valid
82
74
  def valid?
83
75
  return false if @currency.nil?
84
- return false if @currency.to_s.length > 3
85
76
  return false if @total_amount.nil?
86
- return false if @total_amount.to_s.length > 19
87
77
  true
88
78
  end
89
79
 
@@ -94,10 +84,6 @@ module CyberSource
94
84
  fail ArgumentError, 'currency cannot be nil'
95
85
  end
96
86
 
97
- if currency.to_s.length > 3
98
- fail ArgumentError, 'invalid value for "currency", the character length must be smaller than or equal to 3.'
99
- end
100
-
101
87
  @currency = currency
102
88
  end
103
89
 
@@ -108,10 +94,6 @@ module CyberSource
108
94
  fail ArgumentError, 'total_amount cannot be nil'
109
95
  end
110
96
 
111
- if total_amount.to_s.length > 19
112
- fail ArgumentError, 'invalid value for "total_amount", the character length must be smaller than or equal to 19.'
113
- end
114
-
115
97
  @total_amount = total_amount
116
98
  end
117
99
 
@@ -133,70 +133,30 @@ module CyberSource
133
133
  invalid_properties.push('invalid value for "address1", address1 cannot be nil.')
134
134
  end
135
135
 
136
- if @address1.to_s.length > 60
137
- invalid_properties.push('invalid value for "address1", the character length must be smaller than or equal to 60.')
138
- end
139
-
140
- if !@address2.nil? && @address2.to_s.length > 60
141
- invalid_properties.push('invalid value for "address2", the character length must be smaller than or equal to 60.')
142
- end
143
-
144
136
  if @administrative_area.nil?
145
137
  invalid_properties.push('invalid value for "administrative_area", administrative_area cannot be nil.')
146
138
  end
147
139
 
148
- if @administrative_area.to_s.length > 20
149
- invalid_properties.push('invalid value for "administrative_area", the character length must be smaller than or equal to 20.')
150
- end
151
-
152
140
  if @country.nil?
153
141
  invalid_properties.push('invalid value for "country", country cannot be nil.')
154
142
  end
155
143
 
156
- if @country.to_s.length > 2
157
- invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 2.')
158
- end
159
-
160
- if !@locality.nil? && @locality.to_s.length > 50
161
- invalid_properties.push('invalid value for "locality", the character length must be smaller than or equal to 50.')
162
- end
163
-
164
144
  if @first_name.nil?
165
145
  invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
166
146
  end
167
147
 
168
- if @first_name.to_s.length > 60
169
- invalid_properties.push('invalid value for "first_name", the character length must be smaller than or equal to 60.')
170
- end
171
-
172
148
  if @last_name.nil?
173
149
  invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
174
150
  end
175
151
 
176
- if @last_name.to_s.length > 60
177
- invalid_properties.push('invalid value for "last_name", the character length must be smaller than or equal to 60.')
178
- end
179
-
180
- if !@phone_number.nil? && @phone_number.to_s.length > 15
181
- invalid_properties.push('invalid value for "phone_number", the character length must be smaller than or equal to 15.')
182
- end
183
-
184
152
  if @email.nil?
185
153
  invalid_properties.push('invalid value for "email", email cannot be nil.')
186
154
  end
187
155
 
188
- if @email.to_s.length > 255
189
- invalid_properties.push('invalid value for "email", the character length must be smaller than or equal to 255.')
190
- end
191
-
192
156
  if @postal_code.nil?
193
157
  invalid_properties.push('invalid value for "postal_code", postal_code cannot be nil.')
194
158
  end
195
159
 
196
- if @postal_code.to_s.length > 10
197
- invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 10.')
198
- end
199
-
200
160
  invalid_properties
201
161
  end
202
162
 
@@ -204,22 +164,12 @@ module CyberSource
204
164
  # @return true if the model is valid
205
165
  def valid?
206
166
  return false if @address1.nil?
207
- return false if @address1.to_s.length > 60
208
- return false if !@address2.nil? && @address2.to_s.length > 60
209
167
  return false if @administrative_area.nil?
210
- return false if @administrative_area.to_s.length > 20
211
168
  return false if @country.nil?
212
- return false if @country.to_s.length > 2
213
- return false if !@locality.nil? && @locality.to_s.length > 50
214
169
  return false if @first_name.nil?
215
- return false if @first_name.to_s.length > 60
216
170
  return false if @last_name.nil?
217
- return false if @last_name.to_s.length > 60
218
- return false if !@phone_number.nil? && @phone_number.to_s.length > 15
219
171
  return false if @email.nil?
220
- return false if @email.to_s.length > 255
221
172
  return false if @postal_code.nil?
222
- return false if @postal_code.to_s.length > 10
223
173
  true
224
174
  end
225
175
 
@@ -230,20 +180,12 @@ module CyberSource
230
180
  fail ArgumentError, 'address1 cannot be nil'
231
181
  end
232
182
 
233
- if address1.to_s.length > 60
234
- fail ArgumentError, 'invalid value for "address1", the character length must be smaller than or equal to 60.'
235
- end
236
-
237
183
  @address1 = address1
238
184
  end
239
185
 
240
186
  # Custom attribute writer method with validation
241
187
  # @param [Object] address2 Value to be assigned
242
188
  def address2=(address2)
243
- if !address2.nil? && address2.to_s.length > 60
244
- fail ArgumentError, 'invalid value for "address2", the character length must be smaller than or equal to 60.'
245
- end
246
-
247
189
  @address2 = address2
248
190
  end
249
191
 
@@ -254,10 +196,6 @@ module CyberSource
254
196
  fail ArgumentError, 'administrative_area cannot be nil'
255
197
  end
256
198
 
257
- if administrative_area.to_s.length > 20
258
- fail ArgumentError, 'invalid value for "administrative_area", the character length must be smaller than or equal to 20.'
259
- end
260
-
261
199
  @administrative_area = administrative_area
262
200
  end
263
201
 
@@ -268,20 +206,12 @@ module CyberSource
268
206
  fail ArgumentError, 'country cannot be nil'
269
207
  end
270
208
 
271
- if country.to_s.length > 2
272
- fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 2.'
273
- end
274
-
275
209
  @country = country
276
210
  end
277
211
 
278
212
  # Custom attribute writer method with validation
279
213
  # @param [Object] locality Value to be assigned
280
214
  def locality=(locality)
281
- if !locality.nil? && locality.to_s.length > 50
282
- fail ArgumentError, 'invalid value for "locality", the character length must be smaller than or equal to 50.'
283
- end
284
-
285
215
  @locality = locality
286
216
  end
287
217
 
@@ -292,10 +222,6 @@ module CyberSource
292
222
  fail ArgumentError, 'first_name cannot be nil'
293
223
  end
294
224
 
295
- if first_name.to_s.length > 60
296
- fail ArgumentError, 'invalid value for "first_name", the character length must be smaller than or equal to 60.'
297
- end
298
-
299
225
  @first_name = first_name
300
226
  end
301
227
 
@@ -306,20 +232,12 @@ module CyberSource
306
232
  fail ArgumentError, 'last_name cannot be nil'
307
233
  end
308
234
 
309
- if last_name.to_s.length > 60
310
- fail ArgumentError, 'invalid value for "last_name", the character length must be smaller than or equal to 60.'
311
- end
312
-
313
235
  @last_name = last_name
314
236
  end
315
237
 
316
238
  # Custom attribute writer method with validation
317
239
  # @param [Object] phone_number Value to be assigned
318
240
  def phone_number=(phone_number)
319
- if !phone_number.nil? && phone_number.to_s.length > 15
320
- fail ArgumentError, 'invalid value for "phone_number", the character length must be smaller than or equal to 15.'
321
- end
322
-
323
241
  @phone_number = phone_number
324
242
  end
325
243
 
@@ -330,10 +248,6 @@ module CyberSource
330
248
  fail ArgumentError, 'email cannot be nil'
331
249
  end
332
250
 
333
- if email.to_s.length > 255
334
- fail ArgumentError, 'invalid value for "email", the character length must be smaller than or equal to 255.'
335
- end
336
-
337
251
  @email = email
338
252
  end
339
253
 
@@ -344,10 +258,6 @@ module CyberSource
344
258
  fail ArgumentError, 'postal_code cannot be nil'
345
259
  end
346
260
 
347
- if postal_code.to_s.length > 10
348
- fail ArgumentError, 'invalid value for "postal_code", the character length must be smaller than or equal to 10.'
349
- end
350
-
351
261
  @postal_code = postal_code
352
262
  end
353
263
 
@@ -128,18 +128,10 @@ module CyberSource
128
128
  # @return Array for valid properties with the reasons
129
129
  def list_invalid_properties
130
130
  invalid_properties = Array.new
131
- if !@total_amount.nil? && @total_amount.to_s.length > 13
132
- invalid_properties.push('invalid value for "total_amount", the character length must be smaller than or equal to 13.')
133
- end
134
-
135
131
  if @unit_price.nil?
136
132
  invalid_properties.push('invalid value for "unit_price", unit_price cannot be nil.')
137
133
  end
138
134
 
139
- if @unit_price.to_s.length > 15
140
- invalid_properties.push('invalid value for "unit_price", the character length must be smaller than or equal to 15.')
141
- end
142
-
143
135
  if !@quantity.nil? && @quantity > 999999999
144
136
  invalid_properties.push('invalid value for "quantity", must be smaller than or equal to 999999999.')
145
137
  end
@@ -148,47 +140,21 @@ module CyberSource
148
140
  invalid_properties.push('invalid value for "quantity", must be greater than or equal to 1.')
149
141
  end
150
142
 
151
- if !@product_sku.nil? && @product_sku.to_s.length > 255
152
- invalid_properties.push('invalid value for "product_sku", the character length must be smaller than or equal to 255.')
153
- end
154
-
155
- if !@product_name.nil? && @product_name.to_s.length > 255
156
- invalid_properties.push('invalid value for "product_name", the character length must be smaller than or equal to 255.')
157
- end
158
-
159
- if !@shipping_destination_types.nil? && @shipping_destination_types.to_s.length > 50
160
- invalid_properties.push('invalid value for "shipping_destination_types", the character length must be smaller than or equal to 50.')
161
- end
162
-
163
- if !@tax_amount.nil? && @tax_amount.to_s.length > 15
164
- invalid_properties.push('invalid value for "tax_amount", the character length must be smaller than or equal to 15.')
165
- end
166
-
167
143
  invalid_properties
168
144
  end
169
145
 
170
146
  # Check to see if the all the properties in the model are valid
171
147
  # @return true if the model is valid
172
148
  def valid?
173
- return false if !@total_amount.nil? && @total_amount.to_s.length > 13
174
149
  return false if @unit_price.nil?
175
- return false if @unit_price.to_s.length > 15
176
150
  return false if !@quantity.nil? && @quantity > 999999999
177
151
  return false if !@quantity.nil? && @quantity < 1
178
- return false if !@product_sku.nil? && @product_sku.to_s.length > 255
179
- return false if !@product_name.nil? && @product_name.to_s.length > 255
180
- return false if !@shipping_destination_types.nil? && @shipping_destination_types.to_s.length > 50
181
- return false if !@tax_amount.nil? && @tax_amount.to_s.length > 15
182
152
  true
183
153
  end
184
154
 
185
155
  # Custom attribute writer method with validation
186
156
  # @param [Object] total_amount Value to be assigned
187
157
  def total_amount=(total_amount)
188
- if !total_amount.nil? && total_amount.to_s.length > 13
189
- fail ArgumentError, 'invalid value for "total_amount", the character length must be smaller than or equal to 13.'
190
- end
191
-
192
158
  @total_amount = total_amount
193
159
  end
194
160
 
@@ -199,10 +165,6 @@ module CyberSource
199
165
  fail ArgumentError, 'unit_price cannot be nil'
200
166
  end
201
167
 
202
- if unit_price.to_s.length > 15
203
- fail ArgumentError, 'invalid value for "unit_price", the character length must be smaller than or equal to 15.'
204
- end
205
-
206
168
  @unit_price = unit_price
207
169
  end
208
170
 
@@ -223,40 +185,24 @@ module CyberSource
223
185
  # Custom attribute writer method with validation
224
186
  # @param [Object] product_sku Value to be assigned
225
187
  def product_sku=(product_sku)
226
- if !product_sku.nil? && product_sku.to_s.length > 255
227
- fail ArgumentError, 'invalid value for "product_sku", the character length must be smaller than or equal to 255.'
228
- end
229
-
230
188
  @product_sku = product_sku
231
189
  end
232
190
 
233
191
  # Custom attribute writer method with validation
234
192
  # @param [Object] product_name Value to be assigned
235
193
  def product_name=(product_name)
236
- if !product_name.nil? && product_name.to_s.length > 255
237
- fail ArgumentError, 'invalid value for "product_name", the character length must be smaller than or equal to 255.'
238
- end
239
-
240
194
  @product_name = product_name
241
195
  end
242
196
 
243
197
  # Custom attribute writer method with validation
244
198
  # @param [Object] shipping_destination_types Value to be assigned
245
199
  def shipping_destination_types=(shipping_destination_types)
246
- if !shipping_destination_types.nil? && shipping_destination_types.to_s.length > 50
247
- fail ArgumentError, 'invalid value for "shipping_destination_types", the character length must be smaller than or equal to 50.'
248
- end
249
-
250
200
  @shipping_destination_types = shipping_destination_types
251
201
  end
252
202
 
253
203
  # Custom attribute writer method with validation
254
204
  # @param [Object] tax_amount Value to be assigned
255
205
  def tax_amount=(tax_amount)
256
- if !tax_amount.nil? && tax_amount.to_s.length > 15
257
- fail ArgumentError, 'invalid value for "tax_amount", the character length must be smaller than or equal to 15.'
258
- end
259
-
260
206
  @tax_amount = tax_amount
261
207
  end
262
208
 
@@ -84,10 +84,6 @@ 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 !@bin.nil? && @bin.to_s.length > 6
88
- invalid_properties.push('invalid value for "bin", the character length must be smaller than or equal to 6.')
89
- end
90
-
91
87
  if @type.nil?
92
88
  invalid_properties.push('invalid value for "type", type cannot be nil.')
93
89
  end
@@ -96,50 +92,30 @@ module CyberSource
96
92
  invalid_properties.push('invalid value for "expiration_month", expiration_month cannot be nil.')
97
93
  end
98
94
 
99
- if @expiration_month.to_s.length > 2
100
- invalid_properties.push('invalid value for "expiration_month", the character length must be smaller than or equal to 2.')
101
- end
102
-
103
95
  if @expiration_year.nil?
104
96
  invalid_properties.push('invalid value for "expiration_year", expiration_year cannot be nil.')
105
97
  end
106
98
 
107
- if @expiration_year.to_s.length > 4
108
- invalid_properties.push('invalid value for "expiration_year", the character length must be smaller than or equal to 4.')
109
- end
110
-
111
99
  if @number.nil?
112
100
  invalid_properties.push('invalid value for "number", number cannot be nil.')
113
101
  end
114
102
 
115
- if @number.to_s.length > 20
116
- invalid_properties.push('invalid value for "number", the character length must be smaller than or equal to 20.')
117
- end
118
-
119
103
  invalid_properties
120
104
  end
121
105
 
122
106
  # Check to see if the all the properties in the model are valid
123
107
  # @return true if the model is valid
124
108
  def valid?
125
- return false if !@bin.nil? && @bin.to_s.length > 6
126
109
  return false if @type.nil?
127
110
  return false if @expiration_month.nil?
128
- return false if @expiration_month.to_s.length > 2
129
111
  return false if @expiration_year.nil?
130
- return false if @expiration_year.to_s.length > 4
131
112
  return false if @number.nil?
132
- return false if @number.to_s.length > 20
133
113
  true
134
114
  end
135
115
 
136
116
  # Custom attribute writer method with validation
137
117
  # @param [Object] bin Value to be assigned
138
118
  def bin=(bin)
139
- if !bin.nil? && bin.to_s.length > 6
140
- fail ArgumentError, 'invalid value for "bin", the character length must be smaller than or equal to 6.'
141
- end
142
-
143
119
  @bin = bin
144
120
  end
145
121
 
@@ -150,10 +126,6 @@ module CyberSource
150
126
  fail ArgumentError, 'expiration_month cannot be nil'
151
127
  end
152
128
 
153
- if expiration_month.to_s.length > 2
154
- fail ArgumentError, 'invalid value for "expiration_month", the character length must be smaller than or equal to 2.'
155
- end
156
-
157
129
  @expiration_month = expiration_month
158
130
  end
159
131
 
@@ -164,10 +136,6 @@ module CyberSource
164
136
  fail ArgumentError, 'expiration_year cannot be nil'
165
137
  end
166
138
 
167
- if expiration_year.to_s.length > 4
168
- fail ArgumentError, 'invalid value for "expiration_year", the character length must be smaller than or equal to 4.'
169
- end
170
-
171
139
  @expiration_year = expiration_year
172
140
  end
173
141
 
@@ -178,10 +146,6 @@ module CyberSource
178
146
  fail ArgumentError, 'number cannot be nil'
179
147
  end
180
148
 
181
- if number.to_s.length > 20
182
- fail ArgumentError, 'invalid value for "number", the character length must be smaller than or equal to 20.'
183
- end
184
-
185
149
  @number = number
186
150
  end
187
151