Interface BinaryResponse
- All Superinterfaces:
BatchResponse
BinaryResponse
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDedicated Builderstatic classSMS in binary format. -
Method Summary
Modifier and TypeMethodDescriptionstatic BinaryResponse.Builderbuilder()Getting buildergetBody()The message content provided.Indicates whether or not the batch has been canceled.The string input to identify this batch message.Timestamp for when batch was created.The delivery report callback option selected.The callback URL provided in the request.If set, the date and time the message will expire.If set to true, then feedback is expected after successful delivery.getFrom()The sender number provided.Number Plan Indicator for the sender number.The type of number for the sender number.getId()Unique identifier for batch.Timestamp for when batch was last updated.If set, the date and time the message should be delivered.getTo()A list of phone numbers and group IDs that have received the batch.getUdh()The UDH header of a binary message HEX encoded.
-
Method Details
-
getId
String getId()Unique identifier for batch.- Returns:
- id
- Read Only
- This field is returned by the server and cannot be modified
-
getTo
A list of phone numbers and group IDs that have received the batch. More info.- Returns:
- to
-
getFrom
String getFrom()The sender number provided. Required if the Automatic Default Originator is not configured.- Returns:
- from
-
getCanceled
Boolean getCanceled()Indicates whether or not the batch has been canceled.- Returns:
- canceled
- Read Only
- This field is returned by the server and cannot be modified
-
getBody
String getBody()The message content provided. Base64 encoded.- Returns:
- body
-
getUdh
String getUdh()The UDH header of a binary message HEX encoded. Max 140 bytes including thebody.- Returns:
- udh
-
getCreatedAt
Instant getCreatedAt()Timestamp for when batch was created. Formatted as ISO-8601. For example:YYYY-MM-DDThh:mm:ss.SSSZ.- Returns:
- createdAt
- Read Only
- This field is returned by the server and cannot be modified
-
getModifiedAt
Instant getModifiedAt()Timestamp for when batch was last updated. Formatted as ISO-8601. For example:YYYY-MM-DDThh:mm:ss.SSSZ.- Returns:
- modifiedAt
- Read Only
- This field is returned by the server and cannot be modified
-
getDeliveryReport
DeliveryReportType getDeliveryReport()The delivery report callback option selected. Will be eithernone,summary,full,per_recipient, orper_recipient_final.- Returns:
- deliveryReport
-
getSendAt
Instant getSendAt()If set, the date and time the message should be delivered. Formatted as ISO-8601. For example:YYYY-MM-DDThh:mm:ss.SSSZ.- Returns:
- sendAt
-
getExpireAt
Instant getExpireAt()If set, the date and time the message will expire. Formatted as ISO-8601. For example:YYYY-MM-DDThh:mm:ss.SSSZ.- Returns:
- expireAt
-
getEventDestinationTarget
String getEventDestinationTarget()The callback URL provided in the request.- Returns:
- eventDestinationTarget
-
getClientReference
String getClientReference()The string input to identify this batch message. If set, the identifier will be added in the delivery report/callback of this batch.- Returns:
- clientReference
-
getFeedbackEnabled
Boolean getFeedbackEnabled()If set to true, then feedback is expected after successful delivery.- Returns:
- feedbackEnabled
-
getFromTon
Integer getFromTon()The type of number for the sender number.minimum: 0 maximum: 6
- Returns:
- fromTon
-
getFromNpi
Integer getFromNpi()Number Plan Indicator for the sender number.minimum: 0 maximum: 18
- Returns:
- fromNpi
-
builder
Getting builder- Returns:
- New Builder instance
-