Package com.hybris.cis.service
Interface CisClientShippingService
-
- All Superinterfaces:
CisClientService
- All Known Implementing Classes:
DefaultCisClientShippingService
public interface CisClientShippingService extends CisClientService
Interface proving Shipping services.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CisShipmentcreateShipment(java.lang.String xClientRef, java.lang.String tenantId, CisShipment cisShipment)Creates a shipment.byte[]getLabel(java.lang.String xClientRef, java.lang.String tenantId, java.net.URI labelLocation)Gets the shipment label.-
Methods inherited from interface com.hybris.cis.service.CisClientService
ping
-
-
-
-
Method Detail
-
createShipment
CisShipment createShipment(java.lang.String xClientRef, java.lang.String tenantId, CisShipment cisShipment)
Creates a shipment.- Parameters:
xClientRef- client ref to pass in the headertenantId- tenantId to pass in the headercisShipment- shipment to create- Returns:
- the shipment
-
getLabel
byte[] getLabel(java.lang.String xClientRef, java.lang.String tenantId, java.net.URI labelLocation)Gets the shipment label.- Parameters:
xClientRef- client ref to pass in the headertenantId- tenantId to pass in the headerlabelLocation- location of the label- Returns:
- the label as a stream (can be different files format, see the media type of the rest response)
-
-