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