Class InvoicelineComputedUsageSummary
Computed Usage Summary object
Inherited Members
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 Line Amount rounded. |
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. |
Remarks
Required