Package com.adyen.checkout.wechatpay
Class WeChatPayProvider
-
- All Implemented Interfaces:
-
com.adyen.checkout.components.core.internal.PaymentMethodAvailabilityCheck
public final class WeChatPayProvider implements PaymentMethodAvailabilityCheck<WeChatPayActionConfiguration>
This class is not an actual provider, it only checks whether WeChatPay is available. There is no viewable Payment Component for WeChatPay, only an Action Component. You can directly call /payments after you receive a callback from isAvailable. You can use WeChatPayActionComponent to handle the returned action.
-
-
Constructor Summary
Constructors Constructor Description WeChatPayProvider()
-
Method Summary
Modifier and Type Method Description UnitisAvailable(Application applicationContext, PaymentMethod paymentMethod, WeChatPayActionConfiguration configuration, ComponentAvailableCallback callback)UnitisAvailable(Application application, PaymentMethod paymentMethod, CheckoutConfiguration checkoutConfiguration, ComponentAvailableCallback callback)-
-
Method Detail
-
isAvailable
Unit isAvailable(Application applicationContext, PaymentMethod paymentMethod, WeChatPayActionConfiguration configuration, ComponentAvailableCallback callback)
-
isAvailable
Unit isAvailable(Application application, PaymentMethod paymentMethod, CheckoutConfiguration checkoutConfiguration, ComponentAvailableCallback callback)
-
-
-
-