
com.fedex.ship.CompletedTrackDetail Maven / Gradle / Ivy
The newest version!
/**
* CompletedTrackDetail.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.fedex.ship;
public class CompletedTrackDetail implements java.io.Serializable {
private com.fedex.ship.NotificationSeverityType highestSeverity;
private com.fedex.ship.Notification[] notifications;
/* True if duplicate packages (more than one package with the
* same tracking number) have been found, and only limited data will
* be provided for each one. */
private java.lang.Boolean duplicateWaybill;
/* True if additional packages remain to be retrieved. */
private java.lang.Boolean moreData;
/* Value that must be passed in a TrackNotification request to
* retrieve the next set of packages (when MoreDataAvailable = true). */
private java.lang.String pagingToken;
/* Identifies the total number of available track details across
* all pages. */
private org.apache.axis.types.NonNegativeInteger trackDetailsCount;
/* Contains detailed tracking information for the requested packages(s). */
private com.fedex.ship.TrackDetail[] trackDetails;
public CompletedTrackDetail() {
}
public CompletedTrackDetail(
com.fedex.ship.NotificationSeverityType highestSeverity,
com.fedex.ship.Notification[] notifications,
java.lang.Boolean duplicateWaybill,
java.lang.Boolean moreData,
java.lang.String pagingToken,
org.apache.axis.types.NonNegativeInteger trackDetailsCount,
com.fedex.ship.TrackDetail[] trackDetails) {
this.highestSeverity = highestSeverity;
this.notifications = notifications;
this.duplicateWaybill = duplicateWaybill;
this.moreData = moreData;
this.pagingToken = pagingToken;
this.trackDetailsCount = trackDetailsCount;
this.trackDetails = trackDetails;
}
/**
* Gets the highestSeverity value for this CompletedTrackDetail.
*
* @return highestSeverity
*/
public com.fedex.ship.NotificationSeverityType getHighestSeverity() {
return highestSeverity;
}
/**
* Sets the highestSeverity value for this CompletedTrackDetail.
*
* @param highestSeverity
*/
public void setHighestSeverity(com.fedex.ship.NotificationSeverityType highestSeverity) {
this.highestSeverity = highestSeverity;
}
/**
* Gets the notifications value for this CompletedTrackDetail.
*
* @return notifications
*/
public com.fedex.ship.Notification[] getNotifications() {
return notifications;
}
/**
* Sets the notifications value for this CompletedTrackDetail.
*
* @param notifications
*/
public void setNotifications(com.fedex.ship.Notification[] notifications) {
this.notifications = notifications;
}
public com.fedex.ship.Notification getNotifications(int i) {
return this.notifications[i];
}
public void setNotifications(int i, com.fedex.ship.Notification _value) {
this.notifications[i] = _value;
}
/**
* Gets the duplicateWaybill value for this CompletedTrackDetail.
*
* @return duplicateWaybill * True if duplicate packages (more than one package with the
* same tracking number) have been found, and only limited data will
* be provided for each one.
*/
public java.lang.Boolean getDuplicateWaybill() {
return duplicateWaybill;
}
/**
* Sets the duplicateWaybill value for this CompletedTrackDetail.
*
* @param duplicateWaybill * True if duplicate packages (more than one package with the
* same tracking number) have been found, and only limited data will
* be provided for each one.
*/
public void setDuplicateWaybill(java.lang.Boolean duplicateWaybill) {
this.duplicateWaybill = duplicateWaybill;
}
/**
* Gets the moreData value for this CompletedTrackDetail.
*
* @return moreData * True if additional packages remain to be retrieved.
*/
public java.lang.Boolean getMoreData() {
return moreData;
}
/**
* Sets the moreData value for this CompletedTrackDetail.
*
* @param moreData * True if additional packages remain to be retrieved.
*/
public void setMoreData(java.lang.Boolean moreData) {
this.moreData = moreData;
}
/**
* Gets the pagingToken value for this CompletedTrackDetail.
*
* @return pagingToken * Value that must be passed in a TrackNotification request to
* retrieve the next set of packages (when MoreDataAvailable = true).
*/
public java.lang.String getPagingToken() {
return pagingToken;
}
/**
* Sets the pagingToken value for this CompletedTrackDetail.
*
* @param pagingToken * Value that must be passed in a TrackNotification request to
* retrieve the next set of packages (when MoreDataAvailable = true).
*/
public void setPagingToken(java.lang.String pagingToken) {
this.pagingToken = pagingToken;
}
/**
* Gets the trackDetailsCount value for this CompletedTrackDetail.
*
* @return trackDetailsCount * Identifies the total number of available track details across
* all pages.
*/
public org.apache.axis.types.NonNegativeInteger getTrackDetailsCount() {
return trackDetailsCount;
}
/**
* Sets the trackDetailsCount value for this CompletedTrackDetail.
*
* @param trackDetailsCount * Identifies the total number of available track details across
* all pages.
*/
public void setTrackDetailsCount(org.apache.axis.types.NonNegativeInteger trackDetailsCount) {
this.trackDetailsCount = trackDetailsCount;
}
/**
* Gets the trackDetails value for this CompletedTrackDetail.
*
* @return trackDetails * Contains detailed tracking information for the requested packages(s).
*/
public com.fedex.ship.TrackDetail[] getTrackDetails() {
return trackDetails;
}
/**
* Sets the trackDetails value for this CompletedTrackDetail.
*
* @param trackDetails * Contains detailed tracking information for the requested packages(s).
*/
public void setTrackDetails(com.fedex.ship.TrackDetail[] trackDetails) {
this.trackDetails = trackDetails;
}
public com.fedex.ship.TrackDetail getTrackDetails(int i) {
return this.trackDetails[i];
}
public void setTrackDetails(int i, com.fedex.ship.TrackDetail _value) {
this.trackDetails[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CompletedTrackDetail)) return false;
CompletedTrackDetail other = (CompletedTrackDetail) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.highestSeverity==null && other.getHighestSeverity()==null) ||
(this.highestSeverity!=null &&
this.highestSeverity.equals(other.getHighestSeverity()))) &&
((this.notifications==null && other.getNotifications()==null) ||
(this.notifications!=null &&
java.util.Arrays.equals(this.notifications, other.getNotifications()))) &&
((this.duplicateWaybill==null && other.getDuplicateWaybill()==null) ||
(this.duplicateWaybill!=null &&
this.duplicateWaybill.equals(other.getDuplicateWaybill()))) &&
((this.moreData==null && other.getMoreData()==null) ||
(this.moreData!=null &&
this.moreData.equals(other.getMoreData()))) &&
((this.pagingToken==null && other.getPagingToken()==null) ||
(this.pagingToken!=null &&
this.pagingToken.equals(other.getPagingToken()))) &&
((this.trackDetailsCount==null && other.getTrackDetailsCount()==null) ||
(this.trackDetailsCount!=null &&
this.trackDetailsCount.equals(other.getTrackDetailsCount()))) &&
((this.trackDetails==null && other.getTrackDetails()==null) ||
(this.trackDetails!=null &&
java.util.Arrays.equals(this.trackDetails, other.getTrackDetails())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getHighestSeverity() != null) {
_hashCode += getHighestSeverity().hashCode();
}
if (getNotifications() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy