public class ShippingClientMock extends SharedClientMock implements ShippingClient
ShippingClientPING_FAIL| Constructor and Description |
|---|
ShippingClientMock() |
| Modifier and Type | Method and Description |
|---|---|
CisShipment |
createShipment(java.lang.String xClientRef,
java.lang.String tenantId,
CisShipment cisShipment)
Creates a test shipment.
|
byte[] |
getLabel(java.lang.String xClientRef,
java.lang.String tenantId,
java.lang.String shipmentId,
java.lang.String labelId)
Returns a test stream for gathering the label.
|
createRawResponseWithStatus, doPingpublic CisShipment createShipment(java.lang.String xClientRef, java.lang.String tenantId, CisShipment cisShipment)
createShipment in interface ShippingClientxClientRef - client ref to pass in the headertenantId - tenantId to pass in the headercisShipment - a shipment for testing purposespublic byte[] getLabel(java.lang.String xClientRef,
java.lang.String tenantId,
java.lang.String shipmentId,
java.lang.String labelId)
getLabel in interface ShippingClientxClientRef - client ref to pass in the headertenantId - tenantId to pass in the headershipmentId - the shipment idlabelId - the label idCopyright © 2018 SAP SE. All Rights Reserved.