Package com.thalesgroup.gemalto.d1.card
Interface D1PushToECommerce
-
public interface D1PushToECommerce
Main interface of the push provisioning to eCommerce.- Since:
- 3.3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
pushToClick2PayMC(String cardID, ConsumerInfo consumerInfo, String privacyURL, String tncURL, D1Task.Callback<Void> callback)
Push Digital Card to Mastercard Click to Pay TokenRequestor.
-
-
-
Method Detail
-
pushToClick2PayMC
void pushToClick2PayMC(@NonNull String cardID, @NonNull ConsumerInfo consumerInfo, @NonNull String privacyURL, @NonNull String tncURL, @NonNull D1Task.Callback<Void> callback)
Push Digital Card to Mastercard Click to Pay TokenRequestor. When it is successful, the tokenization process is completed. Integrator may callD1Task.getDigitalCardList(String, D1Task.Callback)
to confirm. Before calling this Click to Pay API, integrator should display the default value of consumerInfo, collect the end user inputs of consumerInfo, show privacy and T&C contents, and ensure that the end user accepts the contents.- Parameters:
cardID
- The card identifierconsumerInfo
-ConsumerInfo
The consumer info object is initialized initialized with user inputs for first name, last name, language, phone number, country code and email.privacyURL
- The URL container for consumer's privacy consent status.tncURL
- The URL container for consumer's Terms and Conditions status.callback
- The callback for the result. When it is successful, the returned argument of theD1Task.Callback.onSuccess(Object)
is always null.
Possible errors:
- Since:
- 3.3.0
-
-