Skip to content

/AWS1/CL_MPIRATECARDITEM

A per-unit rate within a rate card, defining the price for a specific dimension.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_dimensionkey TYPE /AWS1/MPIBOUNDEDSTRING /AWS1/MPIBOUNDEDSTRING

The machine-readable key identifying the dimension being priced.

iv_displayname TYPE /AWS1/MPIBOUNDEDSTRING /AWS1/MPIBOUNDEDSTRING

The human-readable name of the dimension.

iv_unit TYPE /AWS1/MPIBOUNDEDSTRING /AWS1/MPIBOUNDEDSTRING

The unit of measurement for the dimension.

iv_price TYPE /AWS1/MPIBOUNDEDSTRING /AWS1/MPIBOUNDEDSTRING

The price per unit for the dimension.

Optional arguments:

iv_description TYPE /AWS1/MPIBOUNDEDSTRING /AWS1/MPIBOUNDEDSTRING

A description of the dimension being priced.

it_dimensionlabels TYPE /AWS1/CL_MPIDIMENSIONLABEL=>TT_DIMENSIONLABELLIST TT_DIMENSIONLABELLIST

Labels used to categorize this dimension, such as by region.


Queryable Attributes

dimensionKey

The machine-readable key identifying the dimension being priced.

Accessible with the following methods

Method Description
GET_DIMENSIONKEY() Getter for DIMENSIONKEY, with configurable default
ASK_DIMENSIONKEY() Getter for DIMENSIONKEY w/ exceptions if field has no value
HAS_DIMENSIONKEY() Determine if DIMENSIONKEY has a value

displayName

The human-readable name of the dimension.

Accessible with the following methods

Method Description
GET_DISPLAYNAME() Getter for DISPLAYNAME, with configurable default
ASK_DISPLAYNAME() Getter for DISPLAYNAME w/ exceptions if field has no value
HAS_DISPLAYNAME() Determine if DISPLAYNAME has a value

description

A description of the dimension being priced.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

dimensionLabels

Labels used to categorize this dimension, such as by region.

Accessible with the following methods

Method Description
GET_DIMENSIONLABELS() Getter for DIMENSIONLABELS, with configurable default
ASK_DIMENSIONLABELS() Getter for DIMENSIONLABELS w/ exceptions if field has no val
HAS_DIMENSIONLABELS() Determine if DIMENSIONLABELS has a value

unit

The unit of measurement for the dimension.

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

price

The price per unit for the dimension.

Accessible with the following methods

Method Description
GET_PRICE() Getter for PRICE, with configurable default
ASK_PRICE() Getter for PRICE w/ exceptions if field has no value
HAS_PRICE() Determine if PRICE 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_RATECARDLIST

TYPES TT_RATECARDLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_MPIRATECARDITEM WITH DEFAULT KEY
.