All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fedex.rate.stub.RateReplyDetail Maven / Gradle / Ivy

The newest version!
/**
 * RateReplyDetail.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */

package com.fedex.rate.stub;

public class RateReplyDetail  implements java.io.Serializable {
    /* Deprecated: This field will be removed in a future DOM release.
     * New code should use serviceDescription.serviceType instead. */
    private com.fedex.rate.stub.ServiceType serviceType;

    /* Descriptions and alternate identifiers for a service. */
    private com.fedex.rate.stub.ServiceDescription serviceDescription;

    private com.fedex.rate.stub.PackagingType packagingType;

    /* Shows the specific combination of service options combined
     * with the service type that produced this committment in the set returned
     * to the caller. */
    private com.fedex.rate.stub.ServiceOptionType[] appliedOptions;

    /* Supporting detail for applied options identified in preceding
     * field. */
    private com.fedex.rate.stub.ServiceSubOptionDetail appliedSubOptions;

    private java.lang.String deliveryStation;

    private com.fedex.rate.stub.DayOfWeekType deliveryDayOfWeek;

    private java.util.Calendar deliveryTimestamp;

    private com.fedex.rate.stub.CommitDetail[] commitDetails;

    private java.lang.String destinationAirportId;

    private java.lang.Boolean ineligibleForMoneyBackGuarantee;

    /* Not populated by FAST service in Jan07. */
    private java.lang.String originServiceArea;

    /* Not populated by FAST service in Jan07. */
    private java.lang.String destinationServiceArea;

    /* Not populated by FAST service in Jan07. */
    private com.fedex.rate.stub.TransitTimeType transitTime;

    /* Maximum expected transit time */
    private com.fedex.rate.stub.TransitTimeType maximumTransitTime;

    /* Not populated by FAST service in Jan07. Actual signature option
     * applied, to allow for cases in wihch the original value conflicted
     * with other service features in the shipment. */
    private com.fedex.rate.stub.SignatureOptionType signatureOption;

    private com.fedex.rate.stub.ReturnedRateType actualRateType;

    /* Each element contains all rate data for a single rate type. */
    private com.fedex.rate.stub.RatedShipmentDetail[] ratedShipmentDetails;

    public RateReplyDetail() {
    }

    public RateReplyDetail(
           com.fedex.rate.stub.ServiceType serviceType,
           com.fedex.rate.stub.ServiceDescription serviceDescription,
           com.fedex.rate.stub.PackagingType packagingType,
           com.fedex.rate.stub.ServiceOptionType[] appliedOptions,
           com.fedex.rate.stub.ServiceSubOptionDetail appliedSubOptions,
           java.lang.String deliveryStation,
           com.fedex.rate.stub.DayOfWeekType deliveryDayOfWeek,
           java.util.Calendar deliveryTimestamp,
           com.fedex.rate.stub.CommitDetail[] commitDetails,
           java.lang.String destinationAirportId,
           java.lang.Boolean ineligibleForMoneyBackGuarantee,
           java.lang.String originServiceArea,
           java.lang.String destinationServiceArea,
           com.fedex.rate.stub.TransitTimeType transitTime,
           com.fedex.rate.stub.TransitTimeType maximumTransitTime,
           com.fedex.rate.stub.SignatureOptionType signatureOption,
           com.fedex.rate.stub.ReturnedRateType actualRateType,
           com.fedex.rate.stub.RatedShipmentDetail[] ratedShipmentDetails) {
           this.serviceType = serviceType;
           this.serviceDescription = serviceDescription;
           this.packagingType = packagingType;
           this.appliedOptions = appliedOptions;
           this.appliedSubOptions = appliedSubOptions;
           this.deliveryStation = deliveryStation;
           this.deliveryDayOfWeek = deliveryDayOfWeek;
           this.deliveryTimestamp = deliveryTimestamp;
           this.commitDetails = commitDetails;
           this.destinationAirportId = destinationAirportId;
           this.ineligibleForMoneyBackGuarantee = ineligibleForMoneyBackGuarantee;
           this.originServiceArea = originServiceArea;
           this.destinationServiceArea = destinationServiceArea;
           this.transitTime = transitTime;
           this.maximumTransitTime = maximumTransitTime;
           this.signatureOption = signatureOption;
           this.actualRateType = actualRateType;
           this.ratedShipmentDetails = ratedShipmentDetails;
    }


    /**
     * Gets the serviceType value for this RateReplyDetail.
     * 
     * @return serviceType   * Deprecated: This field will be removed in a future DOM release.
     * New code should use serviceDescription.serviceType instead.
     */
    public com.fedex.rate.stub.ServiceType getServiceType() {
        return serviceType;
    }


    /**
     * Sets the serviceType value for this RateReplyDetail.
     * 
     * @param serviceType   * Deprecated: This field will be removed in a future DOM release.
     * New code should use serviceDescription.serviceType instead.
     */
    public void setServiceType(com.fedex.rate.stub.ServiceType serviceType) {
        this.serviceType = serviceType;
    }


    /**
     * Gets the serviceDescription value for this RateReplyDetail.
     * 
     * @return serviceDescription   * Descriptions and alternate identifiers for a service.
     */
    public com.fedex.rate.stub.ServiceDescription getServiceDescription() {
        return serviceDescription;
    }


    /**
     * Sets the serviceDescription value for this RateReplyDetail.
     * 
     * @param serviceDescription   * Descriptions and alternate identifiers for a service.
     */
    public void setServiceDescription(com.fedex.rate.stub.ServiceDescription serviceDescription) {
        this.serviceDescription = serviceDescription;
    }


    /**
     * Gets the packagingType value for this RateReplyDetail.
     * 
     * @return packagingType
     */
    public com.fedex.rate.stub.PackagingType getPackagingType() {
        return packagingType;
    }


    /**
     * Sets the packagingType value for this RateReplyDetail.
     * 
     * @param packagingType
     */
    public void setPackagingType(com.fedex.rate.stub.PackagingType packagingType) {
        this.packagingType = packagingType;
    }


    /**
     * Gets the appliedOptions value for this RateReplyDetail.
     * 
     * @return appliedOptions   * Shows the specific combination of service options combined
     * with the service type that produced this committment in the set returned
     * to the caller.
     */
    public com.fedex.rate.stub.ServiceOptionType[] getAppliedOptions() {
        return appliedOptions;
    }


    /**
     * Sets the appliedOptions value for this RateReplyDetail.
     * 
     * @param appliedOptions   * Shows the specific combination of service options combined
     * with the service type that produced this committment in the set returned
     * to the caller.
     */
    public void setAppliedOptions(com.fedex.rate.stub.ServiceOptionType[] appliedOptions) {
        this.appliedOptions = appliedOptions;
    }

    public com.fedex.rate.stub.ServiceOptionType getAppliedOptions(int i) {
        return this.appliedOptions[i];
    }

    public void setAppliedOptions(int i, com.fedex.rate.stub.ServiceOptionType _value) {
        this.appliedOptions[i] = _value;
    }


    /**
     * Gets the appliedSubOptions value for this RateReplyDetail.
     * 
     * @return appliedSubOptions   * Supporting detail for applied options identified in preceding
     * field.
     */
    public com.fedex.rate.stub.ServiceSubOptionDetail getAppliedSubOptions() {
        return appliedSubOptions;
    }


    /**
     * Sets the appliedSubOptions value for this RateReplyDetail.
     * 
     * @param appliedSubOptions   * Supporting detail for applied options identified in preceding
     * field.
     */
    public void setAppliedSubOptions(com.fedex.rate.stub.ServiceSubOptionDetail appliedSubOptions) {
        this.appliedSubOptions = appliedSubOptions;
    }


    /**
     * Gets the deliveryStation value for this RateReplyDetail.
     * 
     * @return deliveryStation
     */
    public java.lang.String getDeliveryStation() {
        return deliveryStation;
    }


    /**
     * Sets the deliveryStation value for this RateReplyDetail.
     * 
     * @param deliveryStation
     */
    public void setDeliveryStation(java.lang.String deliveryStation) {
        this.deliveryStation = deliveryStation;
    }


    /**
     * Gets the deliveryDayOfWeek value for this RateReplyDetail.
     * 
     * @return deliveryDayOfWeek
     */
    public com.fedex.rate.stub.DayOfWeekType getDeliveryDayOfWeek() {
        return deliveryDayOfWeek;
    }


    /**
     * Sets the deliveryDayOfWeek value for this RateReplyDetail.
     * 
     * @param deliveryDayOfWeek
     */
    public void setDeliveryDayOfWeek(com.fedex.rate.stub.DayOfWeekType deliveryDayOfWeek) {
        this.deliveryDayOfWeek = deliveryDayOfWeek;
    }


    /**
     * Gets the deliveryTimestamp value for this RateReplyDetail.
     * 
     * @return deliveryTimestamp
     */
    public java.util.Calendar getDeliveryTimestamp() {
        return deliveryTimestamp;
    }


    /**
     * Sets the deliveryTimestamp value for this RateReplyDetail.
     * 
     * @param deliveryTimestamp
     */
    public void setDeliveryTimestamp(java.util.Calendar deliveryTimestamp) {
        this.deliveryTimestamp = deliveryTimestamp;
    }


    /**
     * Gets the commitDetails value for this RateReplyDetail.
     * 
     * @return commitDetails
     */
    public com.fedex.rate.stub.CommitDetail[] getCommitDetails() {
        return commitDetails;
    }


    /**
     * Sets the commitDetails value for this RateReplyDetail.
     * 
     * @param commitDetails
     */
    public void setCommitDetails(com.fedex.rate.stub.CommitDetail[] commitDetails) {
        this.commitDetails = commitDetails;
    }

    public com.fedex.rate.stub.CommitDetail getCommitDetails(int i) {
        return this.commitDetails[i];
    }

    public void setCommitDetails(int i, com.fedex.rate.stub.CommitDetail _value) {
        this.commitDetails[i] = _value;
    }


    /**
     * Gets the destinationAirportId value for this RateReplyDetail.
     * 
     * @return destinationAirportId
     */
    public java.lang.String getDestinationAirportId() {
        return destinationAirportId;
    }


    /**
     * Sets the destinationAirportId value for this RateReplyDetail.
     * 
     * @param destinationAirportId
     */
    public void setDestinationAirportId(java.lang.String destinationAirportId) {
        this.destinationAirportId = destinationAirportId;
    }


    /**
     * Gets the ineligibleForMoneyBackGuarantee value for this RateReplyDetail.
     * 
     * @return ineligibleForMoneyBackGuarantee
     */
    public java.lang.Boolean getIneligibleForMoneyBackGuarantee() {
        return ineligibleForMoneyBackGuarantee;
    }


    /**
     * Sets the ineligibleForMoneyBackGuarantee value for this RateReplyDetail.
     * 
     * @param ineligibleForMoneyBackGuarantee
     */
    public void setIneligibleForMoneyBackGuarantee(java.lang.Boolean ineligibleForMoneyBackGuarantee) {
        this.ineligibleForMoneyBackGuarantee = ineligibleForMoneyBackGuarantee;
    }


    /**
     * Gets the originServiceArea value for this RateReplyDetail.
     * 
     * @return originServiceArea   * Not populated by FAST service in Jan07.
     */
    public java.lang.String getOriginServiceArea() {
        return originServiceArea;
    }


    /**
     * Sets the originServiceArea value for this RateReplyDetail.
     * 
     * @param originServiceArea   * Not populated by FAST service in Jan07.
     */
    public void setOriginServiceArea(java.lang.String originServiceArea) {
        this.originServiceArea = originServiceArea;
    }


    /**
     * Gets the destinationServiceArea value for this RateReplyDetail.
     * 
     * @return destinationServiceArea   * Not populated by FAST service in Jan07.
     */
    public java.lang.String getDestinationServiceArea() {
        return destinationServiceArea;
    }


    /**
     * Sets the destinationServiceArea value for this RateReplyDetail.
     * 
     * @param destinationServiceArea   * Not populated by FAST service in Jan07.
     */
    public void setDestinationServiceArea(java.lang.String destinationServiceArea) {
        this.destinationServiceArea = destinationServiceArea;
    }


    /**
     * Gets the transitTime value for this RateReplyDetail.
     * 
     * @return transitTime   * Not populated by FAST service in Jan07.
     */
    public com.fedex.rate.stub.TransitTimeType getTransitTime() {
        return transitTime;
    }


    /**
     * Sets the transitTime value for this RateReplyDetail.
     * 
     * @param transitTime   * Not populated by FAST service in Jan07.
     */
    public void setTransitTime(com.fedex.rate.stub.TransitTimeType transitTime) {
        this.transitTime = transitTime;
    }


    /**
     * Gets the maximumTransitTime value for this RateReplyDetail.
     * 
     * @return maximumTransitTime   * Maximum expected transit time
     */
    public com.fedex.rate.stub.TransitTimeType getMaximumTransitTime() {
        return maximumTransitTime;
    }


    /**
     * Sets the maximumTransitTime value for this RateReplyDetail.
     * 
     * @param maximumTransitTime   * Maximum expected transit time
     */
    public void setMaximumTransitTime(com.fedex.rate.stub.TransitTimeType maximumTransitTime) {
        this.maximumTransitTime = maximumTransitTime;
    }


    /**
     * Gets the signatureOption value for this RateReplyDetail.
     * 
     * @return signatureOption   * Not populated by FAST service in Jan07. Actual signature option
     * applied, to allow for cases in wihch the original value conflicted
     * with other service features in the shipment.
     */
    public com.fedex.rate.stub.SignatureOptionType getSignatureOption() {
        return signatureOption;
    }


    /**
     * Sets the signatureOption value for this RateReplyDetail.
     * 
     * @param signatureOption   * Not populated by FAST service in Jan07. Actual signature option
     * applied, to allow for cases in wihch the original value conflicted
     * with other service features in the shipment.
     */
    public void setSignatureOption(com.fedex.rate.stub.SignatureOptionType signatureOption) {
        this.signatureOption = signatureOption;
    }


    /**
     * Gets the actualRateType value for this RateReplyDetail.
     * 
     * @return actualRateType
     */
    public com.fedex.rate.stub.ReturnedRateType getActualRateType() {
        return actualRateType;
    }


    /**
     * Sets the actualRateType value for this RateReplyDetail.
     * 
     * @param actualRateType
     */
    public void setActualRateType(com.fedex.rate.stub.ReturnedRateType actualRateType) {
        this.actualRateType = actualRateType;
    }


    /**
     * Gets the ratedShipmentDetails value for this RateReplyDetail.
     * 
     * @return ratedShipmentDetails   * Each element contains all rate data for a single rate type.
     */
    public com.fedex.rate.stub.RatedShipmentDetail[] getRatedShipmentDetails() {
        return ratedShipmentDetails;
    }


    /**
     * Sets the ratedShipmentDetails value for this RateReplyDetail.
     * 
     * @param ratedShipmentDetails   * Each element contains all rate data for a single rate type.
     */
    public void setRatedShipmentDetails(com.fedex.rate.stub.RatedShipmentDetail[] ratedShipmentDetails) {
        this.ratedShipmentDetails = ratedShipmentDetails;
    }

    public com.fedex.rate.stub.RatedShipmentDetail getRatedShipmentDetails(int i) {
        return this.ratedShipmentDetails[i];
    }

    public void setRatedShipmentDetails(int i, com.fedex.rate.stub.RatedShipmentDetail _value) {
        this.ratedShipmentDetails[i] = _value;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof RateReplyDetail)) return false;
        RateReplyDetail other = (RateReplyDetail) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.serviceType==null && other.getServiceType()==null) || 
             (this.serviceType!=null &&
              this.serviceType.equals(other.getServiceType()))) &&
            ((this.serviceDescription==null && other.getServiceDescription()==null) || 
             (this.serviceDescription!=null &&
              this.serviceDescription.equals(other.getServiceDescription()))) &&
            ((this.packagingType==null && other.getPackagingType()==null) || 
             (this.packagingType!=null &&
              this.packagingType.equals(other.getPackagingType()))) &&
            ((this.appliedOptions==null && other.getAppliedOptions()==null) || 
             (this.appliedOptions!=null &&
              java.util.Arrays.equals(this.appliedOptions, other.getAppliedOptions()))) &&
            ((this.appliedSubOptions==null && other.getAppliedSubOptions()==null) || 
             (this.appliedSubOptions!=null &&
              this.appliedSubOptions.equals(other.getAppliedSubOptions()))) &&
            ((this.deliveryStation==null && other.getDeliveryStation()==null) || 
             (this.deliveryStation!=null &&
              this.deliveryStation.equals(other.getDeliveryStation()))) &&
            ((this.deliveryDayOfWeek==null && other.getDeliveryDayOfWeek()==null) || 
             (this.deliveryDayOfWeek!=null &&
              this.deliveryDayOfWeek.equals(other.getDeliveryDayOfWeek()))) &&
            ((this.deliveryTimestamp==null && other.getDeliveryTimestamp()==null) || 
             (this.deliveryTimestamp!=null &&
              this.deliveryTimestamp.equals(other.getDeliveryTimestamp()))) &&
            ((this.commitDetails==null && other.getCommitDetails()==null) || 
             (this.commitDetails!=null &&
              java.util.Arrays.equals(this.commitDetails, other.getCommitDetails()))) &&
            ((this.destinationAirportId==null && other.getDestinationAirportId()==null) || 
             (this.destinationAirportId!=null &&
              this.destinationAirportId.equals(other.getDestinationAirportId()))) &&
            ((this.ineligibleForMoneyBackGuarantee==null && other.getIneligibleForMoneyBackGuarantee()==null) || 
             (this.ineligibleForMoneyBackGuarantee!=null &&
              this.ineligibleForMoneyBackGuarantee.equals(other.getIneligibleForMoneyBackGuarantee()))) &&
            ((this.originServiceArea==null && other.getOriginServiceArea()==null) || 
             (this.originServiceArea!=null &&
              this.originServiceArea.equals(other.getOriginServiceArea()))) &&
            ((this.destinationServiceArea==null && other.getDestinationServiceArea()==null) || 
             (this.destinationServiceArea!=null &&
              this.destinationServiceArea.equals(other.getDestinationServiceArea()))) &&
            ((this.transitTime==null && other.getTransitTime()==null) || 
             (this.transitTime!=null &&
              this.transitTime.equals(other.getTransitTime()))) &&
            ((this.maximumTransitTime==null && other.getMaximumTransitTime()==null) || 
             (this.maximumTransitTime!=null &&
              this.maximumTransitTime.equals(other.getMaximumTransitTime()))) &&
            ((this.signatureOption==null && other.getSignatureOption()==null) || 
             (this.signatureOption!=null &&
              this.signatureOption.equals(other.getSignatureOption()))) &&
            ((this.actualRateType==null && other.getActualRateType()==null) || 
             (this.actualRateType!=null &&
              this.actualRateType.equals(other.getActualRateType()))) &&
            ((this.ratedShipmentDetails==null && other.getRatedShipmentDetails()==null) || 
             (this.ratedShipmentDetails!=null &&
              java.util.Arrays.equals(this.ratedShipmentDetails, other.getRatedShipmentDetails())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getServiceType() != null) {
            _hashCode += getServiceType().hashCode();
        }
        if (getServiceDescription() != null) {
            _hashCode += getServiceDescription().hashCode();
        }
        if (getPackagingType() != null) {
            _hashCode += getPackagingType().hashCode();
        }
        if (getAppliedOptions() != null) {
            for (int i=0;
                 i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy