Interface Product
public interface Product
An immutable client-side representation of Product.
-
Method Summary
Modifier and TypeMethodDescriptionGets the autoRenew property: Indicates whether auto renewal is turned on or off for a product.Gets the availabilityId property: The availability of the product.Gets the billingFrequency property: The frequency at which the product will be billed.Gets the billingProfileDisplayName property: The name of the billing profile to which the product is billed.Gets the billingProfileId property: The ID of the billing profile to which the product is billed.Gets the customerDisplayName property: The name of the customer for whom the product was purchased.Gets the customerId property: The ID of the customer for whom the product was purchased.Gets the displayName property: The display name of the product.endDate()
Gets the endDate property: The date when the product will be renewed or canceled.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.billing.fluent.models.ProductInner object.Gets the invoiceSectionDisplayName property: The name of the invoice section to which the product is billed.Gets the invoiceSectionId property: The ID of the invoice section to which the product is billed.Gets the lastCharge property: The last month charges.Gets the lastChargeDate property: The date of the last charge.name()
Gets the name property: The name of the resource.Gets the productType property: The description of the type of product.Gets the productTypeId property: The ID of the type of product.Gets the purchaseDate property: The date when the product was purchased.quantity()
Gets the quantity property: The quantity purchased for the product.reseller()
Gets the reseller property: Reseller for this product.Gets the skuDescription property: The sku description of the product.skuId()
Gets the skuId property: The sku ID of the product.status()
Gets the status property: The current status of the product.tenantId()
Gets the tenantId property: The id of the tenant in which the product is used.type()
Gets the type property: The type of the resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
autoRenew
AutoRenew autoRenew()Gets the autoRenew property: Indicates whether auto renewal is turned on or off for a product.- Returns:
- the autoRenew value.
-
displayName
String displayName()Gets the displayName property: The display name of the product.- Returns:
- the displayName value.
-
purchaseDate
OffsetDateTime purchaseDate()Gets the purchaseDate property: The date when the product was purchased.- Returns:
- the purchaseDate value.
-
productTypeId
String productTypeId()Gets the productTypeId property: The ID of the type of product.- Returns:
- the productTypeId value.
-
productType
String productType()Gets the productType property: The description of the type of product.- Returns:
- the productType value.
-
status
ProductStatusType status()Gets the status property: The current status of the product.- Returns:
- the status value.
-
endDate
OffsetDateTime endDate()Gets the endDate property: The date when the product will be renewed or canceled.- Returns:
- the endDate value.
-
billingFrequency
BillingFrequency billingFrequency()Gets the billingFrequency property: The frequency at which the product will be billed.- Returns:
- the billingFrequency value.
-
lastCharge
Amount lastCharge()Gets the lastCharge property: The last month charges.- Returns:
- the lastCharge value.
-
lastChargeDate
OffsetDateTime lastChargeDate()Gets the lastChargeDate property: The date of the last charge.- Returns:
- the lastChargeDate value.
-
quantity
Float quantity()Gets the quantity property: The quantity purchased for the product.- Returns:
- the quantity value.
-
skuId
String skuId()Gets the skuId property: The sku ID of the product.- Returns:
- the skuId value.
-
skuDescription
String skuDescription()Gets the skuDescription property: The sku description of the product.- Returns:
- the skuDescription value.
-
tenantId
String tenantId()Gets the tenantId property: The id of the tenant in which the product is used.- Returns:
- the tenantId value.
-
availabilityId
String availabilityId()Gets the availabilityId property: The availability of the product.- Returns:
- the availabilityId value.
-
invoiceSectionId
String invoiceSectionId()Gets the invoiceSectionId property: The ID of the invoice section to which the product is billed.- Returns:
- the invoiceSectionId value.
-
invoiceSectionDisplayName
String invoiceSectionDisplayName()Gets the invoiceSectionDisplayName property: The name of the invoice section to which the product is billed.- Returns:
- the invoiceSectionDisplayName value.
-
billingProfileId
String billingProfileId()Gets the billingProfileId property: The ID of the billing profile to which the product is billed.- Returns:
- the billingProfileId value.
-
billingProfileDisplayName
String billingProfileDisplayName()Gets the billingProfileDisplayName property: The name of the billing profile to which the product is billed.- Returns:
- the billingProfileDisplayName value.
-
customerId
String customerId()Gets 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.
-
customerDisplayName
String customerDisplayName()Gets 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.
-
reseller
Reseller reseller()Gets the reseller property: Reseller for this product.- Returns:
- the reseller value.
-
innerModel
ProductInner innerModel()Gets the inner com.azure.resourcemanager.billing.fluent.models.ProductInner object.- Returns:
- the inner object.
-