
com.fedex.rate.stub.ShipmentLegRateDetail Maven / Gradle / Ivy
The newest version!
/**
* ShipmentLegRateDetail.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;
/**
* Data for a single leg of a shipment's total/summary rates, as calculated
* per a specific rate type.
*/
public class ShipmentLegRateDetail implements java.io.Serializable {
/* Human-readable text describing the shipment leg. */
private java.lang.String legDescription;
/* Origin for this leg. */
private com.fedex.rate.stub.Address legOrigin;
/* Specifies the location id the origin of shipment leg. */
private java.lang.String legOriginLocationId;
/* Destination for this leg. */
private com.fedex.rate.stub.Address legDestination;
/* Specifies the location id the destination of shipment leg. */
private java.lang.String legDestinationLocationId;
/* Type used for this specific set of rate data. */
private com.fedex.rate.stub.ReturnedRateType rateType;
/* Indicates the rate scale used. */
private java.lang.String rateScale;
/* Indicates the rate zone used (based on origin and destination). */
private java.lang.String rateZone;
private com.fedex.rate.stub.PricingCodeType pricingCode;
/* Indicates which weight was used. */
private com.fedex.rate.stub.RatedWeightMethod ratedWeightMethod;
/* INTERNAL FEDEX USE ONLY. */
private com.fedex.rate.stub.MinimumChargeType minimumChargeType;
/* Specifies the currency exchange performed on financial amounts
* for this rate. */
private com.fedex.rate.stub.CurrencyExchangeRate currencyExchangeRate;
/* Indicates which special rating cases applied to this shipment. */
private com.fedex.rate.stub.SpecialRatingAppliedType[] specialRatingApplied;
private org.apache.axis.types.NonNegativeInteger dimDivisor;
/* Identifies the type of dim divisor that was applied. */
private com.fedex.rate.stub.RateDimensionalDivisorType dimDivisorType;
private java.math.BigDecimal fuelSurchargePercent;
private com.fedex.rate.stub.Weight totalBillingWeight;
/* Sum of dimensional weights for all packages. */
private com.fedex.rate.stub.Weight totalDimWeight;
private com.fedex.rate.stub.Money totalBaseCharge;
private com.fedex.rate.stub.Money totalFreightDiscounts;
private com.fedex.rate.stub.Money totalNetFreight;
private com.fedex.rate.stub.Money totalSurcharges;
/* This shipment's totalNetFreight + totalSurcharges (not including
* totalTaxes). */
private com.fedex.rate.stub.Money totalNetFedExCharge;
/* Total of the transportation-based taxes. */
private com.fedex.rate.stub.Money totalTaxes;
private com.fedex.rate.stub.Money totalNetCharge;
private com.fedex.rate.stub.Money totalRebates;
/* Total of all values under this shipment's dutiesAndTaxes; only
* provided if estimated duties and taxes were calculated for this shipment. */
private com.fedex.rate.stub.Money totalDutiesAndTaxes;
/* This shipment's totalNetCharge + totalDutiesAndTaxes; only
* provided if estimated duties and taxes were calculated for this shipment
* AND duties, taxes and transportation charges are all paid by the same
* sender's account. */
private com.fedex.rate.stub.Money totalNetChargeWithDutiesAndTaxes;
/* Rate data specific to FedEx Freight and FedEx National Freight
* services. */
private com.fedex.rate.stub.FreightRateDetail freightRateDetail;
/* All rate discounts that apply to this shipment. */
private com.fedex.rate.stub.RateDiscount[] freightDiscounts;
/* All rebates that apply to this shipment. */
private com.fedex.rate.stub.Rebate[] rebates;
/* All surcharges that apply to this shipment. */
private com.fedex.rate.stub.Surcharge[] surcharges;
/* All transportation-based taxes applicable to this shipment. */
private com.fedex.rate.stub.Tax[] taxes;
/* All commodity-based duties and taxes applicable to this shipment. */
private com.fedex.rate.stub.EdtCommodityTax[] dutiesAndTaxes;
/* The "order level" variable handling charges. */
private com.fedex.rate.stub.VariableHandlingCharges variableHandlingCharges;
/* The total of all variable handling charges at both shipment
* (order) and package level. */
private com.fedex.rate.stub.VariableHandlingCharges totalVariableHandlingCharges;
public ShipmentLegRateDetail() {
}
public ShipmentLegRateDetail(
java.lang.String legDescription,
com.fedex.rate.stub.Address legOrigin,
java.lang.String legOriginLocationId,
com.fedex.rate.stub.Address legDestination,
java.lang.String legDestinationLocationId,
com.fedex.rate.stub.ReturnedRateType rateType,
java.lang.String rateScale,
java.lang.String rateZone,
com.fedex.rate.stub.PricingCodeType pricingCode,
com.fedex.rate.stub.RatedWeightMethod ratedWeightMethod,
com.fedex.rate.stub.MinimumChargeType minimumChargeType,
com.fedex.rate.stub.CurrencyExchangeRate currencyExchangeRate,
com.fedex.rate.stub.SpecialRatingAppliedType[] specialRatingApplied,
org.apache.axis.types.NonNegativeInteger dimDivisor,
com.fedex.rate.stub.RateDimensionalDivisorType dimDivisorType,
java.math.BigDecimal fuelSurchargePercent,
com.fedex.rate.stub.Weight totalBillingWeight,
com.fedex.rate.stub.Weight totalDimWeight,
com.fedex.rate.stub.Money totalBaseCharge,
com.fedex.rate.stub.Money totalFreightDiscounts,
com.fedex.rate.stub.Money totalNetFreight,
com.fedex.rate.stub.Money totalSurcharges,
com.fedex.rate.stub.Money totalNetFedExCharge,
com.fedex.rate.stub.Money totalTaxes,
com.fedex.rate.stub.Money totalNetCharge,
com.fedex.rate.stub.Money totalRebates,
com.fedex.rate.stub.Money totalDutiesAndTaxes,
com.fedex.rate.stub.Money totalNetChargeWithDutiesAndTaxes,
com.fedex.rate.stub.FreightRateDetail freightRateDetail,
com.fedex.rate.stub.RateDiscount[] freightDiscounts,
com.fedex.rate.stub.Rebate[] rebates,
com.fedex.rate.stub.Surcharge[] surcharges,
com.fedex.rate.stub.Tax[] taxes,
com.fedex.rate.stub.EdtCommodityTax[] dutiesAndTaxes,
com.fedex.rate.stub.VariableHandlingCharges variableHandlingCharges,
com.fedex.rate.stub.VariableHandlingCharges totalVariableHandlingCharges) {
this.legDescription = legDescription;
this.legOrigin = legOrigin;
this.legOriginLocationId = legOriginLocationId;
this.legDestination = legDestination;
this.legDestinationLocationId = legDestinationLocationId;
this.rateType = rateType;
this.rateScale = rateScale;
this.rateZone = rateZone;
this.pricingCode = pricingCode;
this.ratedWeightMethod = ratedWeightMethod;
this.minimumChargeType = minimumChargeType;
this.currencyExchangeRate = currencyExchangeRate;
this.specialRatingApplied = specialRatingApplied;
this.dimDivisor = dimDivisor;
this.dimDivisorType = dimDivisorType;
this.fuelSurchargePercent = fuelSurchargePercent;
this.totalBillingWeight = totalBillingWeight;
this.totalDimWeight = totalDimWeight;
this.totalBaseCharge = totalBaseCharge;
this.totalFreightDiscounts = totalFreightDiscounts;
this.totalNetFreight = totalNetFreight;
this.totalSurcharges = totalSurcharges;
this.totalNetFedExCharge = totalNetFedExCharge;
this.totalTaxes = totalTaxes;
this.totalNetCharge = totalNetCharge;
this.totalRebates = totalRebates;
this.totalDutiesAndTaxes = totalDutiesAndTaxes;
this.totalNetChargeWithDutiesAndTaxes = totalNetChargeWithDutiesAndTaxes;
this.freightRateDetail = freightRateDetail;
this.freightDiscounts = freightDiscounts;
this.rebates = rebates;
this.surcharges = surcharges;
this.taxes = taxes;
this.dutiesAndTaxes = dutiesAndTaxes;
this.variableHandlingCharges = variableHandlingCharges;
this.totalVariableHandlingCharges = totalVariableHandlingCharges;
}
/**
* Gets the legDescription value for this ShipmentLegRateDetail.
*
* @return legDescription * Human-readable text describing the shipment leg.
*/
public java.lang.String getLegDescription() {
return legDescription;
}
/**
* Sets the legDescription value for this ShipmentLegRateDetail.
*
* @param legDescription * Human-readable text describing the shipment leg.
*/
public void setLegDescription(java.lang.String legDescription) {
this.legDescription = legDescription;
}
/**
* Gets the legOrigin value for this ShipmentLegRateDetail.
*
* @return legOrigin * Origin for this leg.
*/
public com.fedex.rate.stub.Address getLegOrigin() {
return legOrigin;
}
/**
* Sets the legOrigin value for this ShipmentLegRateDetail.
*
* @param legOrigin * Origin for this leg.
*/
public void setLegOrigin(com.fedex.rate.stub.Address legOrigin) {
this.legOrigin = legOrigin;
}
/**
* Gets the legOriginLocationId value for this ShipmentLegRateDetail.
*
* @return legOriginLocationId * Specifies the location id the origin of shipment leg.
*/
public java.lang.String getLegOriginLocationId() {
return legOriginLocationId;
}
/**
* Sets the legOriginLocationId value for this ShipmentLegRateDetail.
*
* @param legOriginLocationId * Specifies the location id the origin of shipment leg.
*/
public void setLegOriginLocationId(java.lang.String legOriginLocationId) {
this.legOriginLocationId = legOriginLocationId;
}
/**
* Gets the legDestination value for this ShipmentLegRateDetail.
*
* @return legDestination * Destination for this leg.
*/
public com.fedex.rate.stub.Address getLegDestination() {
return legDestination;
}
/**
* Sets the legDestination value for this ShipmentLegRateDetail.
*
* @param legDestination * Destination for this leg.
*/
public void setLegDestination(com.fedex.rate.stub.Address legDestination) {
this.legDestination = legDestination;
}
/**
* Gets the legDestinationLocationId value for this ShipmentLegRateDetail.
*
* @return legDestinationLocationId * Specifies the location id the destination of shipment leg.
*/
public java.lang.String getLegDestinationLocationId() {
return legDestinationLocationId;
}
/**
* Sets the legDestinationLocationId value for this ShipmentLegRateDetail.
*
* @param legDestinationLocationId * Specifies the location id the destination of shipment leg.
*/
public void setLegDestinationLocationId(java.lang.String legDestinationLocationId) {
this.legDestinationLocationId = legDestinationLocationId;
}
/**
* Gets the rateType value for this ShipmentLegRateDetail.
*
* @return rateType * Type used for this specific set of rate data.
*/
public com.fedex.rate.stub.ReturnedRateType getRateType() {
return rateType;
}
/**
* Sets the rateType value for this ShipmentLegRateDetail.
*
* @param rateType * Type used for this specific set of rate data.
*/
public void setRateType(com.fedex.rate.stub.ReturnedRateType rateType) {
this.rateType = rateType;
}
/**
* Gets the rateScale value for this ShipmentLegRateDetail.
*
* @return rateScale * Indicates the rate scale used.
*/
public java.lang.String getRateScale() {
return rateScale;
}
/**
* Sets the rateScale value for this ShipmentLegRateDetail.
*
* @param rateScale * Indicates the rate scale used.
*/
public void setRateScale(java.lang.String rateScale) {
this.rateScale = rateScale;
}
/**
* Gets the rateZone value for this ShipmentLegRateDetail.
*
* @return rateZone * Indicates the rate zone used (based on origin and destination).
*/
public java.lang.String getRateZone() {
return rateZone;
}
/**
* Sets the rateZone value for this ShipmentLegRateDetail.
*
* @param rateZone * Indicates the rate zone used (based on origin and destination).
*/
public void setRateZone(java.lang.String rateZone) {
this.rateZone = rateZone;
}
/**
* Gets the pricingCode value for this ShipmentLegRateDetail.
*
* @return pricingCode
*/
public com.fedex.rate.stub.PricingCodeType getPricingCode() {
return pricingCode;
}
/**
* Sets the pricingCode value for this ShipmentLegRateDetail.
*
* @param pricingCode
*/
public void setPricingCode(com.fedex.rate.stub.PricingCodeType pricingCode) {
this.pricingCode = pricingCode;
}
/**
* Gets the ratedWeightMethod value for this ShipmentLegRateDetail.
*
* @return ratedWeightMethod * Indicates which weight was used.
*/
public com.fedex.rate.stub.RatedWeightMethod getRatedWeightMethod() {
return ratedWeightMethod;
}
/**
* Sets the ratedWeightMethod value for this ShipmentLegRateDetail.
*
* @param ratedWeightMethod * Indicates which weight was used.
*/
public void setRatedWeightMethod(com.fedex.rate.stub.RatedWeightMethod ratedWeightMethod) {
this.ratedWeightMethod = ratedWeightMethod;
}
/**
* Gets the minimumChargeType value for this ShipmentLegRateDetail.
*
* @return minimumChargeType * INTERNAL FEDEX USE ONLY.
*/
public com.fedex.rate.stub.MinimumChargeType getMinimumChargeType() {
return minimumChargeType;
}
/**
* Sets the minimumChargeType value for this ShipmentLegRateDetail.
*
* @param minimumChargeType * INTERNAL FEDEX USE ONLY.
*/
public void setMinimumChargeType(com.fedex.rate.stub.MinimumChargeType minimumChargeType) {
this.minimumChargeType = minimumChargeType;
}
/**
* Gets the currencyExchangeRate value for this ShipmentLegRateDetail.
*
* @return currencyExchangeRate * Specifies the currency exchange performed on financial amounts
* for this rate.
*/
public com.fedex.rate.stub.CurrencyExchangeRate getCurrencyExchangeRate() {
return currencyExchangeRate;
}
/**
* Sets the currencyExchangeRate value for this ShipmentLegRateDetail.
*
* @param currencyExchangeRate * Specifies the currency exchange performed on financial amounts
* for this rate.
*/
public void setCurrencyExchangeRate(com.fedex.rate.stub.CurrencyExchangeRate currencyExchangeRate) {
this.currencyExchangeRate = currencyExchangeRate;
}
/**
* Gets the specialRatingApplied value for this ShipmentLegRateDetail.
*
* @return specialRatingApplied * Indicates which special rating cases applied to this shipment.
*/
public com.fedex.rate.stub.SpecialRatingAppliedType[] getSpecialRatingApplied() {
return specialRatingApplied;
}
/**
* Sets the specialRatingApplied value for this ShipmentLegRateDetail.
*
* @param specialRatingApplied * Indicates which special rating cases applied to this shipment.
*/
public void setSpecialRatingApplied(com.fedex.rate.stub.SpecialRatingAppliedType[] specialRatingApplied) {
this.specialRatingApplied = specialRatingApplied;
}
public com.fedex.rate.stub.SpecialRatingAppliedType getSpecialRatingApplied(int i) {
return this.specialRatingApplied[i];
}
public void setSpecialRatingApplied(int i, com.fedex.rate.stub.SpecialRatingAppliedType _value) {
this.specialRatingApplied[i] = _value;
}
/**
* Gets the dimDivisor value for this ShipmentLegRateDetail.
*
* @return dimDivisor
*/
public org.apache.axis.types.NonNegativeInteger getDimDivisor() {
return dimDivisor;
}
/**
* Sets the dimDivisor value for this ShipmentLegRateDetail.
*
* @param dimDivisor
*/
public void setDimDivisor(org.apache.axis.types.NonNegativeInteger dimDivisor) {
this.dimDivisor = dimDivisor;
}
/**
* Gets the dimDivisorType value for this ShipmentLegRateDetail.
*
* @return dimDivisorType * Identifies the type of dim divisor that was applied.
*/
public com.fedex.rate.stub.RateDimensionalDivisorType getDimDivisorType() {
return dimDivisorType;
}
/**
* Sets the dimDivisorType value for this ShipmentLegRateDetail.
*
* @param dimDivisorType * Identifies the type of dim divisor that was applied.
*/
public void setDimDivisorType(com.fedex.rate.stub.RateDimensionalDivisorType dimDivisorType) {
this.dimDivisorType = dimDivisorType;
}
/**
* Gets the fuelSurchargePercent value for this ShipmentLegRateDetail.
*
* @return fuelSurchargePercent
*/
public java.math.BigDecimal getFuelSurchargePercent() {
return fuelSurchargePercent;
}
/**
* Sets the fuelSurchargePercent value for this ShipmentLegRateDetail.
*
* @param fuelSurchargePercent
*/
public void setFuelSurchargePercent(java.math.BigDecimal fuelSurchargePercent) {
this.fuelSurchargePercent = fuelSurchargePercent;
}
/**
* Gets the totalBillingWeight value for this ShipmentLegRateDetail.
*
* @return totalBillingWeight
*/
public com.fedex.rate.stub.Weight getTotalBillingWeight() {
return totalBillingWeight;
}
/**
* Sets the totalBillingWeight value for this ShipmentLegRateDetail.
*
* @param totalBillingWeight
*/
public void setTotalBillingWeight(com.fedex.rate.stub.Weight totalBillingWeight) {
this.totalBillingWeight = totalBillingWeight;
}
/**
* Gets the totalDimWeight value for this ShipmentLegRateDetail.
*
* @return totalDimWeight * Sum of dimensional weights for all packages.
*/
public com.fedex.rate.stub.Weight getTotalDimWeight() {
return totalDimWeight;
}
/**
* Sets the totalDimWeight value for this ShipmentLegRateDetail.
*
* @param totalDimWeight * Sum of dimensional weights for all packages.
*/
public void setTotalDimWeight(com.fedex.rate.stub.Weight totalDimWeight) {
this.totalDimWeight = totalDimWeight;
}
/**
* Gets the totalBaseCharge value for this ShipmentLegRateDetail.
*
* @return totalBaseCharge
*/
public com.fedex.rate.stub.Money getTotalBaseCharge() {
return totalBaseCharge;
}
/**
* Sets the totalBaseCharge value for this ShipmentLegRateDetail.
*
* @param totalBaseCharge
*/
public void setTotalBaseCharge(com.fedex.rate.stub.Money totalBaseCharge) {
this.totalBaseCharge = totalBaseCharge;
}
/**
* Gets the totalFreightDiscounts value for this ShipmentLegRateDetail.
*
* @return totalFreightDiscounts
*/
public com.fedex.rate.stub.Money getTotalFreightDiscounts() {
return totalFreightDiscounts;
}
/**
* Sets the totalFreightDiscounts value for this ShipmentLegRateDetail.
*
* @param totalFreightDiscounts
*/
public void setTotalFreightDiscounts(com.fedex.rate.stub.Money totalFreightDiscounts) {
this.totalFreightDiscounts = totalFreightDiscounts;
}
/**
* Gets the totalNetFreight value for this ShipmentLegRateDetail.
*
* @return totalNetFreight
*/
public com.fedex.rate.stub.Money getTotalNetFreight() {
return totalNetFreight;
}
/**
* Sets the totalNetFreight value for this ShipmentLegRateDetail.
*
* @param totalNetFreight
*/
public void setTotalNetFreight(com.fedex.rate.stub.Money totalNetFreight) {
this.totalNetFreight = totalNetFreight;
}
/**
* Gets the totalSurcharges value for this ShipmentLegRateDetail.
*
* @return totalSurcharges
*/
public com.fedex.rate.stub.Money getTotalSurcharges() {
return totalSurcharges;
}
/**
* Sets the totalSurcharges value for this ShipmentLegRateDetail.
*
* @param totalSurcharges
*/
public void setTotalSurcharges(com.fedex.rate.stub.Money totalSurcharges) {
this.totalSurcharges = totalSurcharges;
}
/**
* Gets the totalNetFedExCharge value for this ShipmentLegRateDetail.
*
* @return totalNetFedExCharge * This shipment's totalNetFreight + totalSurcharges (not including
* totalTaxes).
*/
public com.fedex.rate.stub.Money getTotalNetFedExCharge() {
return totalNetFedExCharge;
}
/**
* Sets the totalNetFedExCharge value for this ShipmentLegRateDetail.
*
* @param totalNetFedExCharge * This shipment's totalNetFreight + totalSurcharges (not including
* totalTaxes).
*/
public void setTotalNetFedExCharge(com.fedex.rate.stub.Money totalNetFedExCharge) {
this.totalNetFedExCharge = totalNetFedExCharge;
}
/**
* Gets the totalTaxes value for this ShipmentLegRateDetail.
*
* @return totalTaxes * Total of the transportation-based taxes.
*/
public com.fedex.rate.stub.Money getTotalTaxes() {
return totalTaxes;
}
/**
* Sets the totalTaxes value for this ShipmentLegRateDetail.
*
* @param totalTaxes * Total of the transportation-based taxes.
*/
public void setTotalTaxes(com.fedex.rate.stub.Money totalTaxes) {
this.totalTaxes = totalTaxes;
}
/**
* Gets the totalNetCharge value for this ShipmentLegRateDetail.
*
* @return totalNetCharge
*/
public com.fedex.rate.stub.Money getTotalNetCharge() {
return totalNetCharge;
}
/**
* Sets the totalNetCharge value for this ShipmentLegRateDetail.
*
* @param totalNetCharge
*/
public void setTotalNetCharge(com.fedex.rate.stub.Money totalNetCharge) {
this.totalNetCharge = totalNetCharge;
}
/**
* Gets the totalRebates value for this ShipmentLegRateDetail.
*
* @return totalRebates
*/
public com.fedex.rate.stub.Money getTotalRebates() {
return totalRebates;
}
/**
* Sets the totalRebates value for this ShipmentLegRateDetail.
*
* @param totalRebates
*/
public void setTotalRebates(com.fedex.rate.stub.Money totalRebates) {
this.totalRebates = totalRebates;
}
/**
* Gets the totalDutiesAndTaxes value for this ShipmentLegRateDetail.
*
* @return totalDutiesAndTaxes * Total of all values under this shipment's dutiesAndTaxes; only
* provided if estimated duties and taxes were calculated for this shipment.
*/
public com.fedex.rate.stub.Money getTotalDutiesAndTaxes() {
return totalDutiesAndTaxes;
}
/**
* Sets the totalDutiesAndTaxes value for this ShipmentLegRateDetail.
*
* @param totalDutiesAndTaxes * Total of all values under this shipment's dutiesAndTaxes; only
* provided if estimated duties and taxes were calculated for this shipment.
*/
public void setTotalDutiesAndTaxes(com.fedex.rate.stub.Money totalDutiesAndTaxes) {
this.totalDutiesAndTaxes = totalDutiesAndTaxes;
}
/**
* Gets the totalNetChargeWithDutiesAndTaxes value for this ShipmentLegRateDetail.
*
* @return totalNetChargeWithDutiesAndTaxes * This shipment's totalNetCharge + totalDutiesAndTaxes; only
* provided if estimated duties and taxes were calculated for this shipment
* AND duties, taxes and transportation charges are all paid by the same
* sender's account.
*/
public com.fedex.rate.stub.Money getTotalNetChargeWithDutiesAndTaxes() {
return totalNetChargeWithDutiesAndTaxes;
}
/**
* Sets the totalNetChargeWithDutiesAndTaxes value for this ShipmentLegRateDetail.
*
* @param totalNetChargeWithDutiesAndTaxes * This shipment's totalNetCharge + totalDutiesAndTaxes; only
* provided if estimated duties and taxes were calculated for this shipment
* AND duties, taxes and transportation charges are all paid by the same
* sender's account.
*/
public void setTotalNetChargeWithDutiesAndTaxes(com.fedex.rate.stub.Money totalNetChargeWithDutiesAndTaxes) {
this.totalNetChargeWithDutiesAndTaxes = totalNetChargeWithDutiesAndTaxes;
}
/**
* Gets the freightRateDetail value for this ShipmentLegRateDetail.
*
* @return freightRateDetail * Rate data specific to FedEx Freight and FedEx National Freight
* services.
*/
public com.fedex.rate.stub.FreightRateDetail getFreightRateDetail() {
return freightRateDetail;
}
/**
* Sets the freightRateDetail value for this ShipmentLegRateDetail.
*
* @param freightRateDetail * Rate data specific to FedEx Freight and FedEx National Freight
* services.
*/
public void setFreightRateDetail(com.fedex.rate.stub.FreightRateDetail freightRateDetail) {
this.freightRateDetail = freightRateDetail;
}
/**
* Gets the freightDiscounts value for this ShipmentLegRateDetail.
*
* @return freightDiscounts * All rate discounts that apply to this shipment.
*/
public com.fedex.rate.stub.RateDiscount[] getFreightDiscounts() {
return freightDiscounts;
}
/**
* Sets the freightDiscounts value for this ShipmentLegRateDetail.
*
* @param freightDiscounts * All rate discounts that apply to this shipment.
*/
public void setFreightDiscounts(com.fedex.rate.stub.RateDiscount[] freightDiscounts) {
this.freightDiscounts = freightDiscounts;
}
public com.fedex.rate.stub.RateDiscount getFreightDiscounts(int i) {
return this.freightDiscounts[i];
}
public void setFreightDiscounts(int i, com.fedex.rate.stub.RateDiscount _value) {
this.freightDiscounts[i] = _value;
}
/**
* Gets the rebates value for this ShipmentLegRateDetail.
*
* @return rebates * All rebates that apply to this shipment.
*/
public com.fedex.rate.stub.Rebate[] getRebates() {
return rebates;
}
/**
* Sets the rebates value for this ShipmentLegRateDetail.
*
* @param rebates * All rebates that apply to this shipment.
*/
public void setRebates(com.fedex.rate.stub.Rebate[] rebates) {
this.rebates = rebates;
}
public com.fedex.rate.stub.Rebate getRebates(int i) {
return this.rebates[i];
}
public void setRebates(int i, com.fedex.rate.stub.Rebate _value) {
this.rebates[i] = _value;
}
/**
* Gets the surcharges value for this ShipmentLegRateDetail.
*
* @return surcharges * All surcharges that apply to this shipment.
*/
public com.fedex.rate.stub.Surcharge[] getSurcharges() {
return surcharges;
}
/**
* Sets the surcharges value for this ShipmentLegRateDetail.
*
* @param surcharges * All surcharges that apply to this shipment.
*/
public void setSurcharges(com.fedex.rate.stub.Surcharge[] surcharges) {
this.surcharges = surcharges;
}
public com.fedex.rate.stub.Surcharge getSurcharges(int i) {
return this.surcharges[i];
}
public void setSurcharges(int i, com.fedex.rate.stub.Surcharge _value) {
this.surcharges[i] = _value;
}
/**
* Gets the taxes value for this ShipmentLegRateDetail.
*
* @return taxes * All transportation-based taxes applicable to this shipment.
*/
public com.fedex.rate.stub.Tax[] getTaxes() {
return taxes;
}
/**
* Sets the taxes value for this ShipmentLegRateDetail.
*
* @param taxes * All transportation-based taxes applicable to this shipment.
*/
public void setTaxes(com.fedex.rate.stub.Tax[] taxes) {
this.taxes = taxes;
}
public com.fedex.rate.stub.Tax getTaxes(int i) {
return this.taxes[i];
}
public void setTaxes(int i, com.fedex.rate.stub.Tax _value) {
this.taxes[i] = _value;
}
/**
* Gets the dutiesAndTaxes value for this ShipmentLegRateDetail.
*
* @return dutiesAndTaxes * All commodity-based duties and taxes applicable to this shipment.
*/
public com.fedex.rate.stub.EdtCommodityTax[] getDutiesAndTaxes() {
return dutiesAndTaxes;
}
/**
* Sets the dutiesAndTaxes value for this ShipmentLegRateDetail.
*
* @param dutiesAndTaxes * All commodity-based duties and taxes applicable to this shipment.
*/
public void setDutiesAndTaxes(com.fedex.rate.stub.EdtCommodityTax[] dutiesAndTaxes) {
this.dutiesAndTaxes = dutiesAndTaxes;
}
public com.fedex.rate.stub.EdtCommodityTax getDutiesAndTaxes(int i) {
return this.dutiesAndTaxes[i];
}
public void setDutiesAndTaxes(int i, com.fedex.rate.stub.EdtCommodityTax _value) {
this.dutiesAndTaxes[i] = _value;
}
/**
* Gets the variableHandlingCharges value for this ShipmentLegRateDetail.
*
* @return variableHandlingCharges * The "order level" variable handling charges.
*/
public com.fedex.rate.stub.VariableHandlingCharges getVariableHandlingCharges() {
return variableHandlingCharges;
}
/**
* Sets the variableHandlingCharges value for this ShipmentLegRateDetail.
*
* @param variableHandlingCharges * The "order level" variable handling charges.
*/
public void setVariableHandlingCharges(com.fedex.rate.stub.VariableHandlingCharges variableHandlingCharges) {
this.variableHandlingCharges = variableHandlingCharges;
}
/**
* Gets the totalVariableHandlingCharges value for this ShipmentLegRateDetail.
*
* @return totalVariableHandlingCharges * The total of all variable handling charges at both shipment
* (order) and package level.
*/
public com.fedex.rate.stub.VariableHandlingCharges getTotalVariableHandlingCharges() {
return totalVariableHandlingCharges;
}
/**
* Sets the totalVariableHandlingCharges value for this ShipmentLegRateDetail.
*
* @param totalVariableHandlingCharges * The total of all variable handling charges at both shipment
* (order) and package level.
*/
public void setTotalVariableHandlingCharges(com.fedex.rate.stub.VariableHandlingCharges totalVariableHandlingCharges) {
this.totalVariableHandlingCharges = totalVariableHandlingCharges;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ShipmentLegRateDetail)) return false;
ShipmentLegRateDetail other = (ShipmentLegRateDetail) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.legDescription==null && other.getLegDescription()==null) ||
(this.legDescription!=null &&
this.legDescription.equals(other.getLegDescription()))) &&
((this.legOrigin==null && other.getLegOrigin()==null) ||
(this.legOrigin!=null &&
this.legOrigin.equals(other.getLegOrigin()))) &&
((this.legOriginLocationId==null && other.getLegOriginLocationId()==null) ||
(this.legOriginLocationId!=null &&
this.legOriginLocationId.equals(other.getLegOriginLocationId()))) &&
((this.legDestination==null && other.getLegDestination()==null) ||
(this.legDestination!=null &&
this.legDestination.equals(other.getLegDestination()))) &&
((this.legDestinationLocationId==null && other.getLegDestinationLocationId()==null) ||
(this.legDestinationLocationId!=null &&
this.legDestinationLocationId.equals(other.getLegDestinationLocationId()))) &&
((this.rateType==null && other.getRateType()==null) ||
(this.rateType!=null &&
this.rateType.equals(other.getRateType()))) &&
((this.rateScale==null && other.getRateScale()==null) ||
(this.rateScale!=null &&
this.rateScale.equals(other.getRateScale()))) &&
((this.rateZone==null && other.getRateZone()==null) ||
(this.rateZone!=null &&
this.rateZone.equals(other.getRateZone()))) &&
((this.pricingCode==null && other.getPricingCode()==null) ||
(this.pricingCode!=null &&
this.pricingCode.equals(other.getPricingCode()))) &&
((this.ratedWeightMethod==null && other.getRatedWeightMethod()==null) ||
(this.ratedWeightMethod!=null &&
this.ratedWeightMethod.equals(other.getRatedWeightMethod()))) &&
((this.minimumChargeType==null && other.getMinimumChargeType()==null) ||
(this.minimumChargeType!=null &&
this.minimumChargeType.equals(other.getMinimumChargeType()))) &&
((this.currencyExchangeRate==null && other.getCurrencyExchangeRate()==null) ||
(this.currencyExchangeRate!=null &&
this.currencyExchangeRate.equals(other.getCurrencyExchangeRate()))) &&
((this.specialRatingApplied==null && other.getSpecialRatingApplied()==null) ||
(this.specialRatingApplied!=null &&
java.util.Arrays.equals(this.specialRatingApplied, other.getSpecialRatingApplied()))) &&
((this.dimDivisor==null && other.getDimDivisor()==null) ||
(this.dimDivisor!=null &&
this.dimDivisor.equals(other.getDimDivisor()))) &&
((this.dimDivisorType==null && other.getDimDivisorType()==null) ||
(this.dimDivisorType!=null &&
this.dimDivisorType.equals(other.getDimDivisorType()))) &&
((this.fuelSurchargePercent==null && other.getFuelSurchargePercent()==null) ||
(this.fuelSurchargePercent!=null &&
this.fuelSurchargePercent.equals(other.getFuelSurchargePercent()))) &&
((this.totalBillingWeight==null && other.getTotalBillingWeight()==null) ||
(this.totalBillingWeight!=null &&
this.totalBillingWeight.equals(other.getTotalBillingWeight()))) &&
((this.totalDimWeight==null && other.getTotalDimWeight()==null) ||
(this.totalDimWeight!=null &&
this.totalDimWeight.equals(other.getTotalDimWeight()))) &&
((this.totalBaseCharge==null && other.getTotalBaseCharge()==null) ||
(this.totalBaseCharge!=null &&
this.totalBaseCharge.equals(other.getTotalBaseCharge()))) &&
((this.totalFreightDiscounts==null && other.getTotalFreightDiscounts()==null) ||
(this.totalFreightDiscounts!=null &&
this.totalFreightDiscounts.equals(other.getTotalFreightDiscounts()))) &&
((this.totalNetFreight==null && other.getTotalNetFreight()==null) ||
(this.totalNetFreight!=null &&
this.totalNetFreight.equals(other.getTotalNetFreight()))) &&
((this.totalSurcharges==null && other.getTotalSurcharges()==null) ||
(this.totalSurcharges!=null &&
this.totalSurcharges.equals(other.getTotalSurcharges()))) &&
((this.totalNetFedExCharge==null && other.getTotalNetFedExCharge()==null) ||
(this.totalNetFedExCharge!=null &&
this.totalNetFedExCharge.equals(other.getTotalNetFedExCharge()))) &&
((this.totalTaxes==null && other.getTotalTaxes()==null) ||
(this.totalTaxes!=null &&
this.totalTaxes.equals(other.getTotalTaxes()))) &&
((this.totalNetCharge==null && other.getTotalNetCharge()==null) ||
(this.totalNetCharge!=null &&
this.totalNetCharge.equals(other.getTotalNetCharge()))) &&
((this.totalRebates==null && other.getTotalRebates()==null) ||
(this.totalRebates!=null &&
this.totalRebates.equals(other.getTotalRebates()))) &&
((this.totalDutiesAndTaxes==null && other.getTotalDutiesAndTaxes()==null) ||
(this.totalDutiesAndTaxes!=null &&
this.totalDutiesAndTaxes.equals(other.getTotalDutiesAndTaxes()))) &&
((this.totalNetChargeWithDutiesAndTaxes==null && other.getTotalNetChargeWithDutiesAndTaxes()==null) ||
(this.totalNetChargeWithDutiesAndTaxes!=null &&
this.totalNetChargeWithDutiesAndTaxes.equals(other.getTotalNetChargeWithDutiesAndTaxes()))) &&
((this.freightRateDetail==null && other.getFreightRateDetail()==null) ||
(this.freightRateDetail!=null &&
this.freightRateDetail.equals(other.getFreightRateDetail()))) &&
((this.freightDiscounts==null && other.getFreightDiscounts()==null) ||
(this.freightDiscounts!=null &&
java.util.Arrays.equals(this.freightDiscounts, other.getFreightDiscounts()))) &&
((this.rebates==null && other.getRebates()==null) ||
(this.rebates!=null &&
java.util.Arrays.equals(this.rebates, other.getRebates()))) &&
((this.surcharges==null && other.getSurcharges()==null) ||
(this.surcharges!=null &&
java.util.Arrays.equals(this.surcharges, other.getSurcharges()))) &&
((this.taxes==null && other.getTaxes()==null) ||
(this.taxes!=null &&
java.util.Arrays.equals(this.taxes, other.getTaxes()))) &&
((this.dutiesAndTaxes==null && other.getDutiesAndTaxes()==null) ||
(this.dutiesAndTaxes!=null &&
java.util.Arrays.equals(this.dutiesAndTaxes, other.getDutiesAndTaxes()))) &&
((this.variableHandlingCharges==null && other.getVariableHandlingCharges()==null) ||
(this.variableHandlingCharges!=null &&
this.variableHandlingCharges.equals(other.getVariableHandlingCharges()))) &&
((this.totalVariableHandlingCharges==null && other.getTotalVariableHandlingCharges()==null) ||
(this.totalVariableHandlingCharges!=null &&
this.totalVariableHandlingCharges.equals(other.getTotalVariableHandlingCharges())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getLegDescription() != null) {
_hashCode += getLegDescription().hashCode();
}
if (getLegOrigin() != null) {
_hashCode += getLegOrigin().hashCode();
}
if (getLegOriginLocationId() != null) {
_hashCode += getLegOriginLocationId().hashCode();
}
if (getLegDestination() != null) {
_hashCode += getLegDestination().hashCode();
}
if (getLegDestinationLocationId() != null) {
_hashCode += getLegDestinationLocationId().hashCode();
}
if (getRateType() != null) {
_hashCode += getRateType().hashCode();
}
if (getRateScale() != null) {
_hashCode += getRateScale().hashCode();
}
if (getRateZone() != null) {
_hashCode += getRateZone().hashCode();
}
if (getPricingCode() != null) {
_hashCode += getPricingCode().hashCode();
}
if (getRatedWeightMethod() != null) {
_hashCode += getRatedWeightMethod().hashCode();
}
if (getMinimumChargeType() != null) {
_hashCode += getMinimumChargeType().hashCode();
}
if (getCurrencyExchangeRate() != null) {
_hashCode += getCurrencyExchangeRate().hashCode();
}
if (getSpecialRatingApplied() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy