com.ibm.commerce.order.beans

Class UsableBillingAddressListDataBean

    • Constructor Detail

      • UsableBillingAddressListDataBean

        public UsableBillingAddressListDataBean()
        The default constructor.
    • Method Detail

      • getDelegate

        public Protectable getDelegate()
                                throws java.lang.Exception
        This method returns the delegated OrderDataBean.
        Specified by:
        getDelegate in interface Delegator
        Returns:
        the OrderDataBean
        Throws:
        java.lang.Exception - thrown when there is an error to populate the OrderDataBean
      • getOrderDataBean

        public OrderDataBean getOrderDataBean()
                                       throws ECException
        This method returns the OrderDataBean to use a billing address.
        Returns:
        the OrderDataBean to use a billing address.
        Throws:
        ECException - thrown when there is an error to populate the OrderDataBean
      • populate

        public void populate()
                      throws java.lang.Exception
        This method is used to populate the UsableBillingAddressListDataBean.
        Specified by:
        populate in interface SmartDataBean
        Overrides:
        populate in class SmartDataBeanImpl
        Throws:
        java.lang.Exception - When there is an exception, it will be thrown.
      • isPersonalAddressAllowForBilling

        public boolean isPersonalAddressAllowForBilling()
        This method returns if the personal address could be used as a billing address.
        Specified by:
        isPersonalAddressAllowForBilling in interface UsableBillingAddressListSmartDataBean
        Returns:
        true personal address is allowed false personal address is not allowed.
      • setOrderId

        public void setOrderId(java.lang.String aOrderId)
        This method sets the orderId property of the Bean. The orderId is the identifier of the customer order.
        Specified by:
        setOrderId in interface UsableBillingAddressListInputDataBean
        Parameters:
        aOrderId - the identifier of the customer order.
      • setPaymentTCId

        public void setPaymentTCId(java.lang.String aPaymentTCId)
        This method sets the paymentTCId property of the Bean. The paymentTCId is the identifier of the Payment terms and conditions.
        Specified by:
        setPaymentTCId in interface UsableBillingAddressListInputDataBean
        Parameters:
        aPaymentTCId - the identifier of the Payment terms and conditions.