Class ShipmentsImpl

java.lang.Object
com.eqixiac.equinix.customerportal.client.implementation.ShipmentsImpl
All Implemented Interfaces:
Shipments

public class ShipmentsImpl extends Object implements Shipments
  • Constructor Details

    • ShipmentsImpl

      public ShipmentsImpl()
  • Method Details

    • order

      public OrderResponse order(ShipmentOrderRequest request)
      Description copied from interface: Shipments
      Schedules an inbound or outbound shipment.

      Maps to POST /colocations/v2/orders/shipments (Schedule inbound or outbound shipment).

      Specified by:
      order in interface Shipments
      Parameters:
      request - the shipment order request body
      Returns:
      the order submission result carrying the generated order id
    • update

      public OrderResponse update(String orderId, ShipmentUpdateRequest request)
      Description copied from interface: Shipments
      Updates a pending shipment order.

      Maps to PATCH /colocations/v2/orders/shipments/{orderId} (Update inbound or outbound shipment).

      Specified by:
      update in interface Shipments
      Parameters:
      orderId - the identifier of the shipment order
      request - the update request body
      Returns:
      the order submission result carrying the order id
    • orderInbound

      public ShipmentOrderResponse orderInbound(InboundShipmentOrderRequest request)
      Description copied from interface: Shipments
      Submits an inbound shipment order.

      Maps to POST /v1/orders/shipment/inbound (shipment-inbound).

      Specified by:
      orderInbound in interface Shipments
      Parameters:
      request - the inbound shipment order request body
      Returns:
      the order submission result carrying the generated order number
    • orderOutbound

      public ShipmentOrderResponse orderOutbound(OutboundShipmentOrderRequest request)
      Description copied from interface: Shipments
      Submits an outbound shipment order.

      Maps to POST /v1/orders/shipment/outbound (outbound_shipment_submit).

      Specified by:
      orderOutbound in interface Shipments
      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: Shipments
      Submits a pending inbound shipment (pending storage) order.

      Maps to POST /v1/orders/shipment/pendingStorage (shipment-pending).

      Specified by:
      orderPendingStorage in interface Shipments
      Parameters:
      request - the pending storage order request body
      Returns:
      one submission result per stored shipment submitted
    • listLocations

      public List<? extends ShipmentLocation> listLocations()
      Description copied from interface: Shipments
      Lists the IBX locations, cages and cabinets where the current user may place shipment orders.
      Specified by:
      listLocations in interface Shipments
      Returns:
      the list of permitted locations
    • listLocations

      public List<? extends ShipmentLocation> listLocations(Boolean detail, String ibxs, String cages)
      Description copied from interface: Shipments
      Lists 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:
      listLocations in interface Shipments
      Parameters:
      detail - when true, returns detailed permission with cages and cabinets, or null for the default
      ibxs - a comma-separated list of IBX codes to filter by (e.g. AM1,AM2), or null
      cages - a comma-separated list of cage ids to filter by (e.g. AM1:02:002MC1), or null
      Returns:
      the list of permitted locations