Class OneTimeInvoiceLineItem


public class OneTimeInvoiceLineItem
extends InvoiceLineItem
Represents an invoice billing line item for OneTime purchases.
  • Constructor Details

  • Method Details

    • getAlternateId

      public String getAlternateId()
      Gets the alternate identifier (quote identifier).
      Returns:
      The alternate identifier (quote identifier).
    • setAlternateId

      public void setAlternateId​(String value)
      Sets the alternate identifier (quote identifier).
      Parameters:
      value - The alternate identifier (quote identifier).
    • getAvailabilityId

      public String getAvailabilityId()
      Gets the availability unique identifier.
      Returns:
      The availability unique identifier.
    • setAvailabilityId

      public void setAvailabilityId​(String value)
      Sets the availability unique identifier.
      Parameters:
      value - The availability unique identifier.
    • getBillingFrequency

      public String getBillingFrequency()
      Gets the billing frequency.
      Returns:
      The billing frequency for the line item.
    • setBillingFrequency

      public void setBillingFrequency​(String value)
      Sets the billing frequency.
      Parameters:
      value - The billing frequency for the line item.
    • getBillingProvider

      public BillingProvider getBillingProvider()
      Gets the billing provider
      Specified by:
      getBillingProvider in class InvoiceLineItem
      Returns:
      The billing provider.
    • getBillableQuantity

      public double getBillableQuantity()
      Gets the number of units purchased.
      Returns:
      The number of units purchased.
    • setBillableQuantity

      public void setBillableQuantity​(double value)
      Sets the number of units purchased.
      Parameters:
      value - The number of units purchased.
    • getChargeEndDate

      public org.joda.time.DateTime getChargeEndDate()
      Gets the charge end date associated with this purchase.
      Returns:
      The charge end date associated with this purchase.
    • setChargeEndDate

      public void setChargeEndDate​(org.joda.time.DateTime value)
      Sets the charge end date associated with this purchase.
      Parameters:
      value - The charge end date associated with this purchase.
    • getChargeStartDate

      public org.joda.time.DateTime getChargeStartDate()
      Gets the charge start date associated with this purchase.
      Returns:
      The charge start date associated with this purchase.
    • setChargeStartDate

      public void setChargeStartDate​(org.joda.time.DateTime value)
      Sets the charge start date associated with this purchase.
      Parameters:
      value - The charge start date associated with this purchase.
    • getChargeType

      public String getChargeType()
      Gets the type of charge.
      Returns:
      The type of charge.
    • setChargeType

      public void setChargeType​(String value)
      Sets the type of charge.
      Parameters:
      value - The type of charge.
    • getCurrency

      public String getCurrency()
      Gets the currency used for this line item.
      Returns:
      The currency used for this line item.
    • setCurrency

      public void setCurrency​(String value)
      Sets the currency used for this line item.
      Parameters:
      value - The currency used for this line item.
    • getCustomerCountry

      public String getCustomerCountry()
      Gets the country for the customer.
      Returns:
      Sets the country for the customer.
    • setCustomerCountry

      public void setCustomerCountry​(String value)
      Sets the country for the customer.
      Parameters:
      value - The country for the customer.
    • getCustomerDomainName

      public String getCustomerDomainName()
      Gets the customer domain name.
      Returns:
      The customer domain name.
    • setCustomerDomainName

      public void setCustomerDomainName​(String value)
      Sets the customer domain name.
      Parameters:
      value - The customer domain name.
    • getCustomerId

      public String getCustomerId()
      Gets the customer identifier.
      Returns:
      The customer identifier.
    • getCustomerName

      public String getCustomerName()
      Gets the name for the customer.
      Returns:
      The name for the customer.
    • setCustomerName

      public void setCustomerName​(String value)
      Sets the name for the customer.
      Parameters:
      value - The name of the customer.
    • setCustomerId

      public void setCustomerId​(String value)
      Sets the customer identifier.
      Parameters:
      value - The customer identifier.
    • getDiscountDetails

      @Deprecated public String getDiscountDetails()
      Deprecated.
      Gets the discount details associated with this purchase.
      Returns:
      The discount details associated with this purchase.
    • setDiscountDetails

      @Deprecated public void setDiscountDetails​(String value)
      Deprecated.
      Sets the discount details associated with this purchase.
      Parameters:
      value - The discount details associated with this purchase.
    • getInvoiceLineItemType

      public InvoiceLineItemType getInvoiceLineItemType()
      Gets the type of invoice line item
      Specified by:
      getInvoiceLineItemType in class InvoiceLineItem
      Returns:
      The type of invoice line item.
    • getInvoiceNumber

      public String getInvoiceNumber()
      Gets the invoice number.
      Returns:
      The invoice number.
    • setInvoiceNumber

      public void setInvoiceNumber​(String value)
      Sets the invoice number.
      Parameters:
      value - The invoice number.
    • getMeterDescription

      public String getMeterDescription()
      Gets the meter description for the consumption line item.
      Returns:
      The meter description for the consumption line item.
    • setMeterDescription

      public void setMeterDescription​(String value)
      Sets the meter description for the consumption line item.
      Parameters:
      value - The meter description for the consumption line item.
    • getMpnId

      public String getMpnId()
      Gets the MPN identifier associated to this line item.
      Returns:
      The MPN identifier associated to this line item.
    • setMpnId

      public void setMpnId​(String value)
      Sets the MPN identifier associated to this line item.
      Parameters:
      value - The MPN identifier associated to this line item.
    • getOrderDate

      public org.joda.time.DateTime getOrderDate()
      Gets the date when the order was created.
      Returns:
      The date when the order was created.
    • setOrderDate

      public void setOrderDate​(org.joda.time.DateTime value)
      Sets the date when the order was created.
      Parameters:
      value - The date when the order was created.
    • getOrderId

      public String getOrderId()
      Gets the order unique identifier.
      Returns:
      The order unique identifier.
    • setOrderId

      public void setOrderId​(String value)
      Sets the order unique identifier.
      Parameters:
      value - The order unique identifier.
    • getPartnerId

      public String getPartnerId()
      Gets the partner commerce account identifier.
      Returns:
      The partner commerce account identifier.
    • setPartnerId

      public void setPartnerId​(String value)
      Sets the partner commerce account identifier.
      Parameters:
      value - The partner commerce account identifier.
    • getPCToBCExchangeRate

      public double getPCToBCExchangeRate()
      Gets the pricing currency to billing currency exchange rate.
      Returns:
      The pricing currency to billing currency exchange rate.
    • setPCToBCExchangeRate

      public void setPCToBCExchangeRate​(double value)
      Sets the pricing currency to billing currency exchange rate.
      Parameters:
      value - The pricing currency to billing currency exchange rate.
    • getPCToBCExchangeRateDate

      public org.joda.time.DateTime getPCToBCExchangeRateDate()
      Gets the exchange rate date at which the pricing currency to billing currency exchange rate was determined.
      Returns:
      The exchange rate date at which the pricing currency to billing currency exchange rate was determined.
    • setPCToBCExchangeRateDate

      public void setPCToBCExchangeRateDate​(org.joda.time.DateTime value)
      Sets the exchange rate date at which the pricing currency to billing currency exchange rate was determined.
      Parameters:
      value - The exchange rate date at which the pricing currency to billing currency exchange rate was determined.
    • getPriceAdjustmentDescription

      public String getPriceAdjustmentDescription()
      Gets the description for the pricing adjustment.
      Returns:
      The description for the pricing adjustment.
    • setPriceAdjustmentDescription

      public void setPriceAdjustmentDescription​(String value)
      Sets the description for the pricing adjustment.
      Parameters:
      value - The description for the pricing adjustment.
    • getPricingCurrency

      public String getPricingCurrency()
      Gets the pricing currency.
      Returns:
      The pricing currency.
    • setPricingCurrency

      public void setPricingCurrency​(String value)
      Sets the pricing currency.
      Parameters:
      value - The pricing currency.
    • getProductId

      public String getProductId()
      Gets the product unique identifier.
      Returns:
      The product unique identifier.
    • setProductId

      public void setProductId​(String value)
      Gets the product unique identifier.
      Parameters:
      value - The product unique identifier.
    • getProductName

      public String getProductName()
      Gets the name for the product.
      Returns:
      The name for the product.
    • setProductName

      public void setProductName​(String value)
      Sets the name for the product.
      Parameters:
      value - The name for the product.
    • getPublisherId

      public String getPublisherId()
      Gets the publisher identifier associated with this purchase.
      Returns:
      The publisher identifier associated with this purchase.
    • setPublisherId

      public void setPublisherId​(String value)
      Sets the publisher identifier associated with this purchase.
      Parameters:
      value - The publisher identifier associated with this purchase.
    • getPublisherName

      public String getPublisherName()
      Gets the publisher name associated with this purchase.
      Returns:
      The publisher name associated with this purchase.
    • setPublisherName

      public void setPublisherName​(String value)
      Sets the publisher name associated with this purchase.
      Parameters:
      value - The publisher name associated with this purchase.
    • getQuantity

      public int getQuantity()
      Gets the number of units associated with this line item.
      Returns:
      The number of units associated with this line item.
    • setQuantity

      public void setQuantity​(int value)
      Sets the number of units associated with this line item.
      Parameters:
      value - The number of units associated with this line item.
    • getResellerMpnId

      public String getResellerMpnId()
      Gets the reseller MPN identifier of the indirect reseller associated with this line item.
      Returns:
      The reseller MPN identifier of the indirect reseller associated with this line item.
    • setResellerMpnId

      public void setResellerMpnId​(String value)
      Sets the reseller MPN identifier of the indirect reseller associated with this line item.
      Parameters:
      value - The reseller MPN identifier of the indirect reseller associated with this line item.
    • getSkuId

      public String getSkuId()
      Gets the SKU unique identifier.
      Returns:
      The SKU unique identifier.
    • setSkuId

      public void setSkuId​(String value)
      Sets the SKU unique identifier.
      Parameters:
      value - The SKU unique identifier.
    • getSkuName

      public String getSkuName()
      Gets the name for the SKU.
      Returns:
      The name for the SKU.
    • setSkuName

      public void setSkuName​(String value)
      Sets the name for the SKU.
      Parameters:
      value - The name for the SKU.
    • getSubscriptionDescription

      public String getSubscriptionDescription()
      Gets the subscription description associated with this purchase.
      Returns:
      The subscription description associated with this purchase.
    • setSubscriptionDescription

      public void setSubscriptionDescription​(String value)
      Sets the subscription description associated with this purchase.
      Parameters:
      value - The subscription description associated with this purchase.
    • getSubscriptionId

      public String getSubscriptionId()
      Gets the subscription identifier associated with this purchase.
      Returns:
      The subscription identifier associated with this purchase.
    • setSubscriptionId

      public void setSubscriptionId​(String value)
      Sets the subscription identifier associated with this purchase.
      Parameters:
      value - The subscription identifier associated with this purchase.
    • getSubtotal

      public double getSubtotal()
      Gets the amount after discount.
      Returns:
      The amount after discount.
    • setSubtotal

      public void setSubtotal​(double value)
      Sets the amount after discount.
      Parameters:
      value - The amount after discount.
    • getTaxTotal

      public double getTaxTotal()
      Gets the taxes charged.
      Returns:
      The taxes charged.
    • setTaxTotal

      public void setTaxTotal​(double value)
      Sets the taxes charged.
      Parameters:
      value - The taxes charged.
    • getTermAndBillingCycle

      public String getTermAndBillingCycle()
      Gets the term and billing cycle associated with this purchase.
      Returns:
      The term and billing cycle associated with this purchase.
    • setTermAndBillingCycle

      public void setTermAndBillingCycle​(String value)
      Sets term and billing cycle associated with this purchase.
      Parameters:
      value - The term and billing cycle associated with this purchase.
    • getTotalForCustomer

      public double getTotalForCustomer()
      Gets the total amount after discount and tax.
      Returns:
      The total amount after discount and tax.
    • setTotalForCustomer

      public void setTotalForCustomer​(double value)
      Sets the total amount after discount and tax.
      Parameters:
      value - The total amount after discount and tax.
    • getUnitPrice

      public double getUnitPrice()
      Gets the unit price for the line item.
      Returns:
      The unit price for the line item.
    • setUnitPrice

      public void setUnitPrice​(double value)
      Sets the unit price for the line item.
      Parameters:
      value - The unit price for the line item.
    • getUnitType

      public String getUnitType()
      Gets the type of unit.
      Returns:
      The type of unit.
    • setUnitType

      public void setUnitType​(String value)
      Sets type of unit.
      Parameters:
      value - The type of unit.