All Packages Class Hierarchy This Package Previous Next Index
Class semper.payment.mandate.mandateTransaction
java.lang.Object
|
+----semper.payment.PaymentTransaction
|
+----semper.payment.mandate.mandateTransaction
- public class mandateTransaction
- extends PaymentTransaction
- implements AccountBasedPurseServices, TPurseServices
Mandate Transaction subclass.
- Version:
- $Revision: 1.8 $ $Date: 1998/10/08 13:33:58 $
- Author:
- Bjarke Dahl Ebert ([email protected])
- See Also:
- PaymentTransaction, Purse
-
mandateTransaction(mandateTransactionRecord)
- Constructor of the class.
-
abort()
- Implementing the abstract method from parent class; we do not
allow mandate transactions to be aborted.
-
authorise()
- Authorise
Implementing from AccountBasedPurseServices
-
authorise(Amount)
- Authorise
Implementing from AccountBasedPurseServices
-
capture()
- Capture
Implementing from AccountBasedPurseServices
-
capture(Amount)
- Capture
Implementing from AccountBasedPurseServices
-
getState()
- Get current state for the Transaction object.
-
getTransactionRecord()
- Gets an associated Record for this transaction.
-
multiAuthorise(Vector)
- Multiple Authorisation
The seller (normally) requests at the same time authorisation
for several received payments
-
multiCapture(Vector)
- Multiple Captures
The seller (normally) performs captures at the same time for
several received payments
-
pay(PaymentEntity, Amount, Vector, String)
- Pay method.
-
processToken(TokenCapsule)
-
-
receivePayment(PaymentEntity, Amount, Vector, String)
- Receive a Payment.
-
receiveRawPayment(PaymentEntity, Amount, Vector, String)
- Receive "not cooked" payment (information)
Receive securely a bunch of information that would be used in the
payment.
-
reversePayment(PaymentTransactionRecord)
- Implementing method from the PurseServices interface.
-
reverseReceivedPayment(PaymentTransactionRecord)
- Implementing method from the PurseServices interface.
-
startPay(PaymentEntity, Amount, Vector, int, String)
- Implementation of function declared in TPurseServices interface
-
startReceivePayment(PaymentEntity, Amount, Vector, int, String)
- Implementation of function declared in TPurseServices interface
-
startReversePayment(int, PaymentTransactionRecord)
- Implementation of function declared in TPurseServices interface
-
startReverseReceivedPayment(int, PaymentTransactionRecord)
- Implementation of function declared in TPurseServices interface
mandateTransaction
public mandateTransaction(mandateTransactionRecord tr_rec)
- Constructor of the class.
Creates a mandate Transaction object
- Parameters:
- tr_rec - The associated transaction record.
- See Also:
- PaymentTransaction, mandateTransactionRecord
abort
public void abort() throws CouldNotAbort
- Implementing the abstract method from parent class; we do not
allow mandate transactions to be aborted.
- Throws: CouldNotAbort
- always
- Overrides:
- abort in class PaymentTransaction
- See Also:
- abort
getTransactionRecord
public PaymentTransactionRecord getTransactionRecord()
- Gets an associated Record for this transaction.
This transaction must be referenced by an mandateTransactionRecord object,
that will store and describe it perfectly.
Implemented abstract method from semper.payment.PaymentTransaction
- Overrides:
- getTransactionRecord in class PaymentTransaction
- See Also:
- getTransactionRecord, PaymentTransactionRecord, mandateTransactionRecord
getState
public PaymentTransactionState getState()
- Get current state for the Transaction object.
Implemented abstract method from semper.payment.PaymentTransaction
- Overrides:
- getState in class PaymentTransaction
- See Also:
- getState
pay
public void pay(PaymentEntity payee,
Amount amount,
Vector options,
String ext_ref) throws PaymentServiceException
- Pay method.
This performs the payment. Implemented from PurseServices.
- Parameters:
- payee - the entity getting paid
- amount - the amount involved in the payment
- options - specified& negotiated options for the payment
- ext_ref - a reference for the payment
- Throws: PaymentServiceException
- to be handled
- Overrides:
- pay in class PaymentTransaction
- See Also:
- pay
receivePayment
public void receivePayment(PaymentEntity payer,
Amount amount,
Vector options,
String ext_ref) throws PaymentServiceException
- Receive a Payment.
This method is invoked from the Seller for receiving a payment
- Parameters:
- payer - The entity performing the payment. A return
parameter
- amount - Amount received. A return parameter
- options - Options agreeded in the payment
- ext_ref - A reference to use for the payment, like
the item being buyed or something similar.
- Throws: PaymentServiceException
- on misc errors
- Overrides:
- receivePayment in class PaymentTransaction
- See Also:
- receivePayment
reversePayment
public void reversePayment(PaymentTransactionRecord payment_reference) throws PaymentServiceException
- Implementing method from the PurseServices interface. The mandate
payment system does not support reversal. Therefore, this method
always throws an exception.
- Throws: PaymentServiceException
- always
- Overrides:
- reversePayment in class PaymentTransaction
- See Also:
- reversePayment
reverseReceivedPayment
public void reverseReceivedPayment(PaymentTransactionRecord payment_reference) throws PaymentServiceException
- Implementing method from the PurseServices interface. The mandate
payment system does not support reversal. Therefore, this method
always throws an exception.
- Throws: PaymentServiceException
- always
- Overrides:
- reverseReceivedPayment in class PaymentTransaction
- See Also:
- reverseReceivedPayment
receiveRawPayment
public void receiveRawPayment(PaymentEntity payer,
Amount amount,
Vector options,
String ext_ref)
- Receive "not cooked" payment (information)
Receive securely a bunch of information that would be used in the
payment. Like the credit number, ... etc. Implementing from
AccountBasedPurseServices
- See Also:
- receiveRawPayment
multiAuthorise
public void multiAuthorise(Vector list_of_transactions)
- Multiple Authorisation
The seller (normally) requests at the same time authorisation
for several received payments
- See Also:
- multiAuthorise
multiCapture
public void multiCapture(Vector list_of_transactions)
- Multiple Captures
The seller (normally) performs captures at the same time for
several received payments
- See Also:
- multiCapture
authorise
public void authorise(Amount amount)
- Authorise
Implementing from AccountBasedPurseServices
- See Also:
- authorise
authorise
public void authorise()
- Authorise
Implementing from AccountBasedPurseServices
- See Also:
- authorise
capture
public void capture()
- Capture
Implementing from AccountBasedPurseServices
- See Also:
- capture
capture
public void capture(Amount amount)
- Capture
Implementing from AccountBasedPurseServices
- See Also:
- capture
startPay
public TokenCapsule startPay(PaymentEntity payee,
Amount amount,
Vector options,
int role,
String ext_ref) throws PaymentServiceException
- Implementation of function declared in TPurseServices interface
startReceivePayment
public TokenCapsule startReceivePayment(PaymentEntity payer,
Amount amount,
Vector options,
int role,
String ext_ref) throws PaymentServiceException
- Implementation of function declared in TPurseServices interface
processToken
public TokenCapsule processToken(TokenCapsule mesg) throws PaymentServiceException
startReversePayment
public TokenCapsule startReversePayment(int role,
PaymentTransactionRecord ref) throws PaymentServiceException
- Implementation of function declared in TPurseServices interface
startReverseReceivedPayment
public TokenCapsule startReverseReceivedPayment(int role,
PaymentTransactionRecord ref) throws PaymentServiceException
- Implementation of function declared in TPurseServices interface
All Packages Class Hierarchy This Package Previous Next Index