Class MessageResponseDto

java.lang.Object
esendex.sdk.java.model.transfer.Dto
esendex.sdk.java.model.transfer.message.MessageResponseDto

public class MessageResponseDto extends Dto
A MessageResponse is the base class for all Message responses. This class directly holds the parsed xml data. Subclasses should merely allow selective access.
  • Constructor Details

    • MessageResponseDto

      public MessageResponseDto()
  • Method Details

    • getReference

      public String getReference()
      Gets the reference.
      Returns:
      the reference
    • getStatus

      public Status getStatus()
      Gets the status.
      Returns:
      the status
    • getSentat

      public Date getSentat()
      Gets the sentat.
      Returns:
      the sentat
    • getDeliveredat

      public Date getDeliveredat()
      Gets the deliveredat.
      Returns:
      the deliveredat
    • getReceivedat

      public Date getReceivedat()
      Gets the receivedat.
      Returns:
      the receivedat
    • getType

      public MessageType getType()
      Gets the type.
      Returns:
      the type
    • getTo

      public MessageContactDto getTo()
      Gets the to.
      Returns:
      the to
    • getFrom

      public MessageContactDto getFrom()
      Gets the from.
      Returns:
      the from
    • getLaststatusat

      public Date getLaststatusat()
      Gets the laststatusat.
      Returns:
      the laststatusat
    • getSubmittedat

      public Date getSubmittedat()
      Gets the submittedat.
      Returns:
      the submittedat
    • getSummary

      public String getSummary()
      Gets the summary.
      Returns:
      the summary
    • getBody

      public BodyDto getBody()
      Gets the body.
      Returns:
      the body
    • getDirection

      public MessageDirection getDirection()
      Gets the direction.
      Returns:
      the direction
    • getParts

      public Integer getParts()
      Gets the parts.
      Returns:
      the parts
    • getUsername

      public String getUsername()
      Gets the username.
      Returns:
      the username
    • getReadat

      public Date getReadat()
      Gets the readat.
      Returns:
      the readat
    • getReadby

      public String getReadby()
      Gets the readby.
      Returns:
      the readby
    • getFailureReason

      public FailureReasonDto getFailureReason()
    • toString

      public String toString()
      Overrides:
      toString in class Dto
    • getBatch

      public BatchDto getBatch()