Blame | Last modification | View Log | RSS feed
/*** ShipmentRateDetail.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;/*** Data for a shipment's total/summary rates, as calculated per a* specific rate type. The "total..." fields may differ from the sum* of corresponding package data for Multiweight or Express MPS.*/public class ShipmentRateDetail implements java.io.Serializable {/* Type used for this specific set of rate data. */private com.fedex.ship.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;/* Identifies the type of pricing used for this shipment. */private com.fedex.ship.stub.PricingCodeType pricingCode;/* Indicates which weight was used. */private com.fedex.ship.stub.RatedWeightMethod ratedWeightMethod;/* INTERNAL FEDEX USE ONLY. */private com.fedex.ship.stub.MinimumChargeType minimumChargeType;/* Specifies the currency exchange performed on financial amounts* for this rate. */private com.fedex.ship.stub.CurrencyExchangeRate currencyExchangeRate;/* Indicates which special rating cases applied to this shipment. */private com.fedex.ship.stub.SpecialRatingAppliedType[] specialRatingApplied;/* The value used to calculate the weight based on the dimensions. */private org.apache.axis.types.NonNegativeInteger dimDivisor;/* Identifies the type of dim divisor that was applied. */private com.fedex.ship.stub.RateDimensionalDivisorType dimDivisorType;/* Specifies a fuel surcharge percentage. */private java.math.BigDecimal fuelSurchargePercent;/* The weight used to calculate these rates. */private com.fedex.ship.stub.Weight totalBillingWeight;/* Sum of dimensional weights for all packages. */private com.fedex.ship.stub.Weight totalDimWeight;/* The total freight charge that was calculated for this package* before surcharges, discounts and taxes. */private com.fedex.ship.stub.Money totalBaseCharge;/* The total discounts used in the rate calculation. */private com.fedex.ship.stub.Money totalFreightDiscounts;/* The freight charge minus discounts. */private com.fedex.ship.stub.Money totalNetFreight;/* The total amount of all surcharges applied to this shipment. */private com.fedex.ship.stub.Money totalSurcharges;/* This shipment's totalNetFreight + totalSurcharges (not including* totalTaxes). */private com.fedex.ship.stub.Money totalNetFedExCharge;/* Total of the transportation-based taxes. */private com.fedex.ship.stub.Money totalTaxes;/* The net charge after applying all discounts and surcharges. */private com.fedex.ship.stub.Money totalNetCharge;/* The total sum of all rebates applied to this shipment. */private com.fedex.ship.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.ship.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.ship.stub.Money totalNetChargeWithDutiesAndTaxes;/* Identifies the Rate Details per each leg in a Freight Shipment */private com.fedex.ship.stub.ShipmentLegRateDetail[] shipmentLegRateDetails;/* Rate data specific to FedEx Freight and FedEx National Freight* services. */private com.fedex.ship.stub.FreightRateDetail freightRateDetail;/* All rate discounts that apply to this shipment. */private com.fedex.ship.stub.RateDiscount[] freightDiscounts;/* All rebates that apply to this shipment. */private com.fedex.ship.stub.Rebate[] rebates;/* All surcharges that apply to this shipment. */private com.fedex.ship.stub.Surcharge[] surcharges;/* All transportation-based taxes applicable to this shipment. */private com.fedex.ship.stub.Tax[] taxes;/* All commodity-based duties and taxes applicable to this shipment. */private com.fedex.ship.stub.EdtCommodityTax[] dutiesAndTaxes;/* The "order level" variable handling charges. */private com.fedex.ship.stub.VariableHandlingCharges variableHandlingCharges;/* The total of all variable handling charges at both shipment* (order) and package level. */private com.fedex.ship.stub.VariableHandlingCharges totalVariableHandlingCharges;public ShipmentRateDetail() {}public ShipmentRateDetail(com.fedex.ship.stub.ReturnedRateType rateType,java.lang.String rateScale,java.lang.String rateZone,com.fedex.ship.stub.PricingCodeType pricingCode,com.fedex.ship.stub.RatedWeightMethod ratedWeightMethod,com.fedex.ship.stub.MinimumChargeType minimumChargeType,com.fedex.ship.stub.CurrencyExchangeRate currencyExchangeRate,com.fedex.ship.stub.SpecialRatingAppliedType[] specialRatingApplied,org.apache.axis.types.NonNegativeInteger dimDivisor,com.fedex.ship.stub.RateDimensionalDivisorType dimDivisorType,java.math.BigDecimal fuelSurchargePercent,com.fedex.ship.stub.Weight totalBillingWeight,com.fedex.ship.stub.Weight totalDimWeight,com.fedex.ship.stub.Money totalBaseCharge,com.fedex.ship.stub.Money totalFreightDiscounts,com.fedex.ship.stub.Money totalNetFreight,com.fedex.ship.stub.Money totalSurcharges,com.fedex.ship.stub.Money totalNetFedExCharge,com.fedex.ship.stub.Money totalTaxes,com.fedex.ship.stub.Money totalNetCharge,com.fedex.ship.stub.Money totalRebates,com.fedex.ship.stub.Money totalDutiesAndTaxes,com.fedex.ship.stub.Money totalNetChargeWithDutiesAndTaxes,com.fedex.ship.stub.ShipmentLegRateDetail[] shipmentLegRateDetails,com.fedex.ship.stub.FreightRateDetail freightRateDetail,com.fedex.ship.stub.RateDiscount[] freightDiscounts,com.fedex.ship.stub.Rebate[] rebates,com.fedex.ship.stub.Surcharge[] surcharges,com.fedex.ship.stub.Tax[] taxes,com.fedex.ship.stub.EdtCommodityTax[] dutiesAndTaxes,com.fedex.ship.stub.VariableHandlingCharges variableHandlingCharges,com.fedex.ship.stub.VariableHandlingCharges totalVariableHandlingCharges) {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.shipmentLegRateDetails = shipmentLegRateDetails;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 rateType value for this ShipmentRateDetail.** @return rateType * Type used for this specific set of rate data.*/public com.fedex.ship.stub.ReturnedRateType getRateType() {return rateType;}/*** Sets the rateType value for this ShipmentRateDetail.** @param rateType * Type used for this specific set of rate data.*/public void setRateType(com.fedex.ship.stub.ReturnedRateType rateType) {this.rateType = rateType;}/*** Gets the rateScale value for this ShipmentRateDetail.** @return rateScale * Indicates the rate scale used.*/public java.lang.String getRateScale() {return rateScale;}/*** Sets the rateScale value for this ShipmentRateDetail.** @param rateScale * Indicates the rate scale used.*/public void setRateScale(java.lang.String rateScale) {this.rateScale = rateScale;}/*** Gets the rateZone value for this ShipmentRateDetail.** @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 ShipmentRateDetail.** @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 ShipmentRateDetail.** @return pricingCode * Identifies the type of pricing used for this shipment.*/public com.fedex.ship.stub.PricingCodeType getPricingCode() {return pricingCode;}/*** Sets the pricingCode value for this ShipmentRateDetail.** @param pricingCode * Identifies the type of pricing used for this shipment.*/public void setPricingCode(com.fedex.ship.stub.PricingCodeType pricingCode) {this.pricingCode = pricingCode;}/*** Gets the ratedWeightMethod value for this ShipmentRateDetail.** @return ratedWeightMethod * Indicates which weight was used.*/public com.fedex.ship.stub.RatedWeightMethod getRatedWeightMethod() {return ratedWeightMethod;}/*** Sets the ratedWeightMethod value for this ShipmentRateDetail.** @param ratedWeightMethod * Indicates which weight was used.*/public void setRatedWeightMethod(com.fedex.ship.stub.RatedWeightMethod ratedWeightMethod) {this.ratedWeightMethod = ratedWeightMethod;}/*** Gets the minimumChargeType value for this ShipmentRateDetail.** @return minimumChargeType * INTERNAL FEDEX USE ONLY.*/public com.fedex.ship.stub.MinimumChargeType getMinimumChargeType() {return minimumChargeType;}/*** Sets the minimumChargeType value for this ShipmentRateDetail.** @param minimumChargeType * INTERNAL FEDEX USE ONLY.*/public void setMinimumChargeType(com.fedex.ship.stub.MinimumChargeType minimumChargeType) {this.minimumChargeType = minimumChargeType;}/*** Gets the currencyExchangeRate value for this ShipmentRateDetail.** @return currencyExchangeRate * Specifies the currency exchange performed on financial amounts* for this rate.*/public com.fedex.ship.stub.CurrencyExchangeRate getCurrencyExchangeRate() {return currencyExchangeRate;}/*** Sets the currencyExchangeRate value for this ShipmentRateDetail.** @param currencyExchangeRate * Specifies the currency exchange performed on financial amounts* for this rate.*/public void setCurrencyExchangeRate(com.fedex.ship.stub.CurrencyExchangeRate currencyExchangeRate) {this.currencyExchangeRate = currencyExchangeRate;}/*** Gets the specialRatingApplied value for this ShipmentRateDetail.** @return specialRatingApplied * Indicates which special rating cases applied to this shipment.*/public com.fedex.ship.stub.SpecialRatingAppliedType[] getSpecialRatingApplied() {return specialRatingApplied;}/*** Sets the specialRatingApplied value for this ShipmentRateDetail.** @param specialRatingApplied * Indicates which special rating cases applied to this shipment.*/public void setSpecialRatingApplied(com.fedex.ship.stub.SpecialRatingAppliedType[] specialRatingApplied) {this.specialRatingApplied = specialRatingApplied;}public com.fedex.ship.stub.SpecialRatingAppliedType getSpecialRatingApplied(int i) {return this.specialRatingApplied[i];}public void setSpecialRatingApplied(int i, com.fedex.ship.stub.SpecialRatingAppliedType _value) {this.specialRatingApplied[i] = _value;}/*** Gets the dimDivisor value for this ShipmentRateDetail.** @return dimDivisor * The value used to calculate the weight based on the dimensions.*/public org.apache.axis.types.NonNegativeInteger getDimDivisor() {return dimDivisor;}/*** Sets the dimDivisor value for this ShipmentRateDetail.** @param dimDivisor * The value used to calculate the weight based on the dimensions.*/public void setDimDivisor(org.apache.axis.types.NonNegativeInteger dimDivisor) {this.dimDivisor = dimDivisor;}/*** Gets the dimDivisorType value for this ShipmentRateDetail.** @return dimDivisorType * Identifies the type of dim divisor that was applied.*/public com.fedex.ship.stub.RateDimensionalDivisorType getDimDivisorType() {return dimDivisorType;}/*** Sets the dimDivisorType value for this ShipmentRateDetail.** @param dimDivisorType * Identifies the type of dim divisor that was applied.*/public void setDimDivisorType(com.fedex.ship.stub.RateDimensionalDivisorType dimDivisorType) {this.dimDivisorType = dimDivisorType;}/*** Gets the fuelSurchargePercent value for this ShipmentRateDetail.** @return fuelSurchargePercent * Specifies a fuel surcharge percentage.*/public java.math.BigDecimal getFuelSurchargePercent() {return fuelSurchargePercent;}/*** Sets the fuelSurchargePercent value for this ShipmentRateDetail.** @param fuelSurchargePercent * Specifies a fuel surcharge percentage.*/public void setFuelSurchargePercent(java.math.BigDecimal fuelSurchargePercent) {this.fuelSurchargePercent = fuelSurchargePercent;}/*** Gets the totalBillingWeight value for this ShipmentRateDetail.** @return totalBillingWeight * The weight used to calculate these rates.*/public com.fedex.ship.stub.Weight getTotalBillingWeight() {return totalBillingWeight;}/*** Sets the totalBillingWeight value for this ShipmentRateDetail.** @param totalBillingWeight * The weight used to calculate these rates.*/public void setTotalBillingWeight(com.fedex.ship.stub.Weight totalBillingWeight) {this.totalBillingWeight = totalBillingWeight;}/*** Gets the totalDimWeight value for this ShipmentRateDetail.** @return totalDimWeight * Sum of dimensional weights for all packages.*/public com.fedex.ship.stub.Weight getTotalDimWeight() {return totalDimWeight;}/*** Sets the totalDimWeight value for this ShipmentRateDetail.** @param totalDimWeight * Sum of dimensional weights for all packages.*/public void setTotalDimWeight(com.fedex.ship.stub.Weight totalDimWeight) {this.totalDimWeight = totalDimWeight;}/*** Gets the totalBaseCharge value for this ShipmentRateDetail.** @return totalBaseCharge * The total freight charge that was calculated for this package* before surcharges, discounts and taxes.*/public com.fedex.ship.stub.Money getTotalBaseCharge() {return totalBaseCharge;}/*** Sets the totalBaseCharge value for this ShipmentRateDetail.** @param totalBaseCharge * The total freight charge that was calculated for this package* before surcharges, discounts and taxes.*/public void setTotalBaseCharge(com.fedex.ship.stub.Money totalBaseCharge) {this.totalBaseCharge = totalBaseCharge;}/*** Gets the totalFreightDiscounts value for this ShipmentRateDetail.** @return totalFreightDiscounts * The total discounts used in the rate calculation.*/public com.fedex.ship.stub.Money getTotalFreightDiscounts() {return totalFreightDiscounts;}/*** Sets the totalFreightDiscounts value for this ShipmentRateDetail.** @param totalFreightDiscounts * The total discounts used in the rate calculation.*/public void setTotalFreightDiscounts(com.fedex.ship.stub.Money totalFreightDiscounts) {this.totalFreightDiscounts = totalFreightDiscounts;}/*** Gets the totalNetFreight value for this ShipmentRateDetail.** @return totalNetFreight * The freight charge minus discounts.*/public com.fedex.ship.stub.Money getTotalNetFreight() {return totalNetFreight;}/*** Sets the totalNetFreight value for this ShipmentRateDetail.** @param totalNetFreight * The freight charge minus discounts.*/public void setTotalNetFreight(com.fedex.ship.stub.Money totalNetFreight) {this.totalNetFreight = totalNetFreight;}/*** Gets the totalSurcharges value for this ShipmentRateDetail.** @return totalSurcharges * The total amount of all surcharges applied to this shipment.*/public com.fedex.ship.stub.Money getTotalSurcharges() {return totalSurcharges;}/*** Sets the totalSurcharges value for this ShipmentRateDetail.** @param totalSurcharges * The total amount of all surcharges applied to this shipment.*/public void setTotalSurcharges(com.fedex.ship.stub.Money totalSurcharges) {this.totalSurcharges = totalSurcharges;}/*** Gets the totalNetFedExCharge value for this ShipmentRateDetail.** @return totalNetFedExCharge * This shipment's totalNetFreight + totalSurcharges (not including* totalTaxes).*/public com.fedex.ship.stub.Money getTotalNetFedExCharge() {return totalNetFedExCharge;}/*** Sets the totalNetFedExCharge value for this ShipmentRateDetail.** @param totalNetFedExCharge * This shipment's totalNetFreight + totalSurcharges (not including* totalTaxes).*/public void setTotalNetFedExCharge(com.fedex.ship.stub.Money totalNetFedExCharge) {this.totalNetFedExCharge = totalNetFedExCharge;}/*** Gets the totalTaxes value for this ShipmentRateDetail.** @return totalTaxes * Total of the transportation-based taxes.*/public com.fedex.ship.stub.Money getTotalTaxes() {return totalTaxes;}/*** Sets the totalTaxes value for this ShipmentRateDetail.** @param totalTaxes * Total of the transportation-based taxes.*/public void setTotalTaxes(com.fedex.ship.stub.Money totalTaxes) {this.totalTaxes = totalTaxes;}/*** Gets the totalNetCharge value for this ShipmentRateDetail.** @return totalNetCharge * The net charge after applying all discounts and surcharges.*/public com.fedex.ship.stub.Money getTotalNetCharge() {return totalNetCharge;}/*** Sets the totalNetCharge value for this ShipmentRateDetail.** @param totalNetCharge * The net charge after applying all discounts and surcharges.*/public void setTotalNetCharge(com.fedex.ship.stub.Money totalNetCharge) {this.totalNetCharge = totalNetCharge;}/*** Gets the totalRebates value for this ShipmentRateDetail.** @return totalRebates * The total sum of all rebates applied to this shipment.*/public com.fedex.ship.stub.Money getTotalRebates() {return totalRebates;}/*** Sets the totalRebates value for this ShipmentRateDetail.** @param totalRebates * The total sum of all rebates applied to this shipment.*/public void setTotalRebates(com.fedex.ship.stub.Money totalRebates) {this.totalRebates = totalRebates;}/*** Gets the totalDutiesAndTaxes value for this ShipmentRateDetail.** @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.ship.stub.Money getTotalDutiesAndTaxes() {return totalDutiesAndTaxes;}/*** Sets the totalDutiesAndTaxes value for this ShipmentRateDetail.** @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.ship.stub.Money totalDutiesAndTaxes) {this.totalDutiesAndTaxes = totalDutiesAndTaxes;}/*** Gets the totalNetChargeWithDutiesAndTaxes value for this ShipmentRateDetail.** @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.ship.stub.Money getTotalNetChargeWithDutiesAndTaxes() {return totalNetChargeWithDutiesAndTaxes;}/*** Sets the totalNetChargeWithDutiesAndTaxes value for this ShipmentRateDetail.** @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.ship.stub.Money totalNetChargeWithDutiesAndTaxes) {this.totalNetChargeWithDutiesAndTaxes = totalNetChargeWithDutiesAndTaxes;}/*** Gets the shipmentLegRateDetails value for this ShipmentRateDetail.** @return shipmentLegRateDetails * Identifies the Rate Details per each leg in a Freight Shipment*/public com.fedex.ship.stub.ShipmentLegRateDetail[] getShipmentLegRateDetails() {return shipmentLegRateDetails;}/*** Sets the shipmentLegRateDetails value for this ShipmentRateDetail.** @param shipmentLegRateDetails * Identifies the Rate Details per each leg in a Freight Shipment*/public void setShipmentLegRateDetails(com.fedex.ship.stub.ShipmentLegRateDetail[] shipmentLegRateDetails) {this.shipmentLegRateDetails = shipmentLegRateDetails;}public com.fedex.ship.stub.ShipmentLegRateDetail getShipmentLegRateDetails(int i) {return this.shipmentLegRateDetails[i];}public void setShipmentLegRateDetails(int i, com.fedex.ship.stub.ShipmentLegRateDetail _value) {this.shipmentLegRateDetails[i] = _value;}/*** Gets the freightRateDetail value for this ShipmentRateDetail.** @return freightRateDetail * Rate data specific to FedEx Freight and FedEx National Freight* services.*/public com.fedex.ship.stub.FreightRateDetail getFreightRateDetail() {return freightRateDetail;}/*** Sets the freightRateDetail value for this ShipmentRateDetail.** @param freightRateDetail * Rate data specific to FedEx Freight and FedEx National Freight* services.*/public void setFreightRateDetail(com.fedex.ship.stub.FreightRateDetail freightRateDetail) {this.freightRateDetail = freightRateDetail;}/*** Gets the freightDiscounts value for this ShipmentRateDetail.** @return freightDiscounts * All rate discounts that apply to this shipment.*/public com.fedex.ship.stub.RateDiscount[] getFreightDiscounts() {return freightDiscounts;}/*** Sets the freightDiscounts value for this ShipmentRateDetail.** @param freightDiscounts * All rate discounts that apply to this shipment.*/public void setFreightDiscounts(com.fedex.ship.stub.RateDiscount[] freightDiscounts) {this.freightDiscounts = freightDiscounts;}public com.fedex.ship.stub.RateDiscount getFreightDiscounts(int i) {return this.freightDiscounts[i];}public void setFreightDiscounts(int i, com.fedex.ship.stub.RateDiscount _value) {this.freightDiscounts[i] = _value;}/*** Gets the rebates value for this ShipmentRateDetail.** @return rebates * All rebates that apply to this shipment.*/public com.fedex.ship.stub.Rebate[] getRebates() {return rebates;}/*** Sets the rebates value for this ShipmentRateDetail.** @param rebates * All rebates that apply to this shipment.*/public void setRebates(com.fedex.ship.stub.Rebate[] rebates) {this.rebates = rebates;}public com.fedex.ship.stub.Rebate getRebates(int i) {return this.rebates[i];}public void setRebates(int i, com.fedex.ship.stub.Rebate _value) {this.rebates[i] = _value;}/*** Gets the surcharges value for this ShipmentRateDetail.** @return surcharges * All surcharges that apply to this shipment.*/public com.fedex.ship.stub.Surcharge[] getSurcharges() {return surcharges;}/*** Sets the surcharges value for this ShipmentRateDetail.** @param surcharges * All surcharges that apply to this shipment.*/public void setSurcharges(com.fedex.ship.stub.Surcharge[] surcharges) {this.surcharges = surcharges;}public com.fedex.ship.stub.Surcharge getSurcharges(int i) {return this.surcharges[i];}public void setSurcharges(int i, com.fedex.ship.stub.Surcharge _value) {this.surcharges[i] = _value;}/*** Gets the taxes value for this ShipmentRateDetail.** @return taxes * All transportation-based taxes applicable to this shipment.*/public com.fedex.ship.stub.Tax[] getTaxes() {return taxes;}/*** Sets the taxes value for this ShipmentRateDetail.** @param taxes * All transportation-based taxes applicable to this shipment.*/public void setTaxes(com.fedex.ship.stub.Tax[] taxes) {this.taxes = taxes;}public com.fedex.ship.stub.Tax getTaxes(int i) {return this.taxes[i];}public void setTaxes(int i, com.fedex.ship.stub.Tax _value) {this.taxes[i] = _value;}/*** Gets the dutiesAndTaxes value for this ShipmentRateDetail.** @return dutiesAndTaxes * All commodity-based duties and taxes applicable to this shipment.*/public com.fedex.ship.stub.EdtCommodityTax[] getDutiesAndTaxes() {return dutiesAndTaxes;}/*** Sets the dutiesAndTaxes value for this ShipmentRateDetail.** @param dutiesAndTaxes * All commodity-based duties and taxes applicable to this shipment.*/public void setDutiesAndTaxes(com.fedex.ship.stub.EdtCommodityTax[] dutiesAndTaxes) {this.dutiesAndTaxes = dutiesAndTaxes;}public com.fedex.ship.stub.EdtCommodityTax getDutiesAndTaxes(int i) {return this.dutiesAndTaxes[i];}public void setDutiesAndTaxes(int i, com.fedex.ship.stub.EdtCommodityTax _value) {this.dutiesAndTaxes[i] = _value;}/*** Gets the variableHandlingCharges value for this ShipmentRateDetail.** @return variableHandlingCharges * The "order level" variable handling charges.*/public com.fedex.ship.stub.VariableHandlingCharges getVariableHandlingCharges() {return variableHandlingCharges;}/*** Sets the variableHandlingCharges value for this ShipmentRateDetail.** @param variableHandlingCharges * The "order level" variable handling charges.*/public void setVariableHandlingCharges(com.fedex.ship.stub.VariableHandlingCharges variableHandlingCharges) {this.variableHandlingCharges = variableHandlingCharges;}/*** Gets the totalVariableHandlingCharges value for this ShipmentRateDetail.** @return totalVariableHandlingCharges * The total of all variable handling charges at both shipment* (order) and package level.*/public com.fedex.ship.stub.VariableHandlingCharges getTotalVariableHandlingCharges() {return totalVariableHandlingCharges;}/*** Sets the totalVariableHandlingCharges value for this ShipmentRateDetail.** @param totalVariableHandlingCharges * The total of all variable handling charges at both shipment* (order) and package level.*/public void setTotalVariableHandlingCharges(com.fedex.ship.stub.VariableHandlingCharges totalVariableHandlingCharges) {this.totalVariableHandlingCharges = totalVariableHandlingCharges;}private java.lang.Object __equalsCalc = null;public synchronized boolean equals(java.lang.Object obj) {if (!(obj instanceof ShipmentRateDetail)) return false;ShipmentRateDetail other = (ShipmentRateDetail) obj;if (obj == null) return false;if (this == obj) return true;if (__equalsCalc != null) {return (__equalsCalc == obj);}__equalsCalc = obj;boolean _equals;_equals = true &&((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.shipmentLegRateDetails==null && other.getShipmentLegRateDetails()==null) ||(this.shipmentLegRateDetails!=null &&java.util.Arrays.equals(this.shipmentLegRateDetails, other.getShipmentLegRateDetails()))) &&((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 (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<java.lang.reflect.Array.getLength(getSpecialRatingApplied());i++) {java.lang.Object obj = java.lang.reflect.Array.get(getSpecialRatingApplied(), i);if (obj != null &&!obj.getClass().isArray()) {_hashCode += obj.hashCode();}}}if (getDimDivisor() != null) {_hashCode += getDimDivisor().hashCode();}if (getDimDivisorType() != null) {_hashCode += getDimDivisorType().hashCode();}if (getFuelSurchargePercent() != null) {_hashCode += getFuelSurchargePercent().hashCode();}if (getTotalBillingWeight() != null) {_hashCode += getTotalBillingWeight().hashCode();}if (getTotalDimWeight() != null) {_hashCode += getTotalDimWeight().hashCode();}if (getTotalBaseCharge() != null) {_hashCode += getTotalBaseCharge().hashCode();}if (getTotalFreightDiscounts() != null) {_hashCode += getTotalFreightDiscounts().hashCode();}if (getTotalNetFreight() != null) {_hashCode += getTotalNetFreight().hashCode();}if (getTotalSurcharges() != null) {_hashCode += getTotalSurcharges().hashCode();}if (getTotalNetFedExCharge() != null) {_hashCode += getTotalNetFedExCharge().hashCode();}if (getTotalTaxes() != null) {_hashCode += getTotalTaxes().hashCode();}if (getTotalNetCharge() != null) {_hashCode += getTotalNetCharge().hashCode();}if (getTotalRebates() != null) {_hashCode += getTotalRebates().hashCode();}if (getTotalDutiesAndTaxes() != null) {_hashCode += getTotalDutiesAndTaxes().hashCode();}if (getTotalNetChargeWithDutiesAndTaxes() != null) {_hashCode += getTotalNetChargeWithDutiesAndTaxes().hashCode();}if (getShipmentLegRateDetails() != null) {for (int i=0;i<java.lang.reflect.Array.getLength(getShipmentLegRateDetails());i++) {java.lang.Object obj = java.lang.reflect.Array.get(getShipmentLegRateDetails(), i);if (obj != null &&!obj.getClass().isArray()) {_hashCode += obj.hashCode();}}}if (getFreightRateDetail() != null) {_hashCode += getFreightRateDetail().hashCode();}if (getFreightDiscounts() != null) {for (int i=0;i<java.lang.reflect.Array.getLength(getFreightDiscounts());i++) {java.lang.Object obj = java.lang.reflect.Array.get(getFreightDiscounts(), i);if (obj != null &&!obj.getClass().isArray()) {_hashCode += obj.hashCode();}}}if (getRebates() != null) {for (int i=0;i<java.lang.reflect.Array.getLength(getRebates());i++) {java.lang.Object obj = java.lang.reflect.Array.get(getRebates(), i);if (obj != null &&!obj.getClass().isArray()) {_hashCode += obj.hashCode();}}}if (getSurcharges() != null) {for (int i=0;i<java.lang.reflect.Array.getLength(getSurcharges());i++) {java.lang.Object obj = java.lang.reflect.Array.get(getSurcharges(), i);if (obj != null &&!obj.getClass().isArray()) {_hashCode += obj.hashCode();}}}if (getTaxes() != null) {for (int i=0;i<java.lang.reflect.Array.getLength(getTaxes());i++) {java.lang.Object obj = java.lang.reflect.Array.get(getTaxes(), i);if (obj != null &&!obj.getClass().isArray()) {_hashCode += obj.hashCode();}}}if (getDutiesAndTaxes() != null) {for (int i=0;i<java.lang.reflect.Array.getLength(getDutiesAndTaxes());i++) {java.lang.Object obj = java.lang.reflect.Array.get(getDutiesAndTaxes(), i);if (obj != null &&!obj.getClass().isArray()) {_hashCode += obj.hashCode();}}}if (getVariableHandlingCharges() != null) {_hashCode += getVariableHandlingCharges().hashCode();}if (getTotalVariableHandlingCharges() != null) {_hashCode += getTotalVariableHandlingCharges().hashCode();}__hashCodeCalc = false;return _hashCode;}// Type metadataprivate static org.apache.axis.description.TypeDesc typeDesc =new org.apache.axis.description.TypeDesc(ShipmentRateDetail.class, true);static {typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShipmentRateDetail"));org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("rateType");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RateType"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ReturnedRateType"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("rateScale");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RateScale"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("rateZone");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RateZone"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("pricingCode");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PricingCode"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PricingCodeType"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("ratedWeightMethod");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RatedWeightMethod"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RatedWeightMethod"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("minimumChargeType");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "MinimumChargeType"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "MinimumChargeType"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("currencyExchangeRate");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CurrencyExchangeRate"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CurrencyExchangeRate"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("specialRatingApplied");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SpecialRatingApplied"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SpecialRatingAppliedType"));elemField.setMinOccurs(0);elemField.setNillable(false);elemField.setMaxOccursUnbounded(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("dimDivisor");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DimDivisor"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("dimDivisorType");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DimDivisorType"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RateDimensionalDivisorType"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("fuelSurchargePercent");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FuelSurchargePercent"));elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("totalBillingWeight");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalBillingWeight"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Weight"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("totalDimWeight");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalDimWeight"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Weight"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("totalBaseCharge");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalBaseCharge"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("totalFreightDiscounts");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalFreightDiscounts"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("totalNetFreight");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalNetFreight"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("totalSurcharges");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalSurcharges"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("totalNetFedExCharge");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalNetFedExCharge"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("totalTaxes");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalTaxes"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("totalNetCharge");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalNetCharge"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("totalRebates");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalRebates"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("totalDutiesAndTaxes");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalDutiesAndTaxes"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("totalNetChargeWithDutiesAndTaxes");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalNetChargeWithDutiesAndTaxes"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("shipmentLegRateDetails");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShipmentLegRateDetails"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShipmentLegRateDetail"));elemField.setMinOccurs(0);elemField.setNillable(false);elemField.setMaxOccursUnbounded(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("freightRateDetail");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightRateDetail"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightRateDetail"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("freightDiscounts");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightDiscounts"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RateDiscount"));elemField.setMinOccurs(0);elemField.setNillable(false);elemField.setMaxOccursUnbounded(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("rebates");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Rebates"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Rebate"));elemField.setMinOccurs(0);elemField.setNillable(false);elemField.setMaxOccursUnbounded(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("surcharges");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Surcharges"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Surcharge"));elemField.setMinOccurs(0);elemField.setNillable(false);elemField.setMaxOccursUnbounded(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("taxes");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Taxes"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Tax"));elemField.setMinOccurs(0);elemField.setNillable(false);elemField.setMaxOccursUnbounded(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("dutiesAndTaxes");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DutiesAndTaxes"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "EdtCommodityTax"));elemField.setMinOccurs(0);elemField.setNillable(false);elemField.setMaxOccursUnbounded(true);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("variableHandlingCharges");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "VariableHandlingCharges"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "VariableHandlingCharges"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);elemField = new org.apache.axis.description.ElementDesc();elemField.setFieldName("totalVariableHandlingCharges");elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TotalVariableHandlingCharges"));elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "VariableHandlingCharges"));elemField.setMinOccurs(0);elemField.setNillable(false);typeDesc.addFieldDesc(elemField);}/*** Return type metadata object*/public static org.apache.axis.description.TypeDesc getTypeDesc() {return typeDesc;}/*** Get Custom Serializer*/public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,java.lang.Class _javaType,javax.xml.namespace.QName _xmlType) {returnnew org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);}/*** Get Custom Deserializer*/public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,java.lang.Class _javaType,javax.xml.namespace.QName _xmlType) {returnnew org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);}}