public class DefaultCisClientShippingService extends java.lang.Object implements CisClientShippingService
CisClientShippingService| Constructor and Description |
|---|
DefaultCisClientShippingService() |
| Modifier and Type | Method and Description |
|---|---|
CisShipment |
createShipment(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.
|
protected ShippingClient |
getShippingClient() |
boolean |
ping(java.lang.String xCisClientRef,
java.lang.String tenantId)
Checks if service is functioning and connecting with current credentials.
|
void |
setShippingClient(ShippingClient shippingClient) |
public CisShipment createShipment(java.lang.String xClientRef, java.lang.String tenantId, CisShipment cisShipment)
CisClientShippingServicecreateShipment in interface CisClientShippingServicexClientRef - client ref to pass in the headertenantId - tenantId to pass in the headercisShipment - shipment to createpublic byte[] getLabel(java.lang.String xClientRef,
java.lang.String tenantId,
java.net.URI labelLocation)
CisClientShippingServicegetLabel in interface CisClientShippingServicexClientRef - client ref to pass in the headertenantId - tenantId to pass in the headerlabelLocation - location of the labelpublic boolean ping(java.lang.String xCisClientRef,
java.lang.String tenantId)
CisClientServiceping in interface CisClientServicexCisClientRef - client ref to pass in the headertenantId - tenantId to pass in the headerprotected ShippingClient getShippingClient()
public void setShippingClient(ShippingClient shippingClient)
Copyright © 2018 SAP SE. All Rights Reserved.