LotSummaryInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. consumption. fluent. models. LotSummaryInner
- com.
- com.
public final class LotSummaryInner
extends ProxyResource
A lot summary resource.
Constructor Summary
| Constructor | Description |
|---|---|
| LotSummaryInner() |
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: e |
| String |
etagPropertiesEtag()
Get the etag property: The e |
|
Offset |
expirationDate()
Get the expiration |
|
static
Lot |
fromJson(JsonReader jsonReader)
Reads an instance of Lot |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| 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) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Lot |
withEtag(String etag)
Set the etag property: e |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
LotSummaryInner
public LotSummaryInner()
Creates an instance of LotSummaryInner 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: eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
Returns:
etagPropertiesEtag
public String etagPropertiesEtag()
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 LotSummaryInner fromJson(JsonReader jsonReader)
Reads an instance of LotSummaryInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
LotSummaryInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
LotSummaryInner.name()Returns:
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
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
LotSummaryInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
LotSummaryInner.type()Returns:
validate
public void validate()
Validates the instance.
withEtag
public LotSummaryInner withEtag(String etag)
Set the etag property: eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
Parameters:
Returns: