Required dependencies have been upgraded and new definitions have been included to support PayPal express. While implementing the new fields, some refactoring has been done to simplify the code and remove the duplications.
Button block model classes implement PAYMENT_METHOD_VARIANT as Adyen payment method tx_variant.
Express payment methods now use respective payment method's configuration path.
Abstract template is used instead of individual templates.
Observers to add payment methods now uses an abstract observer.
Summary
Required dependencies have been upgraded and new definitions have been included to support PayPal express. While implementing the new fields, some refactoring has been done to simplify the code and remove the duplications.
PAYMENT_METHOD_VARIANT
as Adyen payment method tx_variant.APPLE_PAY_BUTTON_COLOR_CONFIG_PATH
SHOW_APPLE_PAY_ON_CONFIG_PATH
SHOW_GOOGLE_PAY_ON_CONFIG_PATH
getShowApplePayOn()
getShowGooglePayOn()