FileDocCategorySizeDatePackage
ProcessPaymentRemote.javaAPI DocExample766Thu May 23 17:51:04 BST 2002com.titan.processpayment

ProcessPaymentRemote.java

package com.titan.processpayment;

import java.rmi.RemoteException;
import com.titan.customer.CustomerRemote;

public interface ProcessPaymentRemote extends javax.ejb.EJBObject
{   
   public boolean byCheck (CustomerRemote customer, CheckDO check, double amount)
      throws RemoteException, PaymentException;
   
   public boolean byCash (CustomerRemote customer, double amount)
      throws RemoteException, PaymentException;
   
   public boolean byCredit (CustomerRemote customer, CreditCardDO card, double amount)
      throws RemoteException, PaymentException;

   // Utility methods for database table creation/deletion
   //
   public void makeDbTable () throws RemoteException;
   public void dropDbTable () throws RemoteException;
}