com.retek.component.payment.integration.settlement
Class PaymentSettlementBatch
java.lang.Object
com.retek.component.rcombatch.RcomAbstractBatchProgram
com.retek.component.payment.integration.settlement.PaymentSettlementBatch
- public class PaymentSettlementBatch
- extends RcomAbstractBatchProgram
This batch process settles for the amount that was shipped or settles for the amount that
was returned. The settlement process determines what has shipped or been returned for a
customer order and settles on the appropriate amount related to the transaction. For
shipments, the customer is charged once for the value of the merchandise, shipping costs,
taxes and value added services. For returns, the customer is refunded merchandise and taxes
for the merchandise. The rest of the values are determined whether to be refunded based on
the return reason in the system. The batch process consolidates payments, either charged
or refunded for a given day, into a single payment.Once the consolidation is complete,
the batch process performs one of the following:
- Produces records in the credit card settlement file for credit card charges and/or
credits.
- Publishes a RIB message (RefdPayStlmtDesc) for physical tender refunds (merchandise
vouchers and checks).
No dependencies. Can be run independent of any other batch process.
Batch command line arguments:
userId a user id used for audit purposes
directoryPath where files are created
Retek Inc. Copyright (c) 2003
Methods inherited from class com.retek.component.rcombatch.RcomAbstractBatchProgram |
addFileWorkUnitArgument, addRequiredDirectoryPathArgument, addRequiredUserArgument, addWorkUnitArgument, getBatchResult, getBatchUser, getExitValue, getFileWorkUnitSize, getWorkUnitSize, promoteToCompleteFailure, promoteToPartialFailure, runBatchProcessCalledFromMain |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PaymentSettlementBatch
public PaymentSettlementBatch()
doBatchProcess
public void doBatchProcess(java.util.Map args)
- Description copied from class:
RcomAbstractBatchProgram
- Placeholder for the implementation's batch process.
- Specified by:
doBatchProcess
in class RcomAbstractBatchProgram
- Parameters:
args
- map of (String to String) batch execution arguments
runBatch
public void runBatch(java.util.Map args,
User user,
RDate createTime,
java.io.File exportDirectory)
throws java.io.IOException,
FixedWidthFormatterException,
SystemException,
BusinessException
- Throws:
java.io.IOException
FixedWidthFormatterException
SystemException
BusinessException
main
public static void main(java.lang.String[] args)
addObserver
public void addObserver(PaymentSettlementBatchObserver rebo)
getLogger
protected RetekLogger getLogger()
- Description copied from class:
RcomAbstractBatchProgram
- Placeholder for the implementation's logger initialization.
- Specified by:
getLogger
in class RcomAbstractBatchProgram
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28