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

com.fedex.ship.TrackRequest Maven / Gradle / Ivy

The newest version!
/**
 * TrackRequest.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;

public class TrackRequest  implements java.io.Serializable {
    /* Descriptive data to be used in authentication of the sender's
     * identity (and right to use FedEx web services). */
    private com.fedex.ship.WebAuthenticationDetail webAuthenticationDetail;

    /* Descriptive data identifying the client submitting the transaction. */
    private com.fedex.ship.ClientDetail clientDetail;

    /* Contains a free form field that is echoed back in the reply
     * to match requests with replies and data that governs the data payload
     * language/translations. */
    private com.fedex.ship.TransactionDetail transactionDetail;

    /* The version of the request being used. */
    private com.fedex.ship.VersionId version;

    /* Specifies the details needed to select the shipment being requested
     * to be tracked. */
    private com.fedex.ship.TrackSelectionDetail[] selectionDetails;

    /* The customer can specify a desired time out value for this
     * particular transaction. */
    private org.apache.axis.types.NonNegativeInteger transactionTimeOutValueInMilliseconds;

    private com.fedex.ship.TrackRequestProcessingOptionType[] processingOptions;

    public TrackRequest() {
    }

    public TrackRequest(
           com.fedex.ship.WebAuthenticationDetail webAuthenticationDetail,
           com.fedex.ship.ClientDetail clientDetail,
           com.fedex.ship.TransactionDetail transactionDetail,
           com.fedex.ship.VersionId version,
           com.fedex.ship.TrackSelectionDetail[] selectionDetails,
           org.apache.axis.types.NonNegativeInteger transactionTimeOutValueInMilliseconds,
           com.fedex.ship.TrackRequestProcessingOptionType[] processingOptions) {
           this.webAuthenticationDetail = webAuthenticationDetail;
           this.clientDetail = clientDetail;
           this.transactionDetail = transactionDetail;
           this.version = version;
           this.selectionDetails = selectionDetails;
           this.transactionTimeOutValueInMilliseconds = transactionTimeOutValueInMilliseconds;
           this.processingOptions = processingOptions;
    }


    /**
     * Gets the webAuthenticationDetail value for this TrackRequest.
     * 
     * @return webAuthenticationDetail   * Descriptive data to be used in authentication of the sender's
     * identity (and right to use FedEx web services).
     */
    public com.fedex.ship.WebAuthenticationDetail getWebAuthenticationDetail() {
        return webAuthenticationDetail;
    }


    /**
     * Sets the webAuthenticationDetail value for this TrackRequest.
     * 
     * @param webAuthenticationDetail   * Descriptive data to be used in authentication of the sender's
     * identity (and right to use FedEx web services).
     */
    public void setWebAuthenticationDetail(com.fedex.ship.WebAuthenticationDetail webAuthenticationDetail) {
        this.webAuthenticationDetail = webAuthenticationDetail;
    }


    /**
     * Gets the clientDetail value for this TrackRequest.
     * 
     * @return clientDetail   * Descriptive data identifying the client submitting the transaction.
     */
    public com.fedex.ship.ClientDetail getClientDetail() {
        return clientDetail;
    }


    /**
     * Sets the clientDetail value for this TrackRequest.
     * 
     * @param clientDetail   * Descriptive data identifying the client submitting the transaction.
     */
    public void setClientDetail(com.fedex.ship.ClientDetail clientDetail) {
        this.clientDetail = clientDetail;
    }


    /**
     * Gets the transactionDetail value for this TrackRequest.
     * 
     * @return transactionDetail   * Contains a free form field that is echoed back in the reply
     * to match requests with replies and data that governs the data payload
     * language/translations.
     */
    public com.fedex.ship.TransactionDetail getTransactionDetail() {
        return transactionDetail;
    }


    /**
     * Sets the transactionDetail value for this TrackRequest.
     * 
     * @param transactionDetail   * Contains a free form field that is echoed back in the reply
     * to match requests with replies and data that governs the data payload
     * language/translations.
     */
    public void setTransactionDetail(com.fedex.ship.TransactionDetail transactionDetail) {
        this.transactionDetail = transactionDetail;
    }


    /**
     * Gets the version value for this TrackRequest.
     * 
     * @return version   * The version of the request being used.
     */
    public com.fedex.ship.VersionId getVersion() {
        return version;
    }


    /**
     * Sets the version value for this TrackRequest.
     * 
     * @param version   * The version of the request being used.
     */
    public void setVersion(com.fedex.ship.VersionId version) {
        this.version = version;
    }


    /**
     * Gets the selectionDetails value for this TrackRequest.
     * 
     * @return selectionDetails   * Specifies the details needed to select the shipment being requested
     * to be tracked.
     */
    public com.fedex.ship.TrackSelectionDetail[] getSelectionDetails() {
        return selectionDetails;
    }


    /**
     * Sets the selectionDetails value for this TrackRequest.
     * 
     * @param selectionDetails   * Specifies the details needed to select the shipment being requested
     * to be tracked.
     */
    public void setSelectionDetails(com.fedex.ship.TrackSelectionDetail[] selectionDetails) {
        this.selectionDetails = selectionDetails;
    }

    public com.fedex.ship.TrackSelectionDetail getSelectionDetails(int i) {
        return this.selectionDetails[i];
    }

    public void setSelectionDetails(int i, com.fedex.ship.TrackSelectionDetail _value) {
        this.selectionDetails[i] = _value;
    }


    /**
     * Gets the transactionTimeOutValueInMilliseconds value for this TrackRequest.
     * 
     * @return transactionTimeOutValueInMilliseconds   * The customer can specify a desired time out value for this
     * particular transaction.
     */
    public org.apache.axis.types.NonNegativeInteger getTransactionTimeOutValueInMilliseconds() {
        return transactionTimeOutValueInMilliseconds;
    }


    /**
     * Sets the transactionTimeOutValueInMilliseconds value for this TrackRequest.
     * 
     * @param transactionTimeOutValueInMilliseconds   * The customer can specify a desired time out value for this
     * particular transaction.
     */
    public void setTransactionTimeOutValueInMilliseconds(org.apache.axis.types.NonNegativeInteger transactionTimeOutValueInMilliseconds) {
        this.transactionTimeOutValueInMilliseconds = transactionTimeOutValueInMilliseconds;
    }


    /**
     * Gets the processingOptions value for this TrackRequest.
     * 
     * @return processingOptions
     */
    public com.fedex.ship.TrackRequestProcessingOptionType[] getProcessingOptions() {
        return processingOptions;
    }


    /**
     * Sets the processingOptions value for this TrackRequest.
     * 
     * @param processingOptions
     */
    public void setProcessingOptions(com.fedex.ship.TrackRequestProcessingOptionType[] processingOptions) {
        this.processingOptions = processingOptions;
    }

    public com.fedex.ship.TrackRequestProcessingOptionType getProcessingOptions(int i) {
        return this.processingOptions[i];
    }

    public void setProcessingOptions(int i, com.fedex.ship.TrackRequestProcessingOptionType _value) {
        this.processingOptions[i] = _value;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof TrackRequest)) return false;
        TrackRequest other = (TrackRequest) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.webAuthenticationDetail==null && other.getWebAuthenticationDetail()==null) || 
             (this.webAuthenticationDetail!=null &&
              this.webAuthenticationDetail.equals(other.getWebAuthenticationDetail()))) &&
            ((this.clientDetail==null && other.getClientDetail()==null) || 
             (this.clientDetail!=null &&
              this.clientDetail.equals(other.getClientDetail()))) &&
            ((this.transactionDetail==null && other.getTransactionDetail()==null) || 
             (this.transactionDetail!=null &&
              this.transactionDetail.equals(other.getTransactionDetail()))) &&
            ((this.version==null && other.getVersion()==null) || 
             (this.version!=null &&
              this.version.equals(other.getVersion()))) &&
            ((this.selectionDetails==null && other.getSelectionDetails()==null) || 
             (this.selectionDetails!=null &&
              java.util.Arrays.equals(this.selectionDetails, other.getSelectionDetails()))) &&
            ((this.transactionTimeOutValueInMilliseconds==null && other.getTransactionTimeOutValueInMilliseconds()==null) || 
             (this.transactionTimeOutValueInMilliseconds!=null &&
              this.transactionTimeOutValueInMilliseconds.equals(other.getTransactionTimeOutValueInMilliseconds()))) &&
            ((this.processingOptions==null && other.getProcessingOptions()==null) || 
             (this.processingOptions!=null &&
              java.util.Arrays.equals(this.processingOptions, other.getProcessingOptions())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getWebAuthenticationDetail() != null) {
            _hashCode += getWebAuthenticationDetail().hashCode();
        }
        if (getClientDetail() != null) {
            _hashCode += getClientDetail().hashCode();
        }
        if (getTransactionDetail() != null) {
            _hashCode += getTransactionDetail().hashCode();
        }
        if (getVersion() != null) {
            _hashCode += getVersion().hashCode();
        }
        if (getSelectionDetails() != null) {
            for (int i=0;
                 i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy