org.broadleafcommerce.vendor.usps.service.type
Class USPSFirstClassType

java.lang.Object
  extended by org.broadleafcommerce.vendor.usps.service.type.USPSFirstClassType
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.BroadleafEnumerationType

public class USPSFirstClassType
extends Object
implements Serializable, org.broadleafcommerce.common.BroadleafEnumerationType

An extendible enumeration of first class types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static USPSFirstClassType FLAT
           
static USPSFirstClassType LETTER
           
static USPSFirstClassType PARCEL
           
 
Constructor Summary
USPSFirstClassType()
           
USPSFirstClassType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static USPSFirstClassType getInstance(String type)
           
 String getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LETTER

public static final USPSFirstClassType LETTER

FLAT

public static final USPSFirstClassType FLAT

PARCEL

public static final USPSFirstClassType PARCEL
Constructor Detail

USPSFirstClassType

public USPSFirstClassType()

USPSFirstClassType

public USPSFirstClassType(String type,
                          String friendlyType)
Method Detail

getInstance

public static USPSFirstClassType getInstance(String type)

getType

public String getType()
Specified by:
getType in interface org.broadleafcommerce.common.BroadleafEnumerationType

getFriendlyType

public String getFriendlyType()
Specified by:
getFriendlyType in interface org.broadleafcommerce.common.BroadleafEnumerationType

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.