use of com.ingenico.connect.gateway.sdk.java.domain.product.PaymentProductNetworksResponse in project connect-sdk-java by Ingenico-ePayments.
the class GetNetworksExample method example.
@SuppressWarnings("unused")
public void example() throws URISyntaxException, IOException {
Client client = getClient();
try {
NetworksParams query = new NetworksParams();
query.setCountryCode("US");
query.setCurrencyCode("USD");
query.setAmount(1000L);
query.setIsRecurring(true);
PaymentProductNetworksResponse response = client.merchant("merchantId").products().networks(320, query);
} finally {
client.close();
}
}
Aggregations