Interface InternetAccessPurchaseOrders

All Known Implementing Classes:
InternetAccessPurchaseOrdersImpl

public interface InternetAccessPurchaseOrders
Client interface for the Equinix Internet Access (EIA) v1 purchase-order lookups - the list (GET /internetAccess/v1/accounts/{accountNumber}/purchaseOrders) and the single get (GET /internetAccess/v1/accounts/{accountNumber}/purchaseOrders/{number}).
  • Method Details

    • list

      PaginatedList<PurchaseOrder> list(String accountNumber)
      Returns the purchase orders available to the given billing account.
      Parameters:
      accountNumber - the billing account number
      Returns:
      a paginated list of purchase orders
    • list

      PaginatedList<PurchaseOrder> list(String accountNumber, String ibx, PurchaseOrderCategory category)
      Returns the purchase orders available to the given billing account, narrowed by IBX location and/or service category.
      Parameters:
      accountNumber - the billing account number
      ibx - the IBX code to filter on, or null for no location constraint
      category - the service category to filter on, or null for no category constraint
      Returns:
      a paginated list of matching purchase orders
    • get

      PurchaseOrder get(String accountNumber, String number)
      Returns a single purchase order by number.
      Parameters:
      accountNumber - the billing account number
      number - the purchase order number
      Returns:
      the purchase order