cybersource_rest_client 0.0.26 → 0.0.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (417) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +5 -1
  3. data/lib/AuthenticationSDK/core/MerchantConfig.rb +11 -2
  4. data/lib/AuthenticationSDK/util/Constants.rb +3 -1
  5. data/lib/cybersource_rest_client.rb +11 -11
  6. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
  7. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +92 -5
  8. data/lib/cybersource_rest_client/api_client.rb +3 -3
  9. data/lib/cybersource_rest_client/configuration.rb +2 -2
  10. data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +1 -1
  11. data/lib/cybersource_rest_client/models/create_adhoc_report_request.rb +0 -36
  12. data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +0 -36
  13. data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +13 -4
  14. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +0 -54
  15. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information_header_style.rb +0 -18
  16. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +0 -9
  17. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +0 -9
  18. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +0 -18
  19. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +0 -9
  20. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +0 -9
  21. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +0 -9
  22. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +0 -9
  23. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +0 -36
  24. data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +0 -54
  25. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +0 -18
  26. data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +0 -9
  27. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +0 -27
  28. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +0 -9
  29. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +0 -18
  30. data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +0 -27
  31. data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +0 -9
  32. data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +1 -10
  33. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +0 -18
  34. data/lib/cybersource_rest_client/models/patch_customer_request.rb +0 -18
  35. data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +0 -18
  36. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +0 -18
  37. data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +1 -1
  38. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer.rb → payment_instrument_list.rb} +3 -3
  39. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__embedded.rb → payment_instrument_list__embedded.rb} +1 -1
  40. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links.rb → payment_instrument_list__links.rb} +6 -6
  41. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_first.rb → payment_instrument_list__links_first.rb} +1 -1
  42. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_last.rb → payment_instrument_list__links_last.rb} +1 -1
  43. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_next.rb → payment_instrument_list__links_next.rb} +1 -1
  44. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_prev.rb → payment_instrument_list__links_prev.rb} +1 -1
  45. data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_self.rb → payment_instrument_list__links_self.rb} +1 -1
  46. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +0 -18
  47. data/lib/cybersource_rest_client/models/post_customer_request.rb +0 -18
  48. data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +0 -18
  49. data/lib/cybersource_rest_client/models/{riskv1addressverifications_client_reference_information.rb → post_instrument_identifier_enrollment_request.rb} +105 -52
  50. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +0 -18
  51. data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +0 -36
  52. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response_transaction_batches.rb +0 -18
  53. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response.rb +0 -18
  54. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +0 -18
  55. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +0 -18
  56. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +0 -9
  57. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb +0 -18
  58. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_client_reference_information.rb +0 -9
  59. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +1 -1
  60. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +0 -9
  61. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +0 -36
  62. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +0 -18
  63. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +0 -18
  64. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +0 -9
  65. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +0 -9
  66. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +0 -18
  67. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +0 -18
  68. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +0 -189
  69. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_ivr.rb +0 -45
  70. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +0 -198
  71. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +0 -36
  72. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +0 -27
  73. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +0 -45
  74. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +0 -153
  75. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features_balances.rb +0 -36
  76. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +0 -9
  77. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +0 -9
  78. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_instrument_identifier.rb +0 -18
  79. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -55
  80. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +0 -18
  81. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +0 -27
  82. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +17 -1
  83. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +0 -18
  84. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +17 -145
  85. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +0 -18
  86. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +0 -18
  87. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +0 -18
  88. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +0 -18
  89. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb +0 -9
  90. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +0 -108
  91. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +0 -18
  92. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +3 -30
  93. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information.rb +0 -9
  94. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_info_codes.rb +21 -9
  95. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_ip_address.rb +0 -63
  96. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_profile.rb +0 -27
  97. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_rules.rb +0 -18
  98. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_score.rb +0 -18
  99. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_actual_final_destination.rb +0 -36
  100. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_departure.rb +0 -36
  101. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_destination.rb +0 -36
  102. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_last_destination.rb +0 -36
  103. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_velocity_morphing.rb +0 -18
  104. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_customer.rb +0 -18
  105. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_instrument_identifier.rb +0 -18
  106. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_payment_instrument.rb +0 -18
  107. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_shipping_address.rb +0 -18
  108. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +0 -18
  109. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +0 -36
  110. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +0 -18
  111. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +0 -18
  112. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb +0 -27
  113. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +0 -9
  114. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +0 -54
  115. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +0 -27
  116. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +0 -9
  117. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +0 -9
  118. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +0 -9
  119. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +0 -18
  120. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +0 -9
  121. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +0 -36
  122. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +0 -45
  123. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +0 -18
  124. data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +0 -9
  125. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +1 -109
  126. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +0 -63
  127. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_electronic_benefits_transfer.rb +0 -9
  128. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb +0 -9
  129. data/lib/cybersource_rest_client/models/ptsv2payments_acquirer_information.rb +0 -36
  130. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +0 -18
  131. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +0 -99
  132. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +0 -45
  133. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +0 -9
  134. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +1 -19
  135. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +0 -36
  136. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +34 -371
  137. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +0 -54
  138. data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +11 -100
  139. data/lib/cybersource_rest_client/models/ptsv2payments_device_information_raw_data.rb +0 -9
  140. data/lib/cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details.rb +1 -19
  141. data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +0 -90
  142. data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +0 -9
  143. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +0 -18
  144. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +0 -54
  145. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +0 -63
  146. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +0 -27
  147. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +0 -27
  148. data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +0 -18
  149. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +0 -189
  150. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +0 -18
  151. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion.rb +0 -27
  152. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +0 -9
  153. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +0 -45
  154. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +0 -162
  155. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +0 -63
  156. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +0 -72
  157. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +0 -9
  158. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +0 -198
  159. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_passenger.rb +0 -72
  160. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +0 -126
  161. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +0 -18
  162. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +0 -9
  163. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +0 -9
  164. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +0 -45
  165. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +1 -118
  166. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +0 -18
  167. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +0 -27
  168. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_instrument_identifier.rb +0 -18
  169. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_legacy_token.rb +0 -9
  170. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_instrument.rb +0 -18
  171. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_shipping_address.rb +0 -18
  172. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -82
  173. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +0 -144
  174. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +0 -18
  175. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +1 -127
  176. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +7 -43
  177. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +0 -99
  178. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +0 -9
  179. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer.rb +0 -18
  180. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +0 -63
  181. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +0 -18
  182. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb +0 -9
  183. data/lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb +0 -18
  184. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +0 -27
  185. data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +24 -22
  186. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb +0 -9
  187. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_account_history.rb +0 -9
  188. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +0 -27
  189. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_profile.rb +0 -9
  190. data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +14 -13
  191. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +0 -9
  192. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +0 -18
  193. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +0 -333
  194. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_rental_address.rb +0 -63
  195. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_return_address.rb +0 -45
  196. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_tax_details.rb +0 -45
  197. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +0 -351
  198. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +0 -9
  199. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +0 -261
  200. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +0 -36
  201. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +0 -18
  202. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +0 -144
  203. data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +0 -63
  204. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +0 -9
  205. data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +0 -27
  206. data/lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb +0 -9
  207. data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +0 -18
  208. data/lib/cybersource_rest_client/models/ptsv2paymentsid_travel_information.rb +0 -9
  209. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +0 -18
  210. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +0 -81
  211. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +0 -18
  212. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +0 -27
  213. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +0 -207
  214. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +0 -27
  215. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +0 -162
  216. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +0 -90
  217. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +0 -45
  218. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +0 -27
  219. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +0 -9
  220. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +0 -18
  221. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +0 -9
  222. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +0 -9
  223. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +1 -64
  224. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +0 -27
  225. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +0 -27
  226. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +0 -144
  227. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +1 -82
  228. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +1 -64
  229. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +0 -9
  230. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +0 -27
  231. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_amount_details.rb +0 -9
  232. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +0 -9
  233. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +0 -9
  234. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +1 -46
  235. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +0 -18
  236. data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +0 -9
  237. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +0 -9
  238. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +0 -27
  239. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +0 -18
  240. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +0 -9
  241. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +0 -81
  242. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +1 -37
  243. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +0 -36
  244. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +0 -36
  245. data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +0 -99
  246. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +0 -126
  247. data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +0 -27
  248. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_fee_and_funding_details.rb +0 -9
  249. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_others.rb +0 -9
  250. data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlement_statuses.rb +0 -9
  251. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +1 -10
  252. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb +0 -18
  253. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +0 -45
  254. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb +0 -9
  255. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb +0 -90
  256. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +1 -10
  257. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +0 -90
  258. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb +10 -10
  259. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +0 -18
  260. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +1 -10
  261. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_error_information.rb +1 -1
  262. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +1 -10
  263. data/lib/cybersource_rest_client/models/{riskv1authenticationsetups_client_reference_information.rb → risk_v1_decisions_post201_response_client_reference_information.rb} +30 -23
  264. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +0 -171
  265. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_error_information.rb +1 -1
  266. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +0 -9
  267. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +0 -45
  268. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +1 -10
  269. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb +0 -9
  270. data/lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb +1 -10
  271. data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +0 -9
  272. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +0 -72
  273. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +0 -45
  274. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +0 -72
  275. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +0 -50
  276. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -18
  277. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +1 -37
  278. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -28
  279. data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +17 -1
  280. data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +0 -81
  281. data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +0 -18
  282. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +0 -18
  283. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +0 -90
  284. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +0 -54
  285. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -37
  286. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -28
  287. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -28
  288. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_customer.rb +0 -9
  289. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +0 -27
  290. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -37
  291. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +1 -19
  292. data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +0 -36
  293. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +18 -18
  294. data/lib/cybersource_rest_client/models/{vasv2tax_client_reference_information_partner.rb → riskv1decisions_client_reference_information_partner.rb} +1 -19
  295. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -271
  296. data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information_strong_authentication.rb +0 -9
  297. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +11 -100
  298. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_defined_information.rb +0 -18
  299. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +0 -9
  300. data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb +0 -9
  301. data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +0 -18
  302. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +0 -18
  303. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +0 -90
  304. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +0 -81
  305. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +0 -99
  306. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +0 -9
  307. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +0 -9
  308. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -37
  309. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -28
  310. data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_avs.rb +0 -9
  311. data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_card_verification.rb +0 -9
  312. data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +0 -9
  313. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +0 -36
  314. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +0 -27
  315. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_passengers.rb +0 -18
  316. data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb +0 -18
  317. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +0 -18
  318. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb +0 -27
  319. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +0 -99
  320. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb +0 -9
  321. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +0 -45
  322. data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +0 -27
  323. data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +0 -18
  324. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_address.rb +0 -54
  325. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +0 -99
  326. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +0 -9
  327. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +0 -54
  328. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +0 -36
  329. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -19
  330. data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +0 -27
  331. data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +0 -18
  332. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +0 -18
  333. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bank_account.rb +0 -9
  334. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +0 -54
  335. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +0 -45
  336. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_issuer.rb +0 -9
  337. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bank_account.rb +0 -9
  338. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +0 -99
  339. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +0 -18
  340. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb +0 -9
  341. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb +0 -9
  342. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card.rb +0 -45
  343. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +0 -18
  344. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb +0 -18
  345. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +0 -9
  346. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb +0 -9
  347. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +0 -18
  348. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_ship_to.rb +0 -99
  349. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_merchant_initiated_transaction.rb +0 -9
  350. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +0 -18
  351. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +0 -18
  352. data/lib/cybersource_rest_client/models/tmsv2customers_buyer_information.rb +0 -18
  353. data/lib/cybersource_rest_client/models/tmsv2customers_client_reference_information.rb +0 -9
  354. data/lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb +0 -9
  355. data/lib/cybersource_rest_client/models/tmsv2customers_object_information.rb +0 -18
  356. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +10 -28
  357. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +0 -18
  358. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +0 -18
  359. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +0 -27
  360. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +0 -18
  361. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +0 -54
  362. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +0 -126
  363. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +0 -45
  364. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +0 -90
  365. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +0 -9
  366. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +0 -27
  367. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +0 -27
  368. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +1 -73
  369. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +0 -18
  370. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +18 -20
  371. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +0 -9
  372. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options.rb +0 -36
  373. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +0 -36
  374. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +0 -90
  375. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_multi_processor_routing.rb +0 -18
  376. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_processor.rb +0 -9
  377. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules.rb +0 -18
  378. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +0 -9
  379. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +0 -9
  380. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +0 -9
  381. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +0 -9
  382. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +0 -18
  383. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +0 -9
  384. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +0 -9
  385. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +0 -45
  386. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +0 -45
  387. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +1 -10
  388. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +0 -18
  389. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +0 -9
  390. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -19
  391. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +0 -27
  392. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +0 -9
  393. data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +1 -1
  394. data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +1 -1
  395. data/lib/cybersource_rest_client/models/validate_request.rb +1 -1
  396. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response.rb +0 -9
  397. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information.rb +0 -27
  398. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_jurisdiction.rb +6 -72
  399. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_line_items.rb +0 -27
  400. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_tax_details.rb +0 -18
  401. data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response.rb +0 -9
  402. data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +0 -9
  403. data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +0 -9
  404. data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +1 -10
  405. data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +0 -9
  406. data/lib/cybersource_rest_client/models/vasv2tax_order_information_bill_to.rb +0 -54
  407. data/lib/cybersource_rest_client/models/vasv2tax_order_information_invoice_details.rb +0 -9
  408. data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +0 -99
  409. data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_acceptance.rb +0 -36
  410. data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_origin.rb +0 -36
  411. data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +0 -63
  412. data/lib/cybersource_rest_client/models/vasv2tax_order_information_shipping_details.rb +0 -36
  413. data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +0 -18
  414. data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +0 -9
  415. data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information_partner.rb +0 -18
  416. data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +1 -1
  417. metadata +105 -86
@@ -20,7 +20,7 @@ module CyberSource
20
20
  # Bank Identification Number (BIN). This is the initial four to six numbers on a credit card account number.
21
21
  attr_accessor :prefix
22
22
 
23
- # Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
23
+ # Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
24
24
  attr_accessor :type
25
25
 
26
26
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -66,27 +66,18 @@ module CyberSource
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if !@prefix.nil? && @prefix.to_s.length > 6
70
- invalid_properties.push('invalid value for "prefix", the character length must be smaller than or equal to 6.')
71
- end
72
-
73
69
  invalid_properties
74
70
  end
75
71
 
76
72
  # Check to see if the all the properties in the model are valid
77
73
  # @return true if the model is valid
78
74
  def valid?
79
- return false if !@prefix.nil? && @prefix.to_s.length > 6
80
75
  true
81
76
  end
82
77
 
83
78
  # Custom attribute writer method with validation
84
79
  # @param [Object] prefix Value to be assigned
85
80
  def prefix=(prefix)
86
- if !prefix.nil? && prefix.to_s.length > 6
87
- fail ArgumentError, 'invalid value for "prefix", the character length must be smaller than or equal to 6.'
88
- end
89
-
90
81
  @prefix = prefix
91
82
  end
92
83
 
@@ -74,42 +74,24 @@ module CyberSource
74
74
  # @return Array for valid properties with the reasons
75
75
  def list_invalid_properties
76
76
  invalid_properties = Array.new
77
- if !@terminal_id.nil? && @terminal_id.to_s.length > 8
78
- invalid_properties.push('invalid value for "terminal_id", the character length must be smaller than or equal to 8.')
79
- end
80
-
81
- if !@terminal_serial_number.nil? && @terminal_serial_number.to_s.length > 32
82
- invalid_properties.push('invalid value for "terminal_serial_number", the character length must be smaller than or equal to 32.')
83
- end
84
-
85
77
  invalid_properties
86
78
  end
87
79
 
88
80
  # Check to see if the all the properties in the model are valid
89
81
  # @return true if the model is valid
90
82
  def valid?
91
- return false if !@terminal_id.nil? && @terminal_id.to_s.length > 8
92
- return false if !@terminal_serial_number.nil? && @terminal_serial_number.to_s.length > 32
93
83
  true
94
84
  end
95
85
 
96
86
  # Custom attribute writer method with validation
97
87
  # @param [Object] terminal_id Value to be assigned
98
88
  def terminal_id=(terminal_id)
99
- if !terminal_id.nil? && terminal_id.to_s.length > 8
100
- fail ArgumentError, 'invalid value for "terminal_id", the character length must be smaller than or equal to 8.'
101
- end
102
-
103
89
  @terminal_id = terminal_id
104
90
  end
105
91
 
106
92
  # Custom attribute writer method with validation
107
93
  # @param [Object] terminal_serial_number Value to be assigned
108
94
  def terminal_serial_number=(terminal_serial_number)
109
- if !terminal_serial_number.nil? && terminal_serial_number.to_s.length > 32
110
- fail ArgumentError, 'invalid value for "terminal_serial_number", the character length must be smaller than or equal to 32.'
111
- end
112
-
113
95
  @terminal_serial_number = terminal_serial_number
114
96
  end
115
97
 
@@ -48,27 +48,18 @@ module CyberSource
48
48
  # @return Array for valid properties with the reasons
49
49
  def list_invalid_properties
50
50
  invalid_properties = Array.new
51
- if !@original_transaction_id.nil? && @original_transaction_id.to_s.length > 32
52
- invalid_properties.push('invalid value for "original_transaction_id", the character length must be smaller than or equal to 32.')
53
- end
54
-
55
51
  invalid_properties
56
52
  end
57
53
 
58
54
  # Check to see if the all the properties in the model are valid
59
55
  # @return true if the model is valid
60
56
  def valid?
61
- return false if !@original_transaction_id.nil? && @original_transaction_id.to_s.length > 32
62
57
  true
63
58
  end
64
59
 
65
60
  # Custom attribute writer method with validation
66
61
  # @param [Object] original_transaction_id Value to be assigned
67
62
  def original_transaction_id=(original_transaction_id)
68
- if !original_transaction_id.nil? && original_transaction_id.to_s.length > 32
69
- fail ArgumentError, 'invalid value for "original_transaction_id", the character length must be smaller than or equal to 32.'
70
- end
71
-
72
63
  @original_transaction_id = original_transaction_id
73
64
  end
74
65
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class TssV2TransactionsPost201ResponseEmbeddedProcessingInformation
17
- # Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay.
17
+ # Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay. - `014`: Mastercard credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `015`: Visa credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token.
18
18
  attr_accessor :payment_solution
19
19
 
20
20
  # Payouts transaction type. Required for OCT transactions. This field is a pass-through, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. **Note** When the request includes this field, this value overrides the information in your CyberSource account. For valid values, see the `invoiceHeader_businessApplicationID` field description in [Payouts Using the Simple Order API.](http://apps.cybersource.com/library/documentation/dev_guides/payouts_SO/Payouts_SO_API.pdf)
@@ -66,42 +66,24 @@ module CyberSource
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if !@payment_solution.nil? && @payment_solution.to_s.length > 12
70
- invalid_properties.push('invalid value for "payment_solution", the character length must be smaller than or equal to 12.')
71
- end
72
-
73
- if !@commerce_indicator.nil? && @commerce_indicator.to_s.length > 20
74
- invalid_properties.push('invalid value for "commerce_indicator", the character length must be smaller than or equal to 20.')
75
- end
76
-
77
69
  invalid_properties
78
70
  end
79
71
 
80
72
  # Check to see if the all the properties in the model are valid
81
73
  # @return true if the model is valid
82
74
  def valid?
83
- return false if !@payment_solution.nil? && @payment_solution.to_s.length > 12
84
- return false if !@commerce_indicator.nil? && @commerce_indicator.to_s.length > 20
85
75
  true
86
76
  end
87
77
 
88
78
  # Custom attribute writer method with validation
89
79
  # @param [Object] payment_solution Value to be assigned
90
80
  def payment_solution=(payment_solution)
91
- if !payment_solution.nil? && payment_solution.to_s.length > 12
92
- fail ArgumentError, 'invalid value for "payment_solution", the character length must be smaller than or equal to 12.'
93
- end
94
-
95
81
  @payment_solution = payment_solution
96
82
  end
97
83
 
98
84
  # Custom attribute writer method with validation
99
85
  # @param [Object] commerce_indicator Value to be assigned
100
86
  def commerce_indicator=(commerce_indicator)
101
- if !commerce_indicator.nil? && commerce_indicator.to_s.length > 20
102
- fail ArgumentError, 'invalid value for "commerce_indicator", the character length must be smaller than or equal to 20.'
103
- end
104
-
105
87
  @commerce_indicator = commerce_indicator
106
88
  end
107
89
 
@@ -66,57 +66,30 @@ module CyberSource
66
66
  # @return Array for valid properties with the reasons
67
67
  def list_invalid_properties
68
68
  invalid_properties = Array.new
69
- if !@true_ipaddress.nil? && @true_ipaddress.to_s.length > 255
70
- invalid_properties.push('invalid value for "true_ipaddress", the character length must be smaller than or equal to 255.')
71
- end
72
-
73
- if !@hash.nil? && @hash.to_s.length > 255
74
- invalid_properties.push('invalid value for "hash", the character length must be smaller than or equal to 255.')
75
- end
76
-
77
- if !@smart_id.nil? && @smart_id.to_s.length > 255
78
- invalid_properties.push('invalid value for "smart_id", the character length must be smaller than or equal to 255.')
79
- end
80
-
81
69
  invalid_properties
82
70
  end
83
71
 
84
72
  # Check to see if the all the properties in the model are valid
85
73
  # @return true if the model is valid
86
74
  def valid?
87
- return false if !@true_ipaddress.nil? && @true_ipaddress.to_s.length > 255
88
- return false if !@hash.nil? && @hash.to_s.length > 255
89
- return false if !@smart_id.nil? && @smart_id.to_s.length > 255
90
75
  true
91
76
  end
92
77
 
93
78
  # Custom attribute writer method with validation
94
79
  # @param [Object] true_ipaddress Value to be assigned
95
80
  def true_ipaddress=(true_ipaddress)
96
- if !true_ipaddress.nil? && true_ipaddress.to_s.length > 255
97
- fail ArgumentError, 'invalid value for "true_ipaddress", the character length must be smaller than or equal to 255.'
98
- end
99
-
100
81
  @true_ipaddress = true_ipaddress
101
82
  end
102
83
 
103
84
  # Custom attribute writer method with validation
104
85
  # @param [Object] hash Value to be assigned
105
86
  def hash=(hash)
106
- if !hash.nil? && hash.to_s.length > 255
107
- fail ArgumentError, 'invalid value for "hash", the character length must be smaller than or equal to 255.'
108
- end
109
-
110
87
  @hash = hash
111
88
  end
112
89
 
113
90
  # Custom attribute writer method with validation
114
91
  # @param [Object] smart_id Value to be assigned
115
92
  def smart_id=(smart_id)
116
- if !smart_id.nil? && smart_id.to_s.length > 255
117
- fail ArgumentError, 'invalid value for "smart_id", the character length must be smaller than or equal to 255.'
118
- end
119
-
120
93
  @smart_id = smart_id
121
94
  end
122
95
 
@@ -189,27 +189,18 @@ module CyberSource
189
189
  # @return Array for valid properties with the reasons
190
190
  def list_invalid_properties
191
191
  invalid_properties = Array.new
192
- if !@id.nil? && @id.to_s.length > 26
193
- invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 26.')
194
- end
195
-
196
192
  invalid_properties
197
193
  end
198
194
 
199
195
  # Check to see if the all the properties in the model are valid
200
196
  # @return true if the model is valid
201
197
  def valid?
202
- return false if !@id.nil? && @id.to_s.length > 26
203
198
  true
204
199
  end
205
200
 
206
201
  # Custom attribute writer method with validation
207
202
  # @param [Object] id Value to be assigned
208
203
  def id=(id)
209
- if !id.nil? && id.to_s.length > 26
210
- fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 26.'
211
- end
212
-
213
204
  @id = id
214
205
  end
215
206
 
@@ -57,7 +57,7 @@ module CyberSource
57
57
  :'last_modified_time' => :'DateTime',
58
58
  :'date' => :'Date',
59
59
  :'mime_type' => :'String',
60
- :'size' => :'Integer'
60
+ :'size' => :'Float'
61
61
  }
62
62
  end
63
63
 
@@ -38,7 +38,7 @@ module CyberSource
38
38
  # Attribute type mapping.
39
39
  def self.swagger_types
40
40
  {
41
- :'client_reference_information' => :'Riskv1addressverificationsClientReferenceInformation',
41
+ :'client_reference_information' => :'Riskv1decisionsClientReferenceInformation',
42
42
  :'order_information' => :'Riskv1exportcomplianceinquiriesOrderInformation',
43
43
  :'buyer_information' => :'Riskv1addressverificationsBuyerInformation',
44
44
  :'device_information' => :'Riskv1exportcomplianceinquiriesDeviceInformation',
@@ -38,7 +38,7 @@ module CyberSource
38
38
  # Attribute type mapping.
39
39
  def self.swagger_types
40
40
  {
41
- :'client_reference_information' => :'Riskv1authenticationsetupsClientReferenceInformation',
41
+ :'client_reference_information' => :'Riskv1decisionsClientReferenceInformation',
42
42
  :'processing_information' => :'Riskv1authenticationsetupsProcessingInformation',
43
43
  :'order_information' => :'Riskv1authenticationresultsOrderInformation',
44
44
  :'payment_information' => :'Riskv1authenticationresultsPaymentInformation',
@@ -98,27 +98,18 @@ module CyberSource
98
98
  # @return Array for valid properties with the reasons
99
99
  def list_invalid_properties
100
100
  invalid_properties = Array.new
101
- if !@id.nil? && @id.to_s.length > 26
102
- invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 26.')
103
- end
104
-
105
101
  invalid_properties
106
102
  end
107
103
 
108
104
  # Check to see if the all the properties in the model are valid
109
105
  # @return true if the model is valid
110
106
  def valid?
111
- return false if !@id.nil? && @id.to_s.length > 26
112
107
  true
113
108
  end
114
109
 
115
110
  # Custom attribute writer method with validation
116
111
  # @param [Object] id Value to be assigned
117
112
  def id=(id)
118
- if !id.nil? && id.to_s.length > 26
119
- fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 26.'
120
- end
121
-
122
113
  @id = id
123
114
  end
124
115
 
@@ -94,57 +94,30 @@ module CyberSource
94
94
  # @return Array for valid properties with the reasons
95
95
  def list_invalid_properties
96
96
  invalid_properties = Array.new
97
- if !@exempt_amount.nil? && @exempt_amount.to_s.length > 15
98
- invalid_properties.push('invalid value for "exempt_amount", the character length must be smaller than or equal to 15.')
99
- end
100
-
101
- if !@taxable_amount.nil? && @taxable_amount.to_s.length > 15
102
- invalid_properties.push('invalid value for "taxable_amount", the character length must be smaller than or equal to 15.')
103
- end
104
-
105
- if !@tax_amount.nil? && @tax_amount.to_s.length > 15
106
- invalid_properties.push('invalid value for "tax_amount", the character length must be smaller than or equal to 15.')
107
- end
108
-
109
97
  invalid_properties
110
98
  end
111
99
 
112
100
  # Check to see if the all the properties in the model are valid
113
101
  # @return true if the model is valid
114
102
  def valid?
115
- return false if !@exempt_amount.nil? && @exempt_amount.to_s.length > 15
116
- return false if !@taxable_amount.nil? && @taxable_amount.to_s.length > 15
117
- return false if !@tax_amount.nil? && @tax_amount.to_s.length > 15
118
103
  true
119
104
  end
120
105
 
121
106
  # Custom attribute writer method with validation
122
107
  # @param [Object] exempt_amount Value to be assigned
123
108
  def exempt_amount=(exempt_amount)
124
- if !exempt_amount.nil? && exempt_amount.to_s.length > 15
125
- fail ArgumentError, 'invalid value for "exempt_amount", the character length must be smaller than or equal to 15.'
126
- end
127
-
128
109
  @exempt_amount = exempt_amount
129
110
  end
130
111
 
131
112
  # Custom attribute writer method with validation
132
113
  # @param [Object] taxable_amount Value to be assigned
133
114
  def taxable_amount=(taxable_amount)
134
- if !taxable_amount.nil? && taxable_amount.to_s.length > 15
135
- fail ArgumentError, 'invalid value for "taxable_amount", the character length must be smaller than or equal to 15.'
136
- end
137
-
138
115
  @taxable_amount = taxable_amount
139
116
  end
140
117
 
141
118
  # Custom attribute writer method with validation
142
119
  # @param [Object] tax_amount Value to be assigned
143
120
  def tax_amount=(tax_amount)
144
- if !tax_amount.nil? && tax_amount.to_s.length > 15
145
- fail ArgumentError, 'invalid value for "tax_amount", the character length must be smaller than or equal to 15.'
146
- end
147
-
148
121
  @tax_amount = tax_amount
149
122
  end
150
123
 
@@ -120,132 +120,66 @@ module CyberSource
120
120
  # @return Array for valid properties with the reasons
121
121
  def list_invalid_properties
122
122
  invalid_properties = Array.new
123
- if !@type.nil? && @type.to_s.length > 15
124
- invalid_properties.push('invalid value for "type", the character length must be smaller than or equal to 15.')
125
- end
126
-
127
- if !@tax_name.nil? && @tax_name.to_s.length > 15
128
- invalid_properties.push('invalid value for "tax_name", the character length must be smaller than or equal to 15.')
129
- end
130
-
131
- if !@tax_amount.nil? && @tax_amount.to_s.length > 15
132
- invalid_properties.push('invalid value for "tax_amount", the character length must be smaller than or equal to 15.')
133
- end
134
-
135
- if !@taxable.nil? && @taxable.to_s.length > 15
136
- invalid_properties.push('invalid value for "taxable", the character length must be smaller than or equal to 15.')
137
- end
138
-
139
- if !@code.nil? && @code.to_s.length > 15
140
- invalid_properties.push('invalid value for "code", the character length must be smaller than or equal to 15.')
141
- end
142
-
143
- if !@rate.nil? && @rate.to_s.length > 15
144
- invalid_properties.push('invalid value for "rate", the character length must be smaller than or equal to 15.')
145
- end
146
-
147
- if !@region.nil? && @region.to_s.length > 15
148
- invalid_properties.push('invalid value for "region", the character length must be smaller than or equal to 15.')
149
- end
150
-
151
- if !@country.nil? && @country.to_s.length > 15
152
- invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 15.')
153
- end
154
-
155
123
  invalid_properties
156
124
  end
157
125
 
158
126
  # Check to see if the all the properties in the model are valid
159
127
  # @return true if the model is valid
160
128
  def valid?
161
- return false if !@type.nil? && @type.to_s.length > 15
162
- return false if !@tax_name.nil? && @tax_name.to_s.length > 15
163
- return false if !@tax_amount.nil? && @tax_amount.to_s.length > 15
164
- return false if !@taxable.nil? && @taxable.to_s.length > 15
165
- return false if !@code.nil? && @code.to_s.length > 15
166
- return false if !@rate.nil? && @rate.to_s.length > 15
167
- return false if !@region.nil? && @region.to_s.length > 15
168
- return false if !@country.nil? && @country.to_s.length > 15
169
129
  true
170
130
  end
171
131
 
172
132
  # Custom attribute writer method with validation
173
133
  # @param [Object] type Value to be assigned
174
134
  def type=(type)
175
- if !type.nil? && type.to_s.length > 15
176
- fail ArgumentError, 'invalid value for "type", the character length must be smaller than or equal to 15.'
177
- end
178
-
179
135
  @type = type
180
136
  end
181
137
 
182
138
  # Custom attribute writer method with validation
183
139
  # @param [Object] tax_name Value to be assigned
184
140
  def tax_name=(tax_name)
185
- if !tax_name.nil? && tax_name.to_s.length > 15
186
- fail ArgumentError, 'invalid value for "tax_name", the character length must be smaller than or equal to 15.'
187
- end
188
-
189
141
  @tax_name = tax_name
190
142
  end
191
143
 
192
144
  # Custom attribute writer method with validation
193
145
  # @param [Object] tax_amount Value to be assigned
194
146
  def tax_amount=(tax_amount)
195
- if !tax_amount.nil? && tax_amount.to_s.length > 15
196
- fail ArgumentError, 'invalid value for "tax_amount", the character length must be smaller than or equal to 15.'
197
- end
198
-
199
147
  @tax_amount = tax_amount
200
148
  end
201
149
 
202
150
  # Custom attribute writer method with validation
203
151
  # @param [Object] taxable Value to be assigned
204
152
  def taxable=(taxable)
205
- if !taxable.nil? && taxable.to_s.length > 15
206
- fail ArgumentError, 'invalid value for "taxable", the character length must be smaller than or equal to 15.'
207
- end
208
-
209
153
  @taxable = taxable
210
154
  end
211
155
 
156
+ # Custom attribute writer method with validation
157
+ # @param [Object] name Value to be assigned
158
+ def name=(name)
159
+ @name = name
160
+ end
161
+
212
162
  # Custom attribute writer method with validation
213
163
  # @param [Object] code Value to be assigned
214
164
  def code=(code)
215
- if !code.nil? && code.to_s.length > 15
216
- fail ArgumentError, 'invalid value for "code", the character length must be smaller than or equal to 15.'
217
- end
218
-
219
165
  @code = code
220
166
  end
221
167
 
222
168
  # Custom attribute writer method with validation
223
169
  # @param [Object] rate Value to be assigned
224
170
  def rate=(rate)
225
- if !rate.nil? && rate.to_s.length > 15
226
- fail ArgumentError, 'invalid value for "rate", the character length must be smaller than or equal to 15.'
227
- end
228
-
229
171
  @rate = rate
230
172
  end
231
173
 
232
174
  # Custom attribute writer method with validation
233
175
  # @param [Object] region Value to be assigned
234
176
  def region=(region)
235
- if !region.nil? && region.to_s.length > 15
236
- fail ArgumentError, 'invalid value for "region", the character length must be smaller than or equal to 15.'
237
- end
238
-
239
177
  @region = region
240
178
  end
241
179
 
242
180
  # Custom attribute writer method with validation
243
181
  # @param [Object] country Value to be assigned
244
182
  def country=(country)
245
- if !country.nil? && country.to_s.length > 15
246
- fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 15.'
247
- end
248
-
249
183
  @country = country
250
184
  end
251
185