
com.fedex.ship.stub.ProcessShipmentReply Maven / Gradle / Ivy
The newest version!
/**
* ProcessShipmentReply.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.stub;
public class ProcessShipmentReply implements java.io.Serializable {
private com.fedex.ship.stub.NotificationSeverityType highestSeverity;
private com.fedex.ship.stub.Notification[] notifications;
private com.fedex.ship.stub.TransactionDetail transactionDetail;
private com.fedex.ship.stub.VersionId version;
private java.lang.String jobId;
private com.fedex.ship.stub.CompletedShipmentDetail completedShipmentDetail;
/* Empty unless error label behavior is PACKAGE_ERROR_LABELS and
* one or more errors occured during transaction processing. */
private com.fedex.ship.stub.ShippingDocument[] errorLabels;
public ProcessShipmentReply() {
}
public ProcessShipmentReply(
com.fedex.ship.stub.NotificationSeverityType highestSeverity,
com.fedex.ship.stub.Notification[] notifications,
com.fedex.ship.stub.TransactionDetail transactionDetail,
com.fedex.ship.stub.VersionId version,
java.lang.String jobId,
com.fedex.ship.stub.CompletedShipmentDetail completedShipmentDetail,
com.fedex.ship.stub.ShippingDocument[] errorLabels) {
this.highestSeverity = highestSeverity;
this.notifications = notifications;
this.transactionDetail = transactionDetail;
this.version = version;
this.jobId = jobId;
this.completedShipmentDetail = completedShipmentDetail;
this.errorLabels = errorLabels;
}
/**
* Gets the highestSeverity value for this ProcessShipmentReply.
*
* @return highestSeverity
*/
public com.fedex.ship.stub.NotificationSeverityType getHighestSeverity() {
return highestSeverity;
}
/**
* Sets the highestSeverity value for this ProcessShipmentReply.
*
* @param highestSeverity
*/
public void setHighestSeverity(com.fedex.ship.stub.NotificationSeverityType highestSeverity) {
this.highestSeverity = highestSeverity;
}
/**
* Gets the notifications value for this ProcessShipmentReply.
*
* @return notifications
*/
public com.fedex.ship.stub.Notification[] getNotifications() {
return notifications;
}
/**
* Sets the notifications value for this ProcessShipmentReply.
*
* @param notifications
*/
public void setNotifications(com.fedex.ship.stub.Notification[] notifications) {
this.notifications = notifications;
}
public com.fedex.ship.stub.Notification getNotifications(int i) {
return this.notifications[i];
}
public void setNotifications(int i, com.fedex.ship.stub.Notification _value) {
this.notifications[i] = _value;
}
/**
* Gets the transactionDetail value for this ProcessShipmentReply.
*
* @return transactionDetail
*/
public com.fedex.ship.stub.TransactionDetail getTransactionDetail() {
return transactionDetail;
}
/**
* Sets the transactionDetail value for this ProcessShipmentReply.
*
* @param transactionDetail
*/
public void setTransactionDetail(com.fedex.ship.stub.TransactionDetail transactionDetail) {
this.transactionDetail = transactionDetail;
}
/**
* Gets the version value for this ProcessShipmentReply.
*
* @return version
*/
public com.fedex.ship.stub.VersionId getVersion() {
return version;
}
/**
* Sets the version value for this ProcessShipmentReply.
*
* @param version
*/
public void setVersion(com.fedex.ship.stub.VersionId version) {
this.version = version;
}
/**
* Gets the jobId value for this ProcessShipmentReply.
*
* @return jobId
*/
public java.lang.String getJobId() {
return jobId;
}
/**
* Sets the jobId value for this ProcessShipmentReply.
*
* @param jobId
*/
public void setJobId(java.lang.String jobId) {
this.jobId = jobId;
}
/**
* Gets the completedShipmentDetail value for this ProcessShipmentReply.
*
* @return completedShipmentDetail
*/
public com.fedex.ship.stub.CompletedShipmentDetail getCompletedShipmentDetail() {
return completedShipmentDetail;
}
/**
* Sets the completedShipmentDetail value for this ProcessShipmentReply.
*
* @param completedShipmentDetail
*/
public void setCompletedShipmentDetail(com.fedex.ship.stub.CompletedShipmentDetail completedShipmentDetail) {
this.completedShipmentDetail = completedShipmentDetail;
}
/**
* Gets the errorLabels value for this ProcessShipmentReply.
*
* @return errorLabels * Empty unless error label behavior is PACKAGE_ERROR_LABELS and
* one or more errors occured during transaction processing.
*/
public com.fedex.ship.stub.ShippingDocument[] getErrorLabels() {
return errorLabels;
}
/**
* Sets the errorLabels value for this ProcessShipmentReply.
*
* @param errorLabels * Empty unless error label behavior is PACKAGE_ERROR_LABELS and
* one or more errors occured during transaction processing.
*/
public void setErrorLabels(com.fedex.ship.stub.ShippingDocument[] errorLabels) {
this.errorLabels = errorLabels;
}
public com.fedex.ship.stub.ShippingDocument getErrorLabels(int i) {
return this.errorLabels[i];
}
public void setErrorLabels(int i, com.fedex.ship.stub.ShippingDocument _value) {
this.errorLabels[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ProcessShipmentReply)) return false;
ProcessShipmentReply other = (ProcessShipmentReply) 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.jobId==null && other.getJobId()==null) ||
(this.jobId!=null &&
this.jobId.equals(other.getJobId()))) &&
((this.completedShipmentDetail==null && other.getCompletedShipmentDetail()==null) ||
(this.completedShipmentDetail!=null &&
this.completedShipmentDetail.equals(other.getCompletedShipmentDetail()))) &&
((this.errorLabels==null && other.getErrorLabels()==null) ||
(this.errorLabels!=null &&
java.util.Arrays.equals(this.errorLabels, other.getErrorLabels())));
__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