UnitOfMeasureOutputRepresentation Class

Represents the unit of measure for a product. This class contains information about how product quantities are measured, including the unit code, name, scale, and rounding method.

Namespace 

runtime_industries_cpq

UnitOfMeasureOutputRepresentation Constructor 

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

The UnitOfMeasureOutputRepresentation class includes this constructor.

UnitOfMeasureOutputRepresentation(apexObj) 

Constructor to create a UnitOfMeasureOutputRepresentation instance from a ConnectApi UnitOfMeasureOutputRepresentation object.

Signature 

public UnitOfMeasureOutputRepresentation(ConnectApi.UnitOfMeasureOutputRepresentation apexObj)

Parameters 

apexObj

Type: ConnectApi.UnitOfMeasureOutputRepresentation

The ConnectApi unit of measure representation object to convert to UnitOfMeasureOutputRepresentation.

UnitOfMeasureOutputRepresentation Properties 

Contains properties to include unit of measure details for products.

The UnitOfMeasureOutputRepresentation class includes these properties.

  • id

    Get the ID of the unitofmeasure.

  • name

    Get the name of the unitofmeasure.

  • roundingMethod

    Get the roundingmethod value.

  • scale

    Get the scale value.

  • unitCode

    Get the unitcode value.

id 

Get the ID of the unitofmeasure.

Signature 

public String id {get; set;}

Property Value 

Type: String

name 

Get the name of the unitofmeasure.

Signature 

public String name {get; set;}

Property Value 

Type: String

roundingMethod 

Get the roundingmethod value.

Signature 

public String roundingMethod {get; set;}

Property Value 

Type: String

scale 

Get the scale value.

Signature 

public Integer scale {get; set;}

Property Value 

Type: Integer

unitCode 

Get the unitcode value.

Signature 

public String unitCode {get; set;}

Property Value 

Type: String