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 |
id
requestId, 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, setId
getRequestId, getStatusCode, getStatusDetail, setRequestId, setStatusCode, setStatusDetail
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
public ContactAddressData getContactAddress()
ContactAddressData
public void setContactAddress(ContactAddressData value)
value
- allowed object is
ContactAddressData
public String getContactNumber()
String
public void setContactNumber(String value)
value
- allowed object is
String
public 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()
String
public void setEmail(String value)
value
- allowed object is
String
public int getNumberOfTickets()
public void setNumberOfTickets(int value)
public String getReferenceNumber()
String
public void setReferenceNumber(String value)
value
- allowed object is
String
public Date getShipmentDate()
String
public void setShipmentDate(Date value)
value
- allowed object is
String
public ShipmentModeDetailedData getShipmentMode()
ShipmentModeDetailedData
public void setShipmentMode(ShipmentModeDetailedData value)
value
- allowed object is
ShipmentModeDetailedData
public boolean isShipmentSent()
public void setShipmentSent(boolean value)
public ShipmentState getShipmentState()
ShipmentState
public void setShipmentState(ShipmentState value)
value
- allowed object is
ShipmentState
public 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()
String
Copyright © 2021. All rights reserved.