public interface PaymentGroupMapContainer
extends java.io.Serializable
PaymentGroupMapContainer
interface is used to represent a container
of a Map of payment names [key] to PaymentGroups [value].Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
void |
addPaymentGroup(java.lang.String pPaymentGroupName,
PaymentGroup pPaymentGroup)
The
addPaymentGroup method adds the supplied payment name
and PaymentGroup to the Map. |
java.lang.String |
getDefaultPaymentGroupName()
The
getDefaultPaymentGroupName method retrieves the name of the
default PaymentGroup. |
PaymentGroup |
getPaymentGroup(java.lang.String pPaymentGroupName)
The
getPaymentGroup method returns the PaymentGroup corresponding
to the supplied payment name. |
java.util.Map |
getPaymentGroupMap()
The
getPaymentGroupMap method returns the Map of payment names
to PaymentGroups. |
void |
removeAllPaymentGroups()
The
removeAllPaymentGroups method clears the Map. |
void |
removePaymentGroup(java.lang.String pPaymentGroupName)
The
removePaymentGroup method removes the PaymentGroup corresponding
to the supplied payment name. |
void |
setDefaultPaymentGroupName(java.lang.String pDefaultPaymentGroupName)
The
setDefaultPaymentGroupName method marks the name of the
default PaymentGroup. |
static final java.lang.String CLASS_VERSION
java.util.Map getPaymentGroupMap()
getPaymentGroupMap
method returns the Map of payment names
to PaymentGroups.Map
valuePaymentGroup getPaymentGroup(java.lang.String pPaymentGroupName)
getPaymentGroup
method returns the PaymentGroup corresponding
to the supplied payment name.pPaymentGroupName
- a String
valuePaymentGroup
valuevoid addPaymentGroup(java.lang.String pPaymentGroupName, PaymentGroup pPaymentGroup)
addPaymentGroup
method adds the supplied payment name
and PaymentGroup to the Map.pPaymentGroupName
- a String
valuepPaymentGroup
- a PaymentGroup
valuevoid removeAllPaymentGroups()
removeAllPaymentGroups
method clears the Map.void removePaymentGroup(java.lang.String pPaymentGroupName)
removePaymentGroup
method removes the PaymentGroup corresponding
to the supplied payment name.pPaymentGroupName
- a String
valuevoid setDefaultPaymentGroupName(java.lang.String pDefaultPaymentGroupName)
setDefaultPaymentGroupName
method marks the name of the
default PaymentGroup.pDefaultPaymentGroupName
- a String
valuejava.lang.String getDefaultPaymentGroupName()
getDefaultPaymentGroupName
method retrieves the name of the
default PaymentGroup.String
value