Class ServiceCostLineItem
java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.servicecosts.ServiceCostLineItem
public class ServiceCostLineItem extends ResourceBase
Represents a charge incurred by the partner per customer for a given subscription.
-
Constructor Summary
Constructors Constructor Description ServiceCostLineItem() -
Method Summary
Modifier and Type Method Description DoublegetAfterTaxTotal()StringgetAvailabilityId()Gets the availability identifier associated with this line item.StringgetChargeType()StringgetCurrencyCode()StringgetCurrencySymbol()StringgetCustomerId()StringgetCustomerName()StringgetDiscountDetails()Gets the discount details associated with this line item.org.joda.time.DateTimegetEndDate()StringgetInvoiceNumber()Gets the invoice number associated with this line item.StringgetOfferId()StringgetOfferName()StringgetOrderId()DoublegetPretaxTotal()StringgetProductId()Gets the identifier of the product.StringgetProductName()Gets the name of the product.StringgetPublisherId()Gets the identifier of the publisher.StringgetPublisherName()Gets the name of the publisher.DoublegetQuantity()StringgetResellerMPNId()StringgetSkuId()Gets the SKU identifier associated with this line item.StringgetSkuName()Gets the name of the SKU associated with this line item.org.joda.time.DateTimegetStartDate()StringgetSubscriptionFriendlyName()StringgetSubscriptionId()DoublegetTax()StringgetTermAndBillingCycle()Gets the term and billing cycle associated with this line item.DoublegetUnitPrice()voidsetAfterTaxTotal(Double value)voidsetAvailabilityId(String value)Sets the availability identifier associated with this line item.voidsetChargeType(String value)voidsetCurrencyCode(String value)voidsetCurrencySymbol(String value)voidsetCustomerId(String value)voidsetCustomerName(String value)voidsetDiscountDetails(String value)Sets the discount details associated with this line item.voidsetEnd(org.joda.time.DateTime value)voidsetInvoiceNumber(String value)Sets the invoice number associated with this line item.voidsetOfferId(String value)voidsetOfferName(String value)voidsetOrderId(String value)voidsetPretaxTotal(Double value)voidsetProductId(String value)Sets the identifier of the product.voidsetProductName(String value)Sets the name of the product.voidsetPublisherId(String value)Sets the identifier of the publisher.voidsetPublisherName(String value)Sets the name of the publisher.voidsetQuantity(Double value)voidsetResellerMPNId(String value)voidsetSkuId(String value)Sets the SKU identifier associated with this line item.voidsetSkuName(String value)Sets the name of the SKU associated with this line item.voidsetStartDate(org.joda.time.DateTime value)voidsetSubscriptionFriendlyName(String value)voidsetSubscriptionId(String value)voidsetTax(Double value)voidsetTermAndBillingCycle(String value)Sets the term and billing cycle associated with this line item.voidsetUnitPrice(Double value)
-
Constructor Details
-
ServiceCostLineItem
public ServiceCostLineItem()
-
-
Method Details
-
getAvailabilityId
Gets the availability identifier associated with this line item.- Returns:
- The availability identifier associated with this line item.
-
setAvailabilityId
Sets the availability identifier associated with this line item.- Parameters:
value- The availability identifier associated with this line item.
-
getDiscountDetails
Gets the discount details associated with this line item.- Returns:
- The discount details associated with this line item.
-
setDiscountDetails
Sets the discount details associated with this line item.- Parameters:
value- The discount details associated with this line item.
-
getInvoiceNumber
Gets the invoice number associated with this line item.- Returns:
- The invoice number associated with this line item.
-
setInvoiceNumber
Sets the invoice number associated with this line item.- Parameters:
value- The invoice number associated with this line item.
-
getProductId
Gets the identifier of the product.- Returns:
- The identifier of the product.
-
setProductId
Sets the identifier of the product.- Parameters:
value- The identifier of the product.
-
getProductName
Gets the name of the product.- Returns:
- The name of the product.
-
setProductName
Sets the name of the product.- Parameters:
value- The name of the product.
-
getPublisherId
Gets the identifier of the publisher.- Returns:
- The identifier of the publisher.
-
setPublisherId
Sets the identifier of the publisher.- Parameters:
value- The identifier of the publisher.
-
getPublisherName
Gets the name of the publisher.- Returns:
- The name of the publisher.
-
setPublisherName
Sets the name of the publisher.- Parameters:
value- The name of the publisher.
-
getSkuId
Gets the SKU identifier associated with this line item.- Returns:
- The SKU identifier associated with this line item.
-
setSkuId
Sets the SKU identifier associated with this line item.- Parameters:
value- The SKU identifier associated with this line item.
-
getSkuName
Gets the name of the SKU associated with this line item.- Returns:
- The name of the SKU associated with this line item.
-
setSkuName
Sets the name of the SKU associated with this line item.- Parameters:
value- The name of the SKU associated with this line item.
-
getTermAndBillingCycle
Gets the term and billing cycle associated with this line item.- Returns:
- The term and billing cycle associated with this line item.
-
setTermAndBillingCycle
Sets the term and billing cycle associated with this line item.- Parameters:
value- The term and billing cycle associated with this line item.
-
getStartDate
public org.joda.time.DateTime getStartDate() -
setStartDate
public void setStartDate(org.joda.time.DateTime value) -
getEndDate
public org.joda.time.DateTime getEndDate() -
setEnd
public void setEnd(org.joda.time.DateTime value) -
getSubscriptionFriendlyName
-
setSubscriptionFriendlyName
-
getSubscriptionId
-
setSubscriptionId
-
getOrderId
-
setOrderId
-
getOfferId
-
setOfferId
-
getOfferName
-
setOfferName
-
getResellerMPNId
-
setResellerMPNId
-
getChargeType
-
setChargeType
-
getQuantity
-
setQuantity
-
getUnitPrice
-
setUnitPrice
-
getPretaxTotal
-
setPretaxTotal
-
getTax
-
setTax
-
getAfterTaxTotal
-
setAfterTaxTotal
-
getCurrencyCode
-
setCurrencyCode
-
getCurrencySymbol
-
setCurrencySymbol
-
getCustomerId
-
setCustomerId
-
getCustomerName
-
setCustomerName
-