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

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

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


/**
 * Information about the transit time and delivery commitment date
 * and time.
 */
public class CommitDetail  implements java.io.Serializable {
    /* The Commodity applicable to this commitment. */
    private java.lang.String commodityName;

    /* 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;

    /* 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 com.fedex.rate.stub.SignatureOptionDetail derivedShipmentSignatureOption;

    private com.fedex.rate.stub.SignatureOptionDetail[] derivedPackageSignatureOptions;

    private com.fedex.rate.stub.CleansedAddressAndLocationDetail derivedOriginDetail;

    private com.fedex.rate.stub.CleansedAddressAndLocationDetail derivedDestinationDetail;

    /* THe delivery commitment date/time. Express Only. */
    private java.util.Calendar commitTimestamp;

    /* The delivery commitment day of the week. */
    private com.fedex.rate.stub.DayOfWeekType dayOfWeek;

    /* The number of transit days; applies to Ground and LTL Freight;
     * indicates minimum transit time for SmartPost. */
    private com.fedex.rate.stub.TransitTimeType transitTime;

    /* Maximum number of transit days, for SmartPost shipments. */
    private com.fedex.rate.stub.TransitTimeType maximumTransitTime;

    /* The service area code for the destination of this shipment.
     * Express only. */
    private java.lang.String destinationServiceArea;

    /* The address of the broker to be used for this shipment. */
    private com.fedex.rate.stub.Address brokerAddress;

    /* The FedEx location identifier for the broker. */
    private java.lang.String brokerLocationId;

    /* The delivery commitment date/time the shipment will arrive
     * at the border. */
    private java.util.Calendar brokerCommitTimestamp;

    /* The delivery commitment day of the week the shipment will arrive
     * at the border. */
    private com.fedex.rate.stub.DayOfWeekType brokerCommitDayOfWeek;

    /* The number of days it will take for the shipment to make it
     * from broker to destination */
    private org.apache.axis.types.NonNegativeInteger brokerToDestinationDays;

    /* The delivery commitment date for shipment served by GSP (Global
     * Service Provider) */
    private java.util.Date proofOfDeliveryDate;

    /* The delivery commitment day of the week for the shipment served
     * by GSP (Global Service Provider) */
    private com.fedex.rate.stub.DayOfWeekType proofOfDeliveryDayOfWeek;

    /* Messages concerning the ability to provide an accurate delivery
     * commitment on an International commit quote. These could be messages
     * providing information about why a commitment could not be returned
     * or a successful message such as "REQUEST COMPLETED" */
    private com.fedex.rate.stub.Notification[] commitMessages;

    /* Messages concerning the delivery commitment on an International
     * commit quote such as "0:00 A.M. IF NO CUSTOMS DELAY" */
    private java.lang.String[] deliveryMessages;

    /* Information about why a shipment delivery is delayed and at
     * what level (country/service etc.). */
    private com.fedex.rate.stub.DelayDetail[] delayDetails;

    private com.fedex.rate.stub.InternationalDocumentContentType documentContent;

    /* Required documentation for this shipment. */
    private com.fedex.rate.stub.RequiredShippingDocumentType[] requiredDocuments;

    /* Freight origin and destination city center information and
     * total distance between origin and destination city centers. */
    private com.fedex.rate.stub.FreightCommitDetail freightCommitDetail;

    public CommitDetail() {
    }

    public CommitDetail(
           java.lang.String commodityName,
           com.fedex.rate.stub.ServiceType serviceType,
           com.fedex.rate.stub.ServiceDescription serviceDescription,
           com.fedex.rate.stub.ServiceOptionType[] appliedOptions,
           com.fedex.rate.stub.ServiceSubOptionDetail appliedSubOptions,
           com.fedex.rate.stub.SignatureOptionDetail derivedShipmentSignatureOption,
           com.fedex.rate.stub.SignatureOptionDetail[] derivedPackageSignatureOptions,
           com.fedex.rate.stub.CleansedAddressAndLocationDetail derivedOriginDetail,
           com.fedex.rate.stub.CleansedAddressAndLocationDetail derivedDestinationDetail,
           java.util.Calendar commitTimestamp,
           com.fedex.rate.stub.DayOfWeekType dayOfWeek,
           com.fedex.rate.stub.TransitTimeType transitTime,
           com.fedex.rate.stub.TransitTimeType maximumTransitTime,
           java.lang.String destinationServiceArea,
           com.fedex.rate.stub.Address brokerAddress,
           java.lang.String brokerLocationId,
           java.util.Calendar brokerCommitTimestamp,
           com.fedex.rate.stub.DayOfWeekType brokerCommitDayOfWeek,
           org.apache.axis.types.NonNegativeInteger brokerToDestinationDays,
           java.util.Date proofOfDeliveryDate,
           com.fedex.rate.stub.DayOfWeekType proofOfDeliveryDayOfWeek,
           com.fedex.rate.stub.Notification[] commitMessages,
           java.lang.String[] deliveryMessages,
           com.fedex.rate.stub.DelayDetail[] delayDetails,
           com.fedex.rate.stub.InternationalDocumentContentType documentContent,
           com.fedex.rate.stub.RequiredShippingDocumentType[] requiredDocuments,
           com.fedex.rate.stub.FreightCommitDetail freightCommitDetail) {
           this.commodityName = commodityName;
           this.serviceType = serviceType;
           this.serviceDescription = serviceDescription;
           this.appliedOptions = appliedOptions;
           this.appliedSubOptions = appliedSubOptions;
           this.derivedShipmentSignatureOption = derivedShipmentSignatureOption;
           this.derivedPackageSignatureOptions = derivedPackageSignatureOptions;
           this.derivedOriginDetail = derivedOriginDetail;
           this.derivedDestinationDetail = derivedDestinationDetail;
           this.commitTimestamp = commitTimestamp;
           this.dayOfWeek = dayOfWeek;
           this.transitTime = transitTime;
           this.maximumTransitTime = maximumTransitTime;
           this.destinationServiceArea = destinationServiceArea;
           this.brokerAddress = brokerAddress;
           this.brokerLocationId = brokerLocationId;
           this.brokerCommitTimestamp = brokerCommitTimestamp;
           this.brokerCommitDayOfWeek = brokerCommitDayOfWeek;
           this.brokerToDestinationDays = brokerToDestinationDays;
           this.proofOfDeliveryDate = proofOfDeliveryDate;
           this.proofOfDeliveryDayOfWeek = proofOfDeliveryDayOfWeek;
           this.commitMessages = commitMessages;
           this.deliveryMessages = deliveryMessages;
           this.delayDetails = delayDetails;
           this.documentContent = documentContent;
           this.requiredDocuments = requiredDocuments;
           this.freightCommitDetail = freightCommitDetail;
    }


    /**
     * Gets the commodityName value for this CommitDetail.
     * 
     * @return commodityName   * The Commodity applicable to this commitment.
     */
    public java.lang.String getCommodityName() {
        return commodityName;
    }


    /**
     * Sets the commodityName value for this CommitDetail.
     * 
     * @param commodityName   * The Commodity applicable to this commitment.
     */
    public void setCommodityName(java.lang.String commodityName) {
        this.commodityName = commodityName;
    }


    /**
     * Gets the serviceType value for this CommitDetail.
     * 
     * @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 CommitDetail.
     * 
     * @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 CommitDetail.
     * 
     * @return serviceDescription   * Descriptions and alternate identifiers for a service.
     */
    public com.fedex.rate.stub.ServiceDescription getServiceDescription() {
        return serviceDescription;
    }


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


    /**
     * Gets the appliedOptions value for this CommitDetail.
     * 
     * @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 CommitDetail.
     * 
     * @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 CommitDetail.
     * 
     * @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 CommitDetail.
     * 
     * @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 derivedShipmentSignatureOption value for this CommitDetail.
     * 
     * @return derivedShipmentSignatureOption
     */
    public com.fedex.rate.stub.SignatureOptionDetail getDerivedShipmentSignatureOption() {
        return derivedShipmentSignatureOption;
    }


    /**
     * Sets the derivedShipmentSignatureOption value for this CommitDetail.
     * 
     * @param derivedShipmentSignatureOption
     */
    public void setDerivedShipmentSignatureOption(com.fedex.rate.stub.SignatureOptionDetail derivedShipmentSignatureOption) {
        this.derivedShipmentSignatureOption = derivedShipmentSignatureOption;
    }


    /**
     * Gets the derivedPackageSignatureOptions value for this CommitDetail.
     * 
     * @return derivedPackageSignatureOptions
     */
    public com.fedex.rate.stub.SignatureOptionDetail[] getDerivedPackageSignatureOptions() {
        return derivedPackageSignatureOptions;
    }


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

    public com.fedex.rate.stub.SignatureOptionDetail getDerivedPackageSignatureOptions(int i) {
        return this.derivedPackageSignatureOptions[i];
    }

    public void setDerivedPackageSignatureOptions(int i, com.fedex.rate.stub.SignatureOptionDetail _value) {
        this.derivedPackageSignatureOptions[i] = _value;
    }


    /**
     * Gets the derivedOriginDetail value for this CommitDetail.
     * 
     * @return derivedOriginDetail
     */
    public com.fedex.rate.stub.CleansedAddressAndLocationDetail getDerivedOriginDetail() {
        return derivedOriginDetail;
    }


    /**
     * Sets the derivedOriginDetail value for this CommitDetail.
     * 
     * @param derivedOriginDetail
     */
    public void setDerivedOriginDetail(com.fedex.rate.stub.CleansedAddressAndLocationDetail derivedOriginDetail) {
        this.derivedOriginDetail = derivedOriginDetail;
    }


    /**
     * Gets the derivedDestinationDetail value for this CommitDetail.
     * 
     * @return derivedDestinationDetail
     */
    public com.fedex.rate.stub.CleansedAddressAndLocationDetail getDerivedDestinationDetail() {
        return derivedDestinationDetail;
    }


    /**
     * Sets the derivedDestinationDetail value for this CommitDetail.
     * 
     * @param derivedDestinationDetail
     */
    public void setDerivedDestinationDetail(com.fedex.rate.stub.CleansedAddressAndLocationDetail derivedDestinationDetail) {
        this.derivedDestinationDetail = derivedDestinationDetail;
    }


    /**
     * Gets the commitTimestamp value for this CommitDetail.
     * 
     * @return commitTimestamp   * THe delivery commitment date/time. Express Only.
     */
    public java.util.Calendar getCommitTimestamp() {
        return commitTimestamp;
    }


    /**
     * Sets the commitTimestamp value for this CommitDetail.
     * 
     * @param commitTimestamp   * THe delivery commitment date/time. Express Only.
     */
    public void setCommitTimestamp(java.util.Calendar commitTimestamp) {
        this.commitTimestamp = commitTimestamp;
    }


    /**
     * Gets the dayOfWeek value for this CommitDetail.
     * 
     * @return dayOfWeek   * The delivery commitment day of the week.
     */
    public com.fedex.rate.stub.DayOfWeekType getDayOfWeek() {
        return dayOfWeek;
    }


    /**
     * Sets the dayOfWeek value for this CommitDetail.
     * 
     * @param dayOfWeek   * The delivery commitment day of the week.
     */
    public void setDayOfWeek(com.fedex.rate.stub.DayOfWeekType dayOfWeek) {
        this.dayOfWeek = dayOfWeek;
    }


    /**
     * Gets the transitTime value for this CommitDetail.
     * 
     * @return transitTime   * The number of transit days; applies to Ground and LTL Freight;
     * indicates minimum transit time for SmartPost.
     */
    public com.fedex.rate.stub.TransitTimeType getTransitTime() {
        return transitTime;
    }


    /**
     * Sets the transitTime value for this CommitDetail.
     * 
     * @param transitTime   * The number of transit days; applies to Ground and LTL Freight;
     * indicates minimum transit time for SmartPost.
     */
    public void setTransitTime(com.fedex.rate.stub.TransitTimeType transitTime) {
        this.transitTime = transitTime;
    }


    /**
     * Gets the maximumTransitTime value for this CommitDetail.
     * 
     * @return maximumTransitTime   * Maximum number of transit days, for SmartPost shipments.
     */
    public com.fedex.rate.stub.TransitTimeType getMaximumTransitTime() {
        return maximumTransitTime;
    }


    /**
     * Sets the maximumTransitTime value for this CommitDetail.
     * 
     * @param maximumTransitTime   * Maximum number of transit days, for SmartPost shipments.
     */
    public void setMaximumTransitTime(com.fedex.rate.stub.TransitTimeType maximumTransitTime) {
        this.maximumTransitTime = maximumTransitTime;
    }


    /**
     * Gets the destinationServiceArea value for this CommitDetail.
     * 
     * @return destinationServiceArea   * The service area code for the destination of this shipment.
     * Express only.
     */
    public java.lang.String getDestinationServiceArea() {
        return destinationServiceArea;
    }


    /**
     * Sets the destinationServiceArea value for this CommitDetail.
     * 
     * @param destinationServiceArea   * The service area code for the destination of this shipment.
     * Express only.
     */
    public void setDestinationServiceArea(java.lang.String destinationServiceArea) {
        this.destinationServiceArea = destinationServiceArea;
    }


    /**
     * Gets the brokerAddress value for this CommitDetail.
     * 
     * @return brokerAddress   * The address of the broker to be used for this shipment.
     */
    public com.fedex.rate.stub.Address getBrokerAddress() {
        return brokerAddress;
    }


    /**
     * Sets the brokerAddress value for this CommitDetail.
     * 
     * @param brokerAddress   * The address of the broker to be used for this shipment.
     */
    public void setBrokerAddress(com.fedex.rate.stub.Address brokerAddress) {
        this.brokerAddress = brokerAddress;
    }


    /**
     * Gets the brokerLocationId value for this CommitDetail.
     * 
     * @return brokerLocationId   * The FedEx location identifier for the broker.
     */
    public java.lang.String getBrokerLocationId() {
        return brokerLocationId;
    }


    /**
     * Sets the brokerLocationId value for this CommitDetail.
     * 
     * @param brokerLocationId   * The FedEx location identifier for the broker.
     */
    public void setBrokerLocationId(java.lang.String brokerLocationId) {
        this.brokerLocationId = brokerLocationId;
    }


    /**
     * Gets the brokerCommitTimestamp value for this CommitDetail.
     * 
     * @return brokerCommitTimestamp   * The delivery commitment date/time the shipment will arrive
     * at the border.
     */
    public java.util.Calendar getBrokerCommitTimestamp() {
        return brokerCommitTimestamp;
    }


    /**
     * Sets the brokerCommitTimestamp value for this CommitDetail.
     * 
     * @param brokerCommitTimestamp   * The delivery commitment date/time the shipment will arrive
     * at the border.
     */
    public void setBrokerCommitTimestamp(java.util.Calendar brokerCommitTimestamp) {
        this.brokerCommitTimestamp = brokerCommitTimestamp;
    }


    /**
     * Gets the brokerCommitDayOfWeek value for this CommitDetail.
     * 
     * @return brokerCommitDayOfWeek   * The delivery commitment day of the week the shipment will arrive
     * at the border.
     */
    public com.fedex.rate.stub.DayOfWeekType getBrokerCommitDayOfWeek() {
        return brokerCommitDayOfWeek;
    }


    /**
     * Sets the brokerCommitDayOfWeek value for this CommitDetail.
     * 
     * @param brokerCommitDayOfWeek   * The delivery commitment day of the week the shipment will arrive
     * at the border.
     */
    public void setBrokerCommitDayOfWeek(com.fedex.rate.stub.DayOfWeekType brokerCommitDayOfWeek) {
        this.brokerCommitDayOfWeek = brokerCommitDayOfWeek;
    }


    /**
     * Gets the brokerToDestinationDays value for this CommitDetail.
     * 
     * @return brokerToDestinationDays   * The number of days it will take for the shipment to make it
     * from broker to destination
     */
    public org.apache.axis.types.NonNegativeInteger getBrokerToDestinationDays() {
        return brokerToDestinationDays;
    }


    /**
     * Sets the brokerToDestinationDays value for this CommitDetail.
     * 
     * @param brokerToDestinationDays   * The number of days it will take for the shipment to make it
     * from broker to destination
     */
    public void setBrokerToDestinationDays(org.apache.axis.types.NonNegativeInteger brokerToDestinationDays) {
        this.brokerToDestinationDays = brokerToDestinationDays;
    }


    /**
     * Gets the proofOfDeliveryDate value for this CommitDetail.
     * 
     * @return proofOfDeliveryDate   * The delivery commitment date for shipment served by GSP (Global
     * Service Provider)
     */
    public java.util.Date getProofOfDeliveryDate() {
        return proofOfDeliveryDate;
    }


    /**
     * Sets the proofOfDeliveryDate value for this CommitDetail.
     * 
     * @param proofOfDeliveryDate   * The delivery commitment date for shipment served by GSP (Global
     * Service Provider)
     */
    public void setProofOfDeliveryDate(java.util.Date proofOfDeliveryDate) {
        this.proofOfDeliveryDate = proofOfDeliveryDate;
    }


    /**
     * Gets the proofOfDeliveryDayOfWeek value for this CommitDetail.
     * 
     * @return proofOfDeliveryDayOfWeek   * The delivery commitment day of the week for the shipment served
     * by GSP (Global Service Provider)
     */
    public com.fedex.rate.stub.DayOfWeekType getProofOfDeliveryDayOfWeek() {
        return proofOfDeliveryDayOfWeek;
    }


    /**
     * Sets the proofOfDeliveryDayOfWeek value for this CommitDetail.
     * 
     * @param proofOfDeliveryDayOfWeek   * The delivery commitment day of the week for the shipment served
     * by GSP (Global Service Provider)
     */
    public void setProofOfDeliveryDayOfWeek(com.fedex.rate.stub.DayOfWeekType proofOfDeliveryDayOfWeek) {
        this.proofOfDeliveryDayOfWeek = proofOfDeliveryDayOfWeek;
    }


    /**
     * Gets the commitMessages value for this CommitDetail.
     * 
     * @return commitMessages   * Messages concerning the ability to provide an accurate delivery
     * commitment on an International commit quote. These could be messages
     * providing information about why a commitment could not be returned
     * or a successful message such as "REQUEST COMPLETED"
     */
    public com.fedex.rate.stub.Notification[] getCommitMessages() {
        return commitMessages;
    }


    /**
     * Sets the commitMessages value for this CommitDetail.
     * 
     * @param commitMessages   * Messages concerning the ability to provide an accurate delivery
     * commitment on an International commit quote. These could be messages
     * providing information about why a commitment could not be returned
     * or a successful message such as "REQUEST COMPLETED"
     */
    public void setCommitMessages(com.fedex.rate.stub.Notification[] commitMessages) {
        this.commitMessages = commitMessages;
    }

    public com.fedex.rate.stub.Notification getCommitMessages(int i) {
        return this.commitMessages[i];
    }

    public void setCommitMessages(int i, com.fedex.rate.stub.Notification _value) {
        this.commitMessages[i] = _value;
    }


    /**
     * Gets the deliveryMessages value for this CommitDetail.
     * 
     * @return deliveryMessages   * Messages concerning the delivery commitment on an International
     * commit quote such as "0:00 A.M. IF NO CUSTOMS DELAY"
     */
    public java.lang.String[] getDeliveryMessages() {
        return deliveryMessages;
    }


    /**
     * Sets the deliveryMessages value for this CommitDetail.
     * 
     * @param deliveryMessages   * Messages concerning the delivery commitment on an International
     * commit quote such as "0:00 A.M. IF NO CUSTOMS DELAY"
     */
    public void setDeliveryMessages(java.lang.String[] deliveryMessages) {
        this.deliveryMessages = deliveryMessages;
    }

    public java.lang.String getDeliveryMessages(int i) {
        return this.deliveryMessages[i];
    }

    public void setDeliveryMessages(int i, java.lang.String _value) {
        this.deliveryMessages[i] = _value;
    }


    /**
     * Gets the delayDetails value for this CommitDetail.
     * 
     * @return delayDetails   * Information about why a shipment delivery is delayed and at
     * what level (country/service etc.).
     */
    public com.fedex.rate.stub.DelayDetail[] getDelayDetails() {
        return delayDetails;
    }


    /**
     * Sets the delayDetails value for this CommitDetail.
     * 
     * @param delayDetails   * Information about why a shipment delivery is delayed and at
     * what level (country/service etc.).
     */
    public void setDelayDetails(com.fedex.rate.stub.DelayDetail[] delayDetails) {
        this.delayDetails = delayDetails;
    }

    public com.fedex.rate.stub.DelayDetail getDelayDetails(int i) {
        return this.delayDetails[i];
    }

    public void setDelayDetails(int i, com.fedex.rate.stub.DelayDetail _value) {
        this.delayDetails[i] = _value;
    }


    /**
     * Gets the documentContent value for this CommitDetail.
     * 
     * @return documentContent
     */
    public com.fedex.rate.stub.InternationalDocumentContentType getDocumentContent() {
        return documentContent;
    }


    /**
     * Sets the documentContent value for this CommitDetail.
     * 
     * @param documentContent
     */
    public void setDocumentContent(com.fedex.rate.stub.InternationalDocumentContentType documentContent) {
        this.documentContent = documentContent;
    }


    /**
     * Gets the requiredDocuments value for this CommitDetail.
     * 
     * @return requiredDocuments   * Required documentation for this shipment.
     */
    public com.fedex.rate.stub.RequiredShippingDocumentType[] getRequiredDocuments() {
        return requiredDocuments;
    }


    /**
     * Sets the requiredDocuments value for this CommitDetail.
     * 
     * @param requiredDocuments   * Required documentation for this shipment.
     */
    public void setRequiredDocuments(com.fedex.rate.stub.RequiredShippingDocumentType[] requiredDocuments) {
        this.requiredDocuments = requiredDocuments;
    }

    public com.fedex.rate.stub.RequiredShippingDocumentType getRequiredDocuments(int i) {
        return this.requiredDocuments[i];
    }

    public void setRequiredDocuments(int i, com.fedex.rate.stub.RequiredShippingDocumentType _value) {
        this.requiredDocuments[i] = _value;
    }


    /**
     * Gets the freightCommitDetail value for this CommitDetail.
     * 
     * @return freightCommitDetail   * Freight origin and destination city center information and
     * total distance between origin and destination city centers.
     */
    public com.fedex.rate.stub.FreightCommitDetail getFreightCommitDetail() {
        return freightCommitDetail;
    }


    /**
     * Sets the freightCommitDetail value for this CommitDetail.
     * 
     * @param freightCommitDetail   * Freight origin and destination city center information and
     * total distance between origin and destination city centers.
     */
    public void setFreightCommitDetail(com.fedex.rate.stub.FreightCommitDetail freightCommitDetail) {
        this.freightCommitDetail = freightCommitDetail;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof CommitDetail)) return false;
        CommitDetail other = (CommitDetail) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.commodityName==null && other.getCommodityName()==null) || 
             (this.commodityName!=null &&
              this.commodityName.equals(other.getCommodityName()))) &&
            ((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.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.derivedShipmentSignatureOption==null && other.getDerivedShipmentSignatureOption()==null) || 
             (this.derivedShipmentSignatureOption!=null &&
              this.derivedShipmentSignatureOption.equals(other.getDerivedShipmentSignatureOption()))) &&
            ((this.derivedPackageSignatureOptions==null && other.getDerivedPackageSignatureOptions()==null) || 
             (this.derivedPackageSignatureOptions!=null &&
              java.util.Arrays.equals(this.derivedPackageSignatureOptions, other.getDerivedPackageSignatureOptions()))) &&
            ((this.derivedOriginDetail==null && other.getDerivedOriginDetail()==null) || 
             (this.derivedOriginDetail!=null &&
              this.derivedOriginDetail.equals(other.getDerivedOriginDetail()))) &&
            ((this.derivedDestinationDetail==null && other.getDerivedDestinationDetail()==null) || 
             (this.derivedDestinationDetail!=null &&
              this.derivedDestinationDetail.equals(other.getDerivedDestinationDetail()))) &&
            ((this.commitTimestamp==null && other.getCommitTimestamp()==null) || 
             (this.commitTimestamp!=null &&
              this.commitTimestamp.equals(other.getCommitTimestamp()))) &&
            ((this.dayOfWeek==null && other.getDayOfWeek()==null) || 
             (this.dayOfWeek!=null &&
              this.dayOfWeek.equals(other.getDayOfWeek()))) &&
            ((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.destinationServiceArea==null && other.getDestinationServiceArea()==null) || 
             (this.destinationServiceArea!=null &&
              this.destinationServiceArea.equals(other.getDestinationServiceArea()))) &&
            ((this.brokerAddress==null && other.getBrokerAddress()==null) || 
             (this.brokerAddress!=null &&
              this.brokerAddress.equals(other.getBrokerAddress()))) &&
            ((this.brokerLocationId==null && other.getBrokerLocationId()==null) || 
             (this.brokerLocationId!=null &&
              this.brokerLocationId.equals(other.getBrokerLocationId()))) &&
            ((this.brokerCommitTimestamp==null && other.getBrokerCommitTimestamp()==null) || 
             (this.brokerCommitTimestamp!=null &&
              this.brokerCommitTimestamp.equals(other.getBrokerCommitTimestamp()))) &&
            ((this.brokerCommitDayOfWeek==null && other.getBrokerCommitDayOfWeek()==null) || 
             (this.brokerCommitDayOfWeek!=null &&
              this.brokerCommitDayOfWeek.equals(other.getBrokerCommitDayOfWeek()))) &&
            ((this.brokerToDestinationDays==null && other.getBrokerToDestinationDays()==null) || 
             (this.brokerToDestinationDays!=null &&
              this.brokerToDestinationDays.equals(other.getBrokerToDestinationDays()))) &&
            ((this.proofOfDeliveryDate==null && other.getProofOfDeliveryDate()==null) || 
             (this.proofOfDeliveryDate!=null &&
              this.proofOfDeliveryDate.equals(other.getProofOfDeliveryDate()))) &&
            ((this.proofOfDeliveryDayOfWeek==null && other.getProofOfDeliveryDayOfWeek()==null) || 
             (this.proofOfDeliveryDayOfWeek!=null &&
              this.proofOfDeliveryDayOfWeek.equals(other.getProofOfDeliveryDayOfWeek()))) &&
            ((this.commitMessages==null && other.getCommitMessages()==null) || 
             (this.commitMessages!=null &&
              java.util.Arrays.equals(this.commitMessages, other.getCommitMessages()))) &&
            ((this.deliveryMessages==null && other.getDeliveryMessages()==null) || 
             (this.deliveryMessages!=null &&
              java.util.Arrays.equals(this.deliveryMessages, other.getDeliveryMessages()))) &&
            ((this.delayDetails==null && other.getDelayDetails()==null) || 
             (this.delayDetails!=null &&
              java.util.Arrays.equals(this.delayDetails, other.getDelayDetails()))) &&
            ((this.documentContent==null && other.getDocumentContent()==null) || 
             (this.documentContent!=null &&
              this.documentContent.equals(other.getDocumentContent()))) &&
            ((this.requiredDocuments==null && other.getRequiredDocuments()==null) || 
             (this.requiredDocuments!=null &&
              java.util.Arrays.equals(this.requiredDocuments, other.getRequiredDocuments()))) &&
            ((this.freightCommitDetail==null && other.getFreightCommitDetail()==null) || 
             (this.freightCommitDetail!=null &&
              this.freightCommitDetail.equals(other.getFreightCommitDetail())));
        __equalsCalc = null;
        return _equals;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy