com.easypost.model.ShipmentMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of easypost-api-client Show documentation
Show all versions of easypost-api-client Show documentation
EasyPost Java Client Library for the EasyPost Shipping API
The newest version!
package com.easypost.model;
public final class ShipmentMessage {
private String carrier;
private String carrierAccountId;
private String type;
private Object message;
/**
* Get the carrier associated with this message.
*
* @return the carrier associated with this message.
*/
public String getCarrier() {
return carrier;
}
/**
* Set the carrier associated with this message.
*
* @param carrier the carrier associated with this message.
*/
public void setCarrier(final String carrier) {
this.carrier = carrier;
}
/**
* Get the carrier account id associated with this message.
*
* @return the carrier account id associated with this message.
*/
public String getCarrierAccountId() {
return carrierAccountId;
}
/**
* Set the carrier account id associated with this message.
*
* @param carrierAccountId the carrier account id associated with this message.
*/
public void setCarrierAccountId(final String carrierAccountId) {
this.carrierAccountId = carrierAccountId;
}
/**
* Get the contents of this message.
*
* @return the contents of this message.
*/
public Object getMessage() {
return message;
}
/**
* Set the contents of this message.
*
* @param message the contents of this message.
*/
public void setMessage(final Object message) {
this.message = message;
}
/**
* Get the type of this message.
*
* @return the type of this message.
*/
public String getType() {
return type;
}
/**
* Set the type of this message.
*
* @param type the type of this message.
*/
public void setType(final String type) {
this.type = type;
}
}