use of com.ingenico.connect.gateway.sdk.java.domain.services.BankDetailsRequest in project connect-sdk-java by Ingenico-ePayments.
the class ConvertBankAccountExample method example.
@SuppressWarnings("unused")
public void example() throws URISyntaxException, IOException {
Client client = getClient();
try {
BankAccountBban bankAccountBban = new BankAccountBban();
bankAccountBban.setAccountNumber("0532013000");
bankAccountBban.setBankCode("37040044");
bankAccountBban.setCountryCode("DE");
BankDetailsRequest body = new BankDetailsRequest();
body.setBankAccountBban(bankAccountBban);
BankDetailsResponse response = client.merchant("merchantId").services().bankaccount(body);
} finally {
client.close();
}
}
Aggregations