All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.payment.mandate.Cheque

java.lang.Object
   |
   +----semper.payment.mandate.Cheque

public class Cheque
extends Object
implements Serializable
Class for representing a MANDATE cheque being sent over the network as a payment


Constructor Index

 o Cheque()
Constructor without arguments
 o Cheque(String, String, String, Amount, String, byte[])
Constructor

Method Index

 o getAmount()
Accessor method
 o getChequeToken()
Accessor method
 o getPayeeName()
Accessor method
 o getPayerACNumber()
Accessor method
 o getPayerName()
Accessor method
 o toString()
redefining toString() to suit our needs

Constructors

 o Cheque
 public Cheque(String payer_name,
               String payer_AC_number,
               String payee_name,
               Amount amount,
               String ext_ref,
               byte cheque_token[])
Constructor

Parameters:
payer_name - String indicating the name by which payer/user is known to the acquirer
payer_AC_number - String: payer's account number at the acquirer
payee_name - String indicating the name by which the payee is known to the acquirer
amount - Amount object representing amount involved
ext_ref - String with an external reference
cheque_token - byte[] holding the token to download to the DC
 o Cheque
 public Cheque()
Constructor without arguments

Methods

 o toString
 public String toString()
redefining toString() to suit our needs

Overrides:
toString in class Object
 o getPayerName
 public String getPayerName()
Accessor method

 o getPayerACNumber
 public String getPayerACNumber()
Accessor method

 o getPayeeName
 public String getPayeeName()
Accessor method

 o getAmount
 public Amount getAmount()
Accessor method

 o getChequeToken
 public byte[] getChequeToken()
Accessor method


All Packages  Class Hierarchy  This Package  Previous  Next  Index