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

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

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

    private com.fedex.ship.ClientDetail clientDetail;

    private com.fedex.ship.TransactionDetail transactionDetail;

    private com.fedex.ship.VersionId version;

    private com.fedex.ship.TrackSelectionDetail[] selectionDetails;

    private com.fedex.ship.TrackingDocumentSpecification trackingDocumentSpecification;

    public GetTrackingDocumentsRequest() {
    }

    public GetTrackingDocumentsRequest(
           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,
           com.fedex.ship.TrackingDocumentSpecification trackingDocumentSpecification) {
           this.webAuthenticationDetail = webAuthenticationDetail;
           this.clientDetail = clientDetail;
           this.transactionDetail = transactionDetail;
           this.version = version;
           this.selectionDetails = selectionDetails;
           this.trackingDocumentSpecification = trackingDocumentSpecification;
    }


    /**
     * Gets the webAuthenticationDetail value for this GetTrackingDocumentsRequest.
     * 
     * @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 GetTrackingDocumentsRequest.
     * 
     * @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 GetTrackingDocumentsRequest.
     * 
     * @return clientDetail
     */
    public com.fedex.ship.ClientDetail getClientDetail() {
        return clientDetail;
    }


    /**
     * Sets the clientDetail value for this GetTrackingDocumentsRequest.
     * 
     * @param clientDetail
     */
    public void setClientDetail(com.fedex.ship.ClientDetail clientDetail) {
        this.clientDetail = clientDetail;
    }


    /**
     * Gets the transactionDetail value for this GetTrackingDocumentsRequest.
     * 
     * @return transactionDetail
     */
    public com.fedex.ship.TransactionDetail getTransactionDetail() {
        return transactionDetail;
    }


    /**
     * Sets the transactionDetail value for this GetTrackingDocumentsRequest.
     * 
     * @param transactionDetail
     */
    public void setTransactionDetail(com.fedex.ship.TransactionDetail transactionDetail) {
        this.transactionDetail = transactionDetail;
    }


    /**
     * Gets the version value for this GetTrackingDocumentsRequest.
     * 
     * @return version
     */
    public com.fedex.ship.VersionId getVersion() {
        return version;
    }


    /**
     * Sets the version value for this GetTrackingDocumentsRequest.
     * 
     * @param version
     */
    public void setVersion(com.fedex.ship.VersionId version) {
        this.version = version;
    }


    /**
     * Gets the selectionDetails value for this GetTrackingDocumentsRequest.
     * 
     * @return selectionDetails
     */
    public com.fedex.ship.TrackSelectionDetail[] getSelectionDetails() {
        return selectionDetails;
    }


    /**
     * Sets the selectionDetails value for this GetTrackingDocumentsRequest.
     * 
     * @param selectionDetails
     */
    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 trackingDocumentSpecification value for this GetTrackingDocumentsRequest.
     * 
     * @return trackingDocumentSpecification
     */
    public com.fedex.ship.TrackingDocumentSpecification getTrackingDocumentSpecification() {
        return trackingDocumentSpecification;
    }


    /**
     * Sets the trackingDocumentSpecification value for this GetTrackingDocumentsRequest.
     * 
     * @param trackingDocumentSpecification
     */
    public void setTrackingDocumentSpecification(com.fedex.ship.TrackingDocumentSpecification trackingDocumentSpecification) {
        this.trackingDocumentSpecification = trackingDocumentSpecification;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof GetTrackingDocumentsRequest)) return false;
        GetTrackingDocumentsRequest other = (GetTrackingDocumentsRequest) 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.trackingDocumentSpecification==null && other.getTrackingDocumentSpecification()==null) || 
             (this.trackingDocumentSpecification!=null &&
              this.trackingDocumentSpecification.equals(other.getTrackingDocumentSpecification())));
        __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