use of com.ingenico.connect.gateway.sdk.java.domain.payment.TokenizePaymentRequest in project connect-sdk-java by Ingenico-ePayments.
the class TokenizePaymentExample method example.
@SuppressWarnings("unused")
public void example() throws URISyntaxException, IOException {
Client client = getClient();
try {
TokenizePaymentRequest body = new TokenizePaymentRequest();
body.setAlias("Some alias");
CreateTokenResponse response = client.merchant("merchantId").payments().tokenize("paymentId", body);
} finally {
client.close();
}
}
Aggregations