Interface semper.payment.PurseServices
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface semper.payment.PurseServices

public interface PurseServices
extends Object
This interface defines all the generic services that a payment system should typically provide. This interface is implemented by leaf subclasses of the PaymentTransaction class. Additional generic services that are optional are defined elsewhere (e.g. in the MicropaymentServices interface)
Version:
$Revision: 1.12 $ $Date: 1997/01/16 17:40:09 $
Author:
N. Asokan ([email protected])
See Also:
AccountBasedPurseServices, CashLikePurseServices, MicropaymentServices, TPurseServices

Method Index

 o pay(PaymentEntity, Amount, Vector, String)
Move specified amount from payer to payee.
 o pay(PaymentEntity, Amount, Vector, String[])
Depracated; will be removed soon; use the other polymorphic form
 o receivePayment(PaymentEntity, Amount, Vector, String)
Accept incoming payment from a payer.
 o receivePayment(PaymentEntity, Amount, Vector, String[])
Depracated; will be removed soon; use the other polymorphic form
 o reversePayment(PaymentTransactionRecord)
Request reversal of a previously made payment.
 o reverseReceivedPayment(PaymentTransactionRecord)
Process request for reversing a previously received payment.

Methods

 o pay
  public abstract void pay(PaymentEntity payee,
                           Amount amount,
                           Vector options,
                           String ext_ref) throws PaymentServiceException
Move specified amount from payer to payee.
Parameters:
payee - Object containing necessary information to identify the recipient address
amount - Amount to be moved
options - List of options for the transaction (Vector of SecurityOption objects)
ext_ref - External reference string
Returns:
none
Throws: PaymentServiceException
for misc errors
See Also:
receivePayment, SecurityOption
 o receivePayment
  public abstract void receivePayment(PaymentEntity payer,
                                      Amount amount,
                                      Vector options,
                                      String ext_ref) throws PaymentServiceException
Accept incoming payment from a payer.
Parameters:
payer - Object containing necessary information to identify the payer
options - List of options for the transaction (Vector of SecurityOption objects)
amount - Amount to be moved
ext_ref - External reference string
Returns:
none
Throws: PaymentServiceException
for misc errors
See Also:
pay, SecurityOption
 o pay
  public abstract void pay(PaymentEntity payee,
                           Amount amount,
                           Vector options,
                           String ext_ref[]) throws PaymentServiceException
Depracated; will be removed soon; use the other polymorphic form
Throws: PaymentServiceException
see above
 o receivePayment
  public abstract void receivePayment(PaymentEntity payer,
                                      Amount amount,
                                      Vector options,
                                      String ext_ref[]) throws PaymentServiceException
Depracated; will be removed soon; use the other polymorphic form
Throws: PaymentServiceException
see above
 o reversePayment
  public abstract void reversePayment(PaymentTransactionRecord payment_reference)
Request reversal of a previously made payment.
Parameters:
payment_reference - PaymentTransaction object corresponding to the payment to be reversed.
Returns:
none
See Also:
pay
 o reverseReceivedPayment
  public abstract void reverseReceivedPayment(PaymentTransactionRecord payment_reference)
Process request for reversing a previously received payment.
Parameters:
payment_reference - PaymentTransaction object corresponding to the paymentto be reversed.
Returns:
none
See Also:
receivePayment

All Packages  Class Hierarchy  This Package  Previous  Next  Index