com.ibm.commerce.price.facade.server.util

Class ExternalPriceMemoryCacheKey

  • java.lang.Object
    • com.ibm.commerce.price.facade.server.util.ExternalPriceMemoryCacheKey


  • public class ExternalPriceMemoryCacheKey
    extends java.lang.Object
    This class is used as the key in price memory Cache.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ExternalPriceMemoryCacheKey(java.lang.Long aUserID, java.lang.Integer aStoreID, java.lang.String aPartNumber, double aQuantity, java.lang.String aUom, java.lang.String aCurrency)
      Constructor method.
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ExternalPriceMemoryCacheKey

        public ExternalPriceMemoryCacheKey(java.lang.Long aUserID,
                                           java.lang.Integer aStoreID,
                                           java.lang.String aPartNumber,
                                           double aQuantity,
                                           java.lang.String aUom,
                                           java.lang.String aCurrency)
        Constructor method.
        Parameters:
        aUserID - The user ID.
        aStoreID - The store ID.
        aPartNumber - The PartNumber of catalog entry.
        aQuantity - The quantity amount of catalog entry.
        aUom - The unit of measure of catalog entry.
        aCurrency - The currency value of catalog entry.
    • Method Detail

      • getCurrency

        public java.lang.String getCurrency()
        Returns:
        A currency value.
      • setCurrency

        public void setCurrency(java.lang.String aCurrency)
        Parameters:
        aCurrency - The currency to be set.
      • getPartNumber

        public java.lang.String getPartNumber()
        Returns:
        A part number value.
      • setPartNumber

        public void setPartNumber(java.lang.String aPartNumber)
        Parameters:
        aPartNumber - The part number to be set.
      • getStoreID

        public java.lang.Integer getStoreID()
        Returns:
        A store ID.
      • setStoreID

        public void setStoreID(java.lang.Integer aStoreID)
        Parameters:
        aStoreID - The store ID to be set.
      • getUom

        public java.lang.String getUom()
        Returns:
        A unit of measure.
      • setUom

        public void setUom(java.lang.String aUom)
        Parameters:
        aUom - The unit of measure to be set.
      • getUserID

        public java.lang.Long getUserID()
        Returns:
        A user ID.
      • setUserID

        public void setUserID(java.lang.Long aUserID)
        Parameters:
        aUserID - The user ID to be set.
      • getQuantity

        public java.lang.String getQuantity()
        Returns:
        A quantity amount.
      • setQuantity

        public void setQuantity(java.lang.String aQuantity)
        Parameters:
        aQuantity - The quantity to be set.
      • equals

        public boolean equals(java.lang.Object obj)
        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