Class PortOrderPurchaseOrder

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

public class PortOrderPurchaseOrder extends Object
Purchase order information associated with a port order (the Fabric v4 PortOrderPurchaseOrder schema). type takes the values EXEMPTION, EXISTING, NEW or BLANKET. The spec-deprecated selectionType is no longer modelled.

Prefer builder() over the positional constructor - five String parameters plus two identically-typed enum parameters make positional construction transposition-prone.

Author:
ianjones
  • Constructor Details

    • PortOrderPurchaseOrder

      public PortOrderPurchaseOrder(String number, String amount, String startDate, String endDate, String attachmentId, PortPurchaseOrderType type)
      Explicit constructor replacing the Lombok-generated @AllArgsConstructor: the argument order is pinned here in code (five same-typed String parameters) rather than by field declaration order.
      Parameters:
      number - the purchase order number
      amount - the purchase order amount
      startDate - the purchase order start date
      endDate - the purchase order end date
      attachmentId - the purchase order attachment id
      type - the purchase order type