Class MShipperFacade

java.lang.Object
org.adempiere.model.MShipperFacade

public class MShipperFacade extends Object
Facade for MShipper, providing accessor method for custom field
Author:
Low Heng Sin
  • Constructor Details

    • MShipperFacade

      public MShipperFacade(MShipper shipper)
      Parameters:
      shipper -
  • Method Details

    • getMShipper

      public MShipper getMShipper()
      Returns:
      wrap shipper instance
    • getShippingProcessorClass

      public String getShippingProcessorClass()
      Returns:
      shipping processor class
    • getConnectionKey

      public String getConnectionKey()
      Returns:
      connection key for shipping processor
    • getConnectionPassword

      public String getConnectionPassword()
      Returns:
      connection password for shipping processor
    • getUserID

      public String getUserID()
      Returns:
      connection user id for shipping processor
    • getHostAddress

      public String getHostAddress()
      Returns:
      connection host address for shipping processor
    • getProxyAddress

      public String getProxyAddress()
      Returns:
      optional connection proxy address for shipping processor
    • getHostPort

      public int getHostPort()
      Returns:
      connection port for shipping processor
    • getProxyLogon

      public String getProxyLogon()
      Returns:
      proxy user id for shipping processor
    • getProxyPassword

      public String getProxyPassword()
      Returns:
      proxy password for shipping processor
    • getProxyPort

      public int getProxyPort()
      Returns:
      proxy port for shipping processor
    • getServicePath

      public String getServicePath()
      Returns:
      shipping service path for shipping processor
    • getShippingServiceCode

      public String getShippingServiceCode()
      Returns:
      shipping service code
    • getShipperAccount

      public String getShipperAccount(int AD_Org_ID)
      Parameters:
      AD_Org_ID -
      Returns:
      shipper account
    • getDutiesShipperAccount

      public String getDutiesShipperAccount(int AD_Org_ID)
      Parameters:
      AD_Org_ID -
      Returns:
      duties shipper account
    • getShipperMeter

      public String getShipperMeter(int AD_Org_ID)
      get Meter Number associated with Account Number, use by the Fedex interface
      Parameters:
      AD_Org_ID -
      Returns:
      Shipper Meter Number
    • isResidential

      public boolean isResidential()
      Returns:
      true if residential delivery service is supported
    • isSaturdayDelivery

      public boolean isSaturdayDelivery()
      Returns:
      true if saturday delivery service is supported
    • isInternational

      public boolean isInternational()
      Returns:
      true if international delivery service is supported