java.lang.Object
com.azure.resourcemanager.databoxedge.fluent.models.OrderProperties

public final class OrderProperties extends Object
Order properties.
  • Constructor Details

    • OrderProperties

      public OrderProperties()
      Creates an instance of OrderProperties class.
  • Method Details

    • contactInformation

      public ContactDetails contactInformation()
      Get the contactInformation property: The contact details.
      Returns:
      the contactInformation value.
    • withContactInformation

      public OrderProperties withContactInformation(ContactDetails contactInformation)
      Set the contactInformation property: The contact details.
      Parameters:
      contactInformation - the contactInformation value to set.
      Returns:
      the OrderProperties object itself.
    • shippingAddress

      public Address shippingAddress()
      Get the shippingAddress property: The shipping address.
      Returns:
      the shippingAddress value.
    • withShippingAddress

      public OrderProperties withShippingAddress(Address shippingAddress)
      Set the shippingAddress property: The shipping address.
      Parameters:
      shippingAddress - the shippingAddress value to set.
      Returns:
      the OrderProperties object itself.
    • currentStatus

      public OrderStatus currentStatus()
      Get the currentStatus property: Current status of the order.
      Returns:
      the currentStatus value.
    • withCurrentStatus

      public OrderProperties withCurrentStatus(OrderStatus currentStatus)
      Set the currentStatus property: Current status of the order.
      Parameters:
      currentStatus - the currentStatus value to set.
      Returns:
      the OrderProperties object itself.
    • orderHistory

      public List<OrderStatus> orderHistory()
      Get the orderHistory property: List of status changes in the order.
      Returns:
      the orderHistory value.
    • serialNumber

      public String serialNumber()
      Get the serialNumber property: Serial number of the device.
      Returns:
      the serialNumber value.
    • deliveryTrackingInfo

      public List<TrackingInfo> deliveryTrackingInfo()
      Get the deliveryTrackingInfo property: Tracking information for the package delivered to the customer whether it has an original or a replacement device.
      Returns:
      the deliveryTrackingInfo value.
    • returnTrackingInfo

      public List<TrackingInfo> returnTrackingInfo()
      Get the returnTrackingInfo property: Tracking information for the package returned from the customer whether it has an original or a replacement device.
      Returns:
      the returnTrackingInfo value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.