Class Order

java.lang.Object
com.eqixiac.equinix.fabric.model.implementation.Order

public class Order extends Object
Order details for an ordered Fabric resource (the Fabric v4 Order schema, used by Connection and Cloud Router requests and responses). On requests the writable members are purchaseOrderNumber, customerReferenceNumber and termLength; the fluent with* methods return this for chaining. orderId, orderNumber, billingTier and contractedBandwidth are assigned by Equinix and only populated on responses.
  • Constructor Details

    • Order

      public Order(String purchaseOrderNumber)
  • Method Details

    • withPurchaseOrderNumber

      public Order withPurchaseOrderNumber(String purchaseOrderNumber)
      Sets the purchase order number.
      Parameters:
      purchaseOrderNumber - the purchase order number
      Returns:
      this order, for chaining
    • withCustomerReferenceNumber

      public Order withCustomerReferenceNumber(String customerReferenceNumber)
      Sets the customer reference number.
      Parameters:
      customerReferenceNumber - the customer's own order reference
      Returns:
      this order, for chaining
    • withTermLength

      public Order withTermLength(Integer termLength)
      Sets the term length in months; valid values are 1, 12, 24 and 36, where 1 (the default) is the on-demand case.
      Parameters:
      termLength - the term length in months
      Returns:
      this order, for chaining