Package com.sinch.sdk.domains.sms.models
Class DeliveryReportBatch
java.lang.Object
com.sinch.sdk.domains.sms.models.BaseDeliveryReport
com.sinch.sdk.domains.sms.models.DeliveryReportBatch
- All Implemented Interfaces:
WebhooksEvent
- Direct Known Subclasses:
DeliveryReportBatchMMS
,DeliveryReportBatchSMS
Common Definition to Delivery Report
- Since:
- 1.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionDeliveryReportBatch
(String batchId, String clientReference, Collection<DeliveryReportStatusDetails> statuses, Integer totalMessageCount) -
Method Summary
Methods inherited from class com.sinch.sdk.domains.sms.models.BaseDeliveryReport
getBatchId, getClientReference
-
Constructor Details
-
DeliveryReportBatch
public DeliveryReportBatch(String batchId, String clientReference, Collection<DeliveryReportStatusDetails> statuses, Integer totalMessageCount) - Parameters:
batchId
-Required.
The ID of the batch this delivery report belongs to.clientReference
- The client identifier of the batch this delivery report belongs to, if set when submitting batch.statuses
-Required.
Array with status objects. Only status codes with at least one recipient will be listed.totalMessageCount
-Required.
The total number of messages in the batch.
-
-
Method Details
-
getStatuses
-
getTotalMessageCount
-
toString
- Overrides:
toString
in classBaseDeliveryReport
-