public class ActionData
extends java.lang.Object
implements java.io.Serializable
This class defines common data to all payment/refund actions.
Constructor and Description |
---|
ActionData()
This method is the constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActionName()
This method returns the current action name.
|
java.math.BigDecimal |
getAmount()
This method returns the amount of this action.
|
java.lang.String |
getCurrency()
This method returns the currency of this action.
|
java.lang.Long |
getEDPPaymentInstructionId()
This method returns the payment instruction ID in Payment Rules.
|
int |
getIndex()
This method gets the index of this action in the action list.
|
java.lang.String |
getOperationResult()
This method returns the operation result of the action being executed,
which could be Success, Failure or Pending.
|
java.lang.String |
getPaymentSystem()
This method returns the payment system name.
|
java.lang.Integer |
getPhase()
This method gets the phase when the action is performed.
|
java.lang.Long |
getPolicyId()
This method returns the current policy id the action would use.
|
java.lang.String |
getReadableStatus()
This method returns the human-readable result of the action being executed, which would
be Success, Failure or Pending.
|
java.lang.Integer |
getStoreId()
This method returns the current store ID.
|
boolean |
isHasExecuted()
This method returns if the current action has been executed.
|
boolean |
isMaskSensitiveData()
This method returns if the sensitive data should be masked.
|
void |
setActionName(java.lang.String string)
This method sets the current action name.
|
void |
setAmount(java.math.BigDecimal localAmount)
This method sets the amount of this action.
|
void |
setCurrency(java.lang.String localCurrency)
This method sets the currency of this action.
|
void |
setEDPPaymentInstructionId(java.lang.Long localPaymentInstructionId)
This method sets the payment instruction ID in Payment Rules.
|
void |
setHasExecuted(boolean b)
This method sets if the current action has been executed.
|
void |
setIndex(int index)
This method sets the index of this action in the action list.
|
void |
setMaskSensitiveData(boolean b)
This method sets if the sensitive data should be masked.
|
void |
setOperationResult(java.lang.String string)
This method sets the operation result of the action being executed,
which could be Success, Failure or Pending.
|
void |
setPaymentSystem(java.lang.String paymentSystemName)
This method sets the payment system name.
|
void |
setPhase(java.lang.Integer localPhase)
This method sets the phase when the action is performed.
|
void |
setPolicyId(java.lang.Long long1)
This method sets the policy id the action would use
|
void |
setReadableStatus(java.lang.String string)
This method sets the human-readable result of the action being executed, which would
be Success, Failure or Pending.
|
void |
setStoreId(java.lang.Integer localStoreId)
This method sets the current store ID.
|
java.lang.String |
toString()
This method gets a human-readable representation of this object.
|
public void setAmount(java.math.BigDecimal localAmount)
localAmount
- The amount to setpublic java.math.BigDecimal getAmount()
public void setCurrency(java.lang.String localCurrency)
localCurrency
- The currency to setpublic java.lang.String getCurrency()
public void setPaymentSystem(java.lang.String paymentSystemName)
paymentSystemName
- The payment system name to setpublic java.lang.String getPaymentSystem()
public void setStoreId(java.lang.Integer localStoreId)
localStoreId
- The storeId to setpublic java.lang.Integer getStoreId()
public final void setEDPPaymentInstructionId(java.lang.Long localPaymentInstructionId)
localPaymentInstructionId
- The payment instruction ID in Payment Rules to setpublic final java.lang.Long getEDPPaymentInstructionId()
public java.lang.String getActionName()
public void setActionName(java.lang.String string)
string
- The current action namepublic boolean isHasExecuted()
public void setHasExecuted(boolean b)
b
- If the current action has been executedpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean isMaskSensitiveData()
public void setMaskSensitiveData(boolean b)
b
- If the sensitive data should be maskedpublic java.lang.Long getPolicyId()
public void setPolicyId(java.lang.Long long1)
long1
- The policy id to setpublic java.lang.String getOperationResult()
public java.lang.String getReadableStatus()
public void setOperationResult(java.lang.String string)
string
- The operation result of the action being executedpublic void setReadableStatus(java.lang.String string)
string
- The human-readable result of the action being executedpublic int getIndex()
public void setIndex(int index)
index
- The index to set.public java.lang.Integer getPhase()
public void setPhase(java.lang.Integer localPhase)
localPhase
- The phase to set.