ProductInner Class

public final class ProductInner
extends ProxyResource

A product.

Constructor Summary

Constructor Description
ProductInner()

Creates an instance of ProductInner class.

Method Summary

Modifier and Type Method and Description
AutoRenew autoRenew()

Get the autoRenew property: Indicates whether auto renewal is turned on or off for a product.

String availabilityId()

Get the availabilityId property: The availability of the product.

BillingFrequency billingFrequency()

Get the billingFrequency property: The frequency at which the product will be billed.

String billingProfileDisplayName()

Get the billingProfileDisplayName property: The name of the billing profile to which the product is billed.

String billingProfileId()

Get the billingProfileId property: The ID of the billing profile to which the product is billed.

String customerDisplayName()

Get the customerDisplayName property: The name of the customer for whom the product was purchased.

String customerId()

Get the customerId property: The ID of the customer for whom the product was purchased.

String displayName()

Get the displayName property: The display name of the product.

OffsetDateTime endDate()

Get the endDate property: The date when the product will be renewed or canceled.

String invoiceSectionDisplayName()

Get the invoiceSectionDisplayName property: The name of the invoice section to which the product is billed.

String invoiceSectionId()

Get the invoiceSectionId property: The ID of the invoice section to which the product is billed.

Amount lastCharge()

Get the lastCharge property: The last month charges.

OffsetDateTime lastChargeDate()

Get the lastChargeDate property: The date of the last charge.

String productType()

Get the productType property: The description of the type of product.

String productTypeId()

Get the productTypeId property: The ID of the type of product.

OffsetDateTime purchaseDate()

Get the purchaseDate property: The date when the product was purchased.

Float quantity()

Get the quantity property: The quantity purchased for the product.

Reseller reseller()

Get the reseller property: Reseller for this product.

String skuDescription()

Get the skuDescription property: The sku description of the product.

String skuId()

Get the skuId property: The sku ID of the product.

ProductStatusType status()

Get the status property: The current status of the product.

String tenantId()

Get the tenantId property: The id of the tenant in which the product is used.

void validate()

Validates the instance.

ProductInner withAutoRenew(AutoRenew autoRenew)

Set the autoRenew property: Indicates whether auto renewal is turned on or off for a product.

ProductInner withBillingFrequency(BillingFrequency billingFrequency)

Set the billingFrequency property: The frequency at which the product will be billed.

ProductInner withStatus(ProductStatusType status)

Set the status property: The current status of the product.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ProductInner

public ProductInner()

Creates an instance of ProductInner class.

Method Details

autoRenew

public AutoRenew autoRenew()

Get the autoRenew property: Indicates whether auto renewal is turned on or off for a product.

Returns:

the autoRenew value.

availabilityId

public String availabilityId()

Get the availabilityId property: The availability of the product.

Returns:

the availabilityId value.

billingFrequency

public BillingFrequency billingFrequency()

Get the billingFrequency property: The frequency at which the product will be billed.

Returns:

the billingFrequency value.

billingProfileDisplayName

public String billingProfileDisplayName()

Get the billingProfileDisplayName property: The name of the billing profile to which the product is billed.

Returns:

the billingProfileDisplayName value.

billingProfileId

public String billingProfileId()

Get the billingProfileId property: The ID of the billing profile to which the product is billed.

Returns:

the billingProfileId value.

customerDisplayName

public String customerDisplayName()

Get the customerDisplayName property: The name of the customer for whom the product was purchased. The field is applicable only for Microsoft Partner Agreement billing account.

Returns:

the customerDisplayName value.

customerId

public String customerId()

Get the customerId property: The ID of the customer for whom the product was purchased. The field is applicable only for Microsoft Partner Agreement billing account.

Returns:

the customerId value.

displayName

public String displayName()

Get the displayName property: The display name of the product.

Returns:

the displayName value.

endDate

public OffsetDateTime endDate()

Get the endDate property: The date when the product will be renewed or canceled.

Returns:

the endDate value.

invoiceSectionDisplayName

public String invoiceSectionDisplayName()

Get the invoiceSectionDisplayName property: The name of the invoice section to which the product is billed.

Returns:

the invoiceSectionDisplayName value.

invoiceSectionId

public String invoiceSectionId()

Get the invoiceSectionId property: The ID of the invoice section to which the product is billed.

Returns:

the invoiceSectionId value.

lastCharge

public Amount lastCharge()

Get the lastCharge property: The last month charges.

Returns:

the lastCharge value.

lastChargeDate

public OffsetDateTime lastChargeDate()

Get the lastChargeDate property: The date of the last charge.

Returns:

the lastChargeDate value.

productType

public String productType()

Get the productType property: The description of the type of product.

Returns:

the productType value.

productTypeId

public String productTypeId()

Get the productTypeId property: The ID of the type of product.

Returns:

the productTypeId value.

purchaseDate

public OffsetDateTime purchaseDate()

Get the purchaseDate property: The date when the product was purchased.

Returns:

the purchaseDate value.

quantity

public Float quantity()

Get the quantity property: The quantity purchased for the product.

Returns:

the quantity value.

reseller

public Reseller reseller()

Get the reseller property: Reseller for this product.

Returns:

the reseller value.

skuDescription

public String skuDescription()

Get the skuDescription property: The sku description of the product.

Returns:

the skuDescription value.

skuId

public String skuId()

Get the skuId property: The sku ID of the product.

Returns:

the skuId value.

status

public ProductStatusType status()

Get the status property: The current status of the product.

Returns:

the status value.

tenantId

public String tenantId()

Get the tenantId property: The id of the tenant in which the product is used.

Returns:

the tenantId value.

validate

public void validate()

Validates the instance.

withAutoRenew

public ProductInner withAutoRenew(AutoRenew autoRenew)

Set the autoRenew property: Indicates whether auto renewal is turned on or off for a product.

Parameters:

autoRenew - the autoRenew value to set.

Returns:

the ProductInner object itself.

withBillingFrequency

public ProductInner withBillingFrequency(BillingFrequency billingFrequency)

Set the billingFrequency property: The frequency at which the product will be billed.

Parameters:

billingFrequency - the billingFrequency value to set.

Returns:

the ProductInner object itself.

withStatus

public ProductInner withStatus(ProductStatusType status)

Set the status property: The current status of the product.

Parameters:

status - the status value to set.

Returns:

the ProductInner object itself.

Applies to