OneTimeInvoiceLineItem Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. invoices. InvoiceLineItem - com.
microsoft. store. partnercenter. models. invoices. OneTimeInvoiceLineItem
- com.
- com.
- com.
public class OneTimeInvoiceLineItem extends InvoiceLineItem
Represents an invoice billing line item for OneTime purchases.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| OneTimeInvoiceLineItem() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getAlternateId()
Gets the alternate identifier (quote identifier). |
| java.lang.String |
getAvailabilityId()
Gets the availability unique identifier. |
| double |
getBillableQuantity()
Gets the number of units purchased. |
| java.lang.String |
getBillingFrequency()
Gets the billing frequency. |
|
Billing |
getBillingProvider()
Gets the billing provider |
| org.joda.time.DateTime |
getChargeEndDate()
Gets the charge end date associated with this purchase. |
| org.joda.time.DateTime |
getChargeStartDate()
Gets the charge start date associated with this purchase. |
| java.lang.String |
getChargeType()
Gets the type of charge. |
| java.lang.String |
getCurrency()
Gets the currency used for this line item. |
| java.lang.String |
getCustomerCountry()
Gets the country for the customer. |
| java.lang.String |
getCustomerDomainName()
Gets the customer domain name. |
| java.lang.String |
getCustomerId()
Gets the customer identifier. |
| java.lang.String |
getCustomerName()
Gets the name for the customer. |
| java.lang.String |
getDiscountDetails()
Gets the discount details associated with this purchase. |
|
Invoice |
getInvoiceLineItemType()
Gets the type of invoice line item |
| java.lang.String |
getInvoiceNumber()
Gets the invoice number. |
| java.lang.String |
getMeterDescription()
Gets the meter description for the consumption line item. |
| java.lang.String |
getMpnId()
Gets the MPN identifier associated to this line item. |
| org.joda.time.DateTime |
getOrderDate()
Gets the date when the order was created. |
| java.lang.String |
getOrderId()
Gets the order unique identifier. |
| double |
getPCToBCExchangeRate()
Gets the pricing currency to billing currency exchange rate. |
| org.joda.time.DateTime |
getPCToBCExchangeRateDate()
Gets the exchange rate date at which the pricing currency to billing currency exchange rate was determined. |
| java.lang.String |
getPartnerId()
Gets the partner commerce account identifier. |
| java.lang.String |
getPriceAdjustmentDescription()
Gets the description for the pricing adjustment. |
| java.lang.String |
getPricingCurrency()
Gets the pricing currency. |
| java.lang.String |
getProductId()
Gets the product unique identifier. |
| java.lang.String |
getProductName()
Gets the name for the product. |
| java.lang.String |
getPublisherId()
Gets the publisher identifier associated with this purchase. |
| java.lang.String |
getPublisherName()
Gets the publisher name associated with this purchase. |
| int |
getQuantity()
Gets the number of units associated with this line item. |
| java.lang.String |
getResellerMpnId()
Gets the reseller MPN identifier of the indirect reseller associated with this line item. |
| java.lang.String |
getReservationOrderId()
Gets the reservation order identifier for an Azure Reserved Instance purchase. |
| java.lang.String |
getSkuId()
Gets the SKU unique identifier. |
| java.lang.String |
getSkuName()
Gets the name for the SKU. |
| java.lang.String |
getSubscriptionDescription()
Gets the subscription description associated with this purchase. |
| java.lang.String |
getSubscriptionId()
Gets the subscription identifier associated with this purchase. |
| double |
getSubtotal()
Gets the amount after discount. |
| double |
getTaxTotal()
Gets the taxes charged. |
| java.lang.String |
getTermAndBillingCycle()
Gets the term and billing cycle associated with this purchase. |
| double |
getTotalForCustomer()
Gets the total amount after discount and tax. |
| double |
getUnitPrice()
Gets the unit price for the line item. |
| java.lang.String |
getUnitType()
Gets the type of unit. |
| void |
setAlternateId(String value)
Sets the alternate identifier (quote identifier). |
| void |
setAvailabilityId(String value)
Sets the availability unique identifier. |
| void |
setBillableQuantity(double value)
Sets the number of units purchased. |
| void |
setBillingFrequency(String value)
Sets the billing frequency. |
| void |
setChargeEndDate(DateTime value)
Sets the charge end date associated with this purchase. |
| void |
setChargeStartDate(DateTime value)
Sets the charge start date associated with this purchase. |
| void |
setChargeType(String value)
Sets the type of charge. |
| void |
setCurrency(String value)
Sets the currency used for this line item. |
| void |
setCustomerCountry(String value)
Sets the country for the customer. |
| void |
setCustomerDomainName(String value)
Sets the customer domain name. |
| void |
setCustomerId(String value)
Sets the customer identifier. |
| void |
setCustomerName(String value)
Sets the name for the customer. |
| void |
setDiscountDetails(String value)
Sets the discount details associated with this purchase. |
| void |
setInvoiceNumber(String value)
Sets the invoice number. |
| void |
setMeterDescription(String value)
Sets the meter description for the consumption line item. |
| void |
setMpnId(String value)
Sets the MPN identifier associated to this line item. |
| void |
setOrderDate(DateTime value)
Sets the date when the order was created. |
| void |
setOrderId(String value)
Sets the order unique identifier. |
| void |
setPCToBCExchangeRate(double value)
Sets the pricing currency to billing currency exchange rate. |
| void |
setPCToBCExchangeRateDate(DateTime value)
Sets the exchange rate date at which the pricing currency to billing currency exchange rate was determined. |
| void |
setPartnerId(String value)
Sets the partner commerce account identifier. |
| void |
setPriceAdjustmentDescription(String value)
Sets the description for the pricing adjustment. |
| void |
setPricingCurrency(String value)
Sets the pricing currency. |
| void |
setProductId(String value)
Gets the product unique identifier. |
| void |
setProductName(String value)
Sets the name for the product. |
| void |
setPublisherId(String value)
Sets the publisher identifier associated with this purchase. |
| void |
setPublisherName(String value)
Sets the publisher name associated with this purchase. |
| void |
setQuantity(int value)
Sets the number of units associated with this line item. |
| void |
setResellerMpnId(String value)
Sets the reseller MPN identifier of the indirect reseller associated with this line item. |
| void |
setReservationOrderId(String value)
Sets the reservation order identifier for an Azure Reserved Instance purchase. |
| void |
setSkuId(String value)
Sets the SKU unique identifier. |
| void |
setSkuName(String value)
Sets the name for the SKU. |
| void |
setSubscriptionDescription(String value)
Sets the subscription description associated with this purchase. |
| void |
setSubscriptionId(String value)
Sets the subscription identifier associated with this purchase. |
| void |
setSubtotal(double value)
Sets the amount after discount. |
| void |
setTaxTotal(double value)
Sets the taxes charged. |
| void |
setTermAndBillingCycle(String value)
Sets term and billing cycle associated with this purchase. |
| void |
setTotalForCustomer(double value)
Sets the total amount after discount and tax. |
| void |
setUnitPrice(double value)
Sets the unit price for the line item. |
| void |
setUnitType(String value)
Sets type of unit. |
Inherited Members
Constructor Details
OneTimeInvoiceLineItem
public OneTimeInvoiceLineItem()
Method Details
getAlternateId
public String getAlternateId()
Gets the alternate identifier (quote identifier).
Returns:
getAvailabilityId
public String getAvailabilityId()
Gets the availability unique identifier.
Returns:
getBillableQuantity
public double getBillableQuantity()
Gets the number of units purchased.
Returns:
getBillingFrequency
public String getBillingFrequency()
Gets the billing frequency.
Returns:
getBillingProvider
public BillingProvider getBillingProvider()
Gets the billing provider
Overrides:
OneTimeInvoiceLineItem.getBillingProvider()Returns:
getChargeEndDate
public DateTime getChargeEndDate()
Gets the charge end date associated with this purchase.
Returns:
getChargeStartDate
public DateTime getChargeStartDate()
Gets the charge start date associated with this purchase.
Returns:
getChargeType
public String getChargeType()
Gets the type of charge.
Returns:
getCurrency
public String getCurrency()
Gets the currency used for this line item.
Returns:
getCustomerCountry
public String getCustomerCountry()
Gets the country for the customer.
Returns:
getCustomerDomainName
public String getCustomerDomainName()
Gets the customer domain name.
Returns:
getCustomerId
public String getCustomerId()
Gets the customer identifier.
Returns:
getCustomerName
public String getCustomerName()
Gets the name for the customer.
Returns:
getDiscountDetails
@Deprecated public String getDiscountDetails()
Gets the discount details associated with this purchase.
Returns:
getInvoiceLineItemType
public InvoiceLineItemType getInvoiceLineItemType()
Gets the type of invoice line item
Overrides:
OneTimeInvoiceLineItem.getInvoiceLineItemType()Returns:
getInvoiceNumber
public String getInvoiceNumber()
Gets the invoice number.
Returns:
getMeterDescription
public String getMeterDescription()
Gets the meter description for the consumption line item.
Returns:
getMpnId
public String getMpnId()
Gets the MPN identifier associated to this line item.
Returns:
getOrderDate
public DateTime getOrderDate()
Gets the date when the order was created.
Returns:
getOrderId
public String getOrderId()
Gets the order unique identifier.
Returns:
getPCToBCExchangeRate
public double getPCToBCExchangeRate()
Gets the pricing currency to billing currency exchange rate.
Returns:
getPCToBCExchangeRateDate
public DateTime getPCToBCExchangeRateDate()
Gets the exchange rate date at which the pricing currency to billing currency exchange rate was determined.
Returns:
getPartnerId
public String getPartnerId()
Gets the partner commerce account identifier.
Returns:
getPriceAdjustmentDescription
public String getPriceAdjustmentDescription()
Gets the description for the pricing adjustment.
Returns:
getPricingCurrency
public String getPricingCurrency()
Gets the pricing currency.
Returns:
getProductId
public String getProductId()
Gets the product unique identifier.
Returns:
getProductName
public String getProductName()
Gets the name for the product.
Returns:
getPublisherId
public String getPublisherId()
Gets the publisher identifier associated with this purchase.
Returns:
getPublisherName
public String getPublisherName()
Gets the publisher name associated with this purchase.
Returns:
getQuantity
public int getQuantity()
Gets the number of units associated with this line item.
Returns:
getResellerMpnId
public String getResellerMpnId()
Gets the reseller MPN identifier of the indirect reseller associated with this line item.
Returns:
getReservationOrderId
public String getReservationOrderId()
Gets the reservation order identifier for an Azure Reserved Instance purchase.
Returns:
getSkuId
public String getSkuId()
Gets the SKU unique identifier.
Returns:
getSkuName
public String getSkuName()
Gets the name for the SKU.
Returns:
getSubscriptionDescription
public String getSubscriptionDescription()
Gets the subscription description associated with this purchase.
Returns:
getSubscriptionId
public String getSubscriptionId()
Gets the subscription identifier associated with this purchase.
Returns:
getSubtotal
public double getSubtotal()
Gets the amount after discount.
Returns:
getTaxTotal
public double getTaxTotal()
Gets the taxes charged.
Returns:
getTermAndBillingCycle
public String getTermAndBillingCycle()
Gets the term and billing cycle associated with this purchase.
Returns:
getTotalForCustomer
public double getTotalForCustomer()
Gets the total amount after discount and tax.
Returns:
getUnitPrice
public double getUnitPrice()
Gets the unit price for the line item.
Returns:
getUnitType
public String getUnitType()
Gets the type of unit.
Returns:
setAlternateId
public void setAlternateId(String value)
Sets the alternate identifier (quote identifier).
Parameters:
setAvailabilityId
public void setAvailabilityId(String value)
Sets the availability unique identifier.
Parameters:
setBillableQuantity
public void setBillableQuantity(double value)
Sets the number of units purchased.
Parameters:
setBillingFrequency
public void setBillingFrequency(String value)
Sets the billing frequency.
Parameters:
setChargeEndDate
public void setChargeEndDate(DateTime value)
Sets the charge end date associated with this purchase.
Parameters:
setChargeStartDate
public void setChargeStartDate(DateTime value)
Sets the charge start date associated with this purchase.
Parameters:
setChargeType
public void setChargeType(String value)
Sets the type of charge.
Parameters:
setCurrency
public void setCurrency(String value)
Sets the currency used for this line item.
Parameters:
setCustomerCountry
public void setCustomerCountry(String value)
Sets the country for the customer.
Parameters:
setCustomerDomainName
public void setCustomerDomainName(String value)
Sets the customer domain name.
Parameters:
setCustomerId
public void setCustomerId(String value)
Sets the customer identifier.
Parameters:
setCustomerName
public void setCustomerName(String value)
Sets the name for the customer.
Parameters:
setDiscountDetails
@Deprecated public void setDiscountDetails(String value)
Sets the discount details associated with this purchase.
Parameters:
setInvoiceNumber
public void setInvoiceNumber(String value)
Sets the invoice number.
Parameters:
setMeterDescription
public void setMeterDescription(String value)
Sets the meter description for the consumption line item.
Parameters:
setMpnId
public void setMpnId(String value)
Sets the MPN identifier associated to this line item.
Parameters:
setOrderDate
public void setOrderDate(DateTime value)
Sets the date when the order was created.
Parameters:
setOrderId
public void setOrderId(String value)
Sets the order unique identifier.
Parameters:
setPCToBCExchangeRate
public void setPCToBCExchangeRate(double value)
Sets the pricing currency to billing currency exchange rate.
Parameters:
setPCToBCExchangeRateDate
public void setPCToBCExchangeRateDate(DateTime value)
Sets the exchange rate date at which the pricing currency to billing currency exchange rate was determined.
Parameters:
setPartnerId
public void setPartnerId(String value)
Sets the partner commerce account identifier.
Parameters:
setPriceAdjustmentDescription
public void setPriceAdjustmentDescription(String value)
Sets the description for the pricing adjustment.
Parameters:
setPricingCurrency
public void setPricingCurrency(String value)
Sets the pricing currency.
Parameters:
setProductId
public void setProductId(String value)
Gets the product unique identifier.
Parameters:
setProductName
public void setProductName(String value)
Sets the name for the product.
Parameters:
setPublisherId
public void setPublisherId(String value)
Sets the publisher identifier associated with this purchase.
Parameters:
setPublisherName
public void setPublisherName(String value)
Sets the publisher name associated with this purchase.
Parameters:
setQuantity
public void setQuantity(int value)
Sets the number of units associated with this line item.
Parameters:
setResellerMpnId
public void setResellerMpnId(String value)
Sets the reseller MPN identifier of the indirect reseller associated with this line item.
Parameters:
setReservationOrderId
public void setReservationOrderId(String value)
Sets the reservation order identifier for an Azure Reserved Instance purchase.
Parameters:
setSkuId
public void setSkuId(String value)
Sets the SKU unique identifier.
Parameters:
setSkuName
public void setSkuName(String value)
Sets the name for the SKU.
Parameters:
setSubscriptionDescription
public void setSubscriptionDescription(String value)
Sets the subscription description associated with this purchase.
Parameters:
setSubscriptionId
public void setSubscriptionId(String value)
Sets the subscription identifier associated with this purchase.
Parameters:
setSubtotal
public void setSubtotal(double value)
Sets the amount after discount.
Parameters:
setTaxTotal
public void setTaxTotal(double value)
Sets the taxes charged.
Parameters:
setTermAndBillingCycle
public void setTermAndBillingCycle(String value)
Sets term and billing cycle associated with this purchase.
Parameters:
setTotalForCustomer
public void setTotalForCustomer(double value)
Sets the total amount after discount and tax.
Parameters:
setUnitPrice
public void setUnitPrice(double value)
Sets the unit price for the line item.
Parameters:
setUnitType
public void setUnitType(String value)
Sets type of unit.
Parameters: