public class OrderRequestGeneratorFactory
extends java.lang.Object
Constructor and Description |
---|
OrderRequestGeneratorFactory() |
Modifier and Type | Method and Description |
---|---|
OrderRequestGenerator |
getGenerator(PaymentRequired paymentRequired)
Method that returns a OrderRequestGenerator instance that is specified
in the given PaymentRequired annotation.
|
public OrderRequestGenerator getGenerator(PaymentRequired paymentRequired) throws InternalErrorException
paymentRequired
- the related PaymentRequired annotation.InternalErrorException
- if problems occurred creating the related OrderRequestGenerator object.