Skip to content

/AWS1/CL_MPIPRICINGUNIT

A pricing unit that defines the billing dimension for a listing, such as users, hosts, bandwidth, or data.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_pricingunittype TYPE /AWS1/MPIPRICINGUNITTYPE /AWS1/MPIPRICINGUNITTYPE

The machine-readable type of the pricing unit.

iv_displayname TYPE /AWS1/MPINONEMPTYSTRING /AWS1/MPINONEMPTYSTRING

The human-readable name of the pricing unit.


Queryable Attributes

pricingUnitType

The machine-readable type of the pricing unit.

Accessible with the following methods

Method Description
GET_PRICINGUNITTYPE() Getter for PRICINGUNITTYPE, with configurable default
ASK_PRICINGUNITTYPE() Getter for PRICINGUNITTYPE w/ exceptions if field has no val
HAS_PRICINGUNITTYPE() Determine if PRICINGUNITTYPE has a value

displayName

The human-readable name of the pricing unit.

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

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_PRICINGUNITLIST

TYPES TT_PRICINGUNITLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_MPIPRICINGUNIT WITH DEFAULT KEY
.