@groovy.lang.Singleton class SampleScanExtension extends java.lang.Object implements GetBarcodePrefixPoint, ScanPoint
A sample extension to the order release extension point. Not shipped with product.
Type | Name and description |
---|---|
private static boolean |
preBarcodeCalled Used for testing or pre method. |
private static java.lang.Object |
preScanRequest Used for testing or pre method. |
Constructor and description |
---|
SampleScanExtension
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.Map<java.lang.String, java.lang.String> |
postGetBarcodePrefixMapping(java.util.Map<java.lang.String, java.lang.String> coreResponse) Post-scan extension method for the getBarcodePrefix() method. |
|
ScanResponseInterface |
postScan(ScanResponseInterface coreResponse, ScanRequestInterface scanRequest) Post-scan extension method for the scan() method. |
|
void |
preGetBarcodePrefixMapping() Pre-scan extension method for the getBarcodePrefix() method. |
|
void |
preScan(ScanRequestInterface scanRequest) Pre-scan extension method for the scan() method. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Used for testing or pre method.
Used for testing or pre method.
Post-scan extension method for the getBarcodePrefix() method. See the core method ScanService.getBarcodePrefixMapping for details.
Note: This method is part of the Stable API.
coreResponse
- The response from the core method (or from other extensions that provide a response).Post-scan extension method for the scan() method.
coreResponse
- The response from the core method (or from other extensions that provide a response).scanRequest
- The details of the request .Pre-scan extension method for the getBarcodePrefix() method. See the core method ScanService.getBarcodePrefixMapping for details.
Note: This method is part of the Stable API.
Pre-scan extension method for the scan() method.
orderReleaseRequest
- The details of the request.Groovy Documentation