public class Product extends Object
| Constructor and Description |
|---|
Product(String dealName,
String productName,
String productStatus,
String serviceType,
BigDecimal qty,
Date purchaseDate,
Date cycleDate,
Date usageDate)
Constructs an object with information to use for a product's balance.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getCycleStartDate()
Gets the cycle start date for the
Product object. |
String |
getDealName()
Gets the deal name for the
Product object. |
String |
getProductName()
Gets the product name for the
Product object. |
String |
getProductStatus()
Gets the product status for the
Product object. |
Date |
getPurchaseDate()
Gets the purchase date for the
Product object. |
BigDecimal |
getServiceQty()
Gets the service quantity for the
Product object. |
String |
getServiceType()
Gets the service type for the
Product object. |
Date |
getUsageDate()
Gets the usage start date for the
Product object. |
public Product(String dealName, String productName, String productStatus, String serviceType, BigDecimal qty, Date purchaseDate, Date cycleDate, Date usageDate)
dealName - a String containing the name of the dealproductName - a String containing the name of the productproductStatus - a String containing the current statusserviceType - a String containing the type of serviceqty - the number of productspurchaseDate - the plan's Purchase DatecycleDate - the plan's Cycle Start DateusageDate - the plan's Usage datepublic String getDealName()
Product object.String if the deal
name is null.public String getProductName()
Product object.String if the product name
is null.public String getProductStatus()
Product object.String if the status is
null.PProductsBeanImpl.getProductStatusAsString(int)public String getServiceType()
Product object.String if the service
type is null.public BigDecimal getServiceQty()
Product object.BigDecimal that represents the service quantity for this
Product, or a zero value if the service quantity is null.public Date getPurchaseDate()
Product object.Date indicating the purchase date for this Product,
or today's date if the purchase date is null.public Date getCycleStartDate()
Product object.Date indicating the cycle start date for this Product,
or today's date if the cycle start date is null.public Date getUsageDate()
Product object.Date indicating the usage start date for this Product,
or today's date if the usage start date is null.Copyright © 2003, 2023, Oracle and/or its affiliates.