Class LotProperties
- java.lang.Object
-
- com.azure.resourcemanager.consumption.fluent.models.LotProperties
-
public final class LotProperties extends Object
The lot properties.
-
-
Constructor Summary
Constructors Constructor Description LotProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
billingCurrency()
Get the billingCurrency property: The billing currency of the lot.Amount
closedBalance()
Get the closedBalance property: The balance as of the last invoice.AmountWithExchangeRate
closedBalanceInBillingCurrency()
Get the closedBalanceInBillingCurrency property: The balance as of the last invoice in billing currency.String
creditCurrency()
Get the creditCurrency property: The currency of the lot.String
etag()
Get the etag property: The eTag for the resource.OffsetDateTime
expirationDate()
Get the expirationDate property: The expiration date of a lot.Amount
originalAmount()
Get the originalAmount property: The original amount of a lot.AmountWithExchangeRate
originalAmountInBillingCurrency()
Get the originalAmountInBillingCurrency property: The original amount of a lot in billing currency.String
poNumber()
Get the poNumber property: The po number of the invoice on which the lot was added.OffsetDateTime
purchasedDate()
Get the purchasedDate property: The date when the lot was added.Reseller
reseller()
Get the reseller property: The reseller of the lot.LotSource
source()
Get the source property: The source of the lot.OffsetDateTime
startDate()
Get the startDate property: The date when the lot became effective.Status
status()
Get the status property: The status of the lot.void
validate()
Validates the instance.
-
-
-
Method Detail
-
originalAmount
public Amount originalAmount()
Get the originalAmount property: The original amount of a lot.- Returns:
- the originalAmount value.
-
closedBalance
public Amount closedBalance()
Get the closedBalance property: The balance as of the last invoice.- Returns:
- the closedBalance value.
-
source
public LotSource source()
Get the source property: The source of the lot.- Returns:
- the source value.
-
startDate
public OffsetDateTime startDate()
Get the startDate property: The date when the lot became effective.- Returns:
- the startDate value.
-
expirationDate
public OffsetDateTime expirationDate()
Get the expirationDate property: The expiration date of a lot.- Returns:
- the expirationDate value.
-
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:
- the poNumber value.
-
purchasedDate
public OffsetDateTime purchasedDate()
Get the purchasedDate property: The date when the lot was added.- Returns:
- the purchasedDate value.
-
status
public Status status()
Get the status property: The status of the lot.- Returns:
- the status value.
-
creditCurrency
public String creditCurrency()
Get the creditCurrency property: The currency of the lot.- Returns:
- the creditCurrency value.
-
billingCurrency
public String billingCurrency()
Get the billingCurrency property: The billing currency of the lot.- Returns:
- the billingCurrency value.
-
originalAmountInBillingCurrency
public AmountWithExchangeRate originalAmountInBillingCurrency()
Get the originalAmountInBillingCurrency property: The original amount of a lot in billing currency.- Returns:
- the originalAmountInBillingCurrency value.
-
closedBalanceInBillingCurrency
public AmountWithExchangeRate closedBalanceInBillingCurrency()
Get the closedBalanceInBillingCurrency property: The balance as of the last invoice in billing currency.- Returns:
- the closedBalanceInBillingCurrency value.
-
reseller
public Reseller reseller()
Get the reseller property: The reseller of the lot.- Returns:
- the reseller value.
-
etag
public String etag()
Get the etag property: The eTag for the resource.- Returns:
- the etag value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-