public class WhatsAppDeliveryReport extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_BULK_ID |
static String |
SERIALIZED_NAME_DONE_AT |
static String |
SERIALIZED_NAME_ERROR |
static String |
SERIALIZED_NAME_MESSAGE_COUNT |
static String |
SERIALIZED_NAME_MESSAGE_ID |
static String |
SERIALIZED_NAME_PRICE |
static String |
SERIALIZED_NAME_SENT_AT |
static String |
SERIALIZED_NAME_STATUS |
static String |
SERIALIZED_NAME_TO |
| Constructor and Description |
|---|
WhatsAppDeliveryReport() |
| Modifier and Type | Method and Description |
|---|---|
WhatsAppDeliveryReport |
bulkId(String bulkId) |
WhatsAppDeliveryReport |
doneAt(OffsetDateTime doneAt) |
boolean |
equals(Object o) |
WhatsAppDeliveryReport |
error(MessageError error) |
String |
getBulkId()
The ID that uniquely identifies the request.
|
OffsetDateTime |
getDoneAt()
Tells when the message was finished processing by Infobip (ie.
|
MessageError |
getError()
Indicates whether the error occurred during the query execution.
|
Integer |
getMessageCount()
The number of sent message segments.
|
String |
getMessageId()
The ID that uniquely identifies the message sent.
|
MessagePrice |
getPrice()
Sent message price.
|
OffsetDateTime |
getSentAt()
Tells when the message was sent.
|
MessageStatus |
getStatus()
Indicates whether the message is successfully sent, not sent, delivered, not delivered, waiting
for delivery or any other possible status.
|
String |
getTo()
The message destination address.
|
int |
hashCode() |
WhatsAppDeliveryReport |
messageCount(Integer messageCount) |
WhatsAppDeliveryReport |
messageId(String messageId) |
WhatsAppDeliveryReport |
price(MessagePrice price) |
WhatsAppDeliveryReport |
sentAt(OffsetDateTime sentAt) |
void |
setBulkId(String bulkId) |
void |
setDoneAt(OffsetDateTime doneAt) |
void |
setError(MessageError error) |
void |
setMessageCount(Integer messageCount) |
void |
setMessageId(String messageId) |
void |
setPrice(MessagePrice price) |
void |
setSentAt(OffsetDateTime sentAt) |
void |
setStatus(MessageStatus status) |
void |
setTo(String to) |
WhatsAppDeliveryReport |
status(MessageStatus status) |
WhatsAppDeliveryReport |
to(String to) |
String |
toString() |
public static final String SERIALIZED_NAME_BULK_ID
public static final String SERIALIZED_NAME_PRICE
public static final String SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_ERROR
public static final String SERIALIZED_NAME_MESSAGE_ID
public static final String SERIALIZED_NAME_DONE_AT
public static final String SERIALIZED_NAME_MESSAGE_COUNT
public static final String SERIALIZED_NAME_SENT_AT
public static final String SERIALIZED_NAME_TO
public WhatsAppDeliveryReport bulkId(String bulkId)
public String getBulkId()
public void setBulkId(String bulkId)
public WhatsAppDeliveryReport price(MessagePrice price)
public MessagePrice getPrice()
public void setPrice(MessagePrice price)
public WhatsAppDeliveryReport status(MessageStatus status)
public MessageStatus getStatus()
public void setStatus(MessageStatus status)
public WhatsAppDeliveryReport error(MessageError error)
public MessageError getError()
public void setError(MessageError error)
public WhatsAppDeliveryReport messageId(String messageId)
public String getMessageId()
public void setMessageId(String messageId)
public WhatsAppDeliveryReport doneAt(OffsetDateTime doneAt)
public OffsetDateTime getDoneAt()
public void setDoneAt(OffsetDateTime doneAt)
public WhatsAppDeliveryReport messageCount(Integer messageCount)
public Integer getMessageCount()
public void setMessageCount(Integer messageCount)
public WhatsAppDeliveryReport sentAt(OffsetDateTime sentAt)
public OffsetDateTime getSentAt()
public void setSentAt(OffsetDateTime sentAt)
public WhatsAppDeliveryReport to(String to)
public String getTo()
public void setTo(String to)
Copyright © 2022. All rights reserved.