public class SamsungPayConfig
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
|
SamsungPayConfig(java.util.List<PaymentMethodType> supportedNetworks,
java.lang.String merchantName)
Creates a new SamsungPayConfig object.
|
protected |
SamsungPayConfig(java.lang.String serviceId,
java.util.List<PaymentMethodType> supportedNetworks,
java.lang.String merchantName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMerchantName()
Gets the name that will be displayed on Samsung Pay sheet.
|
java.lang.String |
getServiceId(boolean isTestingEnabled)
Gets the ID of the Samsung Pay service used by Datatrans.
|
java.util.List<PaymentMethodType> |
getSupportedNetworks()
Gets the supported card networks.
|
public SamsungPayConfig(@NonNull java.util.List<PaymentMethodType> supportedNetworks, @NonNull java.lang.String merchantName)
supportedNetworks
- Supported card networksmerchantName
- Name that will be displayed on Samsung Pay sheetprotected SamsungPayConfig(@NonNull java.lang.String serviceId, @NonNull java.util.List<PaymentMethodType> supportedNetworks, @NonNull java.lang.String merchantName)
@NonNull public java.util.List<PaymentMethodType> getSupportedNetworks()
@NonNull public java.lang.String getMerchantName()
@NonNull public java.lang.String getServiceId(boolean isTestingEnabled)
isTestingEnabled
- True if testing is enabled.