Package 

Class SamsungPayHelper

  • All Implemented Interfaces:

    
    public class SamsungPayHelper
    
                        

    Contains helper static methods for dealing with the Samsung Pay SDK.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static SamsungPay getSamsungPay(@NonNull() Context context, @NonNull() String serviceId) Returns SamsungPay object.
      static PaymentManager getPaymentManager(@NonNull() Context context, @NonNull() String serviceId) Returns PaymentManager object.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getSamsungPay

        @NonNull() static SamsungPay getSamsungPay(@NonNull() Context context, @NonNull() String serviceId)

        Returns SamsungPay object. It provides APIs to get the Samsung Pay status on the device. Also, this class provides APIs to activate Samsung Pay on the device. Partner apps must check the Samsung Pay status on the device before performing any card management or payment operation.

        Parameters:
        context - the Context
        serviceId - the Unique ID to represent the service.
      • getPaymentManager

        @NonNull() static PaymentManager getPaymentManager(@NonNull() Context context, @NonNull() String serviceId)

        Returns PaymentManager object. This class provides APIs for payment related operations (example: in-app payment). Partner (Merchants and other third party) applications can use these APIs to perform variety of payment operations.

        Parameters:
        context - the Context
        serviceId - the Unique ID to represent the service