Interface CreateShippingBillingAddressCmd

  • All Superinterfaces:,,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:

    public interface CreateShippingBillingAddressCmd
    extends TaskCommand
    This command creates a shipping or billing address based on the memberId provided. This is called by BatchOrderRequestCmd during batch processing of a new order.
    • Field Detail

      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        Name of the default implementation of this command
        See Also:
        Constant Field Values
    • Method Detail

      • getAddressId

        java.lang.Long getAddressId()
        Gets the address Id
        the address ID used to identify an address in the ADDRESS table
      • getErrorCode

        int getErrorCode()
        Gets the error code
        a code indicating the execution status of the current task command
      • setAddressType

        void setAddressType(java.lang.String addressType)
        Sets Address Type to either shipping or billing
        addressType - Code indicate the type of address "S" represents a shipping address "B" represents a billing address
      • setBillToAddress

        void setBillToAddress(Address BillToAddress)
        Updates billing address
        BillToAddress - the new billing address
      • setMemberId

        void setMemberId(java.lang.Long memberId)
        Sets member ID
        memberId - the member id used to identify a member
      • setShipToAddress

        void setShipToAddress(Address shipToAddress)
        Updates shipping address
        shipToAddress - the new shipping address