org.jclouds.softlayer.domain
Class ProductOrderReceipt
java.lang.Object
org.jclouds.softlayer.domain.ProductOrderReceipt
- All Implemented Interfaces:
- Comparable<ProductOrderReceipt>
public class ProductOrderReceipt
- extends Object
- implements Comparable<ProductOrderReceipt>
- Author:
- Jason King
- See Also:
ProductOrderReceipt
public ProductOrderReceipt(int orderId,
ProductOrder orderDetails)
builder
public static ProductOrderReceipt.Builder builder()
compareTo
public int compareTo(ProductOrderReceipt arg0)
- Specified by:
compareTo
in interface Comparable<ProductOrderReceipt>
getOrderId
public int getOrderId()
- Returns:
- unique identifier for the order.
getOrderDetails
public ProductOrder getOrderDetails()
- This is a copy of the SoftLayer_Container_Product_Order
which holds all the data related to an order.
This will only return when an order is processed successfully.
It will contain all the items in an order as well as the order totals.
toBuilder
public ProductOrderReceipt.Builder toBuilder()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.