public class ShipmentData extends AbstractIdData implements Serializable
Java class for shipmentData complex type.
The following schema fragment specifies the expected content contained within this class.
| Modifier and Type | Field and Description |
|---|---|
protected ContactAddressData |
contactAddress |
protected String |
contactNumber |
protected List<DocumentData> |
documents |
protected String |
email |
protected int |
numberOfTickets |
protected String |
referenceNumber |
protected Date |
shipmentDate |
protected ShipmentModeDetailedData |
shipmentMode |
protected boolean |
shipmentSent |
protected ShipmentState |
shipmentState |
protected List<TicketData> |
tickets |
protected String |
trackingUrl |
idrequestId, statusCode, statusDetail| Constructor and Description |
|---|
ShipmentData() |
| Modifier and Type | Method and Description |
|---|---|
ContactAddressData |
getContactAddress()
Gets the value of the contactAddress property.
|
String |
getContactNumber()
Gets the value of the contactNumber property.
|
List<DocumentData> |
getDocuments()
Gets the value of the documents property.
|
String |
getEmail()
Gets the value of the email property.
|
int |
getNumberOfTickets()
Gets the value of the numberOfTickets property.
|
String |
getReferenceNumber()
Gets the value of the referenceNumber property.
|
Date |
getShipmentDate()
Gets the value of the shipmentDate property.
|
ShipmentModeDetailedData |
getShipmentMode()
Gets the value of the shipmentMode property.
|
ShipmentState |
getShipmentState()
Gets the value of the shipmentState property.
|
List<TicketData> |
getTickets()
Gets the value of the tickets property.
|
String |
getTrackingUrl()
Gets the value of the trackingUrl property.
|
boolean |
isShipmentSent()
Gets the value of the shipmentSent property.
|
void |
setContactAddress(ContactAddressData value)
Sets the value of the contactAddress property.
|
void |
setContactNumber(String value)
Sets the value of the contactNumber property.
|
void |
setEmail(String value)
Sets the value of the email property.
|
void |
setNumberOfTickets(int value)
Sets the value of the numberOfTickets property.
|
void |
setReferenceNumber(String value)
Sets the value of the referenceNumber property.
|
void |
setShipmentDate(Date value)
Sets the value of the shipmentDate property.
|
void |
setShipmentMode(ShipmentModeDetailedData value)
Sets the value of the shipmentMode property.
|
void |
setShipmentSent(boolean value)
Sets the value of the shipmentSent property.
|
void |
setShipmentState(ShipmentState value)
Sets the value of the shipmentState property.
|
void |
setTrackingUrl(String value)
Sets the value of the trackingUrl property.
|
getId, setIdgetRequestId, getStatusCode, getStatusDetail, setRequestId, setStatusCode, setStatusDetailprotected ContactAddressData contactAddress
protected String contactNumber
protected List<DocumentData> documents
protected String email
protected int numberOfTickets
protected String referenceNumber
protected Date shipmentDate
protected ShipmentModeDetailedData shipmentMode
protected boolean shipmentSent
protected ShipmentState shipmentState
protected List<TicketData> tickets
protected String trackingUrl
public ContactAddressData getContactAddress()
ContactAddressDatapublic void setContactAddress(ContactAddressData value)
value - allowed object is
ContactAddressDatapublic String getContactNumber()
Stringpublic void setContactNumber(String value)
value - allowed object is
Stringpublic List<DocumentData> getDocuments()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the documents property.
For example, to add a new item, do as follows:
getDocuments().add(newItem);
Objects of the following type(s) are allowed in the list
DocumentData
public String getEmail()
Stringpublic void setEmail(String value)
value - allowed object is
Stringpublic int getNumberOfTickets()
public void setNumberOfTickets(int value)
public String getReferenceNumber()
Stringpublic void setReferenceNumber(String value)
value - allowed object is
Stringpublic Date getShipmentDate()
Stringpublic void setShipmentDate(Date value)
value - allowed object is
Stringpublic ShipmentModeDetailedData getShipmentMode()
ShipmentModeDetailedDatapublic void setShipmentMode(ShipmentModeDetailedData value)
value - allowed object is
ShipmentModeDetailedDatapublic boolean isShipmentSent()
public void setShipmentSent(boolean value)
public ShipmentState getShipmentState()
ShipmentStatepublic void setShipmentState(ShipmentState value)
value - allowed object is
ShipmentStatepublic List<TicketData> getTickets()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the tickets property.
For example, to add a new item, do as follows:
getTickets().add(newItem);
Objects of the following type(s) are allowed in the list
TicketData
public String getTrackingUrl()
StringCopyright © 2021. All rights reserved.