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 (Subscription Plan Management).- 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 rounded line amount.- Parameters:
costRounded- the value to set- Returns:
- this builder
-
build
public InvoicelineComputedUsageSummary build()
-
copy
public InvoicelineComputedUsageSummary.Builder copy(InvoicelineComputedUsageSummary model)
-
-