LotSummaryInner Class

public final class LotSummaryInner
extends ProxyResource

A lot summary resource.

Constructor Summary

Constructor Description
LotSummaryInner()

Method Summary

Modifier and Type Method and 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: eTag of the resource.

String etagPropertiesEtag()

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.

LotSummaryInner withEtag(String etag)

Set the etag property: eTag of the resource.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

LotSummaryInner

public LotSummaryInner()

Method Details

billingCurrency

public String billingCurrency()

Get the billingCurrency property: The billing currency of the lot.

Returns:

the billingCurrency value.

closedBalance

public Amount closedBalance()

Get the closedBalance property: The balance as of the last invoice.

Returns:

the closedBalance value.

closedBalanceInBillingCurrency

public AmountWithExchangeRate closedBalanceInBillingCurrency()

Get the closedBalanceInBillingCurrency property: The balance as of the last invoice in billing currency.

Returns:

the closedBalanceInBillingCurrency value.

creditCurrency

public String creditCurrency()

Get the creditCurrency property: The currency of the lot.

Returns:

the creditCurrency value.

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:

the etag value.

etagPropertiesEtag

public String etagPropertiesEtag()

Get the etag property: The eTag for the resource.

Returns:

the etag value.

expirationDate

public OffsetDateTime expirationDate()

Get the expirationDate property: The expiration date of a lot.

Returns:

the expirationDate value.

originalAmount

public Amount originalAmount()

Get the originalAmount property: The original amount of a lot.

Returns:

the originalAmount value.

originalAmountInBillingCurrency

public AmountWithExchangeRate originalAmountInBillingCurrency()

Get the originalAmountInBillingCurrency property: The original amount of a lot in billing currency.

Returns:

the originalAmountInBillingCurrency 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.

reseller

public Reseller reseller()

Get the reseller property: The reseller of the lot.

Returns:

the reseller 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.

status

public Status status()

Get the status property: The status of the lot.

Returns:

the status value.

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:

etag - the etag value to set.

Returns:

the LotSummaryInner object itself.

Applies to