
com.fedex.rate.stub.RatedPackageDetail Maven / Gradle / Ivy
The newest version!
/**
* RatedPackageDetail.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.rate.stub;
public class RatedPackageDetail implements java.io.Serializable {
/* Echoed from the corresponding package in the rate request (if
* provided). */
private com.fedex.rate.stub.TrackingId[] trackingIds;
/* Used with request containing PACKAGE_GROUPS, to identify which
* group of identical packages was used to produce a reply item. */
private org.apache.axis.types.NonNegativeInteger groupNumber;
/* The difference between "list" and "account" net charge. */
private com.fedex.rate.stub.Money effectiveNetDiscount;
/* Ground COD is shipment level. */
private com.fedex.rate.stub.Money adjustedCodCollectionAmount;
private com.fedex.rate.stub.OversizeClassType oversizeClass;
/* Rate data that are tied to a specific package and rate type
* combination. */
private com.fedex.rate.stub.PackageRateDetail packageRateDetail;
public RatedPackageDetail() {
}
public RatedPackageDetail(
com.fedex.rate.stub.TrackingId[] trackingIds,
org.apache.axis.types.NonNegativeInteger groupNumber,
com.fedex.rate.stub.Money effectiveNetDiscount,
com.fedex.rate.stub.Money adjustedCodCollectionAmount,
com.fedex.rate.stub.OversizeClassType oversizeClass,
com.fedex.rate.stub.PackageRateDetail packageRateDetail) {
this.trackingIds = trackingIds;
this.groupNumber = groupNumber;
this.effectiveNetDiscount = effectiveNetDiscount;
this.adjustedCodCollectionAmount = adjustedCodCollectionAmount;
this.oversizeClass = oversizeClass;
this.packageRateDetail = packageRateDetail;
}
/**
* Gets the trackingIds value for this RatedPackageDetail.
*
* @return trackingIds * Echoed from the corresponding package in the rate request (if
* provided).
*/
public com.fedex.rate.stub.TrackingId[] getTrackingIds() {
return trackingIds;
}
/**
* Sets the trackingIds value for this RatedPackageDetail.
*
* @param trackingIds * Echoed from the corresponding package in the rate request (if
* provided).
*/
public void setTrackingIds(com.fedex.rate.stub.TrackingId[] trackingIds) {
this.trackingIds = trackingIds;
}
public com.fedex.rate.stub.TrackingId getTrackingIds(int i) {
return this.trackingIds[i];
}
public void setTrackingIds(int i, com.fedex.rate.stub.TrackingId _value) {
this.trackingIds[i] = _value;
}
/**
* Gets the groupNumber value for this RatedPackageDetail.
*
* @return groupNumber * Used with request containing PACKAGE_GROUPS, to identify which
* group of identical packages was used to produce a reply item.
*/
public org.apache.axis.types.NonNegativeInteger getGroupNumber() {
return groupNumber;
}
/**
* Sets the groupNumber value for this RatedPackageDetail.
*
* @param groupNumber * Used with request containing PACKAGE_GROUPS, to identify which
* group of identical packages was used to produce a reply item.
*/
public void setGroupNumber(org.apache.axis.types.NonNegativeInteger groupNumber) {
this.groupNumber = groupNumber;
}
/**
* Gets the effectiveNetDiscount value for this RatedPackageDetail.
*
* @return effectiveNetDiscount * The difference between "list" and "account" net charge.
*/
public com.fedex.rate.stub.Money getEffectiveNetDiscount() {
return effectiveNetDiscount;
}
/**
* Sets the effectiveNetDiscount value for this RatedPackageDetail.
*
* @param effectiveNetDiscount * The difference between "list" and "account" net charge.
*/
public void setEffectiveNetDiscount(com.fedex.rate.stub.Money effectiveNetDiscount) {
this.effectiveNetDiscount = effectiveNetDiscount;
}
/**
* Gets the adjustedCodCollectionAmount value for this RatedPackageDetail.
*
* @return adjustedCodCollectionAmount * Ground COD is shipment level.
*/
public com.fedex.rate.stub.Money getAdjustedCodCollectionAmount() {
return adjustedCodCollectionAmount;
}
/**
* Sets the adjustedCodCollectionAmount value for this RatedPackageDetail.
*
* @param adjustedCodCollectionAmount * Ground COD is shipment level.
*/
public void setAdjustedCodCollectionAmount(com.fedex.rate.stub.Money adjustedCodCollectionAmount) {
this.adjustedCodCollectionAmount = adjustedCodCollectionAmount;
}
/**
* Gets the oversizeClass value for this RatedPackageDetail.
*
* @return oversizeClass
*/
public com.fedex.rate.stub.OversizeClassType getOversizeClass() {
return oversizeClass;
}
/**
* Sets the oversizeClass value for this RatedPackageDetail.
*
* @param oversizeClass
*/
public void setOversizeClass(com.fedex.rate.stub.OversizeClassType oversizeClass) {
this.oversizeClass = oversizeClass;
}
/**
* Gets the packageRateDetail value for this RatedPackageDetail.
*
* @return packageRateDetail * Rate data that are tied to a specific package and rate type
* combination.
*/
public com.fedex.rate.stub.PackageRateDetail getPackageRateDetail() {
return packageRateDetail;
}
/**
* Sets the packageRateDetail value for this RatedPackageDetail.
*
* @param packageRateDetail * Rate data that are tied to a specific package and rate type
* combination.
*/
public void setPackageRateDetail(com.fedex.rate.stub.PackageRateDetail packageRateDetail) {
this.packageRateDetail = packageRateDetail;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof RatedPackageDetail)) return false;
RatedPackageDetail other = (RatedPackageDetail) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.trackingIds==null && other.getTrackingIds()==null) ||
(this.trackingIds!=null &&
java.util.Arrays.equals(this.trackingIds, other.getTrackingIds()))) &&
((this.groupNumber==null && other.getGroupNumber()==null) ||
(this.groupNumber!=null &&
this.groupNumber.equals(other.getGroupNumber()))) &&
((this.effectiveNetDiscount==null && other.getEffectiveNetDiscount()==null) ||
(this.effectiveNetDiscount!=null &&
this.effectiveNetDiscount.equals(other.getEffectiveNetDiscount()))) &&
((this.adjustedCodCollectionAmount==null && other.getAdjustedCodCollectionAmount()==null) ||
(this.adjustedCodCollectionAmount!=null &&
this.adjustedCodCollectionAmount.equals(other.getAdjustedCodCollectionAmount()))) &&
((this.oversizeClass==null && other.getOversizeClass()==null) ||
(this.oversizeClass!=null &&
this.oversizeClass.equals(other.getOversizeClass()))) &&
((this.packageRateDetail==null && other.getPackageRateDetail()==null) ||
(this.packageRateDetail!=null &&
this.packageRateDetail.equals(other.getPackageRateDetail())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getTrackingIds() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy