LotProperties Class
- java.
lang. Object - com.
azure. resourcemanager. consumption. fluent. models. LotProperties
- com.
Implements
public final class LotProperties
implements JsonSerializable<LotProperties>
The lot properties.
Constructor Summary
| Constructor | Description |
|---|---|
| LotProperties() |
Creates an instance of Lot |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
billingCurrency()
Get the billing |
| Amount |
closedBalance()
Get the closed |
|
Amount |
closedBalanceInBillingCurrency()
Get the closed |
| String |
creditCurrency()
Get the credit |
| String |
etag()
Get the etag property: The e |
|
Offset |
expirationDate()
Get the expiration |
|
static
Lot |
fromJson(JsonReader jsonReader)
Reads an instance of Lot |
| Amount |
originalAmount()
Get the original |
|
Amount |
originalAmountInBillingCurrency()
Get the original |
| String |
poNumber()
Get the po |
|
Offset |
purchasedDate()
Get the purchased |
| Reseller |
reseller()
Get the reseller property: The reseller of the lot. |
|
Lot |
source()
Get the source property: The source of the lot. |
|
Offset |
startDate()
Get the start |
| Status |
status()
Get the status property: The status of the lot. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
LotProperties
public LotProperties()
Creates an instance of LotProperties class.
Method Details
billingCurrency
public String billingCurrency()
Get the billingCurrency property: The billing currency of the lot.
Returns:
closedBalance
public Amount closedBalance()
Get the closedBalance property: The balance as of the last invoice.
Returns:
closedBalanceInBillingCurrency
public AmountWithExchangeRate closedBalanceInBillingCurrency()
Get the closedBalanceInBillingCurrency property: The balance as of the last invoice in billing currency.
Returns:
creditCurrency
public String creditCurrency()
Get the creditCurrency property: The currency of the lot.
Returns:
etag
public String etag()
Get the etag property: The eTag for the resource.
Returns:
expirationDate
public OffsetDateTime expirationDate()
Get the expirationDate property: The expiration date of a lot.
Returns:
fromJson
public static LotProperties fromJson(JsonReader jsonReader)
Reads an instance of LotProperties from the JsonReader.
Parameters:
Returns:
Throws:
originalAmount
public Amount originalAmount()
Get the originalAmount property: The original amount of a lot.
Returns:
originalAmountInBillingCurrency
public AmountWithExchangeRate originalAmountInBillingCurrency()
Get the originalAmountInBillingCurrency property: The original amount of a lot in billing currency.
Returns:
poNumber
public String poNumber()
Get the poNumber property: The po number of the invoice on which the lot was added. This property is not available for ConsumptionCommitment lots.
Returns:
purchasedDate
public OffsetDateTime purchasedDate()
Get the purchasedDate property: The date when the lot was added.
Returns:
reseller
public Reseller reseller()
Get the reseller property: The reseller of the lot.
Returns:
source
public LotSource source()
Get the source property: The source of the lot.
Returns:
startDate
public OffsetDateTime startDate()
Get the startDate property: The date when the lot became effective.
Returns:
status
public Status status()
Get the status property: The status of the lot.
Returns:
toJson
validate
public void validate()
Validates the instance.