
com.fedex.rate.stub.FreightRateDetail Maven / Gradle / Ivy
The newest version!
/**
* FreightRateDetail.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;
/**
* Rate data specific to FedEx Freight or FedEx National Freight services.
*/
public class FreightRateDetail implements java.io.Serializable {
/* A unique identifier for a specific rate quotation. */
private java.lang.String quoteNumber;
/* Specifies whether the rate quote was automated or manual. */
private com.fedex.rate.stub.FreightRateQuoteType quoteType;
/* Specifies how total base charge is determined. */
private com.fedex.rate.stub.FreightBaseChargeCalculationType baseChargeCalculation;
/* Freight charges which accumulate to the total base charge for
* the shipment. */
private com.fedex.rate.stub.FreightBaseCharge[] baseCharges;
/* Human-readable descriptions of additional information on this
* shipment rating. */
private com.fedex.rate.stub.FreightRateNotation[] notations;
public FreightRateDetail() {
}
public FreightRateDetail(
java.lang.String quoteNumber,
com.fedex.rate.stub.FreightRateQuoteType quoteType,
com.fedex.rate.stub.FreightBaseChargeCalculationType baseChargeCalculation,
com.fedex.rate.stub.FreightBaseCharge[] baseCharges,
com.fedex.rate.stub.FreightRateNotation[] notations) {
this.quoteNumber = quoteNumber;
this.quoteType = quoteType;
this.baseChargeCalculation = baseChargeCalculation;
this.baseCharges = baseCharges;
this.notations = notations;
}
/**
* Gets the quoteNumber value for this FreightRateDetail.
*
* @return quoteNumber * A unique identifier for a specific rate quotation.
*/
public java.lang.String getQuoteNumber() {
return quoteNumber;
}
/**
* Sets the quoteNumber value for this FreightRateDetail.
*
* @param quoteNumber * A unique identifier for a specific rate quotation.
*/
public void setQuoteNumber(java.lang.String quoteNumber) {
this.quoteNumber = quoteNumber;
}
/**
* Gets the quoteType value for this FreightRateDetail.
*
* @return quoteType * Specifies whether the rate quote was automated or manual.
*/
public com.fedex.rate.stub.FreightRateQuoteType getQuoteType() {
return quoteType;
}
/**
* Sets the quoteType value for this FreightRateDetail.
*
* @param quoteType * Specifies whether the rate quote was automated or manual.
*/
public void setQuoteType(com.fedex.rate.stub.FreightRateQuoteType quoteType) {
this.quoteType = quoteType;
}
/**
* Gets the baseChargeCalculation value for this FreightRateDetail.
*
* @return baseChargeCalculation * Specifies how total base charge is determined.
*/
public com.fedex.rate.stub.FreightBaseChargeCalculationType getBaseChargeCalculation() {
return baseChargeCalculation;
}
/**
* Sets the baseChargeCalculation value for this FreightRateDetail.
*
* @param baseChargeCalculation * Specifies how total base charge is determined.
*/
public void setBaseChargeCalculation(com.fedex.rate.stub.FreightBaseChargeCalculationType baseChargeCalculation) {
this.baseChargeCalculation = baseChargeCalculation;
}
/**
* Gets the baseCharges value for this FreightRateDetail.
*
* @return baseCharges * Freight charges which accumulate to the total base charge for
* the shipment.
*/
public com.fedex.rate.stub.FreightBaseCharge[] getBaseCharges() {
return baseCharges;
}
/**
* Sets the baseCharges value for this FreightRateDetail.
*
* @param baseCharges * Freight charges which accumulate to the total base charge for
* the shipment.
*/
public void setBaseCharges(com.fedex.rate.stub.FreightBaseCharge[] baseCharges) {
this.baseCharges = baseCharges;
}
public com.fedex.rate.stub.FreightBaseCharge getBaseCharges(int i) {
return this.baseCharges[i];
}
public void setBaseCharges(int i, com.fedex.rate.stub.FreightBaseCharge _value) {
this.baseCharges[i] = _value;
}
/**
* Gets the notations value for this FreightRateDetail.
*
* @return notations * Human-readable descriptions of additional information on this
* shipment rating.
*/
public com.fedex.rate.stub.FreightRateNotation[] getNotations() {
return notations;
}
/**
* Sets the notations value for this FreightRateDetail.
*
* @param notations * Human-readable descriptions of additional information on this
* shipment rating.
*/
public void setNotations(com.fedex.rate.stub.FreightRateNotation[] notations) {
this.notations = notations;
}
public com.fedex.rate.stub.FreightRateNotation getNotations(int i) {
return this.notations[i];
}
public void setNotations(int i, com.fedex.rate.stub.FreightRateNotation _value) {
this.notations[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof FreightRateDetail)) return false;
FreightRateDetail other = (FreightRateDetail) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.quoteNumber==null && other.getQuoteNumber()==null) ||
(this.quoteNumber!=null &&
this.quoteNumber.equals(other.getQuoteNumber()))) &&
((this.quoteType==null && other.getQuoteType()==null) ||
(this.quoteType!=null &&
this.quoteType.equals(other.getQuoteType()))) &&
((this.baseChargeCalculation==null && other.getBaseChargeCalculation()==null) ||
(this.baseChargeCalculation!=null &&
this.baseChargeCalculation.equals(other.getBaseChargeCalculation()))) &&
((this.baseCharges==null && other.getBaseCharges()==null) ||
(this.baseCharges!=null &&
java.util.Arrays.equals(this.baseCharges, other.getBaseCharges()))) &&
((this.notations==null && other.getNotations()==null) ||
(this.notations!=null &&
java.util.Arrays.equals(this.notations, other.getNotations())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getQuoteNumber() != null) {
_hashCode += getQuoteNumber().hashCode();
}
if (getQuoteType() != null) {
_hashCode += getQuoteType().hashCode();
}
if (getBaseChargeCalculation() != null) {
_hashCode += getBaseChargeCalculation().hashCode();
}
if (getBaseCharges() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy