Show / Hide Table of Contents

Class InvoicelineComputedUsageSummary

Computed usage summary object.

Inheritance
object
InvoicelineComputedUsageSummary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OnesubscriptionService.Models
Assembly: OCI.DotNetSDK.Onesubscription.dll
Syntax
public class InvoicelineComputedUsageSummary

Properties

Cost

Declaration
[JsonProperty(PropertyName = "cost")]
public double Cost { get; set; }
Property Value
Type Description
double

Sum of usage/service billing line net amount.

CostRounded

Declaration
[Required(ErrorMessage = "CostRounded is required.")]
[JsonProperty(PropertyName = "costRounded")]
public double CostRounded { get; set; }
Property Value
Type Description
double

Computed rounded line amount.

Remarks

Required

NetUnitPrice

Declaration
[Required(ErrorMessage = "NetUnitPrice is required.")]
[JsonProperty(PropertyName = "netUnitPrice")]
public double NetUnitPrice { get; set; }
Property Value
Type Description
double

Net unit price for the product in consideration, price actual.

Remarks

Required

ParentProduct

Declaration
[Required(ErrorMessage = "ParentProduct is required.")]
[JsonProperty(PropertyName = "parentProduct")]
public InvoicingProduct ParentProduct { get; set; }
Property Value
Type Description
InvoicingProduct
Remarks

Required

Product

Declaration
[JsonProperty(PropertyName = "product")]
public InvoicingProduct Product { get; set; }
Property Value
Type Description
InvoicingProduct

Quantity

Declaration
[Required(ErrorMessage = "Quantity is required.")]
[JsonProperty(PropertyName = "quantity")]
public double Quantity { get; set; }
Property Value
Type Description
double

Total quantity that was used for computation.

Remarks

Required

TimeMeteredOn

Declaration
[Required(ErrorMessage = "TimeMeteredOn is required.")]
[JsonProperty(PropertyName = "timeMeteredOn")]
public DateTime? TimeMeteredOn { get; set; }
Property Value
Type Description
DateTime?

Metered service date.

Remarks

Required

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public InvoicelineComputedUsageSummary.TypeEnum? Type { get; set; }
Property Value
Type Description
InvoicelineComputedUsageSummary.TypeEnum?

Usage compute type in SPM (Subscription Plan Management).

Remarks

Required

In this article
Back to top