cl.transbank.onepay.util.RequestBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of transbank-sdk-java Show documentation
Show all versions of transbank-sdk-java Show documentation
Tranbank API integration SDK for Java Projects
package cl.transbank.onepay.util;
import cl.transbank.onepay.Onepay;
import cl.transbank.onepay.exception.SignatureException;
import cl.transbank.onepay.model.Options;
import cl.transbank.onepay.model.ShoppingCart;
import cl.transbank.onepay.net.GetTransactionNumberRequest;
import cl.transbank.onepay.net.NullifyTransactionRequest;
import cl.transbank.onepay.net.SendTransactionRequest;
public interface RequestBuilder {
SendTransactionRequest buildSendTransactionRequest(ShoppingCart cart, Onepay.Channel channel, String externalUniqueNumber, Options options)
throws SignatureException;
GetTransactionNumberRequest buildGetTransactionNumberRequest(String occ, String externalUniqueNumber, Options options)
throws SignatureException;
NullifyTransactionRequest buildNullifyTransactionRequest(long amount, String occ, String externalUniqueNumber,
String authorizationCode, Options options) throws SignatureException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy