Class InvoicelineComputedUsageSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.onesubscription.model.InvoicelineComputedUsageSummary.Builder
 
- 
- Enclosing class:
- InvoicelineComputedUsageSummary
 
 public static class InvoicelineComputedUsageSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
parentProductpublic InvoicelineComputedUsageSummary.Builder parentProduct(InvoicingProduct parentProduct) 
 - 
productpublic InvoicelineComputedUsageSummary.Builder product(InvoicingProduct product) 
 - 
quantitypublic InvoicelineComputedUsageSummary.Builder quantity(Double quantity) Total Quantity that was used for computation- Parameters:
- quantity- the value to set
- Returns:
- this builder
 
 - 
netUnitPricepublic InvoicelineComputedUsageSummary.Builder netUnitPrice(Double netUnitPrice) Net Unit Price for the product in consideration, price actual.- Parameters:
- netUnitPrice- the value to set
- Returns:
- this builder
 
 - 
timeMeteredOnpublic InvoicelineComputedUsageSummary.Builder timeMeteredOn(Date timeMeteredOn) Metered Service date.- Parameters:
- timeMeteredOn- the value to set
- Returns:
- this builder
 
 - 
typepublic InvoicelineComputedUsageSummary.Builder type(InvoicelineComputedUsageSummary.Type type) Usage compute type in SPM.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
costpublic InvoicelineComputedUsageSummary.Builder cost(Double cost) Sum of Usage/Service Billing Line net Amount- Parameters:
- cost- the value to set
- Returns:
- this builder
 
 - 
costRoundedpublic InvoicelineComputedUsageSummary.Builder costRounded(Double costRounded) Computed Line Amount rounded.- Parameters:
- costRounded- the value to set
- Returns:
- this builder
 
 - 
buildpublic InvoicelineComputedUsageSummary build() 
 - 
copypublic InvoicelineComputedUsageSummary.Builder copy(InvoicelineComputedUsageSummary model) 
 
- 
 
-