public final class LabCostDetailsProperties extends Object
Constructor and Description |
---|
LabCostDetailsProperties() |
Modifier and Type | Method and Description |
---|---|
Double |
cost()
Get the cost property: The cost component of the cost item.
|
CostType |
costType()
Get the costType property: The type of the cost.
|
OffsetDateTime |
date()
Get the date property: The date of the cost item.
|
void |
validate()
Validates the instance.
|
LabCostDetailsProperties |
withCost(Double cost)
Set the cost property: The cost component of the cost item.
|
LabCostDetailsProperties |
withCostType(CostType costType)
Set the costType property: The type of the cost.
|
LabCostDetailsProperties |
withDate(OffsetDateTime date)
Set the date property: The date of the cost item.
|
public OffsetDateTime date()
public LabCostDetailsProperties withDate(OffsetDateTime date)
date
- the date value to set.public Double cost()
public LabCostDetailsProperties withCost(Double cost)
cost
- the cost value to set.public CostType costType()
public LabCostDetailsProperties withCostType(CostType costType)
costType
- the costType value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.