public class RefundInstruction
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
RefundInstruction()
Constructor.
|
RefundInstruction(java.math.BigDecimal localAmount,
java.lang.String method,
java.util.HashMap localProtocolData)
This method creates an instance of RefundInstruction.
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getAmount()
This method returns the amount to process.
|
EDPPaymentInstruction |
getLinkedPaymentInstruction()
This method returns the linked
EDPPaymentInstruction object. |
java.lang.Long |
getPolicyId()
This method returns the policy ID of this refund instruction.
|
java.util.HashMap |
getProtocolData()
This method returns the protocol data of this refund instruction.
|
java.lang.String |
getRefundMethod()
This method returns the refund method of this refund instruction.
|
void |
setAmount(java.math.BigDecimal localAmount)
This method sets the amount to process.
|
void |
setLinkedPaymentInstruction(EDPPaymentInstruction edpPI)
This method sets the linked
EDPPaymentInstruction object. |
void |
setPolicyId(java.lang.Long long1)
This method sets the policy ID used by this refund instruction.
|
void |
setProtocolData(java.util.HashMap localProtocolData)
This method sets the protocol data of this refund instruction.
|
void |
setRefundMethod(java.lang.String method)
This method sets the refund method of this refund instruction.
|
java.lang.String |
toString() |
public RefundInstruction()
public RefundInstruction(java.math.BigDecimal localAmount, java.lang.String method, java.util.HashMap localProtocolData)
localAmount
- the refund instruction amountmethod
- the refund methodlocalProtocolData
- the refund protocol datapublic void setAmount(java.math.BigDecimal localAmount)
localAmount
- The amount to setpublic java.math.BigDecimal getAmount()
public void setProtocolData(java.util.HashMap localProtocolData)
localProtocolData
- The protocolData to setpublic java.util.HashMap getProtocolData()
public void setRefundMethod(java.lang.String method)
method
- The method to setpublic java.lang.String getRefundMethod()
public java.lang.Long getPolicyId()
public void setPolicyId(java.lang.Long long1)
long1
- The policy ID used by this refund instructionpublic EDPPaymentInstruction getLinkedPaymentInstruction()
EDPPaymentInstruction
object. Only for dependent credit.EDPPaymentInstruction
objectpublic void setLinkedPaymentInstruction(EDPPaymentInstruction edpPI)
EDPPaymentInstruction
object. Only for dependent credit.edpPI
- the linked EDPPaymentInstruction
objectpublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString()