public final class ConfigParams extends D1Params
D1Params.Type
Modifier and Type | Method and Description |
---|---|
static ConfigParams |
buildConfigCard(Activity activity,
OEMPayType oemPayType,
String samsungServiceID)
Build configuration for card module
|
static ConfigParams |
buildConfigCore(String consumerID)
Build configuration for core module.
|
protected Activity |
getActivity()
Internal Usage only
|
protected String |
getConsumerID()
Internal Usage only
|
protected OEMPayType |
getOemPayType()
Internal Usage only
|
protected String |
getSamsungServiceID()
Internal Usage only
|
@NonNull public static ConfigParams buildConfigCore(@NonNull String consumerID)
consumerID
value.consumerID
- The consumer identifier@NonNull public static ConfigParams buildConfigCard(@NonNull Activity activity, @NonNull OEMPayType oemPayType, @Nullable String samsungServiceID)
activity
- The caller activityoemPayType
- The OEM Pay Type: Google pay or Samsung paysamsungServiceID
- The samsung service identifier for Samsung Pay type@NonNull protected String getConsumerID()
@NonNull protected OEMPayType getOemPayType()
@NonNull protected Activity getActivity()
@Nullable protected String getSamsungServiceID()