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

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

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

An extendible enumeration of usps shipping method types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static USPSServiceResponseType BOUNDPRINTEDMATTER
           
static USPSServiceResponseType EXPRESSMAILFLATRATEENVELOPE
           
static USPSServiceResponseType EXPRESSMAILFLATRATEENVELOPEHOLDFORPICKUP
           
static USPSServiceResponseType EXPRESSMAILFLATRATEENVELOPESUNDAYHOLIDAY
           
static USPSServiceResponseType EXPRESSMAILHOLDFORPICKUP
           
static USPSServiceResponseType EXPRESSMAILPOTOADDRESSEE
           
static USPSServiceResponseType EXPRESSMAILSUNDAYHOLIDAY
           
static USPSServiceResponseType FIRSTCLASS
           
static USPSServiceResponseType FIRSTCLASSKEYSANDIDS
           
static USPSServiceResponseType FIRSTCLASSPOSTCARDSTAMPED
           
static USPSServiceResponseType LIBRARY
           
static USPSServiceResponseType MEDIAMAIL
           
static USPSServiceResponseType PARCELPOST
           
static USPSServiceResponseType PRIORITYMAIL
           
static USPSServiceResponseType PRIORITYMAILFLATRATEBOX
           
static USPSServiceResponseType PRIORITYMAILFLATRATEENVELOPE
           
static USPSServiceResponseType PRIORITYMAILFLATRATELARGEBOX
           
static USPSServiceResponseType PRIORITYMAILKEYSANDIDS
           
 
Constructor Summary
USPSServiceResponseType()
           
USPSServiceResponseType(String type, String name, String description)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 String getFriendlyType()
           
static USPSServiceResponseType getInstance(String type)
           
static USPSServiceResponseType getInstanceByDescription(String description)
           
static USPSServiceResponseType getInstanceByName(String name)
           
 String getName()
           
 String getType()
           
 int hashCode()
           
 void setDescription(String description)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIRSTCLASS

public static final USPSServiceResponseType FIRSTCLASS

PRIORITYMAIL

public static final USPSServiceResponseType PRIORITYMAIL

EXPRESSMAILHOLDFORPICKUP

public static final USPSServiceResponseType EXPRESSMAILHOLDFORPICKUP

EXPRESSMAILPOTOADDRESSEE

public static final USPSServiceResponseType EXPRESSMAILPOTOADDRESSEE

PARCELPOST

public static final USPSServiceResponseType PARCELPOST

BOUNDPRINTEDMATTER

public static final USPSServiceResponseType BOUNDPRINTEDMATTER

MEDIAMAIL

public static final USPSServiceResponseType MEDIAMAIL

LIBRARY

public static final USPSServiceResponseType LIBRARY

FIRSTCLASSPOSTCARDSTAMPED

public static final USPSServiceResponseType FIRSTCLASSPOSTCARDSTAMPED

EXPRESSMAILFLATRATEENVELOPE

public static final USPSServiceResponseType EXPRESSMAILFLATRATEENVELOPE

PRIORITYMAILFLATRATEENVELOPE

public static final USPSServiceResponseType PRIORITYMAILFLATRATEENVELOPE

PRIORITYMAILFLATRATEBOX

public static final USPSServiceResponseType PRIORITYMAILFLATRATEBOX

PRIORITYMAILKEYSANDIDS

public static final USPSServiceResponseType PRIORITYMAILKEYSANDIDS

FIRSTCLASSKEYSANDIDS

public static final USPSServiceResponseType FIRSTCLASSKEYSANDIDS

PRIORITYMAILFLATRATELARGEBOX

public static final USPSServiceResponseType PRIORITYMAILFLATRATELARGEBOX

EXPRESSMAILSUNDAYHOLIDAY

public static final USPSServiceResponseType EXPRESSMAILSUNDAYHOLIDAY

EXPRESSMAILFLATRATEENVELOPESUNDAYHOLIDAY

public static final USPSServiceResponseType EXPRESSMAILFLATRATEENVELOPESUNDAYHOLIDAY

EXPRESSMAILFLATRATEENVELOPEHOLDFORPICKUP

public static final USPSServiceResponseType EXPRESSMAILFLATRATEENVELOPEHOLDFORPICKUP
Constructor Detail

USPSServiceResponseType

public USPSServiceResponseType()

USPSServiceResponseType

public USPSServiceResponseType(String type,
                               String name,
                               String description)
Method Detail

getInstance

public static USPSServiceResponseType getInstance(String type)

getInstanceByName

public static USPSServiceResponseType getInstanceByName(String name)

getInstanceByDescription

public static USPSServiceResponseType getInstanceByDescription(String description)

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

getName

public String getName()

setName

public void setName(String name)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

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.