
com.fedex.ship.SendNotificationsReply Maven / Gradle / Ivy
The newest version!
/**
* SendNotificationsReply.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 SendNotificationsReply implements java.io.Serializable {
/* This contains the severity type of the most severe Notification
* in the Notifications array. */
private com.fedex.ship.NotificationSeverityType highestSeverity;
/* Information about the request/reply such was the transaction
* successful or not, and any additional information relevant to the
* request and/or reply. There may be multiple Notifications in a reply. */
private com.fedex.ship.Notification[] notifications;
/* Contains the CustomerTransactionDetail that is echoed back
* to the caller for matching requests and replies and a Localization
* element for defining the language/translation used in the reply data. */
private com.fedex.ship.TransactionDetail transactionDetail;
/* Contains the version of the reply being used. */
private com.fedex.ship.VersionId version;
/* True if duplicate packages (more than one package with the
* same tracking number) have been found, the packages array contains
* information about each duplicate. Use this information to determine
* which of the tracking numbers is the one you need and resend your
* request using the tracking number and TrackingNumberUniqueIdentifier
* for that package. */
private java.lang.Boolean duplicateWaybill;
/* True if additional packages remain to be retrieved. */
private java.lang.Boolean moreDataAvailable;
/* Value that must be passed in a TrackNotification request to
* retrieve the next set of packages (when MoreDataAvailable = true). */
private java.lang.String pagingToken;
/* Information about the notifications that are available for
* this tracking number. If there are duplicates the ship date and destination
* address information is returned for determining which TrackingNumberUniqueIdentifier
* to use on a subsequent request. */
private com.fedex.ship.TrackNotificationPackage[] packages;
public SendNotificationsReply() {
}
public SendNotificationsReply(
com.fedex.ship.NotificationSeverityType highestSeverity,
com.fedex.ship.Notification[] notifications,
com.fedex.ship.TransactionDetail transactionDetail,
com.fedex.ship.VersionId version,
java.lang.Boolean duplicateWaybill,
java.lang.Boolean moreDataAvailable,
java.lang.String pagingToken,
com.fedex.ship.TrackNotificationPackage[] packages) {
this.highestSeverity = highestSeverity;
this.notifications = notifications;
this.transactionDetail = transactionDetail;
this.version = version;
this.duplicateWaybill = duplicateWaybill;
this.moreDataAvailable = moreDataAvailable;
this.pagingToken = pagingToken;
this.packages = packages;
}
/**
* Gets the highestSeverity value for this SendNotificationsReply.
*
* @return highestSeverity * This contains the severity type of the most severe Notification
* in the Notifications array.
*/
public com.fedex.ship.NotificationSeverityType getHighestSeverity() {
return highestSeverity;
}
/**
* Sets the highestSeverity value for this SendNotificationsReply.
*
* @param highestSeverity * This contains the severity type of the most severe Notification
* in the Notifications array.
*/
public void setHighestSeverity(com.fedex.ship.NotificationSeverityType highestSeverity) {
this.highestSeverity = highestSeverity;
}
/**
* Gets the notifications value for this SendNotificationsReply.
*
* @return notifications * Information about the request/reply such was the transaction
* successful or not, and any additional information relevant to the
* request and/or reply. There may be multiple Notifications in a reply.
*/
public com.fedex.ship.Notification[] getNotifications() {
return notifications;
}
/**
* Sets the notifications value for this SendNotificationsReply.
*
* @param notifications * Information about the request/reply such was the transaction
* successful or not, and any additional information relevant to the
* request and/or reply. There may be multiple Notifications in a reply.
*/
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 transactionDetail value for this SendNotificationsReply.
*
* @return transactionDetail * Contains the CustomerTransactionDetail that is echoed back
* to the caller for matching requests and replies and a Localization
* element for defining the language/translation used in the reply data.
*/
public com.fedex.ship.TransactionDetail getTransactionDetail() {
return transactionDetail;
}
/**
* Sets the transactionDetail value for this SendNotificationsReply.
*
* @param transactionDetail * Contains the CustomerTransactionDetail that is echoed back
* to the caller for matching requests and replies and a Localization
* element for defining the language/translation used in the reply data.
*/
public void setTransactionDetail(com.fedex.ship.TransactionDetail transactionDetail) {
this.transactionDetail = transactionDetail;
}
/**
* Gets the version value for this SendNotificationsReply.
*
* @return version * Contains the version of the reply being used.
*/
public com.fedex.ship.VersionId getVersion() {
return version;
}
/**
* Sets the version value for this SendNotificationsReply.
*
* @param version * Contains the version of the reply being used.
*/
public void setVersion(com.fedex.ship.VersionId version) {
this.version = version;
}
/**
* Gets the duplicateWaybill value for this SendNotificationsReply.
*
* @return duplicateWaybill * True if duplicate packages (more than one package with the
* same tracking number) have been found, the packages array contains
* information about each duplicate. Use this information to determine
* which of the tracking numbers is the one you need and resend your
* request using the tracking number and TrackingNumberUniqueIdentifier
* for that package.
*/
public java.lang.Boolean getDuplicateWaybill() {
return duplicateWaybill;
}
/**
* Sets the duplicateWaybill value for this SendNotificationsReply.
*
* @param duplicateWaybill * True if duplicate packages (more than one package with the
* same tracking number) have been found, the packages array contains
* information about each duplicate. Use this information to determine
* which of the tracking numbers is the one you need and resend your
* request using the tracking number and TrackingNumberUniqueIdentifier
* for that package.
*/
public void setDuplicateWaybill(java.lang.Boolean duplicateWaybill) {
this.duplicateWaybill = duplicateWaybill;
}
/**
* Gets the moreDataAvailable value for this SendNotificationsReply.
*
* @return moreDataAvailable * True if additional packages remain to be retrieved.
*/
public java.lang.Boolean getMoreDataAvailable() {
return moreDataAvailable;
}
/**
* Sets the moreDataAvailable value for this SendNotificationsReply.
*
* @param moreDataAvailable * True if additional packages remain to be retrieved.
*/
public void setMoreDataAvailable(java.lang.Boolean moreDataAvailable) {
this.moreDataAvailable = moreDataAvailable;
}
/**
* Gets the pagingToken value for this SendNotificationsReply.
*
* @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 SendNotificationsReply.
*
* @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 packages value for this SendNotificationsReply.
*
* @return packages * Information about the notifications that are available for
* this tracking number. If there are duplicates the ship date and destination
* address information is returned for determining which TrackingNumberUniqueIdentifier
* to use on a subsequent request.
*/
public com.fedex.ship.TrackNotificationPackage[] getPackages() {
return packages;
}
/**
* Sets the packages value for this SendNotificationsReply.
*
* @param packages * Information about the notifications that are available for
* this tracking number. If there are duplicates the ship date and destination
* address information is returned for determining which TrackingNumberUniqueIdentifier
* to use on a subsequent request.
*/
public void setPackages(com.fedex.ship.TrackNotificationPackage[] packages) {
this.packages = packages;
}
public com.fedex.ship.TrackNotificationPackage getPackages(int i) {
return this.packages[i];
}
public void setPackages(int i, com.fedex.ship.TrackNotificationPackage _value) {
this.packages[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof SendNotificationsReply)) return false;
SendNotificationsReply other = (SendNotificationsReply) 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.transactionDetail==null && other.getTransactionDetail()==null) ||
(this.transactionDetail!=null &&
this.transactionDetail.equals(other.getTransactionDetail()))) &&
((this.version==null && other.getVersion()==null) ||
(this.version!=null &&
this.version.equals(other.getVersion()))) &&
((this.duplicateWaybill==null && other.getDuplicateWaybill()==null) ||
(this.duplicateWaybill!=null &&
this.duplicateWaybill.equals(other.getDuplicateWaybill()))) &&
((this.moreDataAvailable==null && other.getMoreDataAvailable()==null) ||
(this.moreDataAvailable!=null &&
this.moreDataAvailable.equals(other.getMoreDataAvailable()))) &&
((this.pagingToken==null && other.getPagingToken()==null) ||
(this.pagingToken!=null &&
this.pagingToken.equals(other.getPagingToken()))) &&
((this.packages==null && other.getPackages()==null) ||
(this.packages!=null &&
java.util.Arrays.equals(this.packages, other.getPackages())));
__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