
com.fedex.rate.stub.RequestedPackageLineItem Maven / Gradle / Ivy
The newest version!
/**
* RequestedPackageLineItem.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;
/**
* This class rationalizes RequestedPackage and RequestedPackageSummary
* from previous interfaces.
*/
public class RequestedPackageLineItem implements java.io.Serializable {
/* Used only with INDIVIDUAL_PACKAGE, as a unique identifier of
* each requested package. */
private org.apache.axis.types.PositiveInteger sequenceNumber;
/* Used only with PACKAGE_GROUPS, as a unique identifier of each
* group of identical packages. */
private org.apache.axis.types.NonNegativeInteger groupNumber;
/* Used only with PACKAGE_GROUPS, as a count of packages within
* a group of identical packages. */
private org.apache.axis.types.NonNegativeInteger groupPackageCount;
private com.fedex.rate.stub.VariableHandlingChargeDetail variableHandlingChargeDetail;
/* Specifies the declared value for carriage of the package. The
* declared value for carriage represents the maximum liability of FedEx
* in connection with a shipment, including, but not limited to, any
* loss, damage, delay, mis-delivery, nondelivery, misinformation, any
* failure to provide information, or mis-delivery of information relating
* to the package. This field is only used for INDIVIDUAL_PACKAGES and
* PACKAGE_GROUPS. Ignored for PACKAGE_SUMMARY, in which case totalInsuredValue
* and packageCount on the shipment will be used to determine this value. */
private com.fedex.rate.stub.Money insuredValue;
/* Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored
* for PACKAGE_SUMMARY, in which case total weight and packageCount on
* the shipment will be used to determine this value. */
private com.fedex.rate.stub.Weight weight;
private com.fedex.rate.stub.Dimensions dimensions;
/* Provides additional detail on how the customer has physically
* packaged this item. As of June 2009, required for packages moving
* under international and SmartPost services. */
private com.fedex.rate.stub.PhysicalPackagingType physicalPackaging;
private com.fedex.rate.stub.AssociatedFreightLineItemDetail[] associatedFreightLineItems;
/* Human-readable text describing the package. */
private java.lang.String itemDescription;
/* Human-readable text describing the contents of the package
* to be used for clearance purposes. */
private java.lang.String itemDescriptionForClearance;
private com.fedex.rate.stub.CustomerReference[] customerReferences;
private com.fedex.rate.stub.PackageSpecialServicesRequested specialServicesRequested;
/* Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. */
private com.fedex.rate.stub.ContentRecord[] contentRecords;
public RequestedPackageLineItem() {
}
public RequestedPackageLineItem(
org.apache.axis.types.PositiveInteger sequenceNumber,
org.apache.axis.types.NonNegativeInteger groupNumber,
org.apache.axis.types.NonNegativeInteger groupPackageCount,
com.fedex.rate.stub.VariableHandlingChargeDetail variableHandlingChargeDetail,
com.fedex.rate.stub.Money insuredValue,
com.fedex.rate.stub.Weight weight,
com.fedex.rate.stub.Dimensions dimensions,
com.fedex.rate.stub.PhysicalPackagingType physicalPackaging,
com.fedex.rate.stub.AssociatedFreightLineItemDetail[] associatedFreightLineItems,
java.lang.String itemDescription,
java.lang.String itemDescriptionForClearance,
com.fedex.rate.stub.CustomerReference[] customerReferences,
com.fedex.rate.stub.PackageSpecialServicesRequested specialServicesRequested,
com.fedex.rate.stub.ContentRecord[] contentRecords) {
this.sequenceNumber = sequenceNumber;
this.groupNumber = groupNumber;
this.groupPackageCount = groupPackageCount;
this.variableHandlingChargeDetail = variableHandlingChargeDetail;
this.insuredValue = insuredValue;
this.weight = weight;
this.dimensions = dimensions;
this.physicalPackaging = physicalPackaging;
this.associatedFreightLineItems = associatedFreightLineItems;
this.itemDescription = itemDescription;
this.itemDescriptionForClearance = itemDescriptionForClearance;
this.customerReferences = customerReferences;
this.specialServicesRequested = specialServicesRequested;
this.contentRecords = contentRecords;
}
/**
* Gets the sequenceNumber value for this RequestedPackageLineItem.
*
* @return sequenceNumber * Used only with INDIVIDUAL_PACKAGE, as a unique identifier of
* each requested package.
*/
public org.apache.axis.types.PositiveInteger getSequenceNumber() {
return sequenceNumber;
}
/**
* Sets the sequenceNumber value for this RequestedPackageLineItem.
*
* @param sequenceNumber * Used only with INDIVIDUAL_PACKAGE, as a unique identifier of
* each requested package.
*/
public void setSequenceNumber(org.apache.axis.types.PositiveInteger sequenceNumber) {
this.sequenceNumber = sequenceNumber;
}
/**
* Gets the groupNumber value for this RequestedPackageLineItem.
*
* @return groupNumber * Used only with PACKAGE_GROUPS, as a unique identifier of each
* group of identical packages.
*/
public org.apache.axis.types.NonNegativeInteger getGroupNumber() {
return groupNumber;
}
/**
* Sets the groupNumber value for this RequestedPackageLineItem.
*
* @param groupNumber * Used only with PACKAGE_GROUPS, as a unique identifier of each
* group of identical packages.
*/
public void setGroupNumber(org.apache.axis.types.NonNegativeInteger groupNumber) {
this.groupNumber = groupNumber;
}
/**
* Gets the groupPackageCount value for this RequestedPackageLineItem.
*
* @return groupPackageCount * Used only with PACKAGE_GROUPS, as a count of packages within
* a group of identical packages.
*/
public org.apache.axis.types.NonNegativeInteger getGroupPackageCount() {
return groupPackageCount;
}
/**
* Sets the groupPackageCount value for this RequestedPackageLineItem.
*
* @param groupPackageCount * Used only with PACKAGE_GROUPS, as a count of packages within
* a group of identical packages.
*/
public void setGroupPackageCount(org.apache.axis.types.NonNegativeInteger groupPackageCount) {
this.groupPackageCount = groupPackageCount;
}
/**
* Gets the variableHandlingChargeDetail value for this RequestedPackageLineItem.
*
* @return variableHandlingChargeDetail
*/
public com.fedex.rate.stub.VariableHandlingChargeDetail getVariableHandlingChargeDetail() {
return variableHandlingChargeDetail;
}
/**
* Sets the variableHandlingChargeDetail value for this RequestedPackageLineItem.
*
* @param variableHandlingChargeDetail
*/
public void setVariableHandlingChargeDetail(com.fedex.rate.stub.VariableHandlingChargeDetail variableHandlingChargeDetail) {
this.variableHandlingChargeDetail = variableHandlingChargeDetail;
}
/**
* Gets the insuredValue value for this RequestedPackageLineItem.
*
* @return insuredValue * Specifies the declared value for carriage of the package. The
* declared value for carriage represents the maximum liability of FedEx
* in connection with a shipment, including, but not limited to, any
* loss, damage, delay, mis-delivery, nondelivery, misinformation, any
* failure to provide information, or mis-delivery of information relating
* to the package. This field is only used for INDIVIDUAL_PACKAGES and
* PACKAGE_GROUPS. Ignored for PACKAGE_SUMMARY, in which case totalInsuredValue
* and packageCount on the shipment will be used to determine this value.
*/
public com.fedex.rate.stub.Money getInsuredValue() {
return insuredValue;
}
/**
* Sets the insuredValue value for this RequestedPackageLineItem.
*
* @param insuredValue * Specifies the declared value for carriage of the package. The
* declared value for carriage represents the maximum liability of FedEx
* in connection with a shipment, including, but not limited to, any
* loss, damage, delay, mis-delivery, nondelivery, misinformation, any
* failure to provide information, or mis-delivery of information relating
* to the package. This field is only used for INDIVIDUAL_PACKAGES and
* PACKAGE_GROUPS. Ignored for PACKAGE_SUMMARY, in which case totalInsuredValue
* and packageCount on the shipment will be used to determine this value.
*/
public void setInsuredValue(com.fedex.rate.stub.Money insuredValue) {
this.insuredValue = insuredValue;
}
/**
* Gets the weight value for this RequestedPackageLineItem.
*
* @return weight * Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored
* for PACKAGE_SUMMARY, in which case total weight and packageCount on
* the shipment will be used to determine this value.
*/
public com.fedex.rate.stub.Weight getWeight() {
return weight;
}
/**
* Sets the weight value for this RequestedPackageLineItem.
*
* @param weight * Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored
* for PACKAGE_SUMMARY, in which case total weight and packageCount on
* the shipment will be used to determine this value.
*/
public void setWeight(com.fedex.rate.stub.Weight weight) {
this.weight = weight;
}
/**
* Gets the dimensions value for this RequestedPackageLineItem.
*
* @return dimensions
*/
public com.fedex.rate.stub.Dimensions getDimensions() {
return dimensions;
}
/**
* Sets the dimensions value for this RequestedPackageLineItem.
*
* @param dimensions
*/
public void setDimensions(com.fedex.rate.stub.Dimensions dimensions) {
this.dimensions = dimensions;
}
/**
* Gets the physicalPackaging value for this RequestedPackageLineItem.
*
* @return physicalPackaging * Provides additional detail on how the customer has physically
* packaged this item. As of June 2009, required for packages moving
* under international and SmartPost services.
*/
public com.fedex.rate.stub.PhysicalPackagingType getPhysicalPackaging() {
return physicalPackaging;
}
/**
* Sets the physicalPackaging value for this RequestedPackageLineItem.
*
* @param physicalPackaging * Provides additional detail on how the customer has physically
* packaged this item. As of June 2009, required for packages moving
* under international and SmartPost services.
*/
public void setPhysicalPackaging(com.fedex.rate.stub.PhysicalPackagingType physicalPackaging) {
this.physicalPackaging = physicalPackaging;
}
/**
* Gets the associatedFreightLineItems value for this RequestedPackageLineItem.
*
* @return associatedFreightLineItems
*/
public com.fedex.rate.stub.AssociatedFreightLineItemDetail[] getAssociatedFreightLineItems() {
return associatedFreightLineItems;
}
/**
* Sets the associatedFreightLineItems value for this RequestedPackageLineItem.
*
* @param associatedFreightLineItems
*/
public void setAssociatedFreightLineItems(com.fedex.rate.stub.AssociatedFreightLineItemDetail[] associatedFreightLineItems) {
this.associatedFreightLineItems = associatedFreightLineItems;
}
public com.fedex.rate.stub.AssociatedFreightLineItemDetail getAssociatedFreightLineItems(int i) {
return this.associatedFreightLineItems[i];
}
public void setAssociatedFreightLineItems(int i, com.fedex.rate.stub.AssociatedFreightLineItemDetail _value) {
this.associatedFreightLineItems[i] = _value;
}
/**
* Gets the itemDescription value for this RequestedPackageLineItem.
*
* @return itemDescription * Human-readable text describing the package.
*/
public java.lang.String getItemDescription() {
return itemDescription;
}
/**
* Sets the itemDescription value for this RequestedPackageLineItem.
*
* @param itemDescription * Human-readable text describing the package.
*/
public void setItemDescription(java.lang.String itemDescription) {
this.itemDescription = itemDescription;
}
/**
* Gets the itemDescriptionForClearance value for this RequestedPackageLineItem.
*
* @return itemDescriptionForClearance * Human-readable text describing the contents of the package
* to be used for clearance purposes.
*/
public java.lang.String getItemDescriptionForClearance() {
return itemDescriptionForClearance;
}
/**
* Sets the itemDescriptionForClearance value for this RequestedPackageLineItem.
*
* @param itemDescriptionForClearance * Human-readable text describing the contents of the package
* to be used for clearance purposes.
*/
public void setItemDescriptionForClearance(java.lang.String itemDescriptionForClearance) {
this.itemDescriptionForClearance = itemDescriptionForClearance;
}
/**
* Gets the customerReferences value for this RequestedPackageLineItem.
*
* @return customerReferences
*/
public com.fedex.rate.stub.CustomerReference[] getCustomerReferences() {
return customerReferences;
}
/**
* Sets the customerReferences value for this RequestedPackageLineItem.
*
* @param customerReferences
*/
public void setCustomerReferences(com.fedex.rate.stub.CustomerReference[] customerReferences) {
this.customerReferences = customerReferences;
}
public com.fedex.rate.stub.CustomerReference getCustomerReferences(int i) {
return this.customerReferences[i];
}
public void setCustomerReferences(int i, com.fedex.rate.stub.CustomerReference _value) {
this.customerReferences[i] = _value;
}
/**
* Gets the specialServicesRequested value for this RequestedPackageLineItem.
*
* @return specialServicesRequested
*/
public com.fedex.rate.stub.PackageSpecialServicesRequested getSpecialServicesRequested() {
return specialServicesRequested;
}
/**
* Sets the specialServicesRequested value for this RequestedPackageLineItem.
*
* @param specialServicesRequested
*/
public void setSpecialServicesRequested(com.fedex.rate.stub.PackageSpecialServicesRequested specialServicesRequested) {
this.specialServicesRequested = specialServicesRequested;
}
/**
* Gets the contentRecords value for this RequestedPackageLineItem.
*
* @return contentRecords * Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS.
*/
public com.fedex.rate.stub.ContentRecord[] getContentRecords() {
return contentRecords;
}
/**
* Sets the contentRecords value for this RequestedPackageLineItem.
*
* @param contentRecords * Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS.
*/
public void setContentRecords(com.fedex.rate.stub.ContentRecord[] contentRecords) {
this.contentRecords = contentRecords;
}
public com.fedex.rate.stub.ContentRecord getContentRecords(int i) {
return this.contentRecords[i];
}
public void setContentRecords(int i, com.fedex.rate.stub.ContentRecord _value) {
this.contentRecords[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof RequestedPackageLineItem)) return false;
RequestedPackageLineItem other = (RequestedPackageLineItem) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.sequenceNumber==null && other.getSequenceNumber()==null) ||
(this.sequenceNumber!=null &&
this.sequenceNumber.equals(other.getSequenceNumber()))) &&
((this.groupNumber==null && other.getGroupNumber()==null) ||
(this.groupNumber!=null &&
this.groupNumber.equals(other.getGroupNumber()))) &&
((this.groupPackageCount==null && other.getGroupPackageCount()==null) ||
(this.groupPackageCount!=null &&
this.groupPackageCount.equals(other.getGroupPackageCount()))) &&
((this.variableHandlingChargeDetail==null && other.getVariableHandlingChargeDetail()==null) ||
(this.variableHandlingChargeDetail!=null &&
this.variableHandlingChargeDetail.equals(other.getVariableHandlingChargeDetail()))) &&
((this.insuredValue==null && other.getInsuredValue()==null) ||
(this.insuredValue!=null &&
this.insuredValue.equals(other.getInsuredValue()))) &&
((this.weight==null && other.getWeight()==null) ||
(this.weight!=null &&
this.weight.equals(other.getWeight()))) &&
((this.dimensions==null && other.getDimensions()==null) ||
(this.dimensions!=null &&
this.dimensions.equals(other.getDimensions()))) &&
((this.physicalPackaging==null && other.getPhysicalPackaging()==null) ||
(this.physicalPackaging!=null &&
this.physicalPackaging.equals(other.getPhysicalPackaging()))) &&
((this.associatedFreightLineItems==null && other.getAssociatedFreightLineItems()==null) ||
(this.associatedFreightLineItems!=null &&
java.util.Arrays.equals(this.associatedFreightLineItems, other.getAssociatedFreightLineItems()))) &&
((this.itemDescription==null && other.getItemDescription()==null) ||
(this.itemDescription!=null &&
this.itemDescription.equals(other.getItemDescription()))) &&
((this.itemDescriptionForClearance==null && other.getItemDescriptionForClearance()==null) ||
(this.itemDescriptionForClearance!=null &&
this.itemDescriptionForClearance.equals(other.getItemDescriptionForClearance()))) &&
((this.customerReferences==null && other.getCustomerReferences()==null) ||
(this.customerReferences!=null &&
java.util.Arrays.equals(this.customerReferences, other.getCustomerReferences()))) &&
((this.specialServicesRequested==null && other.getSpecialServicesRequested()==null) ||
(this.specialServicesRequested!=null &&
this.specialServicesRequested.equals(other.getSpecialServicesRequested()))) &&
((this.contentRecords==null && other.getContentRecords()==null) ||
(this.contentRecords!=null &&
java.util.Arrays.equals(this.contentRecords, other.getContentRecords())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getSequenceNumber() != null) {
_hashCode += getSequenceNumber().hashCode();
}
if (getGroupNumber() != null) {
_hashCode += getGroupNumber().hashCode();
}
if (getGroupPackageCount() != null) {
_hashCode += getGroupPackageCount().hashCode();
}
if (getVariableHandlingChargeDetail() != null) {
_hashCode += getVariableHandlingChargeDetail().hashCode();
}
if (getInsuredValue() != null) {
_hashCode += getInsuredValue().hashCode();
}
if (getWeight() != null) {
_hashCode += getWeight().hashCode();
}
if (getDimensions() != null) {
_hashCode += getDimensions().hashCode();
}
if (getPhysicalPackaging() != null) {
_hashCode += getPhysicalPackaging().hashCode();
}
if (getAssociatedFreightLineItems() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy