-
- All Implemented Interfaces:
public class SamsungPayHelper
Contains helper static methods for dealing with the Samsung Pay SDK.
-
-
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. -
-
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 ContextserviceId
- 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 ContextserviceId
- the Unique ID to represent the service
-
-
-
-