# com.beasys.commerce.ebusiness.catalog
ProductItem Interface

public interface ProductItem
extends `CatalogItem`

This is the interface for all product items contained by the Catalog. This interface exposes data accessors for product item data conforming to the Dublin Core Metadata. Refer to the DCM spec for details: Dublin Core Element Set

All Known Implementing Classes
  `ProductItemImpl`, `MutableProductItemImpl`

All Superinterfaces
  `CatalogItem`, `ConfigurableEntity`, `Serializable`

All Known Subinterfaces
  `MutableProductItem`

## Field Summary

`public static final int` | `DETAILED_DISPLAY_JSP_INDEX` The index for the detailed display JSP
`public static final char` | `INVISIBLE_ITEM` Constant identifier for invisible items
`public static final int` | `MAX_JSP` The number of JSPs supported
`public static final int` | `SUMMARY_DISPLAY_JSP_INDEX` The index for the summary display JSP
`public static final char` | `VISIBLE_ITEM` Constant identifier for visible item

Fields from interface com.beasys.commerce.ebusiness.catalog`.`CatalogItem``
``LARGE_IMAGE_INDEX`, `LONG_DESCRIPTION_INDEX`, `MAX_DESCRIPTION`, `MAX_IMAGES`, `SHORT_DESCRIPTION_INDEX`, `SMALL_IMAGE_INDEX``

Fields from interface com.bea.p13n.property`.`ConfigurableEntity``
``RESERVED_PROPERTY_SET``

## Method Summary

`public `InventoryInfo`` | `getAvailability`() Get the inventory/availability information for the product item.
`public `Money`` | `getCurrentPrice`() Get the current price for the product item.
`public `String`` | `getFormat`() Get the format information for the product item.
`public `JspInfo`` | `getJsp`(int index) Get the JSP information for the product item.
`public `Money`` | `getMsrp`() Get the MSRP price for the product item.
`public `String`` | `getShippingCode`() Get the shipping code for the product item.
`public `String`` | `getTaxCode`() Get the tax code for the product item.
`public `String`` | `getType`() Get the type information for the product item.
`public char` | `getVisible`() Get the visiblity mode for this item.

Methods from interface `com.beasys.commerce.ebusiness.catalog.`CatalogItem``
``getContributor`, `getCoverage`, `getCreationDate`, `getCreator`, `getDescription`, `getImage`, `getKey`, `getLanguage`, `getModifiedDate`, `getName`, `getPublisher`, `getRelation`, `getRights`, `getSource``

Methods from interface `com.bea.p13n.property.`ConfigurableEntity``
``getJndiName`, `getPkString`, `getProperty`, `getPropertyAsString`, `getPropertyNoDefault`, `getUniqueId`, `removeProperty`, `setProperty``

## Field Detail

### DETAILED_DISPLAY_JSP_INDEX

    public static final int DETAILED_DISPLAY_JSP_INDEX

  The index for the detailed display JSP

### INVISIBLE_ITEM

    public static final char INVISIBLE_ITEM

  Constant identifier for invisible items

### MAX_JSP

    public static final int MAX_JSP

  The number of JSPs supported

### SUMMARY_DISPLAY_JSP_INDEX

    public static final int SUMMARY_DISPLAY_JSP_INDEX

  The index for the summary display JSP

### VISIBLE_ITEM

    public static final char VISIBLE_ITEM

  Constant identifier for visible item

## Method Detail

### getAvailability() Method

    public InventoryInfo getAvailability()

Get the inventory/availability information for the product item.

#### Returns

the inventory information for the product item.

### getCurrentPrice() Method

    public Money getCurrentPrice()

Get the current price for the product item.

### getFormat() Method

    public String getFormat()

Get the format information for the product item.

Name: Format

Identifier: Format

Definition: The physical or digital manifestation of the resource.

Comment: Typically, Format may include the media-type or dimensions of the resource. Format may be used to determine the software, hardware or other equipment needed to display or operate the resource. Examples of dimensions include size and duration. Recommended best practice is to select a value from a controlled vocabulary (for example, the list of Internet Media Types [MIME] defining computer media formats).

#### Returns

the format

### getJsp(int) Method

    public JspInfo getJsp(int index)

Get the JSP information for the product item.

#### Parameters

index
  one of SUMMARY_DISPLAY_JSP_INDEX or DETAILED_DISPLAY_JSP_INDEX.

#### Returns

jspInfo the JSP information.

### getMsrp() Method

    public Money getMsrp()

Get the MSRP price for the product item.

#### Returns

the price for the product item.

### getShippingCode() Method

    public String getShippingCode()

Get the shipping code for the product item.

#### Returns

the shipping code

### getTaxCode() Method

    public String getTaxCode()

Get the tax code for the product item. The tax code used should reference the WLCS tax calculation system currently being used.

#### Returns

the tax code

### getType() Method

    public String getType()

Get the type information for the product item.

Name: Resource Type

Identifier: Type

Definition: The nature or genre of the content of the resource.

Comment: Type includes terms describing general categories, functions, genres, or aggregation levels for content. Recommended best practice is to select a value from a controlled vocabulary (for example, the working draft list of Dublin Core Types [DCT1]). To describe the physical or digital manifestation of the resource, use the FORMAT element.

#### Returns

the type

### getVisible() Method

    public char getVisible()

Get the visiblity mode for this item.

#### Returns

one of ProductItem.VISIBLE_ITEM or ProductItem.INVISIBLE_ITEM