ProductUnitOfMeasureOutputRepresentation Class

Represents a unit of measure that’s available for a product, including whether it’s the base or default unit and whether it’s orderable.

runtime_industries_cpq

Learn more about the constructor that’s available with the ProductUnitOfMeasureOutputRepresentation class.

The ProductUnitOfMeasureOutputRepresentation class includes this constructor.

Constructor to create a ProductUnitOfMeasureOutputRepresentation instance from a ConnectApi.CPQProductUnitOfMeasureOutputRepresentation object.

public ProductUnitOfMeasureOutputRepresentation(ConnectApi.CPQProductUnitOfMeasureOutputRepresentation apexObj)

apexObj

Type: ConnectApi.CPQProductUnitOfMeasureOutputRepresentation

The ConnectApi CPQProductUnitOfMeasureOutputRepresentation object to convert to ProductUnitOfMeasureOutputRepresentation.

Contains properties to include unit of measure details for products.

The ProductUnitOfMeasureOutputRepresentation class includes these properties.

  • id

    Get the ID of the product unit of measure.

  • isBaseUnit

    Get whether the unit of measure is the base unit of measure for the product.

  • isDefaultUnit

    Get whether the unit of measure is the default unit of measure for the product.

  • isOrderable

    Get whether the product can be ordered in this unit of measure.

  • sequence

    Get the sequence of the unit of measure.

  • unitOfMeasureInfo

    Get the details of the unit of measure.

Get the ID of the product unit of measure.

public String id {get; set;}

Type: String

Get whether the unit of measure is the base unit of measure for the product.

public Boolean isBaseUnit {get; set;}

Type: Boolean

Get whether the unit of measure is the default unit of measure for the product.

public Boolean isDefaultUnit {get; set;}

Type: Boolean

Get whether the product can be ordered in this unit of measure.

public Boolean isOrderable {get; set;}

Type: Boolean

Get the sequence of the unit of measure.

public Integer sequence {get; set;}

Type: Integer

Get the details of the unit of measure.

public runtime_industries_cpq.UnitOfMeasureOutputRepresentation unitOfMeasureInfo {get; set;}

Type: runtime_industries_cpq.UnitOfMeasureOutputRepresentation