/AWS1/CL_BCPUSAGEQUANTITY¶
Represents a usage quantity with associated unit and time period.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_starthour TYPE /AWS1/BCPTIMESTAMP /AWS1/BCPTIMESTAMP¶
The start hour of the usage period.
iv_unit TYPE /AWS1/BCPSTRING /AWS1/BCPSTRING¶
The unit of measurement for the usage quantity.
iv_amount TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The numeric value of the usage quantity.
Queryable Attributes¶
startHour¶
The start hour of the usage period.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STARTHOUR() |
Getter for STARTHOUR, with configurable default |
ASK_STARTHOUR() |
Getter for STARTHOUR w/ exceptions if field has no value |
HAS_STARTHOUR() |
Determine if STARTHOUR has a value |
unit¶
The unit of measurement for the usage quantity.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UNIT() |
Getter for UNIT, with configurable default |
ASK_UNIT() |
Getter for UNIT w/ exceptions if field has no value |
HAS_UNIT() |
Determine if UNIT has a value |
amount¶
The numeric value of the usage quantity.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AMOUNT() |
Getter for AMOUNT, with configurable default |
ASK_AMOUNT() |
Getter for AMOUNT w/ exceptions if field has no value |
STR_AMOUNT() |
String format for AMOUNT, with configurable default |
HAS_AMOUNT() |
Determine if AMOUNT has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_USAGEQUANTITIES¶
TYPES TT_USAGEQUANTITIES TYPE STANDARD TABLE OF REF TO /AWS1/CL_BCPUSAGEQUANTITY WITH DEFAULT KEY
.