Class ImportDetails


  • public class ImportDetails
    extends java.lang.Object
    Provide these fields only if this shipment is a direct import.
    • Constructor Detail

      • ImportDetails

        public ImportDetails()
    • Method Detail

      • getMethodOfPayment

        public ImportDetails.MethodOfPaymentEnum getMethodOfPayment()
        This is used for import purchase orders only. If the recipient requests, this field will contain the shipment method of payment.
        Returns:
        methodOfPayment
      • sealNumber

        public ImportDetails sealNumber​(java.lang.String sealNumber)
      • getSealNumber

        public java.lang.String getSealNumber()
        The container's seal number.
        Returns:
        sealNumber
      • setSealNumber

        public void setSealNumber​(java.lang.String sealNumber)
      • getRoute

        public Route getRoute()
        Get route
        Returns:
        route
      • setRoute

        public void setRoute​(Route route)
      • importContainers

        public ImportDetails importContainers​(java.lang.String importContainers)
      • getImportContainers

        public java.lang.String getImportContainers()
        Types and numbers of container(s) for import purchase orders. Can be a comma-separated list if shipment has multiple containers.
        Returns:
        importContainers
      • setImportContainers

        public void setImportContainers​(java.lang.String importContainers)
      • getBillableWeight

        public Weight getBillableWeight()
        Get billableWeight
        Returns:
        billableWeight
      • setBillableWeight

        public void setBillableWeight​(Weight billableWeight)
      • estimatedShipByDate

        public ImportDetails estimatedShipByDate​(org.threeten.bp.OffsetDateTime estimatedShipByDate)
      • getEstimatedShipByDate

        public org.threeten.bp.OffsetDateTime getEstimatedShipByDate()
        Date on which the shipment is expected to be shipped. This value should not be in the past and not more than 60 days out in the future.
        Returns:
        estimatedShipByDate
      • setEstimatedShipByDate

        public void setEstimatedShipByDate​(org.threeten.bp.OffsetDateTime estimatedShipByDate)
      • getHandlingInstructions

        public ImportDetails.HandlingInstructionsEnum getHandlingInstructions()
        Identification of the instructions on how specified item/carton/pallet should be handled.
        Returns:
        handlingInstructions
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object