Class OrderItemDetails
- java.lang.Object
-
- com.azure.resourcemanager.edgeorder.models.OrderItemDetails
-
public final class OrderItemDetails extends Object
Order item details.
-
-
Constructor Summary
Constructors Constructor Description OrderItemDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
cancellationReason()
Get the cancellationReason property: Cancellation reason.OrderItemCancellationEnum
cancellationStatus()
Get the cancellationStatus property: Describes whether the order item is cancellable or not.StageDetails
currentStage()
Get the currentStage property: Current Order item Status.ActionStatusEnum
deletionStatus()
Get the deletionStatus property: Describes whether the order item is deletable or not.com.azure.core.management.exception.ManagementError
error()
Get the error property: Top level error for the job.ForwardShippingDetails
forwardShippingDetails()
Get the forwardShippingDetails property: Forward Package Shipping details.ResourceProviderDetails
managementRpDetails()
Get the managementRpDetails property: Parent RP details - this returns only the first or default parent RP from the entire list.List<ResourceProviderDetails>
managementRpDetailsList()
Get the managementRpDetailsList property: List of parent RP details supported for configuration.List<String>
notificationEmailList()
Get the notificationEmailList property: Additional notification email list.List<StageDetails>
orderItemStageHistory()
Get the orderItemStageHistory property: Order item status history.OrderItemType
orderItemType()
Get the orderItemType property: Order item type.Preferences
preferences()
Get the preferences property: Customer notification Preferences.ProductDetails
productDetails()
Get the productDetails property: Unique identifier for configuration.String
returnReason()
Get the returnReason property: Return reason.OrderItemReturnEnum
returnStatus()
Get the returnStatus property: Describes whether the order item is returnable or not.ReverseShippingDetails
reverseShippingDetails()
Get the reverseShippingDetails property: Reverse Package Shipping details.void
validate()
Validates the instance.OrderItemDetails
withNotificationEmailList(List<String> notificationEmailList)
Set the notificationEmailList property: Additional notification email list.OrderItemDetails
withOrderItemType(OrderItemType orderItemType)
Set the orderItemType property: Order item type.OrderItemDetails
withPreferences(Preferences preferences)
Set the preferences property: Customer notification Preferences.OrderItemDetails
withProductDetails(ProductDetails productDetails)
Set the productDetails property: Unique identifier for configuration.
-
-
-
Method Detail
-
productDetails
public ProductDetails productDetails()
Get the productDetails property: Unique identifier for configuration.- Returns:
- the productDetails value.
-
withProductDetails
public OrderItemDetails withProductDetails(ProductDetails productDetails)
Set the productDetails property: Unique identifier for configuration.- Parameters:
productDetails
- the productDetails value to set.- Returns:
- the OrderItemDetails object itself.
-
orderItemType
public OrderItemType orderItemType()
Get the orderItemType property: Order item type.- Returns:
- the orderItemType value.
-
withOrderItemType
public OrderItemDetails withOrderItemType(OrderItemType orderItemType)
Set the orderItemType property: Order item type.- Parameters:
orderItemType
- the orderItemType value to set.- Returns:
- the OrderItemDetails object itself.
-
currentStage
public StageDetails currentStage()
Get the currentStage property: Current Order item Status.- Returns:
- the currentStage value.
-
orderItemStageHistory
public List<StageDetails> orderItemStageHistory()
Get the orderItemStageHistory property: Order item status history.- Returns:
- the orderItemStageHistory value.
-
preferences
public Preferences preferences()
Get the preferences property: Customer notification Preferences.- Returns:
- the preferences value.
-
withPreferences
public OrderItemDetails withPreferences(Preferences preferences)
Set the preferences property: Customer notification Preferences.- Parameters:
preferences
- the preferences value to set.- Returns:
- the OrderItemDetails object itself.
-
forwardShippingDetails
public ForwardShippingDetails forwardShippingDetails()
Get the forwardShippingDetails property: Forward Package Shipping details.- Returns:
- the forwardShippingDetails value.
-
reverseShippingDetails
public ReverseShippingDetails reverseShippingDetails()
Get the reverseShippingDetails property: Reverse Package Shipping details.- Returns:
- the reverseShippingDetails value.
-
notificationEmailList
public List<String> notificationEmailList()
Get the notificationEmailList property: Additional notification email list.- Returns:
- the notificationEmailList value.
-
withNotificationEmailList
public OrderItemDetails withNotificationEmailList(List<String> notificationEmailList)
Set the notificationEmailList property: Additional notification email list.- Parameters:
notificationEmailList
- the notificationEmailList value to set.- Returns:
- the OrderItemDetails object itself.
-
cancellationReason
public String cancellationReason()
Get the cancellationReason property: Cancellation reason.- Returns:
- the cancellationReason value.
-
cancellationStatus
public OrderItemCancellationEnum cancellationStatus()
Get the cancellationStatus property: Describes whether the order item is cancellable or not.- Returns:
- the cancellationStatus value.
-
deletionStatus
public ActionStatusEnum deletionStatus()
Get the deletionStatus property: Describes whether the order item is deletable or not.- Returns:
- the deletionStatus value.
-
returnReason
public String returnReason()
Get the returnReason property: Return reason.- Returns:
- the returnReason value.
-
returnStatus
public OrderItemReturnEnum returnStatus()
Get the returnStatus property: Describes whether the order item is returnable or not.- Returns:
- the returnStatus value.
-
managementRpDetails
public ResourceProviderDetails managementRpDetails()
Get the managementRpDetails property: Parent RP details - this returns only the first or default parent RP from the entire list.- Returns:
- the managementRpDetails value.
-
managementRpDetailsList
public List<ResourceProviderDetails> managementRpDetailsList()
Get the managementRpDetailsList property: List of parent RP details supported for configuration.- Returns:
- the managementRpDetailsList value.
-
error
public com.azure.core.management.exception.ManagementError error()
Get the error property: Top level error for the job.- Returns:
- the error value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-