public class OrderQuantityUnit extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderQuantityUnit.Builder
Class to build instances of
OrderQuantityUnit. |
| Modifier | Constructor and Description |
|---|---|
|
OrderQuantityUnit(MeasurementUnit measurementUnit,
Integer precision,
String catalogObjectId,
Long catalogVersion)
Initialization constructor.
|
protected |
OrderQuantityUnit(MeasurementUnit measurementUnit,
io.apimatic.core.types.OptionalNullable<Integer> precision,
io.apimatic.core.types.OptionalNullable<String> catalogObjectId,
io.apimatic.core.types.OptionalNullable<Long> catalogVersion)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCatalogObjectId()
Getter for CatalogObjectId.
|
Long |
getCatalogVersion()
Getter for CatalogVersion.
|
MeasurementUnit |
getMeasurementUnit()
Getter for MeasurementUnit.
|
Integer |
getPrecision()
Getter for Precision.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCatalogObjectId()
Internal Getter for CatalogObjectId.
|
protected io.apimatic.core.types.OptionalNullable<Long> |
internalGetCatalogVersion()
Internal Getter for CatalogVersion.
|
protected io.apimatic.core.types.OptionalNullable<Integer> |
internalGetPrecision()
Internal Getter for Precision.
|
OrderQuantityUnit.Builder |
toBuilder()
Builds a new
OrderQuantityUnit.Builder object. |
String |
toString()
Converts this OrderQuantityUnit into string format.
|
public OrderQuantityUnit(MeasurementUnit measurementUnit, Integer precision, String catalogObjectId, Long catalogVersion)
measurementUnit - MeasurementUnit value for measurementUnit.precision - Integer value for precision.catalogObjectId - String value for catalogObjectId.catalogVersion - Long value for catalogVersion.protected OrderQuantityUnit(MeasurementUnit measurementUnit, io.apimatic.core.types.OptionalNullable<Integer> precision, io.apimatic.core.types.OptionalNullable<String> catalogObjectId, io.apimatic.core.types.OptionalNullable<Long> catalogVersion)
measurementUnit - MeasurementUnit value for measurementUnit.precision - Integer value for precision.catalogObjectId - String value for catalogObjectId.catalogVersion - Long value for catalogVersion.public MeasurementUnit getMeasurementUnit()
protected io.apimatic.core.types.OptionalNullable<Integer> internalGetPrecision()
public Integer getPrecision()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCatalogObjectId()
public String getCatalogObjectId()
protected io.apimatic.core.types.OptionalNullable<Long> internalGetCatalogVersion()
public Long getCatalogVersion()
public String toString()
public OrderQuantityUnit.Builder toBuilder()
OrderQuantityUnit.Builder object.
Creates the instance with the state of the current model.OrderQuantityUnit.Builder objectCopyright © 2024. All rights reserved.