|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /usr/share/jdepend/sample/epayment/framework/ |
Upload File : |
package epayment.framework;
import java.io.Serializable;
/**
* The <code>IPaymentRequest</code> interface defines
* the interface for payment request information.
* <p>
* This class is strictly an example.
*
* @author <a href="mailto:mike@clarkware.com">Mike Clark</a>
* @author <a href="http://www.clarkware.com">Clarkware Consulting</a>
*/
public interface IPaymentRequest extends Serializable {
/**
* Sets the user id.
*
* @param id User id.
*/
public void setUserId(String id);
/**
* Sets the user password.
*
* @param password User password.
*/
public void setUserPassword(String password);
/**
* Sets the cardholder name.
*
* @param name Cardholder name.
*/
public void setAccountName(String name);
/**
* Sets the cardholder's account number.
* <p>
* This number will be stripped of all spaces,
* non-numeric characters, and dashes.
*
* @param number Card account number.
*/
public void setAccountNumber(String number);
/**
* Sets the amount of the transaction.
* <p>
* The format is xxx.yy.
*
* @param amount Amount in dollars.
*/
public void setAmount(double amount);
/**
* Sets the reporting comment.
*
* @param comment Reporting comment.
*/
public void setComment(String comment);
}