cybersource_rest_client 0.0.82 → 0.0.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (400) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +98 -42
  3. data/lib/AuthenticationSDK/core/MerchantConfig.rb +85 -44
  4. data/lib/AuthenticationSDK/logging/log_configuration.rb +2 -1
  5. data/lib/AuthenticationSDK/util/AuthJWEUtility.rb +1 -0
  6. data/lib/AuthenticationSDK/util/Cache.rb +7 -4
  7. data/lib/AuthenticationSDK/util/Constants.rb +8 -0
  8. data/lib/AuthenticationSDK/util/MLEUtility.rb +9 -0
  9. data/lib/cybersource_rest_client/api/batches_api.rb +1 -1
  10. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +14 -22
  11. data/lib/cybersource_rest_client/api/credentials_api.rb +104 -0
  12. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
  13. data/lib/cybersource_rest_client/api/enrollment_api.rb +2 -2
  14. data/lib/cybersource_rest_client/api/instructions_api.rb +10 -10
  15. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +3 -3
  16. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +20 -28
  17. data/lib/cybersource_rest_client/api/network_tokens_api.rb +654 -0
  18. data/lib/cybersource_rest_client/api/offers_api.rb +117 -0
  19. data/lib/cybersource_rest_client/api/plans_api.rb +1 -1
  20. data/lib/cybersource_rest_client/api/pull_funds_api.rb +404 -0
  21. data/lib/cybersource_rest_client/api/subscriptions_api.rb +183 -1
  22. data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +1 -1
  23. data/lib/cybersource_rest_client/api/{transient_token_data_api.rb → transient_token_data_v2_api.rb} +91 -9
  24. data/lib/cybersource_rest_client/api/unified_checkout_v1_capture_context_api.rb +104 -0
  25. data/lib/cybersource_rest_client/api_client.rb +4 -0
  26. data/lib/cybersource_rest_client/models/account_validations_request.rb +15 -5
  27. data/lib/cybersource_rest_client/models/acpv1instructions_decline_threshold.rb +1 -1
  28. data/lib/cybersource_rest_client/models/acpv1instructions_mandates.rb +1 -1
  29. data/lib/cybersource_rest_client/models/acpv1instructions_recurring_payment_information.rb +1 -1
  30. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information.rb +1 -1
  31. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb +1 -1
  32. data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb +1 -1
  33. data/lib/cybersource_rest_client/models/acpv1mppcredentials_challenge.rb +369 -0
  34. data/lib/cybersource_rest_client/models/acpv1mppcredentials_challenge_encryption_jwk.rb +336 -0
  35. data/lib/cybersource_rest_client/models/acpv1tokens_assurance_data.rb +7 -7
  36. data/lib/cybersource_rest_client/models/acpv1tokens_authenticated_identities.rb +1 -1
  37. data/lib/cybersource_rest_client/models/acpv1tokens_authentication_context.rb +1 -1
  38. data/lib/cybersource_rest_client/models/acpv1tokens_bill_to.rb +1 -1
  39. data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information.rb +1 -1
  40. data/lib/cybersource_rest_client/models/acpv1tokens_consumer_identity.rb +1 -1
  41. data/lib/cybersource_rest_client/models/acpv1tokens_device_information.rb +1 -1
  42. data/lib/cybersource_rest_client/models/acpv1tokens_enrollment_reference_data.rb +1 -1
  43. data/lib/cybersource_rest_client/models/acpv1tokens_payment_information.rb +1 -1
  44. data/lib/cybersource_rest_client/models/add_negative_list_request.rb +1 -1
  45. data/lib/cybersource_rest_client/models/auth_reversal_request.rb +11 -1
  46. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information.rb +32 -6
  47. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank.rb +1 -1
  48. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_bank_account.rb +1 -1
  49. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_customer.rb +196 -0
  50. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_instrument_identifier.rb +196 -0
  51. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_payment_information_payment_instrument.rb +196 -0
  52. data/lib/cybersource_rest_client/models/bavsv1accountvalidations_token_information.rb +208 -0
  53. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information.rb +15 -5
  54. data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_msd.rb +196 -0
  55. data/lib/cybersource_rest_client/models/card_processing_config_common_processors.rb +105 -1
  56. data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +1 -1
  57. data/lib/cybersource_rest_client/models/commerce_solutions_products.rb +15 -5
  58. data/lib/cybersource_rest_client/models/create_credit_request.rb +15 -5
  59. data/lib/cybersource_rest_client/models/create_subscription_request.rb +1 -1
  60. data/lib/cybersource_rest_client/models/create_subscription_request_1.rb +1 -1
  61. data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +1 -1
  62. data/lib/cybersource_rest_client/models/generate_unified_checkout_v1_capture_context_request.rb +334 -0
  63. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information.rb +1 -1
  64. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_amount_details.rb +240 -0
  65. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information_amount_details_surcharge.rb +213 -0
  66. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response.rb +247 -0
  67. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_1.rb +224 -0
  68. data/lib/cybersource_rest_client/models/{pbl_payment_links_post201_response__links.rb → get_subscriptions_payments_response_1__links.rb} +1 -1
  69. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response__links.rb +209 -0
  70. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_cycles_completed_count.rb +191 -0
  71. data/lib/cybersource_rest_client/models/get_subscriptions_payments_response_subscription_payment.rb +356 -0
  72. data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
  73. data/lib/cybersource_rest_client/models/inline_response_200_5_integration_information.rb +15 -5
  74. data/lib/cybersource_rest_client/models/inline_response_201_1_tokenized_card.rb +27 -6
  75. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_commerce_solutions.rb +15 -5
  76. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_payments.rb +25 -5
  77. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_risk.rb +15 -5
  78. data/lib/cybersource_rest_client/models/inline_response_201_4_setups_value_added_services.rb +25 -5
  79. data/lib/cybersource_rest_client/models/inline_response_201_9.rb +297 -0
  80. data/lib/cybersource_rest_client/models/{kmsegressv2keysasym_client_reference_information.rb → inline_response_201_9_client_reference_information.rb} +2 -3
  81. data/lib/cybersource_rest_client/models/{inline_response_200_16_error_information.rb → inline_response_201_9_error_information.rb} +1 -1
  82. data/lib/cybersource_rest_client/models/{inline_response_200_16_order_information.rb → inline_response_201_9_order_information.rb} +2 -2
  83. data/lib/cybersource_rest_client/models/{inline_response_200_16_order_information_currency_conversion.rb → inline_response_201_9_order_information_currency_conversion.rb} +2 -2
  84. data/lib/cybersource_rest_client/models/{inline_response_200_16_order_information_currency_conversion_offer.rb → inline_response_201_9_order_information_currency_conversion_offer.rb} +1 -1
  85. data/lib/cybersource_rest_client/models/inline_response_201_9_processor_information.rb +196 -0
  86. data/lib/cybersource_rest_client/models/inline_response_400_10.rb +236 -0
  87. data/lib/cybersource_rest_client/models/{inline_response_400_8_details.rb → inline_response_400_10_details.rb} +1 -1
  88. data/lib/cybersource_rest_client/models/inline_response_400_11.rb +235 -0
  89. data/lib/cybersource_rest_client/models/{inline_response_400_7_details.rb → inline_response_400_11_details.rb} +3 -3
  90. data/lib/cybersource_rest_client/models/inline_response_400_12.rb +281 -0
  91. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +37 -60
  92. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +6 -6
  93. data/lib/cybersource_rest_client/models/inline_response_400_8.rb +58 -36
  94. data/lib/cybersource_rest_client/models/{inline_response_400_6_fields.rb → inline_response_400_8_fields.rb} +1 -1
  95. data/lib/cybersource_rest_client/models/inline_response_400_9.rb +16 -16
  96. data/lib/cybersource_rest_client/models/inline_response_400_9_details.rb +2 -2
  97. data/lib/cybersource_rest_client/models/inline_response_404.rb +10 -20
  98. data/lib/cybersource_rest_client/models/inline_response_404_1.rb +7 -42
  99. data/lib/cybersource_rest_client/models/inline_response_404_2.rb +8 -7
  100. data/lib/cybersource_rest_client/models/{inline_response_404_1_details.rb → inline_response_404_2_details.rb} +1 -1
  101. data/lib/cybersource_rest_client/models/inline_response_404_3.rb +26 -2
  102. data/lib/cybersource_rest_client/models/inline_response_404_4.rb +17 -29
  103. data/lib/cybersource_rest_client/models/{inline_response_404_3_details.rb → inline_response_404_4_details.rb} +1 -1
  104. data/lib/cybersource_rest_client/models/inline_response_404_5.rb +28 -28
  105. data/lib/cybersource_rest_client/models/inline_response_404_6.rb +223 -0
  106. data/lib/cybersource_rest_client/models/inline_response_404_errors.rb +201 -0
  107. data/lib/cybersource_rest_client/models/inline_response_422_1.rb +1 -1
  108. data/lib/cybersource_rest_client/models/{inline_response_500_4.rb → inline_response_502_2.rb} +1 -1
  109. data/lib/cybersource_rest_client/models/iplv2paymentlinks_order_information_line_items.rb +73 -5
  110. data/lib/cybersource_rest_client/models/mit_reversal_request.rb +11 -1
  111. data/lib/cybersource_rest_client/models/mpp_credentials_request.rb +221 -0
  112. data/lib/cybersource_rest_client/models/mpp_credentials_response200.rb +338 -0
  113. data/lib/cybersource_rest_client/models/offer_request.rb +219 -0
  114. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +1 -1
  115. data/lib/cybersource_rest_client/models/patch_customer_request.rb +1 -1
  116. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +1 -1
  117. data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +1 -1
  118. data/lib/cybersource_rest_client/models/payment_instrument_list_1__embedded.rb +1 -1
  119. data/lib/cybersource_rest_client/models/payment_instrument_list__embedded.rb +1 -1
  120. data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded__embedded.rb → payment_instrument_list__embedded__embedded.rb} +1 -1
  121. data/lib/cybersource_rest_client/models/{payment_instrument_list_1__embedded_payment_instruments.rb → payment_instrument_list__embedded_payment_instruments.rb} +2 -2
  122. data/lib/cybersource_rest_client/models/payments_products.rb +25 -5
  123. data/lib/cybersource_rest_client/models/payments_products_currency_conversion_configuration_information_configurations_processors.rb +14 -2
  124. data/lib/cybersource_rest_client/models/payments_products_microform.rb +199 -0
  125. data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information.rb +199 -0
  126. data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations.rb +189 -0
  127. data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations_features.rb +189 -0
  128. data/lib/cybersource_rest_client/models/payments_products_microform_configuration_information_configurations_features_gateway_agnostic.rb +189 -0
  129. data/lib/cybersource_rest_client/models/payments_products_microform_subscription_information.rb +227 -0
  130. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_info_features_portfolio_accessof_sensi_data.rb +190 -0
  131. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features.rb +205 -5
  132. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_after_pay.rb +190 -0
  133. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_apple_pay.rb +190 -0
  134. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_bancontact.rb +190 -0
  135. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_click_to_pay.rb +190 -0
  136. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_decision_manager.rb +190 -0
  137. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_dragon_pay.rb +190 -0
  138. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_e_check.rb +190 -0
  139. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_google_pay.rb +190 -0
  140. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_ideal.rb +190 -0
  141. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_konbini.rb +190 -0
  142. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_multibanco.rb +190 -0
  143. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_my_bank.rb +190 -0
  144. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_p24.rb +190 -0
  145. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_pay_pal.rb +190 -0
  146. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_payer_authentication.rb +190 -0
  147. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_tink_pay_by_bank.rb +190 -0
  148. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_token_management.rb +190 -0
  149. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_unified_click_to_pay_sdk.rb +190 -0
  150. data/lib/cybersource_rest_client/models/payments_products_unified_checkout_subscription_information_features_venmo.rb +190 -0
  151. data/lib/cybersource_rest_client/models/pbl_payment_links_get200_response.rb +1 -1
  152. data/lib/cybersource_rest_client/models/pbl_payment_links_post201_response.rb +1 -1
  153. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +1 -1
  154. data/lib/cybersource_rest_client/models/post_customer_request.rb +1 -1
  155. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +1 -1
  156. data/lib/cybersource_rest_client/models/post_tokenized_card_request.rb +15 -5
  157. data/lib/cybersource_rest_client/models/pts_v2_create_billing_agreement_post201_response_agreement_information.rb +80 -1
  158. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +55 -5
  159. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_merchant_information.rb +196 -0
  160. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_account_information.rb +189 -0
  161. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information.rb +15 -5
  162. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information_account_features.rb +196 -0
  163. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_token_information.rb +189 -0
  164. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +1 -1
  165. data/lib/cybersource_rest_client/models/pts_v2_modify_billing_agreement_post201_response_agreement_information.rb +35 -1
  166. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +22 -5
  167. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +2 -2
  168. data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_order_information_shipping_details.rb +1 -1
  169. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +106 -5
  170. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication.rb +22 -5
  171. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +1 -1
  172. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information.rb +15 -5
  173. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_payment_information_tokenized_card.rb → pts_v2_payments_post201_response_payment_account_information_tokenized_card.rb} +1 -1
  174. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +1 -1
  175. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +18 -1
  176. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +23 -6
  177. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information.rb +15 -5
  178. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_third_party_token.rb +213 -0
  179. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +16 -6
  180. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_error_information.rb +213 -0
  181. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information_amount_details.rb +18 -1
  182. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +19 -2
  183. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +1 -1
  184. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +7 -1
  185. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +45 -5
  186. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_avs.rb +196 -0
  187. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_customer.rb +196 -0
  188. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information_electronic_verification_results.rb +281 -0
  189. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_aggregator_information.rb +317 -0
  190. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_aggregator_information_sub_merchant.rb +196 -0
  191. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_buyer_information.rb +196 -0
  192. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_client_reference_information.rb +247 -0
  193. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_merchant_information.rb +189 -0
  194. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_merchant_information_merchant_descriptor.rb +349 -0
  195. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_order_information.rb +206 -0
  196. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_order_information_amount_details.rb +275 -0
  197. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_info_funding_options_initiator_origin_ini_transaction.rb +222 -0
  198. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information.rb +308 -0
  199. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information_funding_options.rb +189 -0
  200. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information_funding_options_initiator.rb +228 -0
  201. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information_payouts_options.rb +196 -0
  202. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_processing_information_recurring_options.rb +190 -0
  203. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_recipient_information.rb +607 -0
  204. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_recipient_information_personal_identification.rb +265 -0
  205. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information.rb +595 -0
  206. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_account.rb +213 -0
  207. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_consumer_authentication.rb +206 -0
  208. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_consumer_authentication_strong_authentication.rb +264 -0
  209. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information.rb +255 -0
  210. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_card.rb +291 -0
  211. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_customer.rb +196 -0
  212. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_instrument_identifier.rb +196 -0
  213. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_payment_instrument.rb +196 -0
  214. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_payment_information_tokenized_card.rb +281 -0
  215. data/lib/cybersource_rest_client/models/ptsv1pullfundstransfer_sender_information_personal_identification.rb +274 -0
  216. data/lib/cybersource_rest_client/models/ptsv1pullfundstransferidrefund_order_information.rb +194 -0
  217. data/lib/cybersource_rest_client/models/ptsv1pullfundstransferidrefund_order_information_amount_details.rb +205 -0
  218. data/lib/cybersource_rest_client/models/ptsv1pullfundstransferidreversal_reversal_information.rb +194 -0
  219. data/lib/cybersource_rest_client/models/ptsv1pullfundstransferidreversal_reversal_information_amount_details.rb +205 -0
  220. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +15 -14
  221. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +298 -0
  222. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information.rb +219 -0
  223. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information_card.rb +264 -0
  224. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information_customer.rb +196 -0
  225. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information_instrument_identifier.rb +196 -0
  226. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_payment_information_payment_instrument.rb +196 -0
  227. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +36 -6
  228. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_payouts_options.rb +1 -1
  229. data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +1 -19
  230. data/lib/cybersource_rest_client/models/ptsv2billingagreements_agreement_information.rb +84 -5
  231. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information.rb +12 -2
  232. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_amount_details.rb +230 -0
  233. data/lib/cybersource_rest_client/models/{ptsv2intents_order_information_invoice_details.rb → ptsv2billingagreements_order_information_invoice_details.rb} +1 -1
  234. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_bank.rb +15 -5
  235. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_bank_account_alias.rb +207 -0
  236. data/lib/cybersource_rest_client/models/ptsv2billingagreements_processing_information.rb +18 -1
  237. data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_agreement_information.rb +56 -5
  238. data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_processing_information.rb +18 -1
  239. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +52 -5
  240. data/lib/cybersource_rest_client/models/ptsv2credits_sender_information.rb +18 -1
  241. data/lib/cybersource_rest_client/models/ptsv2credits_token_information.rb +228 -0
  242. data/lib/cybersource_rest_client/models/ptsv2intents_order_information.rb +1 -1
  243. data/lib/cybersource_rest_client/models/ptsv2intentsid_order_information.rb +1 -1
  244. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +15 -5
  245. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +16 -5
  246. data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +28 -1
  247. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_digital_currency.rb +231 -0
  248. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +23 -6
  249. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +32 -5
  250. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +15 -5
  251. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account_alias.rb +207 -0
  252. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_third_party_token.rb +196 -0
  253. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +18 -1
  254. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +89 -6
  255. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_program_indicators.rb +202 -0
  256. data/lib/cybersource_rest_client/models/ptsv2payments_processor_information.rb +56 -5
  257. data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +16 -5
  258. data/lib/cybersource_rest_client/models/ptsv2payments_sender_information.rb +16 -5
  259. data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +32 -5
  260. data/lib/cybersource_rest_client/models/ptsv2payments_token_information_token_authentication_information.rb +193 -0
  261. data/lib/cybersource_rest_client/models/ptsv2payments_token_information_token_authentication_information_authenticated_identities.rb +252 -0
  262. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +15 -5
  263. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +100 -5
  264. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +22 -5
  265. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +18 -1
  266. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processor_information.rb +39 -5
  267. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information.rb +15 -5
  268. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_shipping_details.rb +196 -0
  269. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +32 -5
  270. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +22 -5
  271. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_device_information.rb +196 -0
  272. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_payment_information.rb +22 -5
  273. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +18 -5
  274. data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +1 -1
  275. data/lib/cybersource_rest_client/models/pull_funds201_response.rb +270 -0
  276. data/lib/cybersource_rest_client/models/pull_funds201_response__links.rb +239 -0
  277. data/lib/cybersource_rest_client/models/pull_funds201_response__links_customer.rb +202 -0
  278. data/lib/cybersource_rest_client/models/pull_funds201_response__links_instrument_identifier.rb +202 -0
  279. data/lib/cybersource_rest_client/models/pull_funds201_response__links_payment_instrument.rb +202 -0
  280. data/lib/cybersource_rest_client/models/pull_funds201_response__links_refund.rb +202 -0
  281. data/lib/cybersource_rest_client/models/pull_funds201_response__links_reversal.rb +202 -0
  282. data/lib/cybersource_rest_client/models/pull_funds201_response__links_self.rb +202 -0
  283. data/lib/cybersource_rest_client/models/pull_funds201_response_error_information.rb +225 -0
  284. data/lib/cybersource_rest_client/models/pull_funds201_response_error_information_details.rb +213 -0
  285. data/lib/cybersource_rest_client/models/pull_funds201_response_order_information.rb +189 -0
  286. data/lib/cybersource_rest_client/models/pull_funds201_response_order_information_amount_details.rb +222 -0
  287. data/lib/cybersource_rest_client/models/pull_funds201_response_processor_information.rb +331 -0
  288. data/lib/cybersource_rest_client/models/pull_funds201_response_processor_information_consumer_authentication_response.rb +196 -0
  289. data/lib/cybersource_rest_client/models/pull_funds_refund201_response.rb +260 -0
  290. data/lib/cybersource_rest_client/models/pull_funds_refund201_response__links.rb +189 -0
  291. data/lib/cybersource_rest_client/models/pull_funds_refund201_response__links_self.rb +202 -0
  292. data/lib/cybersource_rest_client/models/pull_funds_refund201_response_processor_information.rb +213 -0
  293. data/lib/cybersource_rest_client/models/pull_funds_refund_request.rb +204 -0
  294. data/lib/cybersource_rest_client/models/pull_funds_request.rb +259 -0
  295. data/lib/cybersource_rest_client/models/pull_funds_reversal201_response.rb +260 -0
  296. data/lib/cybersource_rest_client/models/pull_funds_reversal201_response__links.rb +189 -0
  297. data/lib/cybersource_rest_client/models/pull_funds_reversal201_response__links_self.rb +202 -0
  298. data/lib/cybersource_rest_client/models/pull_funds_reversal201_response_error_information.rb +219 -0
  299. data/lib/cybersource_rest_client/models/pull_funds_reversal201_response_error_information_details.rb +207 -0
  300. data/lib/cybersource_rest_client/models/pull_funds_reversal201_response_processor_information.rb +247 -0
  301. data/lib/cybersource_rest_client/models/pull_funds_reversal400_response.rb +258 -0
  302. data/lib/cybersource_rest_client/models/pull_funds_reversal_request.rb +204 -0
  303. data/lib/cybersource_rest_client/models/push_funds201_response_error_information.rb +1 -1
  304. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +55 -5
  305. data/lib/cybersource_rest_client/models/push_funds201_response_processor_information_merchant_advice.rb +213 -0
  306. data/lib/cybersource_rest_client/models/push_funds_request.rb +11 -1
  307. data/lib/cybersource_rest_client/models/rbsv1subscriptions_order_information.rb +189 -0
  308. data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_order_information_amount_details.rb +15 -5
  309. data/lib/cybersource_rest_client/models/risk_products.rb +15 -5
  310. data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +1 -10
  311. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +0 -9
  312. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +1 -1
  313. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +39 -5
  314. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +1 -1
  315. data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +1 -1
  316. data/lib/cybersource_rest_client/models/save_asym_egress_key.rb +1 -1
  317. data/lib/cybersource_rest_client/models/tms_bin_lookup_payment_account_information_features.rb +39 -6
  318. data/lib/cybersource_rest_client/models/tms_card_art.rb +23 -1
  319. data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bill_to.rb +22 -5
  320. data/lib/cybersource_rest_client/models/tms_tokenized_card_delete_request.rb +189 -0
  321. data/lib/cybersource_rest_client/models/tmsv1paymentinstruments__embedded.rb +190 -0
  322. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card.rb +23 -2
  323. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_card.rb +1 -1
  324. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata.rb +16 -5
  325. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer.rb +41 -8
  326. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer_bank_applications.rb +201 -0
  327. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_metadata_issuer_capabilities.rb +257 -0
  328. data/lib/cybersource_rest_client/models/tmsv2_tokenized_card_verification_results.rb +202 -0
  329. data/lib/cybersource_rest_client/models/tmsv2customers__embedded.rb +200 -0
  330. data/lib/cybersource_rest_client/models/tmsv2tokenize_processing_information.rb +1 -1
  331. data/lib/cybersource_rest_client/models/{tmsv3tokenstoken_idpaymentcredentials_order_information_bill_to.rb → tmsv2tokenizedcards_bill_to.rb} +1 -1
  332. data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_iddelete_reason.rb +208 -0
  333. data/lib/cybersource_rest_client/models/tmsv3tokenstoken_idpaymentcredentials_order_information.rb +1 -1
  334. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +1 -1
  335. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +1 -1
  336. data/lib/cybersource_rest_client/models/ucv1sessions_appearance.rb +207 -0
  337. data/lib/cybersource_rest_client/models/ucv1sessions_appearance_variables.rb +1645 -0
  338. data/lib/cybersource_rest_client/models/ucv1sessions_capture_mandate.rb +296 -0
  339. data/lib/cybersource_rest_client/models/ucv1sessions_capture_mandate_cpf.rb +190 -0
  340. data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +229 -0
  341. data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate_tms.rb +204 -0
  342. data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +311 -0
  343. data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +325 -0
  344. data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information_sub_merchant.rb +366 -0
  345. data/lib/cybersource_rest_client/models/ucv1sessions_data_buyer_information.rb +259 -0
  346. data/lib/cybersource_rest_client/models/ucv1sessions_data_buyer_information_personal_identification.rb +224 -0
  347. data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +247 -0
  348. data/lib/cybersource_rest_client/models/ucv1sessions_data_device_information.rb +196 -0
  349. data/lib/cybersource_rest_client/models/ucv1sessions_data_installment_information.rb +196 -0
  350. data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_defined_information.rb +214 -0
  351. data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information.rb +206 -0
  352. data/lib/cybersource_rest_client/models/ucv1sessions_data_merchant_information_merchant_descriptor.rb +332 -0
  353. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information.rb +241 -0
  354. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_amount_details.rb +353 -0
  355. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_amount_details_tax_details.rb +213 -0
  356. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_bill_to.rb +483 -0
  357. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_bill_to_company.rb +298 -0
  358. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_invoice_details.rb +242 -0
  359. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_invoice_details_transaction_advice_addendum.rb +196 -0
  360. data/lib/cybersource_rest_client/models/ucv1sessions_data_order_information_line_items.rb +702 -0
  361. data/lib/cybersource_rest_client/models/{riskv1liststypeentries_client_reference_information.rb → ucv1sessions_data_order_information_shipping_details.rb} +24 -43
  362. data/lib/cybersource_rest_client/models/ucv1sessions_data_payment_information.rb +189 -0
  363. data/lib/cybersource_rest_client/models/ucv1sessions_data_payment_information_card.rb +196 -0
  364. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information.rb +294 -0
  365. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_authorization_options.rb +233 -0
  366. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_authorization_options_initiator.rb +200 -0
  367. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_bank_transfer_options.rb +196 -0
  368. data/lib/cybersource_rest_client/models/ucv1sessions_data_processing_information_recurring_options.rb +192 -0
  369. data/lib/cybersource_rest_client/models/ucv1sessions_data_recipient_information.rb +383 -0
  370. data/lib/cybersource_rest_client/models/ucv1sessions_data_sender_information.rb +376 -0
  371. data/lib/cybersource_rest_client/models/ucv1sessions_data_sender_information_account.rb +213 -0
  372. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations.rb +210 -0
  373. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_clicktopay.rb +190 -0
  374. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_googlepay.rb +192 -0
  375. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token.rb +216 -0
  376. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token_customer.rb +196 -0
  377. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token_instrument_identifiers.rb +195 -0
  378. data/lib/cybersource_rest_client/models/ucv1sessions_payment_configurations_tms_token_payment_instruments.rb +195 -0
  379. data/lib/cybersource_rest_client/models/ucv1sessions_transient_token_response_options.rb +190 -0
  380. data/lib/cybersource_rest_client/models/update_payments.rb +192 -0
  381. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_bill_to_company.rb +20 -20
  382. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information.rb +1 -1
  383. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to.rb +483 -0
  384. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information_bill_to_company.rb +366 -0
  385. data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +1 -1
  386. data/lib/cybersource_rest_client/models/validate_request.rb +1 -1
  387. data/lib/cybersource_rest_client/models/value_added_services_products.rb +25 -5
  388. data/lib/cybersource_rest_client/models/{riskv1authenticationsetups_client_reference_information.rb → vasv1currencyconversion_client_reference_information.rb} +43 -26
  389. data/lib/cybersource_rest_client/models/vasv1currencyconversion_client_reference_information_partner.rb +213 -0
  390. data/lib/cybersource_rest_client/models/vasv1currencyconversion_order_information.rb +199 -0
  391. data/lib/cybersource_rest_client/models/vasv1currencyconversion_order_information_amount_details.rb +213 -0
  392. data/lib/cybersource_rest_client/models/vasv1currencyconversion_order_information_currency_conversion.rb +198 -0
  393. data/lib/cybersource_rest_client/models/vasv1currencyconversion_payment_information.rb +189 -0
  394. data/lib/cybersource_rest_client/models/vasv1currencyconversion_payment_information_card.rb +196 -0
  395. data/lib/cybersource_rest_client/models/vasv1currencyconversion_point_of_sale_information.rb +213 -0
  396. data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +1 -1
  397. data/lib/cybersource_rest_client.rb +222 -22
  398. metadata +281 -75
  399. data/lib/cybersource_rest_client/api/token_api.rb +0 -306
  400. data/lib/cybersource_rest_client/api/tokenized_card_api.rb +0 -371
@@ -0,0 +1,1645 @@
1
+ =begin
2
+ #CyberSource Merged Spec
3
+
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
+
6
+ OpenAPI spec version: 0.0.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.38
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module CyberSource
15
+ # CSS appearance variables. All variables optional.
16
+ class Ucv1sessionsAppearanceVariables
17
+ # Main background color<br><br> Optional field::<br> This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
18
+ attr_accessor :background_color
19
+
20
+ # Main text color<br><br> Optional field::<br> This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
21
+ attr_accessor :text_color
22
+
23
+ # Header background color<br><br> Optional field::<br> This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
24
+ attr_accessor :header_background
25
+
26
+ # Header text/icon color<br><br> Optional field::<br> This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis in the uc/v1/sessions API request.
27
+ attr_accessor :header_foreground
28
+
29
+ # Avatar background in header<br><br> Optional field::<br> This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
30
+ attr_accessor :header_avatar_background_color
31
+
32
+ # Avatar text/icon color<br><br> Optional field::<br> This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
33
+ attr_accessor :header_avatar_foreground_color
34
+
35
+ # Input field background<br><br> Optional field::<br> This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
36
+ attr_accessor :input_background
37
+
38
+ # Input text color<br><br> Optional field::<br> This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
39
+ attr_accessor :input_color
40
+
41
+ # Placeholder text color<br><br> Optional field::<br> This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
42
+ attr_accessor :input_placeholder_color
43
+
44
+ # Input border color<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
45
+ attr_accessor :input_border_color
46
+
47
+ # Border style (solid, dashed, dotted)<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
48
+ attr_accessor :input_border_style
49
+
50
+ # Border radius with CSS unit<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
51
+ attr_accessor :input_border_radius
52
+
53
+ # Background on hover<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
54
+ attr_accessor :input_hover_background
55
+
56
+ # Text color on hover<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
57
+ attr_accessor :input_hover_color
58
+
59
+ # Placeholder color on hover<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
60
+ attr_accessor :input_hover_placeholder_color
61
+
62
+ # Border color on hover<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
63
+ attr_accessor :input_hover_border_color
64
+
65
+ # Border style on hover<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
66
+ attr_accessor :input_hover_border_style
67
+
68
+ # Background when focused<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
69
+ attr_accessor :input_focused_background
70
+
71
+ # Text color when focused<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
72
+ attr_accessor :input_focused_color
73
+
74
+ # Placeholder color when focused<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
75
+ attr_accessor :input_focused_placeholder_color
76
+
77
+ # Border color when focused<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
78
+ attr_accessor :input_focused_border_color
79
+
80
+ # Border style when focused<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
81
+ attr_accessor :input_focused_border_style
82
+
83
+ # Background when active<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
84
+ attr_accessor :input_active_background
85
+
86
+ # Text color when active<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
87
+ attr_accessor :input_active_color
88
+
89
+ # Placeholder color when active<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
90
+ attr_accessor :input_active_placeholder_color
91
+
92
+ # Border color when active<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
93
+ attr_accessor :input_active_border_color
94
+
95
+ # Border style when active<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
96
+ attr_accessor :input_active_border_style
97
+
98
+ # Background when pressed<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
99
+ attr_accessor :input_pressed_background
100
+
101
+ # Text color when pressed<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
102
+ attr_accessor :input_pressed_color
103
+
104
+ # Placeholder color when pressed<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
105
+ attr_accessor :input_pressed_placeholder_color
106
+
107
+ # Border color when pressed<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
108
+ attr_accessor :input_pressed_border_color
109
+
110
+ # Border style when pressed<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
111
+ attr_accessor :input_pressed_border_style
112
+
113
+ # Background on error<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
114
+ attr_accessor :input_error_background
115
+
116
+ # Text color on error<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
117
+ attr_accessor :input_error_color
118
+
119
+ # Placeholder color on error<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
120
+ attr_accessor :input_error_placeholder_color
121
+
122
+ # Border color on error<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
123
+ attr_accessor :input_error_border_color
124
+
125
+ # Border style on error<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
126
+ attr_accessor :input_error_border_style
127
+
128
+ # Background when valid<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
129
+ attr_accessor :input_valid_background
130
+
131
+ # Text color when valid<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
132
+ attr_accessor :input_valid_color
133
+
134
+ # Placeholder color when valid<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
135
+ attr_accessor :input_valid_placeholder_color
136
+
137
+ # Border color when valid<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
138
+ attr_accessor :input_valid_border_color
139
+
140
+ # Border style when valid<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
141
+ attr_accessor :input_valid_border_style
142
+
143
+ # Button background<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis by passing a value in the uc/v1/sessions API request.
144
+ attr_accessor :button_background
145
+
146
+ # Button text/icon color<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis by passing a value in the uc/v1/sessions API request.
147
+ attr_accessor :button_foreground
148
+
149
+ # Button shape<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis by passing a value in the uc/v1/sessions API request.
150
+ attr_accessor :button_shape
151
+
152
+ # Button border color<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis by passing a value in the uc/v1/sessions API request.
153
+ attr_accessor :button_border_color
154
+
155
+ # Border Style<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
156
+ attr_accessor :button_border_style
157
+
158
+ # Border radius with unit<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis by passing a value in the uc/v1/sessions API request.
159
+ attr_accessor :button_border_radius
160
+
161
+ # Background on hover<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
162
+ attr_accessor :button_hover_background
163
+
164
+ # Text color on hover<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
165
+ attr_accessor :button_hover_foreground
166
+
167
+ # Border color on hover<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
168
+ attr_accessor :button_hover_border_color
169
+
170
+ # Border style on hover<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
171
+ attr_accessor :button_hover_border_style
172
+
173
+ # Background when focused<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
174
+ attr_accessor :button_focus_background
175
+
176
+ # Text color when focused<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
177
+ attr_accessor :button_focus_foreground
178
+
179
+ # Border color when focused<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
180
+ attr_accessor :button_focus_border_color
181
+
182
+ # Background when active<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
183
+ attr_accessor :button_active_background
184
+
185
+ # Text color when active<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
186
+ attr_accessor :button_active_foreground
187
+
188
+ # Border color when active<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
189
+ attr_accessor :button_active_border_color
190
+
191
+ # Border style when active<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
192
+ attr_accessor :button_active_border_style
193
+
194
+ # Background color when disabled<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
195
+ attr_accessor :button_disabled_background
196
+
197
+ # Text color when disabled<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
198
+ attr_accessor :button_disabled_foreground
199
+
200
+ # Border color when disabled<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
201
+ attr_accessor :button_disabled_border_color
202
+
203
+ # Font Family<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis by passing a value in the uc/v1/sessions API request.
204
+ attr_accessor :font_family
205
+
206
+ # Global border radius<br><br> Optional field: This field cannot be configured through the Merchant Experience screens in the Business Center. If required, should be provided on a per‑transaction basis in the uc/v1/sessions API request.
207
+ attr_accessor :border_radius
208
+
209
+ # Background for payment method list<br><br> Optional field: This field can be configured through the Merchant Experience screens in the Business Center. The configured value may be overridden on a per‑transaction basis by passing a value in the uc/v1/sessions API request.
210
+ attr_accessor :payment_selection_background
211
+
212
+ # Attribute mapping from ruby-style variable name to JSON key.
213
+ def self.attribute_map
214
+ {
215
+ :'background_color' => :'backgroundColor',
216
+ :'text_color' => :'textColor',
217
+ :'header_background' => :'headerBackground',
218
+ :'header_foreground' => :'headerForeground',
219
+ :'header_avatar_background_color' => :'headerAvatarBackgroundColor',
220
+ :'header_avatar_foreground_color' => :'headerAvatarForegroundColor',
221
+ :'input_background' => :'inputBackground',
222
+ :'input_color' => :'inputColor',
223
+ :'input_placeholder_color' => :'inputPlaceholderColor',
224
+ :'input_border_color' => :'inputBorderColor',
225
+ :'input_border_style' => :'inputBorderStyle',
226
+ :'input_border_radius' => :'inputBorderRadius',
227
+ :'input_hover_background' => :'inputHoverBackground',
228
+ :'input_hover_color' => :'inputHoverColor',
229
+ :'input_hover_placeholder_color' => :'inputHoverPlaceholderColor',
230
+ :'input_hover_border_color' => :'inputHoverBorderColor',
231
+ :'input_hover_border_style' => :'inputHoverBorderStyle',
232
+ :'input_focused_background' => :'inputFocusedBackground',
233
+ :'input_focused_color' => :'inputFocusedColor',
234
+ :'input_focused_placeholder_color' => :'inputFocusedPlaceholderColor',
235
+ :'input_focused_border_color' => :'inputFocusedBorderColor',
236
+ :'input_focused_border_style' => :'inputFocusedBorderStyle',
237
+ :'input_active_background' => :'inputActiveBackground',
238
+ :'input_active_color' => :'inputActiveColor',
239
+ :'input_active_placeholder_color' => :'inputActivePlaceholderColor',
240
+ :'input_active_border_color' => :'inputActiveBorderColor',
241
+ :'input_active_border_style' => :'inputActiveBorderStyle',
242
+ :'input_pressed_background' => :'inputPressedBackground',
243
+ :'input_pressed_color' => :'inputPressedColor',
244
+ :'input_pressed_placeholder_color' => :'inputPressedPlaceholderColor',
245
+ :'input_pressed_border_color' => :'inputPressedBorderColor',
246
+ :'input_pressed_border_style' => :'inputPressedBorderStyle',
247
+ :'input_error_background' => :'inputErrorBackground',
248
+ :'input_error_color' => :'inputErrorColor',
249
+ :'input_error_placeholder_color' => :'inputErrorPlaceholderColor',
250
+ :'input_error_border_color' => :'inputErrorBorderColor',
251
+ :'input_error_border_style' => :'inputErrorBorderStyle',
252
+ :'input_valid_background' => :'inputValidBackground',
253
+ :'input_valid_color' => :'inputValidColor',
254
+ :'input_valid_placeholder_color' => :'inputValidPlaceholderColor',
255
+ :'input_valid_border_color' => :'inputValidBorderColor',
256
+ :'input_valid_border_style' => :'inputValidBorderStyle',
257
+ :'button_background' => :'buttonBackground',
258
+ :'button_foreground' => :'buttonForeground',
259
+ :'button_shape' => :'buttonShape',
260
+ :'button_border_color' => :'buttonBorderColor',
261
+ :'button_border_style' => :'buttonBorderStyle',
262
+ :'button_border_radius' => :'buttonBorderRadius',
263
+ :'button_hover_background' => :'buttonHoverBackground',
264
+ :'button_hover_foreground' => :'buttonHoverForeground',
265
+ :'button_hover_border_color' => :'buttonHoverBorderColor',
266
+ :'button_hover_border_style' => :'buttonHoverBorderStyle',
267
+ :'button_focus_background' => :'buttonFocusBackground',
268
+ :'button_focus_foreground' => :'buttonFocusForeground',
269
+ :'button_focus_border_color' => :'buttonFocusBorderColor',
270
+ :'button_active_background' => :'buttonActiveBackground',
271
+ :'button_active_foreground' => :'buttonActiveForeground',
272
+ :'button_active_border_color' => :'buttonActiveBorderColor',
273
+ :'button_active_border_style' => :'buttonActiveBorderStyle',
274
+ :'button_disabled_background' => :'buttonDisabledBackground',
275
+ :'button_disabled_foreground' => :'buttonDisabledForeground',
276
+ :'button_disabled_border_color' => :'buttonDisabledBorderColor',
277
+ :'font_family' => :'fontFamily',
278
+ :'border_radius' => :'borderRadius',
279
+ :'payment_selection_background' => :'paymentSelectionBackground'
280
+ }
281
+ end
282
+
283
+ # Attribute mapping from JSON key to ruby-style variable name.
284
+ def self.json_map
285
+ {
286
+ :'background_color' => :'background_color',
287
+ :'text_color' => :'text_color',
288
+ :'header_background' => :'header_background',
289
+ :'header_foreground' => :'header_foreground',
290
+ :'header_avatar_background_color' => :'header_avatar_background_color',
291
+ :'header_avatar_foreground_color' => :'header_avatar_foreground_color',
292
+ :'input_background' => :'input_background',
293
+ :'input_color' => :'input_color',
294
+ :'input_placeholder_color' => :'input_placeholder_color',
295
+ :'input_border_color' => :'input_border_color',
296
+ :'input_border_style' => :'input_border_style',
297
+ :'input_border_radius' => :'input_border_radius',
298
+ :'input_hover_background' => :'input_hover_background',
299
+ :'input_hover_color' => :'input_hover_color',
300
+ :'input_hover_placeholder_color' => :'input_hover_placeholder_color',
301
+ :'input_hover_border_color' => :'input_hover_border_color',
302
+ :'input_hover_border_style' => :'input_hover_border_style',
303
+ :'input_focused_background' => :'input_focused_background',
304
+ :'input_focused_color' => :'input_focused_color',
305
+ :'input_focused_placeholder_color' => :'input_focused_placeholder_color',
306
+ :'input_focused_border_color' => :'input_focused_border_color',
307
+ :'input_focused_border_style' => :'input_focused_border_style',
308
+ :'input_active_background' => :'input_active_background',
309
+ :'input_active_color' => :'input_active_color',
310
+ :'input_active_placeholder_color' => :'input_active_placeholder_color',
311
+ :'input_active_border_color' => :'input_active_border_color',
312
+ :'input_active_border_style' => :'input_active_border_style',
313
+ :'input_pressed_background' => :'input_pressed_background',
314
+ :'input_pressed_color' => :'input_pressed_color',
315
+ :'input_pressed_placeholder_color' => :'input_pressed_placeholder_color',
316
+ :'input_pressed_border_color' => :'input_pressed_border_color',
317
+ :'input_pressed_border_style' => :'input_pressed_border_style',
318
+ :'input_error_background' => :'input_error_background',
319
+ :'input_error_color' => :'input_error_color',
320
+ :'input_error_placeholder_color' => :'input_error_placeholder_color',
321
+ :'input_error_border_color' => :'input_error_border_color',
322
+ :'input_error_border_style' => :'input_error_border_style',
323
+ :'input_valid_background' => :'input_valid_background',
324
+ :'input_valid_color' => :'input_valid_color',
325
+ :'input_valid_placeholder_color' => :'input_valid_placeholder_color',
326
+ :'input_valid_border_color' => :'input_valid_border_color',
327
+ :'input_valid_border_style' => :'input_valid_border_style',
328
+ :'button_background' => :'button_background',
329
+ :'button_foreground' => :'button_foreground',
330
+ :'button_shape' => :'button_shape',
331
+ :'button_border_color' => :'button_border_color',
332
+ :'button_border_style' => :'button_border_style',
333
+ :'button_border_radius' => :'button_border_radius',
334
+ :'button_hover_background' => :'button_hover_background',
335
+ :'button_hover_foreground' => :'button_hover_foreground',
336
+ :'button_hover_border_color' => :'button_hover_border_color',
337
+ :'button_hover_border_style' => :'button_hover_border_style',
338
+ :'button_focus_background' => :'button_focus_background',
339
+ :'button_focus_foreground' => :'button_focus_foreground',
340
+ :'button_focus_border_color' => :'button_focus_border_color',
341
+ :'button_active_background' => :'button_active_background',
342
+ :'button_active_foreground' => :'button_active_foreground',
343
+ :'button_active_border_color' => :'button_active_border_color',
344
+ :'button_active_border_style' => :'button_active_border_style',
345
+ :'button_disabled_background' => :'button_disabled_background',
346
+ :'button_disabled_foreground' => :'button_disabled_foreground',
347
+ :'button_disabled_border_color' => :'button_disabled_border_color',
348
+ :'font_family' => :'font_family',
349
+ :'border_radius' => :'border_radius',
350
+ :'payment_selection_background' => :'payment_selection_background'
351
+ }
352
+ end
353
+
354
+ # Attribute type mapping.
355
+ def self.swagger_types
356
+ {
357
+ :'background_color' => :'String',
358
+ :'text_color' => :'String',
359
+ :'header_background' => :'String',
360
+ :'header_foreground' => :'String',
361
+ :'header_avatar_background_color' => :'String',
362
+ :'header_avatar_foreground_color' => :'String',
363
+ :'input_background' => :'String',
364
+ :'input_color' => :'String',
365
+ :'input_placeholder_color' => :'String',
366
+ :'input_border_color' => :'String',
367
+ :'input_border_style' => :'String',
368
+ :'input_border_radius' => :'String',
369
+ :'input_hover_background' => :'String',
370
+ :'input_hover_color' => :'String',
371
+ :'input_hover_placeholder_color' => :'String',
372
+ :'input_hover_border_color' => :'String',
373
+ :'input_hover_border_style' => :'String',
374
+ :'input_focused_background' => :'String',
375
+ :'input_focused_color' => :'String',
376
+ :'input_focused_placeholder_color' => :'String',
377
+ :'input_focused_border_color' => :'String',
378
+ :'input_focused_border_style' => :'String',
379
+ :'input_active_background' => :'String',
380
+ :'input_active_color' => :'String',
381
+ :'input_active_placeholder_color' => :'String',
382
+ :'input_active_border_color' => :'String',
383
+ :'input_active_border_style' => :'String',
384
+ :'input_pressed_background' => :'String',
385
+ :'input_pressed_color' => :'String',
386
+ :'input_pressed_placeholder_color' => :'String',
387
+ :'input_pressed_border_color' => :'String',
388
+ :'input_pressed_border_style' => :'String',
389
+ :'input_error_background' => :'String',
390
+ :'input_error_color' => :'String',
391
+ :'input_error_placeholder_color' => :'String',
392
+ :'input_error_border_color' => :'String',
393
+ :'input_error_border_style' => :'String',
394
+ :'input_valid_background' => :'String',
395
+ :'input_valid_color' => :'String',
396
+ :'input_valid_placeholder_color' => :'String',
397
+ :'input_valid_border_color' => :'String',
398
+ :'input_valid_border_style' => :'String',
399
+ :'button_background' => :'String',
400
+ :'button_foreground' => :'String',
401
+ :'button_shape' => :'String',
402
+ :'button_border_color' => :'String',
403
+ :'button_border_style' => :'String',
404
+ :'button_border_radius' => :'String',
405
+ :'button_hover_background' => :'String',
406
+ :'button_hover_foreground' => :'String',
407
+ :'button_hover_border_color' => :'String',
408
+ :'button_hover_border_style' => :'String',
409
+ :'button_focus_background' => :'String',
410
+ :'button_focus_foreground' => :'String',
411
+ :'button_focus_border_color' => :'String',
412
+ :'button_active_background' => :'String',
413
+ :'button_active_foreground' => :'String',
414
+ :'button_active_border_color' => :'String',
415
+ :'button_active_border_style' => :'String',
416
+ :'button_disabled_background' => :'String',
417
+ :'button_disabled_foreground' => :'String',
418
+ :'button_disabled_border_color' => :'String',
419
+ :'font_family' => :'String',
420
+ :'border_radius' => :'String',
421
+ :'payment_selection_background' => :'String'
422
+ }
423
+ end
424
+
425
+ # Initializes the object
426
+ # @param [Hash] attributes Model attributes in the form of hash
427
+ def initialize(attributes = {})
428
+ return unless attributes.is_a?(Hash)
429
+
430
+ # convert string to symbol for hash key
431
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
432
+
433
+ if attributes.has_key?(:'backgroundColor')
434
+ self.background_color = attributes[:'backgroundColor']
435
+ end
436
+
437
+ if attributes.has_key?(:'textColor')
438
+ self.text_color = attributes[:'textColor']
439
+ end
440
+
441
+ if attributes.has_key?(:'headerBackground')
442
+ self.header_background = attributes[:'headerBackground']
443
+ end
444
+
445
+ if attributes.has_key?(:'headerForeground')
446
+ self.header_foreground = attributes[:'headerForeground']
447
+ end
448
+
449
+ if attributes.has_key?(:'headerAvatarBackgroundColor')
450
+ self.header_avatar_background_color = attributes[:'headerAvatarBackgroundColor']
451
+ end
452
+
453
+ if attributes.has_key?(:'headerAvatarForegroundColor')
454
+ self.header_avatar_foreground_color = attributes[:'headerAvatarForegroundColor']
455
+ end
456
+
457
+ if attributes.has_key?(:'inputBackground')
458
+ self.input_background = attributes[:'inputBackground']
459
+ end
460
+
461
+ if attributes.has_key?(:'inputColor')
462
+ self.input_color = attributes[:'inputColor']
463
+ end
464
+
465
+ if attributes.has_key?(:'inputPlaceholderColor')
466
+ self.input_placeholder_color = attributes[:'inputPlaceholderColor']
467
+ end
468
+
469
+ if attributes.has_key?(:'inputBorderColor')
470
+ self.input_border_color = attributes[:'inputBorderColor']
471
+ end
472
+
473
+ if attributes.has_key?(:'inputBorderStyle')
474
+ self.input_border_style = attributes[:'inputBorderStyle']
475
+ end
476
+
477
+ if attributes.has_key?(:'inputBorderRadius')
478
+ self.input_border_radius = attributes[:'inputBorderRadius']
479
+ end
480
+
481
+ if attributes.has_key?(:'inputHoverBackground')
482
+ self.input_hover_background = attributes[:'inputHoverBackground']
483
+ end
484
+
485
+ if attributes.has_key?(:'inputHoverColor')
486
+ self.input_hover_color = attributes[:'inputHoverColor']
487
+ end
488
+
489
+ if attributes.has_key?(:'inputHoverPlaceholderColor')
490
+ self.input_hover_placeholder_color = attributes[:'inputHoverPlaceholderColor']
491
+ end
492
+
493
+ if attributes.has_key?(:'inputHoverBorderColor')
494
+ self.input_hover_border_color = attributes[:'inputHoverBorderColor']
495
+ end
496
+
497
+ if attributes.has_key?(:'inputHoverBorderStyle')
498
+ self.input_hover_border_style = attributes[:'inputHoverBorderStyle']
499
+ end
500
+
501
+ if attributes.has_key?(:'inputFocusedBackground')
502
+ self.input_focused_background = attributes[:'inputFocusedBackground']
503
+ end
504
+
505
+ if attributes.has_key?(:'inputFocusedColor')
506
+ self.input_focused_color = attributes[:'inputFocusedColor']
507
+ end
508
+
509
+ if attributes.has_key?(:'inputFocusedPlaceholderColor')
510
+ self.input_focused_placeholder_color = attributes[:'inputFocusedPlaceholderColor']
511
+ end
512
+
513
+ if attributes.has_key?(:'inputFocusedBorderColor')
514
+ self.input_focused_border_color = attributes[:'inputFocusedBorderColor']
515
+ end
516
+
517
+ if attributes.has_key?(:'inputFocusedBorderStyle')
518
+ self.input_focused_border_style = attributes[:'inputFocusedBorderStyle']
519
+ end
520
+
521
+ if attributes.has_key?(:'inputActiveBackground')
522
+ self.input_active_background = attributes[:'inputActiveBackground']
523
+ end
524
+
525
+ if attributes.has_key?(:'inputActiveColor')
526
+ self.input_active_color = attributes[:'inputActiveColor']
527
+ end
528
+
529
+ if attributes.has_key?(:'inputActivePlaceholderColor')
530
+ self.input_active_placeholder_color = attributes[:'inputActivePlaceholderColor']
531
+ end
532
+
533
+ if attributes.has_key?(:'inputActiveBorderColor')
534
+ self.input_active_border_color = attributes[:'inputActiveBorderColor']
535
+ end
536
+
537
+ if attributes.has_key?(:'inputActiveBorderStyle')
538
+ self.input_active_border_style = attributes[:'inputActiveBorderStyle']
539
+ end
540
+
541
+ if attributes.has_key?(:'inputPressedBackground')
542
+ self.input_pressed_background = attributes[:'inputPressedBackground']
543
+ end
544
+
545
+ if attributes.has_key?(:'inputPressedColor')
546
+ self.input_pressed_color = attributes[:'inputPressedColor']
547
+ end
548
+
549
+ if attributes.has_key?(:'inputPressedPlaceholderColor')
550
+ self.input_pressed_placeholder_color = attributes[:'inputPressedPlaceholderColor']
551
+ end
552
+
553
+ if attributes.has_key?(:'inputPressedBorderColor')
554
+ self.input_pressed_border_color = attributes[:'inputPressedBorderColor']
555
+ end
556
+
557
+ if attributes.has_key?(:'inputPressedBorderStyle')
558
+ self.input_pressed_border_style = attributes[:'inputPressedBorderStyle']
559
+ end
560
+
561
+ if attributes.has_key?(:'inputErrorBackground')
562
+ self.input_error_background = attributes[:'inputErrorBackground']
563
+ end
564
+
565
+ if attributes.has_key?(:'inputErrorColor')
566
+ self.input_error_color = attributes[:'inputErrorColor']
567
+ end
568
+
569
+ if attributes.has_key?(:'inputErrorPlaceholderColor')
570
+ self.input_error_placeholder_color = attributes[:'inputErrorPlaceholderColor']
571
+ end
572
+
573
+ if attributes.has_key?(:'inputErrorBorderColor')
574
+ self.input_error_border_color = attributes[:'inputErrorBorderColor']
575
+ end
576
+
577
+ if attributes.has_key?(:'inputErrorBorderStyle')
578
+ self.input_error_border_style = attributes[:'inputErrorBorderStyle']
579
+ end
580
+
581
+ if attributes.has_key?(:'inputValidBackground')
582
+ self.input_valid_background = attributes[:'inputValidBackground']
583
+ end
584
+
585
+ if attributes.has_key?(:'inputValidColor')
586
+ self.input_valid_color = attributes[:'inputValidColor']
587
+ end
588
+
589
+ if attributes.has_key?(:'inputValidPlaceholderColor')
590
+ self.input_valid_placeholder_color = attributes[:'inputValidPlaceholderColor']
591
+ end
592
+
593
+ if attributes.has_key?(:'inputValidBorderColor')
594
+ self.input_valid_border_color = attributes[:'inputValidBorderColor']
595
+ end
596
+
597
+ if attributes.has_key?(:'inputValidBorderStyle')
598
+ self.input_valid_border_style = attributes[:'inputValidBorderStyle']
599
+ end
600
+
601
+ if attributes.has_key?(:'buttonBackground')
602
+ self.button_background = attributes[:'buttonBackground']
603
+ end
604
+
605
+ if attributes.has_key?(:'buttonForeground')
606
+ self.button_foreground = attributes[:'buttonForeground']
607
+ end
608
+
609
+ if attributes.has_key?(:'buttonShape')
610
+ self.button_shape = attributes[:'buttonShape']
611
+ end
612
+
613
+ if attributes.has_key?(:'buttonBorderColor')
614
+ self.button_border_color = attributes[:'buttonBorderColor']
615
+ end
616
+
617
+ if attributes.has_key?(:'buttonBorderStyle')
618
+ self.button_border_style = attributes[:'buttonBorderStyle']
619
+ end
620
+
621
+ if attributes.has_key?(:'buttonBorderRadius')
622
+ self.button_border_radius = attributes[:'buttonBorderRadius']
623
+ end
624
+
625
+ if attributes.has_key?(:'buttonHoverBackground')
626
+ self.button_hover_background = attributes[:'buttonHoverBackground']
627
+ end
628
+
629
+ if attributes.has_key?(:'buttonHoverForeground')
630
+ self.button_hover_foreground = attributes[:'buttonHoverForeground']
631
+ end
632
+
633
+ if attributes.has_key?(:'buttonHoverBorderColor')
634
+ self.button_hover_border_color = attributes[:'buttonHoverBorderColor']
635
+ end
636
+
637
+ if attributes.has_key?(:'buttonHoverBorderStyle')
638
+ self.button_hover_border_style = attributes[:'buttonHoverBorderStyle']
639
+ end
640
+
641
+ if attributes.has_key?(:'buttonFocusBackground')
642
+ self.button_focus_background = attributes[:'buttonFocusBackground']
643
+ end
644
+
645
+ if attributes.has_key?(:'buttonFocusForeground')
646
+ self.button_focus_foreground = attributes[:'buttonFocusForeground']
647
+ end
648
+
649
+ if attributes.has_key?(:'buttonFocusBorderColor')
650
+ self.button_focus_border_color = attributes[:'buttonFocusBorderColor']
651
+ end
652
+
653
+ if attributes.has_key?(:'buttonActiveBackground')
654
+ self.button_active_background = attributes[:'buttonActiveBackground']
655
+ end
656
+
657
+ if attributes.has_key?(:'buttonActiveForeground')
658
+ self.button_active_foreground = attributes[:'buttonActiveForeground']
659
+ end
660
+
661
+ if attributes.has_key?(:'buttonActiveBorderColor')
662
+ self.button_active_border_color = attributes[:'buttonActiveBorderColor']
663
+ end
664
+
665
+ if attributes.has_key?(:'buttonActiveBorderStyle')
666
+ self.button_active_border_style = attributes[:'buttonActiveBorderStyle']
667
+ end
668
+
669
+ if attributes.has_key?(:'buttonDisabledBackground')
670
+ self.button_disabled_background = attributes[:'buttonDisabledBackground']
671
+ end
672
+
673
+ if attributes.has_key?(:'buttonDisabledForeground')
674
+ self.button_disabled_foreground = attributes[:'buttonDisabledForeground']
675
+ end
676
+
677
+ if attributes.has_key?(:'buttonDisabledBorderColor')
678
+ self.button_disabled_border_color = attributes[:'buttonDisabledBorderColor']
679
+ end
680
+
681
+ if attributes.has_key?(:'fontFamily')
682
+ self.font_family = attributes[:'fontFamily']
683
+ end
684
+
685
+ if attributes.has_key?(:'borderRadius')
686
+ self.border_radius = attributes[:'borderRadius']
687
+ end
688
+
689
+ if attributes.has_key?(:'paymentSelectionBackground')
690
+ self.payment_selection_background = attributes[:'paymentSelectionBackground']
691
+ end
692
+ end
693
+
694
+ # Show invalid properties with the reasons. Usually used together with valid?
695
+ # @return Array for valid properties with the reasons
696
+ def list_invalid_properties
697
+ invalid_properties = Array.new
698
+ #if !@background_color.nil? && @background_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
699
+ #invalid_properties.push('invalid value for "background_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
700
+ #end
701
+
702
+ #if !@text_color.nil? && @text_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
703
+ #invalid_properties.push('invalid value for "text_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
704
+ #end
705
+
706
+ #if !@header_background.nil? && @header_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
707
+ #invalid_properties.push('invalid value for "header_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
708
+ #end
709
+
710
+ #if !@header_foreground.nil? && @header_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
711
+ #invalid_properties.push('invalid value for "header_foreground", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
712
+ #end
713
+
714
+ #if !@header_avatar_background_color.nil? && @header_avatar_background_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
715
+ #invalid_properties.push('invalid value for "header_avatar_background_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
716
+ #end
717
+
718
+ #if !@header_avatar_foreground_color.nil? && @header_avatar_foreground_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
719
+ #invalid_properties.push('invalid value for "header_avatar_foreground_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
720
+ #end
721
+
722
+ #if !@input_background.nil? && @input_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
723
+ #invalid_properties.push('invalid value for "input_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
724
+ #end
725
+
726
+ #if !@input_color.nil? && @input_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
727
+ #invalid_properties.push('invalid value for "input_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
728
+ #end
729
+
730
+ #if !@input_placeholder_color.nil? && @input_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
731
+ #invalid_properties.push('invalid value for "input_placeholder_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
732
+ #end
733
+
734
+ #if !@input_border_color.nil? && @input_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
735
+ #invalid_properties.push('invalid value for "input_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
736
+ #end
737
+
738
+ #if !@input_hover_background.nil? && @input_hover_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
739
+ #invalid_properties.push('invalid value for "input_hover_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
740
+ #end
741
+
742
+ #if !@input_hover_color.nil? && @input_hover_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
743
+ #invalid_properties.push('invalid value for "input_hover_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
744
+ #end
745
+
746
+ #if !@input_hover_placeholder_color.nil? && @input_hover_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
747
+ #invalid_properties.push('invalid value for "input_hover_placeholder_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
748
+ #end
749
+
750
+ #if !@input_hover_border_color.nil? && @input_hover_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
751
+ #invalid_properties.push('invalid value for "input_hover_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
752
+ #end
753
+
754
+ #if !@input_focused_background.nil? && @input_focused_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
755
+ #invalid_properties.push('invalid value for "input_focused_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
756
+ #end
757
+
758
+ #if !@input_focused_color.nil? && @input_focused_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
759
+ #invalid_properties.push('invalid value for "input_focused_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
760
+ #end
761
+
762
+ #if !@input_focused_placeholder_color.nil? && @input_focused_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
763
+ #invalid_properties.push('invalid value for "input_focused_placeholder_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
764
+ #end
765
+
766
+ #if !@input_focused_border_color.nil? && @input_focused_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
767
+ #invalid_properties.push('invalid value for "input_focused_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
768
+ #end
769
+
770
+ #if !@input_active_background.nil? && @input_active_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
771
+ #invalid_properties.push('invalid value for "input_active_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
772
+ #end
773
+
774
+ #if !@input_active_color.nil? && @input_active_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
775
+ #invalid_properties.push('invalid value for "input_active_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
776
+ #end
777
+
778
+ #if !@input_active_placeholder_color.nil? && @input_active_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
779
+ #invalid_properties.push('invalid value for "input_active_placeholder_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
780
+ #end
781
+
782
+ #if !@input_active_border_color.nil? && @input_active_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
783
+ #invalid_properties.push('invalid value for "input_active_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
784
+ #end
785
+
786
+ #if !@input_pressed_background.nil? && @input_pressed_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
787
+ #invalid_properties.push('invalid value for "input_pressed_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
788
+ #end
789
+
790
+ #if !@input_pressed_color.nil? && @input_pressed_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
791
+ #invalid_properties.push('invalid value for "input_pressed_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
792
+ #end
793
+
794
+ #if !@input_pressed_placeholder_color.nil? && @input_pressed_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
795
+ #invalid_properties.push('invalid value for "input_pressed_placeholder_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
796
+ #end
797
+
798
+ #if !@input_pressed_border_color.nil? && @input_pressed_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
799
+ #invalid_properties.push('invalid value for "input_pressed_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
800
+ #end
801
+
802
+ #if !@input_error_background.nil? && @input_error_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
803
+ #invalid_properties.push('invalid value for "input_error_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
804
+ #end
805
+
806
+ #if !@input_error_color.nil? && @input_error_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
807
+ #invalid_properties.push('invalid value for "input_error_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
808
+ #end
809
+
810
+ #if !@input_error_placeholder_color.nil? && @input_error_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
811
+ #invalid_properties.push('invalid value for "input_error_placeholder_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
812
+ #end
813
+
814
+ #if !@input_error_border_color.nil? && @input_error_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
815
+ #invalid_properties.push('invalid value for "input_error_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
816
+ #end
817
+
818
+ #if !@input_valid_background.nil? && @input_valid_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
819
+ #invalid_properties.push('invalid value for "input_valid_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
820
+ #end
821
+
822
+ #if !@input_valid_color.nil? && @input_valid_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
823
+ #invalid_properties.push('invalid value for "input_valid_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
824
+ #end
825
+
826
+ #if !@input_valid_placeholder_color.nil? && @input_valid_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
827
+ #invalid_properties.push('invalid value for "input_valid_placeholder_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
828
+ #end
829
+
830
+ #if !@input_valid_border_color.nil? && @input_valid_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
831
+ #invalid_properties.push('invalid value for "input_valid_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
832
+ #end
833
+
834
+ #if !@button_background.nil? && @button_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
835
+ #invalid_properties.push('invalid value for "button_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
836
+ #end
837
+
838
+ #if !@button_foreground.nil? && @button_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
839
+ #invalid_properties.push('invalid value for "button_foreground", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
840
+ #end
841
+
842
+ #if !@button_border_color.nil? && @button_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
843
+ #invalid_properties.push('invalid value for "button_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
844
+ #end
845
+
846
+ #if !@button_hover_background.nil? && @button_hover_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
847
+ #invalid_properties.push('invalid value for "button_hover_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
848
+ #end
849
+
850
+ #if !@button_hover_foreground.nil? && @button_hover_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
851
+ #invalid_properties.push('invalid value for "button_hover_foreground", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
852
+ #end
853
+
854
+ #if !@button_hover_border_color.nil? && @button_hover_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
855
+ #invalid_properties.push('invalid value for "button_hover_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
856
+ #end
857
+
858
+ #if !@button_focus_background.nil? && @button_focus_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
859
+ #invalid_properties.push('invalid value for "button_focus_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
860
+ #end
861
+
862
+ #if !@button_focus_foreground.nil? && @button_focus_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
863
+ #invalid_properties.push('invalid value for "button_focus_foreground", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
864
+ #end
865
+
866
+ #if !@button_focus_border_color.nil? && @button_focus_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
867
+ #invalid_properties.push('invalid value for "button_focus_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
868
+ #end
869
+
870
+ #if !@button_active_background.nil? && @button_active_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
871
+ #invalid_properties.push('invalid value for "button_active_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
872
+ #end
873
+
874
+ #if !@button_active_foreground.nil? && @button_active_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
875
+ #invalid_properties.push('invalid value for "button_active_foreground", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
876
+ #end
877
+
878
+ #if !@button_active_border_color.nil? && @button_active_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
879
+ #invalid_properties.push('invalid value for "button_active_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
880
+ #end
881
+
882
+ #if !@button_disabled_background.nil? && @button_disabled_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
883
+ #invalid_properties.push('invalid value for "button_disabled_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
884
+ #end
885
+
886
+ #if !@button_disabled_foreground.nil? && @button_disabled_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
887
+ #invalid_properties.push('invalid value for "button_disabled_foreground", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
888
+ #end
889
+
890
+ #if !@button_disabled_border_color.nil? && @button_disabled_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
891
+ #invalid_properties.push('invalid value for "button_disabled_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
892
+ #end
893
+
894
+ #if !@payment_selection_background.nil? && @payment_selection_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
895
+ #invalid_properties.push('invalid value for "payment_selection_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.')
896
+ #end
897
+
898
+ invalid_properties
899
+ end
900
+
901
+ # Check to see if the all the properties in the model are valid
902
+ # @return true if the model is valid
903
+ def valid?
904
+ #return false if !@background_color.nil? && @background_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
905
+ #return false if !@text_color.nil? && @text_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
906
+ #return false if !@header_background.nil? && @header_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
907
+ #return false if !@header_foreground.nil? && @header_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
908
+ #return false if !@header_avatar_background_color.nil? && @header_avatar_background_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
909
+ #return false if !@header_avatar_foreground_color.nil? && @header_avatar_foreground_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
910
+ #return false if !@input_background.nil? && @input_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
911
+ #return false if !@input_color.nil? && @input_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
912
+ #return false if !@input_placeholder_color.nil? && @input_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
913
+ #return false if !@input_border_color.nil? && @input_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
914
+ #return false if !@input_hover_background.nil? && @input_hover_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
915
+ #return false if !@input_hover_color.nil? && @input_hover_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
916
+ #return false if !@input_hover_placeholder_color.nil? && @input_hover_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
917
+ #return false if !@input_hover_border_color.nil? && @input_hover_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
918
+ #return false if !@input_focused_background.nil? && @input_focused_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
919
+ #return false if !@input_focused_color.nil? && @input_focused_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
920
+ #return false if !@input_focused_placeholder_color.nil? && @input_focused_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
921
+ #return false if !@input_focused_border_color.nil? && @input_focused_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
922
+ #return false if !@input_active_background.nil? && @input_active_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
923
+ #return false if !@input_active_color.nil? && @input_active_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
924
+ #return false if !@input_active_placeholder_color.nil? && @input_active_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
925
+ #return false if !@input_active_border_color.nil? && @input_active_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
926
+ #return false if !@input_pressed_background.nil? && @input_pressed_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
927
+ #return false if !@input_pressed_color.nil? && @input_pressed_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
928
+ #return false if !@input_pressed_placeholder_color.nil? && @input_pressed_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
929
+ #return false if !@input_pressed_border_color.nil? && @input_pressed_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
930
+ #return false if !@input_error_background.nil? && @input_error_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
931
+ #return false if !@input_error_color.nil? && @input_error_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
932
+ #return false if !@input_error_placeholder_color.nil? && @input_error_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
933
+ #return false if !@input_error_border_color.nil? && @input_error_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
934
+ #return false if !@input_valid_background.nil? && @input_valid_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
935
+ #return false if !@input_valid_color.nil? && @input_valid_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
936
+ #return false if !@input_valid_placeholder_color.nil? && @input_valid_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
937
+ #return false if !@input_valid_border_color.nil? && @input_valid_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
938
+ #return false if !@button_background.nil? && @button_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
939
+ #return false if !@button_foreground.nil? && @button_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
940
+ #return false if !@button_border_color.nil? && @button_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
941
+ #return false if !@button_hover_background.nil? && @button_hover_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
942
+ #return false if !@button_hover_foreground.nil? && @button_hover_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
943
+ #return false if !@button_hover_border_color.nil? && @button_hover_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
944
+ #return false if !@button_focus_background.nil? && @button_focus_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
945
+ #return false if !@button_focus_foreground.nil? && @button_focus_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
946
+ #return false if !@button_focus_border_color.nil? && @button_focus_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
947
+ #return false if !@button_active_background.nil? && @button_active_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
948
+ #return false if !@button_active_foreground.nil? && @button_active_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
949
+ #return false if !@button_active_border_color.nil? && @button_active_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
950
+ #return false if !@button_disabled_background.nil? && @button_disabled_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
951
+ #return false if !@button_disabled_foreground.nil? && @button_disabled_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
952
+ #return false if !@button_disabled_border_color.nil? && @button_disabled_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
953
+ #return false if !@payment_selection_background.nil? && @payment_selection_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
954
+ true
955
+ end
956
+
957
+ # Custom attribute writer method with validation
958
+ # @param [Object] background_color Value to be assigned
959
+ def background_color=(background_color)
960
+ #if !background_color.nil? && background_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
961
+ #fail ArgumentError, 'invalid value for "background_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
962
+ #end
963
+
964
+ @background_color = background_color
965
+ end
966
+
967
+ # Custom attribute writer method with validation
968
+ # @param [Object] text_color Value to be assigned
969
+ def text_color=(text_color)
970
+ #if !text_color.nil? && text_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
971
+ #fail ArgumentError, 'invalid value for "text_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
972
+ #end
973
+
974
+ @text_color = text_color
975
+ end
976
+
977
+ # Custom attribute writer method with validation
978
+ # @param [Object] header_background Value to be assigned
979
+ def header_background=(header_background)
980
+ #if !header_background.nil? && header_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
981
+ #fail ArgumentError, 'invalid value for "header_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
982
+ #end
983
+
984
+ @header_background = header_background
985
+ end
986
+
987
+ # Custom attribute writer method with validation
988
+ # @param [Object] header_foreground Value to be assigned
989
+ def header_foreground=(header_foreground)
990
+ #if !header_foreground.nil? && header_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
991
+ #fail ArgumentError, 'invalid value for "header_foreground", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
992
+ #end
993
+
994
+ @header_foreground = header_foreground
995
+ end
996
+
997
+ # Custom attribute writer method with validation
998
+ # @param [Object] header_avatar_background_color Value to be assigned
999
+ def header_avatar_background_color=(header_avatar_background_color)
1000
+ #if !header_avatar_background_color.nil? && header_avatar_background_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1001
+ #fail ArgumentError, 'invalid value for "header_avatar_background_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1002
+ #end
1003
+
1004
+ @header_avatar_background_color = header_avatar_background_color
1005
+ end
1006
+
1007
+ # Custom attribute writer method with validation
1008
+ # @param [Object] header_avatar_foreground_color Value to be assigned
1009
+ def header_avatar_foreground_color=(header_avatar_foreground_color)
1010
+ #if !header_avatar_foreground_color.nil? && header_avatar_foreground_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1011
+ #fail ArgumentError, 'invalid value for "header_avatar_foreground_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1012
+ #end
1013
+
1014
+ @header_avatar_foreground_color = header_avatar_foreground_color
1015
+ end
1016
+
1017
+ # Custom attribute writer method with validation
1018
+ # @param [Object] input_background Value to be assigned
1019
+ def input_background=(input_background)
1020
+ #if !input_background.nil? && input_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1021
+ #fail ArgumentError, 'invalid value for "input_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1022
+ #end
1023
+
1024
+ @input_background = input_background
1025
+ end
1026
+
1027
+ # Custom attribute writer method with validation
1028
+ # @param [Object] input_color Value to be assigned
1029
+ def input_color=(input_color)
1030
+ #if !input_color.nil? && input_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1031
+ #fail ArgumentError, 'invalid value for "input_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1032
+ #end
1033
+
1034
+ @input_color = input_color
1035
+ end
1036
+
1037
+ # Custom attribute writer method with validation
1038
+ # @param [Object] input_placeholder_color Value to be assigned
1039
+ def input_placeholder_color=(input_placeholder_color)
1040
+ #if !input_placeholder_color.nil? && input_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1041
+ #fail ArgumentError, 'invalid value for "input_placeholder_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1042
+ #end
1043
+
1044
+ @input_placeholder_color = input_placeholder_color
1045
+ end
1046
+
1047
+ # Custom attribute writer method with validation
1048
+ # @param [Object] input_border_color Value to be assigned
1049
+ def input_border_color=(input_border_color)
1050
+ #if !input_border_color.nil? && input_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1051
+ #fail ArgumentError, 'invalid value for "input_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1052
+ #end
1053
+
1054
+ @input_border_color = input_border_color
1055
+ end
1056
+
1057
+ # Custom attribute writer method with validation
1058
+ # @param [Object] input_hover_background Value to be assigned
1059
+ def input_hover_background=(input_hover_background)
1060
+ #if !input_hover_background.nil? && input_hover_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1061
+ #fail ArgumentError, 'invalid value for "input_hover_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1062
+ #end
1063
+
1064
+ @input_hover_background = input_hover_background
1065
+ end
1066
+
1067
+ # Custom attribute writer method with validation
1068
+ # @param [Object] input_hover_color Value to be assigned
1069
+ def input_hover_color=(input_hover_color)
1070
+ #if !input_hover_color.nil? && input_hover_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1071
+ #fail ArgumentError, 'invalid value for "input_hover_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1072
+ #end
1073
+
1074
+ @input_hover_color = input_hover_color
1075
+ end
1076
+
1077
+ # Custom attribute writer method with validation
1078
+ # @param [Object] input_hover_placeholder_color Value to be assigned
1079
+ def input_hover_placeholder_color=(input_hover_placeholder_color)
1080
+ #if !input_hover_placeholder_color.nil? && input_hover_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1081
+ #fail ArgumentError, 'invalid value for "input_hover_placeholder_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1082
+ #end
1083
+
1084
+ @input_hover_placeholder_color = input_hover_placeholder_color
1085
+ end
1086
+
1087
+ # Custom attribute writer method with validation
1088
+ # @param [Object] input_hover_border_color Value to be assigned
1089
+ def input_hover_border_color=(input_hover_border_color)
1090
+ #if !input_hover_border_color.nil? && input_hover_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1091
+ #fail ArgumentError, 'invalid value for "input_hover_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1092
+ #end
1093
+
1094
+ @input_hover_border_color = input_hover_border_color
1095
+ end
1096
+
1097
+ # Custom attribute writer method with validation
1098
+ # @param [Object] input_focused_background Value to be assigned
1099
+ def input_focused_background=(input_focused_background)
1100
+ #if !input_focused_background.nil? && input_focused_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1101
+ #fail ArgumentError, 'invalid value for "input_focused_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1102
+ #end
1103
+
1104
+ @input_focused_background = input_focused_background
1105
+ end
1106
+
1107
+ # Custom attribute writer method with validation
1108
+ # @param [Object] input_focused_color Value to be assigned
1109
+ def input_focused_color=(input_focused_color)
1110
+ #if !input_focused_color.nil? && input_focused_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1111
+ #fail ArgumentError, 'invalid value for "input_focused_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1112
+ #end
1113
+
1114
+ @input_focused_color = input_focused_color
1115
+ end
1116
+
1117
+ # Custom attribute writer method with validation
1118
+ # @param [Object] input_focused_placeholder_color Value to be assigned
1119
+ def input_focused_placeholder_color=(input_focused_placeholder_color)
1120
+ #if !input_focused_placeholder_color.nil? && input_focused_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1121
+ #fail ArgumentError, 'invalid value for "input_focused_placeholder_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1122
+ #end
1123
+
1124
+ @input_focused_placeholder_color = input_focused_placeholder_color
1125
+ end
1126
+
1127
+ # Custom attribute writer method with validation
1128
+ # @param [Object] input_focused_border_color Value to be assigned
1129
+ def input_focused_border_color=(input_focused_border_color)
1130
+ #if !input_focused_border_color.nil? && input_focused_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1131
+ #fail ArgumentError, 'invalid value for "input_focused_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1132
+ #end
1133
+
1134
+ @input_focused_border_color = input_focused_border_color
1135
+ end
1136
+
1137
+ # Custom attribute writer method with validation
1138
+ # @param [Object] input_active_background Value to be assigned
1139
+ def input_active_background=(input_active_background)
1140
+ #if !input_active_background.nil? && input_active_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1141
+ #fail ArgumentError, 'invalid value for "input_active_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1142
+ #end
1143
+
1144
+ @input_active_background = input_active_background
1145
+ end
1146
+
1147
+ # Custom attribute writer method with validation
1148
+ # @param [Object] input_active_color Value to be assigned
1149
+ def input_active_color=(input_active_color)
1150
+ #if !input_active_color.nil? && input_active_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1151
+ #fail ArgumentError, 'invalid value for "input_active_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1152
+ #end
1153
+
1154
+ @input_active_color = input_active_color
1155
+ end
1156
+
1157
+ # Custom attribute writer method with validation
1158
+ # @param [Object] input_active_placeholder_color Value to be assigned
1159
+ def input_active_placeholder_color=(input_active_placeholder_color)
1160
+ #if !input_active_placeholder_color.nil? && input_active_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1161
+ #fail ArgumentError, 'invalid value for "input_active_placeholder_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1162
+ #end
1163
+
1164
+ @input_active_placeholder_color = input_active_placeholder_color
1165
+ end
1166
+
1167
+ # Custom attribute writer method with validation
1168
+ # @param [Object] input_active_border_color Value to be assigned
1169
+ def input_active_border_color=(input_active_border_color)
1170
+ #if !input_active_border_color.nil? && input_active_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1171
+ #fail ArgumentError, 'invalid value for "input_active_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1172
+ #end
1173
+
1174
+ @input_active_border_color = input_active_border_color
1175
+ end
1176
+
1177
+ # Custom attribute writer method with validation
1178
+ # @param [Object] input_pressed_background Value to be assigned
1179
+ def input_pressed_background=(input_pressed_background)
1180
+ #if !input_pressed_background.nil? && input_pressed_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1181
+ #fail ArgumentError, 'invalid value for "input_pressed_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1182
+ #end
1183
+
1184
+ @input_pressed_background = input_pressed_background
1185
+ end
1186
+
1187
+ # Custom attribute writer method with validation
1188
+ # @param [Object] input_pressed_color Value to be assigned
1189
+ def input_pressed_color=(input_pressed_color)
1190
+ #if !input_pressed_color.nil? && input_pressed_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1191
+ #fail ArgumentError, 'invalid value for "input_pressed_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1192
+ #end
1193
+
1194
+ @input_pressed_color = input_pressed_color
1195
+ end
1196
+
1197
+ # Custom attribute writer method with validation
1198
+ # @param [Object] input_pressed_placeholder_color Value to be assigned
1199
+ def input_pressed_placeholder_color=(input_pressed_placeholder_color)
1200
+ #if !input_pressed_placeholder_color.nil? && input_pressed_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1201
+ #fail ArgumentError, 'invalid value for "input_pressed_placeholder_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1202
+ #end
1203
+
1204
+ @input_pressed_placeholder_color = input_pressed_placeholder_color
1205
+ end
1206
+
1207
+ # Custom attribute writer method with validation
1208
+ # @param [Object] input_pressed_border_color Value to be assigned
1209
+ def input_pressed_border_color=(input_pressed_border_color)
1210
+ #if !input_pressed_border_color.nil? && input_pressed_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1211
+ #fail ArgumentError, 'invalid value for "input_pressed_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1212
+ #end
1213
+
1214
+ @input_pressed_border_color = input_pressed_border_color
1215
+ end
1216
+
1217
+ # Custom attribute writer method with validation
1218
+ # @param [Object] input_error_background Value to be assigned
1219
+ def input_error_background=(input_error_background)
1220
+ #if !input_error_background.nil? && input_error_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1221
+ #fail ArgumentError, 'invalid value for "input_error_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1222
+ #end
1223
+
1224
+ @input_error_background = input_error_background
1225
+ end
1226
+
1227
+ # Custom attribute writer method with validation
1228
+ # @param [Object] input_error_color Value to be assigned
1229
+ def input_error_color=(input_error_color)
1230
+ #if !input_error_color.nil? && input_error_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1231
+ #fail ArgumentError, 'invalid value for "input_error_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1232
+ #end
1233
+
1234
+ @input_error_color = input_error_color
1235
+ end
1236
+
1237
+ # Custom attribute writer method with validation
1238
+ # @param [Object] input_error_placeholder_color Value to be assigned
1239
+ def input_error_placeholder_color=(input_error_placeholder_color)
1240
+ #if !input_error_placeholder_color.nil? && input_error_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1241
+ #fail ArgumentError, 'invalid value for "input_error_placeholder_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1242
+ #end
1243
+
1244
+ @input_error_placeholder_color = input_error_placeholder_color
1245
+ end
1246
+
1247
+ # Custom attribute writer method with validation
1248
+ # @param [Object] input_error_border_color Value to be assigned
1249
+ def input_error_border_color=(input_error_border_color)
1250
+ #if !input_error_border_color.nil? && input_error_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1251
+ #fail ArgumentError, 'invalid value for "input_error_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1252
+ #end
1253
+
1254
+ @input_error_border_color = input_error_border_color
1255
+ end
1256
+
1257
+ # Custom attribute writer method with validation
1258
+ # @param [Object] input_valid_background Value to be assigned
1259
+ def input_valid_background=(input_valid_background)
1260
+ #if !input_valid_background.nil? && input_valid_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1261
+ #fail ArgumentError, 'invalid value for "input_valid_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1262
+ #end
1263
+
1264
+ @input_valid_background = input_valid_background
1265
+ end
1266
+
1267
+ # Custom attribute writer method with validation
1268
+ # @param [Object] input_valid_color Value to be assigned
1269
+ def input_valid_color=(input_valid_color)
1270
+ #if !input_valid_color.nil? && input_valid_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1271
+ #fail ArgumentError, 'invalid value for "input_valid_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1272
+ #end
1273
+
1274
+ @input_valid_color = input_valid_color
1275
+ end
1276
+
1277
+ # Custom attribute writer method with validation
1278
+ # @param [Object] input_valid_placeholder_color Value to be assigned
1279
+ def input_valid_placeholder_color=(input_valid_placeholder_color)
1280
+ #if !input_valid_placeholder_color.nil? && input_valid_placeholder_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1281
+ #fail ArgumentError, 'invalid value for "input_valid_placeholder_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1282
+ #end
1283
+
1284
+ @input_valid_placeholder_color = input_valid_placeholder_color
1285
+ end
1286
+
1287
+ # Custom attribute writer method with validation
1288
+ # @param [Object] input_valid_border_color Value to be assigned
1289
+ def input_valid_border_color=(input_valid_border_color)
1290
+ #if !input_valid_border_color.nil? && input_valid_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1291
+ #fail ArgumentError, 'invalid value for "input_valid_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1292
+ #end
1293
+
1294
+ @input_valid_border_color = input_valid_border_color
1295
+ end
1296
+
1297
+ # Custom attribute writer method with validation
1298
+ # @param [Object] button_background Value to be assigned
1299
+ def button_background=(button_background)
1300
+ #if !button_background.nil? && button_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1301
+ #fail ArgumentError, 'invalid value for "button_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1302
+ #end
1303
+
1304
+ @button_background = button_background
1305
+ end
1306
+
1307
+ # Custom attribute writer method with validation
1308
+ # @param [Object] button_foreground Value to be assigned
1309
+ def button_foreground=(button_foreground)
1310
+ #if !button_foreground.nil? && button_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1311
+ #fail ArgumentError, 'invalid value for "button_foreground", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1312
+ #end
1313
+
1314
+ @button_foreground = button_foreground
1315
+ end
1316
+
1317
+ # Custom attribute writer method with validation
1318
+ # @param [Object] button_border_color Value to be assigned
1319
+ def button_border_color=(button_border_color)
1320
+ #if !button_border_color.nil? && button_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1321
+ #fail ArgumentError, 'invalid value for "button_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1322
+ #end
1323
+
1324
+ @button_border_color = button_border_color
1325
+ end
1326
+
1327
+ # Custom attribute writer method with validation
1328
+ # @param [Object] button_hover_background Value to be assigned
1329
+ def button_hover_background=(button_hover_background)
1330
+ #if !button_hover_background.nil? && button_hover_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1331
+ #fail ArgumentError, 'invalid value for "button_hover_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1332
+ #end
1333
+
1334
+ @button_hover_background = button_hover_background
1335
+ end
1336
+
1337
+ # Custom attribute writer method with validation
1338
+ # @param [Object] button_hover_foreground Value to be assigned
1339
+ def button_hover_foreground=(button_hover_foreground)
1340
+ #if !button_hover_foreground.nil? && button_hover_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1341
+ #fail ArgumentError, 'invalid value for "button_hover_foreground", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1342
+ #end
1343
+
1344
+ @button_hover_foreground = button_hover_foreground
1345
+ end
1346
+
1347
+ # Custom attribute writer method with validation
1348
+ # @param [Object] button_hover_border_color Value to be assigned
1349
+ def button_hover_border_color=(button_hover_border_color)
1350
+ #if !button_hover_border_color.nil? && button_hover_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1351
+ #fail ArgumentError, 'invalid value for "button_hover_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1352
+ #end
1353
+
1354
+ @button_hover_border_color = button_hover_border_color
1355
+ end
1356
+
1357
+ # Custom attribute writer method with validation
1358
+ # @param [Object] button_focus_background Value to be assigned
1359
+ def button_focus_background=(button_focus_background)
1360
+ #if !button_focus_background.nil? && button_focus_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1361
+ #fail ArgumentError, 'invalid value for "button_focus_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1362
+ #end
1363
+
1364
+ @button_focus_background = button_focus_background
1365
+ end
1366
+
1367
+ # Custom attribute writer method with validation
1368
+ # @param [Object] button_focus_foreground Value to be assigned
1369
+ def button_focus_foreground=(button_focus_foreground)
1370
+ #if !button_focus_foreground.nil? && button_focus_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1371
+ #fail ArgumentError, 'invalid value for "button_focus_foreground", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1372
+ #end
1373
+
1374
+ @button_focus_foreground = button_focus_foreground
1375
+ end
1376
+
1377
+ # Custom attribute writer method with validation
1378
+ # @param [Object] button_focus_border_color Value to be assigned
1379
+ def button_focus_border_color=(button_focus_border_color)
1380
+ #if !button_focus_border_color.nil? && button_focus_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1381
+ #fail ArgumentError, 'invalid value for "button_focus_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1382
+ #end
1383
+
1384
+ @button_focus_border_color = button_focus_border_color
1385
+ end
1386
+
1387
+ # Custom attribute writer method with validation
1388
+ # @param [Object] button_active_background Value to be assigned
1389
+ def button_active_background=(button_active_background)
1390
+ #if !button_active_background.nil? && button_active_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1391
+ #fail ArgumentError, 'invalid value for "button_active_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1392
+ #end
1393
+
1394
+ @button_active_background = button_active_background
1395
+ end
1396
+
1397
+ # Custom attribute writer method with validation
1398
+ # @param [Object] button_active_foreground Value to be assigned
1399
+ def button_active_foreground=(button_active_foreground)
1400
+ #if !button_active_foreground.nil? && button_active_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1401
+ #fail ArgumentError, 'invalid value for "button_active_foreground", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1402
+ #end
1403
+
1404
+ @button_active_foreground = button_active_foreground
1405
+ end
1406
+
1407
+ # Custom attribute writer method with validation
1408
+ # @param [Object] button_active_border_color Value to be assigned
1409
+ def button_active_border_color=(button_active_border_color)
1410
+ #if !button_active_border_color.nil? && button_active_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1411
+ #fail ArgumentError, 'invalid value for "button_active_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1412
+ #end
1413
+
1414
+ @button_active_border_color = button_active_border_color
1415
+ end
1416
+
1417
+ # Custom attribute writer method with validation
1418
+ # @param [Object] button_disabled_background Value to be assigned
1419
+ def button_disabled_background=(button_disabled_background)
1420
+ #if !button_disabled_background.nil? && button_disabled_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1421
+ #fail ArgumentError, 'invalid value for "button_disabled_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1422
+ #end
1423
+
1424
+ @button_disabled_background = button_disabled_background
1425
+ end
1426
+
1427
+ # Custom attribute writer method with validation
1428
+ # @param [Object] button_disabled_foreground Value to be assigned
1429
+ def button_disabled_foreground=(button_disabled_foreground)
1430
+ #if !button_disabled_foreground.nil? && button_disabled_foreground !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1431
+ #fail ArgumentError, 'invalid value for "button_disabled_foreground", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1432
+ #end
1433
+
1434
+ @button_disabled_foreground = button_disabled_foreground
1435
+ end
1436
+
1437
+ # Custom attribute writer method with validation
1438
+ # @param [Object] button_disabled_border_color Value to be assigned
1439
+ def button_disabled_border_color=(button_disabled_border_color)
1440
+ #if !button_disabled_border_color.nil? && button_disabled_border_color !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1441
+ #fail ArgumentError, 'invalid value for "button_disabled_border_color", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1442
+ #end
1443
+
1444
+ @button_disabled_border_color = button_disabled_border_color
1445
+ end
1446
+
1447
+ # Custom attribute writer method with validation
1448
+ # @param [Object] payment_selection_background Value to be assigned
1449
+ def payment_selection_background=(payment_selection_background)
1450
+ #if !payment_selection_background.nil? && payment_selection_background !~ Regexp.new(/^#([A-Fa-f0-9]{6})$/)
1451
+ #fail ArgumentError, 'invalid value for "payment_selection_background", must conform to the pattern /^#([A-Fa-f0-9]{6})$/.'
1452
+ #end
1453
+
1454
+ @payment_selection_background = payment_selection_background
1455
+ end
1456
+
1457
+ # Checks equality by comparing each attribute.
1458
+ # @param [Object] Object to be compared
1459
+ def ==(o)
1460
+ return true if self.equal?(o)
1461
+ self.class == o.class &&
1462
+ background_color == o.background_color &&
1463
+ text_color == o.text_color &&
1464
+ header_background == o.header_background &&
1465
+ header_foreground == o.header_foreground &&
1466
+ header_avatar_background_color == o.header_avatar_background_color &&
1467
+ header_avatar_foreground_color == o.header_avatar_foreground_color &&
1468
+ input_background == o.input_background &&
1469
+ input_color == o.input_color &&
1470
+ input_placeholder_color == o.input_placeholder_color &&
1471
+ input_border_color == o.input_border_color &&
1472
+ input_border_style == o.input_border_style &&
1473
+ input_border_radius == o.input_border_radius &&
1474
+ input_hover_background == o.input_hover_background &&
1475
+ input_hover_color == o.input_hover_color &&
1476
+ input_hover_placeholder_color == o.input_hover_placeholder_color &&
1477
+ input_hover_border_color == o.input_hover_border_color &&
1478
+ input_hover_border_style == o.input_hover_border_style &&
1479
+ input_focused_background == o.input_focused_background &&
1480
+ input_focused_color == o.input_focused_color &&
1481
+ input_focused_placeholder_color == o.input_focused_placeholder_color &&
1482
+ input_focused_border_color == o.input_focused_border_color &&
1483
+ input_focused_border_style == o.input_focused_border_style &&
1484
+ input_active_background == o.input_active_background &&
1485
+ input_active_color == o.input_active_color &&
1486
+ input_active_placeholder_color == o.input_active_placeholder_color &&
1487
+ input_active_border_color == o.input_active_border_color &&
1488
+ input_active_border_style == o.input_active_border_style &&
1489
+ input_pressed_background == o.input_pressed_background &&
1490
+ input_pressed_color == o.input_pressed_color &&
1491
+ input_pressed_placeholder_color == o.input_pressed_placeholder_color &&
1492
+ input_pressed_border_color == o.input_pressed_border_color &&
1493
+ input_pressed_border_style == o.input_pressed_border_style &&
1494
+ input_error_background == o.input_error_background &&
1495
+ input_error_color == o.input_error_color &&
1496
+ input_error_placeholder_color == o.input_error_placeholder_color &&
1497
+ input_error_border_color == o.input_error_border_color &&
1498
+ input_error_border_style == o.input_error_border_style &&
1499
+ input_valid_background == o.input_valid_background &&
1500
+ input_valid_color == o.input_valid_color &&
1501
+ input_valid_placeholder_color == o.input_valid_placeholder_color &&
1502
+ input_valid_border_color == o.input_valid_border_color &&
1503
+ input_valid_border_style == o.input_valid_border_style &&
1504
+ button_background == o.button_background &&
1505
+ button_foreground == o.button_foreground &&
1506
+ button_shape == o.button_shape &&
1507
+ button_border_color == o.button_border_color &&
1508
+ button_border_style == o.button_border_style &&
1509
+ button_border_radius == o.button_border_radius &&
1510
+ button_hover_background == o.button_hover_background &&
1511
+ button_hover_foreground == o.button_hover_foreground &&
1512
+ button_hover_border_color == o.button_hover_border_color &&
1513
+ button_hover_border_style == o.button_hover_border_style &&
1514
+ button_focus_background == o.button_focus_background &&
1515
+ button_focus_foreground == o.button_focus_foreground &&
1516
+ button_focus_border_color == o.button_focus_border_color &&
1517
+ button_active_background == o.button_active_background &&
1518
+ button_active_foreground == o.button_active_foreground &&
1519
+ button_active_border_color == o.button_active_border_color &&
1520
+ button_active_border_style == o.button_active_border_style &&
1521
+ button_disabled_background == o.button_disabled_background &&
1522
+ button_disabled_foreground == o.button_disabled_foreground &&
1523
+ button_disabled_border_color == o.button_disabled_border_color &&
1524
+ font_family == o.font_family &&
1525
+ border_radius == o.border_radius &&
1526
+ payment_selection_background == o.payment_selection_background
1527
+ end
1528
+
1529
+ # @see the `==` method
1530
+ # @param [Object] Object to be compared
1531
+ def eql?(o)
1532
+ self == o
1533
+ end
1534
+
1535
+ # Calculates hash code according to all attributes.
1536
+ # @return [Fixnum] Hash code
1537
+ def hash
1538
+ [background_color, text_color, header_background, header_foreground, header_avatar_background_color, header_avatar_foreground_color, input_background, input_color, input_placeholder_color, input_border_color, input_border_style, input_border_radius, input_hover_background, input_hover_color, input_hover_placeholder_color, input_hover_border_color, input_hover_border_style, input_focused_background, input_focused_color, input_focused_placeholder_color, input_focused_border_color, input_focused_border_style, input_active_background, input_active_color, input_active_placeholder_color, input_active_border_color, input_active_border_style, input_pressed_background, input_pressed_color, input_pressed_placeholder_color, input_pressed_border_color, input_pressed_border_style, input_error_background, input_error_color, input_error_placeholder_color, input_error_border_color, input_error_border_style, input_valid_background, input_valid_color, input_valid_placeholder_color, input_valid_border_color, input_valid_border_style, button_background, button_foreground, button_shape, button_border_color, button_border_style, button_border_radius, button_hover_background, button_hover_foreground, button_hover_border_color, button_hover_border_style, button_focus_background, button_focus_foreground, button_focus_border_color, button_active_background, button_active_foreground, button_active_border_color, button_active_border_style, button_disabled_background, button_disabled_foreground, button_disabled_border_color, font_family, border_radius, payment_selection_background].hash
1539
+ end
1540
+
1541
+ # Builds the object from hash
1542
+ # @param [Hash] attributes Model attributes in the form of hash
1543
+ # @return [Object] Returns the model itself
1544
+ def build_from_hash(attributes)
1545
+ return nil unless attributes.is_a?(Hash)
1546
+ self.class.swagger_types.each_pair do |key, type|
1547
+ if type =~ /\AArray<(.*)>/i
1548
+ # check to ensure the input is an array given that the the attribute
1549
+ # is documented as an array but the input is not
1550
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
1551
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
1552
+ end
1553
+ elsif !attributes[self.class.attribute_map[key]].nil?
1554
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
1555
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
1556
+ end
1557
+
1558
+ self
1559
+ end
1560
+
1561
+ # Deserializes the data based on type
1562
+ # @param string type Data type
1563
+ # @param string value Value to be deserialized
1564
+ # @return [Object] Deserialized data
1565
+ def _deserialize(type, value)
1566
+ case type.to_sym
1567
+ when :DateTime
1568
+ DateTime.parse(value)
1569
+ when :Date
1570
+ Date.parse(value)
1571
+ when :String
1572
+ value.to_s
1573
+ when :Integer
1574
+ value.to_i
1575
+ when :Float
1576
+ value.to_f
1577
+ when :BOOLEAN
1578
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
1579
+ true
1580
+ else
1581
+ false
1582
+ end
1583
+ when :Object
1584
+ # generic object (usually a Hash), return directly
1585
+ value
1586
+ when /\AArray<(?<inner_type>.+)>\z/
1587
+ inner_type = Regexp.last_match[:inner_type]
1588
+ value.map { |v| _deserialize(inner_type, v) }
1589
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
1590
+ k_type = Regexp.last_match[:k_type]
1591
+ v_type = Regexp.last_match[:v_type]
1592
+ {}.tap do |hash|
1593
+ value.each do |k, v|
1594
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
1595
+ end
1596
+ end
1597
+ else # model
1598
+ temp_model = CyberSource.const_get(type).new
1599
+ temp_model.build_from_hash(value)
1600
+ end
1601
+ end
1602
+
1603
+ # Returns the string representation of the object
1604
+ # @return [String] String presentation of the object
1605
+ def to_s
1606
+ to_hash.to_s
1607
+ end
1608
+
1609
+ # to_body is an alias to to_hash (backward compatibility)
1610
+ # @return [Hash] Returns the object in the form of hash
1611
+ def to_body
1612
+ to_hash
1613
+ end
1614
+
1615
+ # Returns the object in the form of hash
1616
+ # @return [Hash] Returns the object in the form of hash
1617
+ def to_hash
1618
+ hash = {}
1619
+ self.class.attribute_map.each_pair do |attr, param|
1620
+ value = self.send(attr)
1621
+ next if value.nil?
1622
+ hash[param] = _to_hash(value)
1623
+ end
1624
+ hash
1625
+ end
1626
+
1627
+ # Outputs non-array value in the form of hash
1628
+ # For object, use to_hash. Otherwise, just return the value
1629
+ # @param [Object] value Any valid value
1630
+ # @return [Hash] Returns the value in the form of hash
1631
+ def _to_hash(value)
1632
+ if value.is_a?(Array)
1633
+ value.compact.map { |v| _to_hash(v) }
1634
+ elsif value.is_a?(Hash)
1635
+ {}.tap do |hash|
1636
+ value.each { |k, v| hash[k] = _to_hash(v) }
1637
+ end
1638
+ elsif value.respond_to? :to_hash
1639
+ value.to_hash
1640
+ else
1641
+ value
1642
+ end
1643
+ end
1644
+ end
1645
+ end