public class PrintServiceClient extends Object
Constructor and Description |
---|
PrintServiceClient() |
Modifier and Type | Method and Description |
---|---|
static PrintServiceClient |
getInstance() |
void |
initialize(String clientURL) |
String |
sendSms(SmsDTO smsDTO,
String userName,
String password)
Send sms.
|
String |
sendToPrintService(PrintInvoiceDTO printInvoiceDTO,
String locale,
boolean isProductionEnvironment,
String userName,
String Password) |
public static PrintServiceClient getInstance()
public void initialize(String clientURL)
public String sendToPrintService(PrintInvoiceDTO printInvoiceDTO, String locale, boolean isProductionEnvironment, String userName, String Password) throws IOException, Exception
IOException
Exception
public String sendSms(SmsDTO smsDTO, String userName, String password) throws IOException, Exception
smsDTO
- the sms dtouserName
- the user namePassword
- the passwordIOException
- Signals that an I/O exception has occurred.Exception
- the exceptionCopyright © 2021 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.