public class PostmarkResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
errorCode
The error code returned from Postmark.
|
String |
message
The message from the API.
|
String |
messageId
The message ID of the sent message.
|
PostmarkStatus |
status
The status outcome of the response.
|
org.joda.time.DateTime |
submittedAt
The time the request was received by Postmark.
|
String |
to
The recipient of the submitted request.
|
| Constructor and Description |
|---|
PostmarkResponse() |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode() |
String |
getMessage() |
PostmarkStatus |
getStatus() |
org.joda.time.DateTime |
getSubmittedAt() |
String |
getTo() |
void |
setErrorCode(int errorCode) |
void |
setMessage(String message) |
void |
setStatus(PostmarkStatus status) |
void |
setSubmittedAt(org.joda.time.DateTime submittedAt) |
void |
setTo(String to) |
String |
toString() |
public PostmarkStatus status
public String message
public String messageId
public org.joda.time.DateTime submittedAt
public String to
public int errorCode
public PostmarkStatus getStatus()
public void setStatus(PostmarkStatus status)
public String getMessage()
public void setMessage(String message)
public org.joda.time.DateTime getSubmittedAt()
public void setSubmittedAt(org.joda.time.DateTime submittedAt)
public String getTo()
public void setTo(String to)
public int getErrorCode()
public void setErrorCode(int errorCode)
Copyright © 2017. All rights reserved.