ReverseShippingDetails Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. ReverseShippingDetails
- com.
Implements
public final class ReverseShippingDetails
implements JsonSerializable<ReverseShippingDetails>
Reverse Shipping Address and contact details for a job.
Constructor Summary
| Constructor | Description |
|---|---|
| ReverseShippingDetails() |
Creates an instance of Reverse |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Contact |
contactDetails()
Get the contact |
|
static
Reverse |
fromJson(JsonReader jsonReader)
Reads an instance of Reverse |
| Boolean |
isUpdated()
Get the is |
|
Shipping |
shippingAddress()
Get the shipping |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Reverse |
withContactDetails(ContactInfo contactDetails)
Set the contact |
|
Reverse |
withShippingAddress(ShippingAddress shippingAddress)
Set the shipping |
Methods inherited from java.lang.Object
Constructor Details
ReverseShippingDetails
public ReverseShippingDetails()
Creates an instance of ReverseShippingDetails class.
Method Details
contactDetails
public ContactInfo contactDetails()
Get the contactDetails property: Contact Info.
Returns:
fromJson
public static ReverseShippingDetails fromJson(JsonReader jsonReader)
Reads an instance of ReverseShippingDetails from the JsonReader.
Parameters:
Returns:
Throws:
isUpdated
public Boolean isUpdated()
Get the isUpdated property: A flag to indicate whether Reverse Shipping details are updated or not after device has been prepared. Read only field.
Returns:
shippingAddress
public ShippingAddress shippingAddress()
Get the shippingAddress property: Shipping address where customer wishes to receive the device.
Returns:
toJson
validate
public void validate()
Validates the instance.
withContactDetails
public ReverseShippingDetails withContactDetails(ContactInfo contactDetails)
Set the contactDetails property: Contact Info.
Parameters:
Returns:
withShippingAddress
public ReverseShippingDetails withShippingAddress(ShippingAddress shippingAddress)
Set the shippingAddress property: Shipping address where customer wishes to receive the device.
Parameters:
Returns: