Package 

Class WeChatPayProvider

  • All Implemented Interfaces:
    com.adyen.checkout.components.PaymentMethodAvailabilityCheck

    
    public final class WeChatPayProvider
     implements PaymentMethodAvailabilityCheck<Configuration>
                        

    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.

    • Method Summary

      Modifier and Type Method Description
      Unit isAvailable(Application applicationContext, PaymentMethod paymentMethod, Configuration configuration, ComponentAvailableCallback<Configuration> callback)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WeChatPayProvider

        WeChatPayProvider()
    • Method Detail

      • isAvailable

         Unit isAvailable(Application applicationContext, PaymentMethod paymentMethod, Configuration configuration, ComponentAvailableCallback<Configuration> callback)