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

Interface semper.payment.AccountBasedPurseServices

public interface AccountBasedPurseServices
extends Object
extends PurseServices
Payment services provided in the account-based model.
Version:
$Revision: 1.5 $ $Date: 1996/08/28 09:39:15 $
Author:
N. Asokan ([email protected])
See Also:
PaymentServices

Method Index

 o authorise()
Request authorisation on a previously received raw payment for the entire amount proposed (as recorded in the corresponding TransactionRecord object) (
 o authorise(Amount)
Request authorisation on a previously received raw payment.
 o capture()
Capture a previously authorised payment for the entire authorised amount (as recorded in the corresponding TransactionRecord object) (TODO: we need to figure out what parameters we need)
 o capture(Amount)
Capture a previously authorised payment.
 o multiAuthorise(Vector)
Request authorisation for a list of received payments.
 o multiCapture(Vector)
Capture a list of received and authorised payments.
 o receiveRawPayment(PaymentEntity, Amount, Vector, String[])
Receive information related to an incoming payment from payer.

Methods

 o receiveRawPayment
  public abstract void receiveRawPayment(PaymentEntity payer,
                                         Amount amount,
                                         Vector a_options,
                                         String a_ext_ref[])
Receive information related to an incoming payment from payer. Receive securely a bunch of information that would be used in the payment. Like the credit number, ... etc i.e. no authorise or capture on the received payment data; the PaymentTransaction object is not automatically destroyed at the end of this operation. authorise() and capture() methods can be invoked on this object later on. Parameters that are one element arrays (i.e. a_) are used to pass the contained value by reference.
Parameters:
payer - PaymentEntity Object containing necessary information to identify the origin of the payment
amount - The amount moved(if empty, this will be a return param)
options - List of SecurityOption objects
a_ext_ref - External reference string
Returns:
nothing
See Also:
authorise, capture, PaymentEntity, SecurityOption
 o multiAuthorise
  public abstract void multiAuthorise(Vector list_of_transaction_recs)
Request authorisation for a list of received payments. The "authorise" method handles only a single payment. Sometimes, it is is desirable to authorise in batch mode. This method can be used for the purpose of multi-authorisation. The input is a list of PaymentTransaction objects each of which has already been operated on by receiveRawPayment() method.
Parameters:
list_of_transaction_recs - a list of PaymentTransactionRecord objects.
Returns:
none
See Also:
receiveRawPayment
 o multiCapture
  public abstract void multiCapture(Vector list_of_transaction_recs)
Capture a list of received and authorised payments. The "capture" method handles only a single payment. Sometimes, it is is desirable to capture in batch mode. This method can be used for the purpose of multi-capture. The input is a list of PaymentTransaction objects created by previous invocations of the "receiveRawPayment" method. These objects must already have been operated on by a "authorise" method (or created by a previous "multiAuthorise" method)
Parameters:
list_of_transactions - a list of PaymentTransactionRecord objects.
Returns:
none
See Also:
receiveRawPayment, multiAuthorise, authorise
 o authorise
  public abstract void authorise(Amount amount)
Request authorisation on a previously received raw payment. (@@ we need to figure out what parameters we need)
Parameters:
amount - Amount to authorise
Returns:
nothing
See Also:
receiveRawPayment
 o authorise
  public abstract void authorise()
Request authorisation on a previously received raw payment for the entire amount proposed (as recorded in the corresponding TransactionRecord object) (@@ we need to figure out what parameters we need)
Returns:
nothing
See Also:
receiveRawPayment
 o capture
  public abstract void capture(Amount amount)
Capture a previously authorised payment. (@@ we need to figure out what parameters we need)
Parameters:
amount - Amount to capture
Returns:
nothing
See Also:
receiveRawPayment
 o capture
  public abstract void capture()
Capture a previously authorised payment for the entire authorised amount (as recorded in the corresponding TransactionRecord object) (TODO: we need to figure out what parameters we need)
Returns:
nothing
See Also:
receiveRawPayment

All Packages  Class Hierarchy  This Package  Previous  Next  Index