SoftLayer_Billing_Invoice_Item


SoftLayer_Billing_Invoice_Item

Description

Every invoice item is defined in the SoftLayer_Billing_Invoice_Item service. Softlayer billing invoice items have details about the items that reside within an invoice. These items detail, for instance, the recurring and one time charges for each item billed.

Methods

getAssociatedChildren

Retrieve an Invoice Item's associated child invoice items. Only parent invoice items have associated children. For instance, a server invoice item may have associated children.

getAssociatedInvoiceItem

Retrieve an Invoice Item's associated invoice item. If this is populated, it means this is an orphaned invoice item, but logically belongs to the associated invoice item.

getBillingItem

Retrieve an Invoice Item's billing item, from which this item was generated.

getCategory

Retrieve this invoice item's “item category”.

getChildren

Retrieve an Invoice Item's child invoice items. Only parent invoice items have children. For instance, a server invoice item will have children.

getFilteredAssociatedChildren

Retrieve an Invoice Item's associated child invoice items, excluding some items with a $0.00 recurring fee. Only parent invoice items have associated children. For instance, a server invoice item may have associated children.

getHourlyFlag

Retrieve indicating whether this invoice item is billed on an hourly basis.

getInvoice

Retrieve the invoice to which this item belongs.

getLocation

Retrieve an invoice item's location, if one exists.’

getNonZeroAssociatedChildren

Retrieve an Invoice Item's associated child invoice items, excluding ALL items with a $0.00 recurring fee. Only parent invoice items have associated children. For instance, a server invoice item may have associated children.

getObject

Retrieve a SoftLayer_Billing_Invoice_Item record.

getParent

Retrieve every item tied to a server should have a parent invoice item which is the server line item. This is how we associate items to a server.

getProduct

Retrieve the entry in the product catalog that a invoice item is based upon.

getTopLevelProductGroupName

Retrieve a string representing the name of parent level product group of an invoice item.

getTotalOneTimeAmount

Retrieve an invoice Item's total, including any child invoice items if they exist.

getTotalOneTimeTaxAmount

Retrieve an invoice Item's total, including any child invoice items if they exist.

getTotalRecurringAmount

Retrieve an invoice Item's total, including any child invoice items if they exist.

getTotalRecurringTaxAmount

Retrieve a Billing Item's total, including any child billing items if they exist.’

getUsageChargeFlag

Retrieve indicating whether this invoice item is for the usage charge.