cl.transbank.webpay.wrapper.WSCompleteWebpayServiceWrapper 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.webpay.wrapper;
import cl.transbank.webpay.Webpay;
import cl.transbank.webpay.security.SoapSignature;
import com.transbank.webpay.wswebpay.service.*;
import java.util.List;
public class WSCompleteWebpayServiceWrapper extends ServiceWrapperBase {
private WSCompleteWebpayService port;
protected WSCompleteWebpayServiceWrapper(Webpay.Environment environment, SoapSignature signature) throws Exception {
super(environment, signature);
this.port = initPort(
WSCompleteWebpayService.class,
WSCompleteWebpayServiceImplService.SERVICE,
WSCompleteWebpayServiceImplService.WSCompleteWebpayServiceImplPort,
"transbank-ws-complete-webpay-service.wsdl"
);
}
public WsCompleteInitTransactionOutput initCompleteTransaction(WsCompleteInitTransactionInput input){
return port.initCompleteTransaction(input);
}
public WsCompleteQuerySharesOutput queryShare(QueryShare queryShare){
return port.queryShare(queryShare.getToken(), queryShare.getBuyOrder(), queryShare.getShareNumber());
}
@Deprecated
public WsCompleteAuthorizeOutput autorize(String valor, List input){
return authorize(valor, input);
}
public WsCompleteAuthorizeOutput authorize(String valor, List input){
return port.authorize(valor, input);
}
public void acknowledgeCompleteTransaction(String token){
port.acknowledgeCompleteTransaction(token);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy