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.
-
UnitOfMeasureOutputRepresentation Constructor
Learn more about the constructor that’s available with the UnitOfMeasureOutputRepresentation class.
-
UnitOfMeasureOutputRepresentation Properties
Contains properties to include unit of measure details for products.
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.
Constructor to create a UnitOfMeasureOutputRepresentation instance from a ConnectApi UnitOfMeasureOutputRepresentation object.
public UnitOfMeasureOutputRepresentation(ConnectApi.UnitOfMeasureOutputRepresentation apexObj)
apexObj
Type: ConnectApi.UnitOfMeasureOutputRepresentation
The ConnectApi unit of measure representation object to convert to UnitOfMeasureOutputRepresentation.
Contains properties to include unit of measure details for products.
The UnitOfMeasureOutputRepresentation class includes these properties.
-
Get the ID of the unitofmeasure.
-
Get the name of the unitofmeasure.
-
Get the roundingmethod value.
-
Get the scale value.
-
Get the unitcode value.
Get the ID of the unitofmeasure.
public String id {get; set;}
Type: String
Get the name of the unitofmeasure.
public String name {get; set;}
Type: String
Get the roundingmethod value.
public String roundingMethod {get; set;}
Type: String
Get the scale value.
public Integer scale {get; set;}
Type: Integer
Get the unitcode value.
public String unitCode {get; set;}
Type: String