OrderLineItem Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. ResourceBaseWithLinks<TLinks> - com.
microsoft. store. partnercenter. models. orders. OrderLineItem
- com.
- com.
- com.
public class OrderLineItem extends ResourceBaseWithLinks<OrderLineItemLinks>
Order line item associates order information to a specific offer of a product
Constructor Summary
| Constructor | Description | |
|---|---|---|
| OrderLineItem() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getFriendlyName()
Gets the friendly name of the subscription. |
| int |
getLineItemNumber()
Gets the line item number. |
| java.lang.String |
getOfferId()
Gets the offer identifier. |
| java.lang.String |
getParentSubscriptionId()
Gets the parent subscription identifier. |
| java.lang.String |
getPartnerIdOnRecord()
Gets the partner identifier on record. |
| Pricing |
getPricing()
Gets the pricing for the order line item. |
| java.util.Map<java.lang.String,java.lang.String> |
getProvisioningContext()
Gets the provisioning context for the offer. |
| int |
getQuantity()
Gets the product quantity. |
|
Renews |
getRenewsTo()
Gets the renews to value. |
| java.lang.String |
getSubscriptionId()
Gets the resulting subscription identifier. |
| java.lang.String |
getTermDuration()
Gets the term duration for the order line item. |
| java.lang.String |
getTransactionType()
Gets the transaction type for the order line item. |
| void |
setFriendlyName(String value)
Sets the friendly name of the subscription. |
| void |
setLineItemNumber(int value)
Sets the line item number. |
| void |
setOfferId(String value)
Sets the offer identifier. |
| void |
setParentSubscriptionId(String value)
Sets the parent subscription identifier. |
| void |
setPartnerIdOnRecord(String value)
Sets the partner identifier on record. |
| void |
setPricing(Pricing value)
Sets the pricing for the order line item. |
| void |
setProvisioningContext(Map<String,String> value)
Sets the provisioning context for the offer. |
| void |
setQuantity(int value)
Sets the product quantity. |
| void |
setRenewsTo(RenewsTo value)
Sets the renews to value. |
| void |
setSubscriptionId(String value)
Sets the resulting subscription identifier. |
| void |
setTermDuration(String value)
Sets the term duration for the order line item. |
| void |
setTransactionType(String value)
Sets the transaction type for the order line item. |
Inherited Members
Constructor Details
OrderLineItem
public OrderLineItem()
Method Details
getFriendlyName
public String getFriendlyName()
Gets the friendly name of the subscription.
Returns:
getLineItemNumber
public int getLineItemNumber()
Gets the line item number.
Returns:
getOfferId
public String getOfferId()
Gets the offer identifier.
Returns:
getParentSubscriptionId
public String getParentSubscriptionId()
Gets the parent subscription identifier. This parameter should only be set for add-on offer purchase applies to order updates only.
Returns:
getPartnerIdOnRecord
public String getPartnerIdOnRecord()
Gets the partner identifier on record.
Returns:
getPricing
public Pricing getPricing()
Gets the pricing for the order line item.
Returns:
getProvisioningContext
public Map
Gets the provisioning context for the offer.
Returns:
getQuantity
public int getQuantity()
Gets the product quantity.
Returns:
getRenewsTo
public RenewsTo getRenewsTo()
Gets the renews to value.
Returns:
getSubscriptionId
public String getSubscriptionId()
Gets the resulting subscription identifier.
Returns:
getTermDuration
public String getTermDuration()
Gets the term duration for the order line item.
Returns:
getTransactionType
public String getTransactionType()
Gets the transaction type for the order line item.
Returns:
setFriendlyName
public void setFriendlyName(String value)
Sets the friendly name of the subscription.
Parameters:
setLineItemNumber
public void setLineItemNumber(int value)
Sets the line item number.
Parameters:
setOfferId
public void setOfferId(String value)
Sets the offer identifier.
Parameters:
setParentSubscriptionId
public void setParentSubscriptionId(String value)
Sets the parent subscription identifier. This parameter should only be set for add-on offer purchase applies to order updates only.
Parameters:
setPartnerIdOnRecord
public void setPartnerIdOnRecord(String value)
Sets the partner identifier on record.
Parameters:
setPricing
public void setPricing(Pricing value)
Sets the pricing for the order line item.
Parameters:
setProvisioningContext
public void setProvisioningContext(Map
Sets the provisioning context for the offer.
Parameters:
setQuantity
public void setQuantity(int value)
Sets the product quantity.
Parameters:
setRenewsTo
public void setRenewsTo(RenewsTo value)
Sets the renews to value.
Parameters:
setSubscriptionId
public void setSubscriptionId(String value)
Sets the resulting subscription identifier.
Parameters:
setTermDuration
public void setTermDuration(String value)
Sets the term duration for the order line item.
Parameters:
setTransactionType
public void setTransactionType(String value)
Sets the transaction type for the order line item.
Parameters: