Order Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. ResourceBaseWithLinks<TLinks> - com.
microsoft. store. partnercenter. models. orders. Order
- com.
- com.
- com.
public class Order extends ResourceBaseWithLinks<StandardResourceLinks>
Order represents collection of information needed to purchase offers represented by each order line items.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| Order() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Billing |
getBillingCycle()
Gets the type of billing cycle for the selected offers. |
| org.joda.time.DateTime |
getCreationDate()
Gets the creation date of the order. |
| java.lang.String |
getCurrencyCode()
Gets the currency code. |
| java.lang.String |
getCurrencySymbol()
Gets the currency symbol. |
| java.lang.String |
getId()
Gets the order identifier. |
|
java.lang.Iterable<Order |
getLineItems()
Gets the order line items. |
|
Order |
getLinks()
Gets the links corresponding to the order. |
| java.lang.String |
getReferenceCustomerId()
Gets the reference customer identifier. |
| java.lang.String |
getStatus()
Gets the status of the order. |
| double |
getTotalPrice()
Gets the total price for the order. |
| java.lang.String |
getTransactionType()
Gets the transaction type for the order. |
| void |
setBillingCycle(BillingCycleType value)
Sets the type of billing cycle for the selected offers. |
| void |
setCreationDate(DateTime value)
Sets the creation date of the order. |
| void |
setCurrencyCode(String value)
Sets the currency code. |
| void |
setCurrencySymbol(String value)
Sets the currency symbol. |
| void |
setId(String value)
Sets the order identifier. |
| void |
setLineItems(Iterable<OrderLineItem> value)
Sets the order line items. |
| void |
setLinks(OrderLinks value)
Sets the links corresponding to the order. |
| void |
setReferenceCustomerId(String value)
Sets the reference customer identifier. |
| void |
setStatus(String value)
Sets the status of the order. |
| void |
setsTotalPrice(double value)
Sets the total price for the order. |
| void |
setsTransactionType(String value)
Sets the transaction type for the order. |
Inherited Members
Constructor Details
Order
public Order()
Method Details
getBillingCycle
public BillingCycleType getBillingCycle()
Gets the type of billing cycle for the selected offers.
Returns:
getCreationDate
public DateTime getCreationDate()
Gets the creation date of the order.
Returns:
getCurrencyCode
public String getCurrencyCode()
Gets the currency code.
Returns:
getCurrencySymbol
public String getCurrencySymbol()
Gets the currency symbol.
Returns:
getId
public String getId()
Gets the order identifier.
Returns:
getLineItems
public Iterable
Gets the order line items. Each order line item refers to one offer purchase data.
Returns:
getLinks
public OrderLinks getLinks()
Gets the links corresponding to the order.
Overrides:
Order.getLinks()Returns:
getReferenceCustomerId
public String getReferenceCustomerId()
Gets the reference customer identifier.
Returns:
getStatus
public String getStatus()
Gets the status of the order.
Returns:
getTotalPrice
public double getTotalPrice()
Gets the total price for the order. Order price (will not be returned unless explicitly asked for) Note: this information is PRE-TAX.
Returns:
getTransactionType
public String getTransactionType()
Gets the transaction type for the order.
Returns:
setBillingCycle
public void setBillingCycle(BillingCycleType value)
Sets the type of billing cycle for the selected offers.
Parameters:
setCreationDate
public void setCreationDate(DateTime value)
Sets the creation date of the order.
Parameters:
setCurrencyCode
public void setCurrencyCode(String value)
Sets the currency code.
Parameters:
setCurrencySymbol
public void setCurrencySymbol(String value)
Sets the currency symbol.
Parameters:
setId
public void setId(String value)
Sets the order identifier.
Parameters:
setLineItems
public void setLineItems(Iterable
Sets the order line items. Each order line item refers to one offer purchase data.
Parameters:
setLinks
public void setLinks(OrderLinks value)
Sets the links corresponding to the order.
Parameters:
setReferenceCustomerId
public void setReferenceCustomerId(String value)
Sets the reference customer identifier.
Parameters:
setStatus
public void setStatus(String value)
Sets the status of the order.
Parameters:
setsTotalPrice
public void setsTotalPrice(double value)
Sets the total price for the order.
Parameters:
setsTransactionType
public void setsTransactionType(String value)
Sets the transaction type for the order.
Parameters: