public class Sms extends Object
Convenience class to create a new Message
objects using the builder pattern.
Example:
Sms sms = new Sms.
Builder("+4741000000", "Test message").
withPrice(0).
withOriginatorSettings(OriginatorTypeEnum.ALPHANUMERIC, "originator").
withSendWindow(new SendWindow.Builder(DatatypeFactory.newInstance().newXMLGregorianCalendar("2015-08-06T12:00:00+02:00")).build()).
build();
GatewayClient.send(GatewayRequest)
,
GatewayRequest
,
GasSettings
,
SendWindow
Modifier and Type | Class and Description |
---|---|
static class |
Sms.Builder |
Modifier and Type | Method and Description |
---|---|
com.intele.chimera.gw.xsd.smsgateway.request._2013._02.Message |
getMessage() |
Copyright © 2016. All rights reserved.