com.elasticpath.domain
Interface EpConstant

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
OrderPaymentStatus, OrderReturnReason, OrderShipmentStatus, OrderStatus, PaymentType
All Known Implementing Classes:
AbstractEpConstantImpl, OrderPaymentStatusImpl, OrderReturnReasonImpl, OrderShipmentStatusImpl, OrderStatusImpl, PaymentTypeImpl

public interface EpConstant
extends java.io.Serializable

A EpConstant is composed of a code and a human-readable description. It is the common interface for OrderStatus, OrderShipmentStatus, OrderPaymentStatus, OrderReturnReason etc.


Method Summary
 int getCode()
          Return the code.
 java.lang.String getDescription()
          Return the description.
 void setCode(int code)
          Set the code.
 void setDescription(java.lang.String description)
          Set the description.
 

Method Detail

getCode

int getCode()
Return the code.

Returns:
the code.

getDescription

java.lang.String getDescription()
Return the description.

Returns:
the description.

setCode

void setCode(int code)
Set the code.

Parameters:
code - the code.

setDescription

void setDescription(java.lang.String description)
Set the description.

Parameters:
description - the description.