public abstract class AEDPTickler extends java.lang.Object implements IEDPTickler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
AEDPTickler() |
Modifier and Type | Method and Description |
---|---|
void |
addComments(java.lang.String oneComment)
This method adds a comment for current tickler.
|
CommandContext |
getCommandContext()
This method returns the command context of the command where the tickler is sent.
|
java.lang.String[] |
getComments()
This mehtod returns the comments of current tickler.
|
javax.swing.AbstractAction |
getEDPAction()
This method sets the current Payment Rules action decided by the payment
rules configuration.
|
java.lang.Long |
getEDPOrderId()
This method returns the current EDPOrder ID involved in current tickler.
|
java.lang.Long |
getEDPPaymentInstructionId()
This method returns the ID of payment instruction in Payment Rules involved in current tickler.
|
java.util.Locale |
getLocale()
This method returns the locale information from the command context.
|
java.lang.Long |
getOrderId()
This method returns the order identifier in order system, Note that it is
different from EDPOrderId.
|
java.lang.String |
getReason()
The method returns current reason that causes this tickler to create.
|
java.lang.String |
getReasonCode()
This method returns the reason code of the reason that causes this tickler to crreate.
|
java.lang.Integer |
getStoreId()
This method returns the identifier of store this order belongs to in order system.
|
abstract void |
sendTickler()
This method sents the tickler after it is created, which is abstract and
must be implemented by the sub class.
|
void |
setCommandContext(CommandContext context)
This method sets the command context of the command where the tickler is sent.
|
void |
setComments(java.util.Collection collection)
This mehtod sets the comments of current tickler.
|
void |
setComments(java.lang.String[] cmts)
This method sets the comments of current tickler.
|
void |
setEDPAction(javax.swing.AbstractAction pedpAction)
This method sets the current Payment Rules action decided by the payment
rules configuration.
|
void |
setEDPOrderId(java.lang.Long aedpOrderId)
This method sets the current EDPOrder ID involved in current tickler.
|
void |
setEDPPaymentInstructionId(java.lang.Long id)
This method sets the ID of payment instruction in Payment Rules involved in current tickler.
|
void |
setLocale(java.util.Locale _locale)
This method sets the current locale information.
|
void |
setOrderId(java.lang.Long aorderId)
This method sets the order identifier in order system.
|
void |
setReason(java.lang.String preason)
The method sets current reason that causes this tickler to create.
|
void |
setReasonCode(java.lang.String preasonCode)
This method sets the reason code of the reason that causes this tickler to crreate.
|
void |
setStoreId(java.lang.Integer astoreId)
This method sets the identifier of store this order belongs to in order system.
|
java.lang.String |
toString()
This method returns a readable form of the edp tickler object.
|
public static final java.lang.String COPYRIGHT
public java.lang.String[] getComments()
getComments
in interface IEDPTickler
public void setEDPAction(javax.swing.AbstractAction pedpAction)
setEDPAction
in interface IEDPTickler
pedpAction
- Current Payment Rules actionpublic javax.swing.AbstractAction getEDPAction()
getEDPAction
in interface IEDPTickler
public void setReason(java.lang.String preason)
setReason
in interface IEDPTickler
preason
- Current reason that causes this tickler to createpublic java.lang.String getReason()
getReason
in interface IEDPTickler
public void setReasonCode(java.lang.String preasonCode)
setReasonCode
in interface IEDPTickler
preasonCode
- The reason code of the reason that causes this tickler to crreatepublic java.lang.String getReasonCode()
getReasonCode
in interface IEDPTickler
public void addComments(java.lang.String oneComment)
addComments
in interface IEDPTickler
oneComment
- The comment to addpublic abstract void sendTickler()
sendTickler
in interface IEDPTickler
public void setEDPOrderId(java.lang.Long aedpOrderId)
setEDPOrderId
in interface IEDPTickler
aedpOrderId
- The current EDPOrder IDpublic java.lang.Long getEDPOrderId()
getEDPOrderId
in interface IEDPTickler
public void setEDPPaymentInstructionId(java.lang.Long id)
setEDPPaymentInstructionId
in interface IEDPTickler
id
- The ID of payment instruction in Payment Rulespublic java.lang.Long getEDPPaymentInstructionId()
getEDPPaymentInstructionId
in interface IEDPTickler
public java.lang.String toString()
This method returns a readable form of the edp tickler object.
Warning: not localized, for debugging purposes only!
toString
in class java.lang.Object
public java.lang.Long getOrderId()
IEDPTickler
getOrderId
in interface IEDPTickler
IEDPTickler.getOrderId()
public java.lang.Integer getStoreId()
IEDPTickler
getStoreId
in interface IEDPTickler
IEDPTickler.getStoreId()
public void setOrderId(java.lang.Long aorderId)
IEDPTickler
setOrderId
in interface IEDPTickler
aorderId
- The order ID in order systemIEDPTickler.setOrderId(java.lang.Long)
public void setStoreId(java.lang.Integer astoreId)
IEDPTickler
setStoreId
in interface IEDPTickler
astoreId
- The store ID this order belongs to in order systemIEDPTickler.setStoreId(Integer)
public void setComments(java.util.Collection collection)
collection
- The comments of current tickler to set as a collectionpublic void setComments(java.lang.String[] cmts)
setComments
in interface IEDPTickler
cmts
- The comments of current tickler to set as a String arraypublic CommandContext getCommandContext()
getCommandContext
in interface IEDPTickler
public void setCommandContext(CommandContext context)
setCommandContext
in interface IEDPTickler
context
- The command context of the command where the tickler is sentpublic java.util.Locale getLocale()
public void setLocale(java.util.Locale _locale)
_locale
- The current locale information