Class OrderLineItem
java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.ResourceBaseWithLinks<OrderLineItemLinks>
com.microsoft.store.partnercenter.models.orders.OrderLineItem
public class OrderLineItem extends ResourceBaseWithLinks<OrderLineItemLinks>
Order line item associates order information to a specific offer of a product
-
Constructor Summary
Constructors Constructor Description OrderLineItem() -
Method Summary
Modifier and Type Method Description StringgetFriendlyName()Gets the friendly name of the subscription.intgetLineItemNumber()Gets the line item number.StringgetOfferId()Gets the offer identifier.StringgetParentSubscriptionId()Gets the parent subscription identifier.StringgetPartnerIdOnRecord()Gets the partner identifier on record.PricinggetPricing()Gets the pricing for the order line item.Map<String,String>getProvisioningContext()Gets the provisioning context for the offer.intgetQuantity()Gets the product quantity.RenewsTogetRenewsTo()Gets the renews to value.StringgetSubscriptionId()Gets the resulting subscription identifier.StringgetTermDuration()Gets the term duration for the order line item.StringgetTransactionType()Gets the transaction type for the order line item.voidsetFriendlyName(String value)Sets the friendly name of the subscription.voidsetLineItemNumber(int value)Sets the line item number.voidsetOfferId(String value)Sets the offer identifier.voidsetParentSubscriptionId(String value)Sets the parent subscription identifier.voidsetPartnerIdOnRecord(String value)Sets the partner identifier on record.voidsetPricing(Pricing value)Sets the pricing for the order line item.voidsetProvisioningContext(Map<String,String> value)Sets the provisioning context for the offer.voidsetQuantity(int value)Sets the product quantity.voidsetRenewsTo(RenewsTo value)Sets the renews to value.voidsetSubscriptionId(String value)Sets the resulting subscription identifier.voidsetTermDuration(String value)Sets the term duration for the order line item.voidsetTransactionType(String value)Sets the transaction type for the order line item.Methods inherited from class com.microsoft.store.partnercenter.models.ResourceBaseWithLinks
getLinks, setLinks
-
Constructor Details
-
OrderLineItem
public OrderLineItem()
-
-
Method Details
-
getFriendlyName
Gets the friendly name of the subscription.- Returns:
- The friendly name of the subscription.
-
setFriendlyName
Sets the friendly name of the subscription.- Parameters:
value- The friendly name of the subscription.
-
getLineItemNumber
public int getLineItemNumber()Gets the line item number.- Returns:
- The line item number.
-
setLineItemNumber
public void setLineItemNumber(int value)Sets the line item number.- Parameters:
value- The line item number.
-
getOfferId
Gets the offer identifier.- Returns:
- The offer identifier for the line item.
-
setOfferId
Sets the offer identifier.- Parameters:
value- The offer identifier for the line item.
-
getPartnerIdOnRecord
Gets the partner identifier on record.- Returns:
- The partner identifier on record.
-
setPartnerIdOnRecord
Sets the partner identifier on record.- Parameters:
value- The partner identifier on record.
-
getParentSubscriptionId
Gets the parent subscription identifier. This parameter should only be set for add-on offer purchase applies to order updates only.- Returns:
- The parent subscription identifier.
-
setParentSubscriptionId
Sets the parent subscription identifier. This parameter should only be set for add-on offer purchase applies to order updates only.- Parameters:
value- The parent subscription identifier.
-
getPricing
Gets the pricing for the order line item.- Returns:
- The pricing for the order line item.
-
setPricing
Sets the pricing for the order line item.- Parameters:
value- The pricing for the order line item.
-
getProvisioningContext
Gets the provisioning context for the offer.- Returns:
- The provisioning context for the offer.
-
setProvisioningContext
Sets the provisioning context for the offer.- Parameters:
value- The provisioning context for the offer.
-
getQuantity
public int getQuantity()Gets the product quantity.- Returns:
- The product quantity.
-
setQuantity
public void setQuantity(int value)Sets the product quantity.- Parameters:
value- The product quantity.
-
getRenewsTo
Gets the renews to value.- Returns:
- The renews to value.
-
setRenewsTo
Sets the renews to value.- Parameters:
value- The renews to value.
-
getSubscriptionId
Gets the resulting subscription identifier.- Returns:
- The resulting subscription identifier.
-
setSubscriptionId
Sets the resulting subscription identifier.- Parameters:
value- The resulting subscription identifier.
-
getTermDuration
Gets the term duration for the order line item.- Returns:
- The term duration for the order line item.
-
setTermDuration
Sets the term duration for the order line item.- Parameters:
value- The term duration for the order line item.
-
getTransactionType
Gets the transaction type for the order line item.- Returns:
- The transaction type for the order line item.
-
setTransactionType
Sets the transaction type for the order line item.- Parameters:
value- The transaction type for the order line item.
-