OrderLineItem Class

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.

RenewsTo 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

ResourceBase.getAttributes() ResourceBaseWithLinks<TLinks>.getLinks() ResourceBaseWithLinks<TLinks>.setLinks(TLinks value) java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructor Details

OrderLineItem

public OrderLineItem()

Method Details

getFriendlyName

public String getFriendlyName()

Gets the friendly name of the subscription.

Returns:

The friendly name of the subscription.

getLineItemNumber

public int getLineItemNumber()

Gets the line item number.

Returns:

The line item number.

getOfferId

public String getOfferId()

Gets the offer identifier.

Returns:

The offer identifier for the line item.

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:

The parent subscription identifier.

getPartnerIdOnRecord

public String getPartnerIdOnRecord()

Gets the partner identifier on record.

Returns:

The partner identifier on record.

getPricing

public Pricing getPricing()

Gets the pricing for the order line item.

Returns:

The pricing for the order line item.

getProvisioningContext

public Map getProvisioningContext()

Gets the provisioning context for the offer.

Returns:

The provisioning context for the offer.

getQuantity

public int getQuantity()

Gets the product quantity.

Returns:

The product quantity.

getRenewsTo

public RenewsTo getRenewsTo()

Gets the renews to value.

Returns:

The renews to value.

getSubscriptionId

public String getSubscriptionId()

Gets the resulting subscription identifier.

Returns:

The resulting subscription identifier.

getTermDuration

public String getTermDuration()

Gets the term duration for the order line item.

Returns:

The term duration for the order line item.

getTransactionType

public String getTransactionType()

Gets the transaction type for the order line item.

Returns:

The transaction type for the order line item.

setFriendlyName

public void setFriendlyName(String value)

Sets the friendly name of the subscription.

Parameters:

value - The friendly name of the subscription.

setLineItemNumber

public void setLineItemNumber(int value)

Sets the line item number.

Parameters:

value - The line item number.

setOfferId

public void setOfferId(String value)

Sets the offer identifier.

Parameters:

value - The offer identifier for the line item.

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:

value - The parent subscription identifier.

setPartnerIdOnRecord

public void setPartnerIdOnRecord(String value)

Sets the partner identifier on record.

Parameters:

value - The partner identifier on record.

setPricing

public void setPricing(Pricing value)

Sets the pricing for the order line item.

Parameters:

value - The pricing for the order line item.

setProvisioningContext

public void setProvisioningContext(Map value)

Sets the provisioning context for the offer.

Parameters:

value - The provisioning context for the offer.

setQuantity

public void setQuantity(int value)

Sets the product quantity.

Parameters:

value - The product quantity.

setRenewsTo

public void setRenewsTo(RenewsTo value)

Sets the renews to value.

Parameters:

value - The renews to value.

setSubscriptionId

public void setSubscriptionId(String value)

Sets the resulting subscription identifier.

Parameters:

value - The resulting subscription identifier.

setTermDuration

public void setTermDuration(String value)

Sets the term duration for the order line item.

Parameters:

value - The term duration for the order line item.

setTransactionType

public void setTransactionType(String value)

Sets the transaction type for the order line item.

Parameters:

value - The transaction type for the order line item.

Applies to