Class OrderInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.databoxedge.models.ArmBaseModel
com.azure.resourcemanager.databoxedge.fluent.models.OrderInner
The order details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the contactInformation property: The contact details.Get the currentStatus property: Current status of the order.Get the deliveryTrackingInfo property: Tracking information for the package delivered to the customer whether it has an original or a replacement device.Get the orderHistory property: List of status changes in the order.Get the returnTrackingInfo property: Tracking information for the package returned from the customer whether it has an original or a replacement device.Get the serialNumber property: Serial number of the device.Get the shippingAddress property: The shipping address.void
validate()
Validates the instance.withContactInformation
(ContactDetails contactInformation) Set the contactInformation property: The contact details.withCurrentStatus
(OrderStatus currentStatus) Set the currentStatus property: Current status of the order.withShippingAddress
(Address shippingAddress) Set the shippingAddress property: The shipping address.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
OrderInner
public OrderInner()Creates an instance of OrderInner class.
-
-
Method Details
-
contactInformation
Get the contactInformation property: The contact details.- Returns:
- the contactInformation value.
-
withContactInformation
Set the contactInformation property: The contact details.- Parameters:
contactInformation
- the contactInformation value to set.- Returns:
- the OrderInner object itself.
-
shippingAddress
Get the shippingAddress property: The shipping address.- Returns:
- the shippingAddress value.
-
withShippingAddress
Set the shippingAddress property: The shipping address.- Parameters:
shippingAddress
- the shippingAddress value to set.- Returns:
- the OrderInner object itself.
-
currentStatus
Get the currentStatus property: Current status of the order.- Returns:
- the currentStatus value.
-
withCurrentStatus
Set the currentStatus property: Current status of the order.- Parameters:
currentStatus
- the currentStatus value to set.- Returns:
- the OrderInner object itself.
-
orderHistory
Get the orderHistory property: List of status changes in the order.- Returns:
- the orderHistory value.
-
serialNumber
Get the serialNumber property: Serial number of the device.- Returns:
- the serialNumber value.
-
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
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.- Overrides:
validate
in classArmBaseModel
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-