Class ShipmentsImpl
java.lang.Object
com.eqixiac.equinix.customerportal.client.implementation.ShipmentsImpl
- All Implemented Interfaces:
Shipments
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<? extends ShipmentLocation> Lists the IBX locations, cages and cabinets where the current user may place shipment orders.List<? extends ShipmentLocation> listLocations(Boolean detail, String ibxs, String cages) Lists the IBX locations, cages and cabinets where the current user may place shipment orders, optionally filtered.order(ShipmentOrderRequest request) Schedules an inbound or outbound shipment.orderInbound(InboundShipmentOrderRequest request) Submits an inbound shipment order.Submits an outbound shipment order.List<? extends PendingStorageOrderResponse> Submits a pending inbound shipment (pending storage) order.update(String orderId, ShipmentUpdateRequest request) Updates a pending shipment order.
-
Constructor Details
-
ShipmentsImpl
public ShipmentsImpl()
-
-
Method Details
-
order
Description copied from interface:ShipmentsSchedules an inbound or outbound shipment.Maps to
POST /colocations/v2/orders/shipments(Schedule inbound or outbound shipment). -
update
Description copied from interface:ShipmentsUpdates a pending shipment order.Maps to
PATCH /colocations/v2/orders/shipments/{orderId}(Update inbound or outbound shipment). -
orderInbound
Description copied from interface:ShipmentsSubmits an inbound shipment order.Maps to
POST /v1/orders/shipment/inbound(shipment-inbound).- Specified by:
orderInboundin interfaceShipments- Parameters:
request- the inbound shipment order request body- Returns:
- the order submission result carrying the generated order number
-
orderOutbound
Description copied from interface:ShipmentsSubmits an outbound shipment order.Maps to
POST /v1/orders/shipment/outbound(outbound_shipment_submit).- Specified by:
orderOutboundin interfaceShipments- Parameters:
request- the outbound shipment order request body- Returns:
- the order submission result carrying the generated order number
-
orderPendingStorage
public List<? extends PendingStorageOrderResponse> orderPendingStorage(PendingStorageOrderRequest request) Description copied from interface:ShipmentsSubmits a pending inbound shipment (pending storage) order.Maps to
POST /v1/orders/shipment/pendingStorage(shipment-pending).- Specified by:
orderPendingStoragein interfaceShipments- Parameters:
request- the pending storage order request body- Returns:
- one submission result per stored shipment submitted
-
listLocations
Description copied from interface:ShipmentsLists the IBX locations, cages and cabinets where the current user may place shipment orders.- Specified by:
listLocationsin interfaceShipments- Returns:
- the list of permitted locations
-
listLocations
Description copied from interface:ShipmentsLists the IBX locations, cages and cabinets where the current user may place shipment orders, optionally filtered.Maps to
GET /v1/orders/shipment/locations(getLocation).- Specified by:
listLocationsin interfaceShipments- Parameters:
detail- whentrue, returns detailed permission with cages and cabinets, ornullfor the defaultibxs- a comma-separated list of IBX codes to filter by (e.g.AM1,AM2), ornullcages- a comma-separated list of cage ids to filter by (e.g.AM1:02:002MC1), ornull- Returns:
- the list of permitted locations
-