/AWS1/CL_MPIUSAGEBASEDPRCTERM¶
Defines a usage-based pricing term (typically pay-as-you-go), where buyers are charged based on product usage.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_id TYPE /AWS1/MPITERMID /AWS1/MPITERMID¶
The unique identifier of the term.
iv_type TYPE /AWS1/MPITERMTYPE /AWS1/MPITERMTYPE¶
The category of the term.
iv_currencycode TYPE /AWS1/MPICURRENCYCODE /AWS1/MPICURRENCYCODE¶
Defines the currency for the prices in this term.
it_ratecards TYPE /AWS1/CL_MPIUSAGEBASEDRATECA00=>TT_USAGEBASEDRATECARDLIST TT_USAGEBASEDRATECARDLIST¶
The rate cards containing per-unit rates for usage-based pricing.
Queryable Attributes¶
id¶
The unique identifier of the term.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ID() |
Getter for ID, with configurable default |
ASK_ID() |
Getter for ID w/ exceptions if field has no value |
HAS_ID() |
Determine if ID has a value |
type¶
The category of the term.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TYPE() |
Getter for TYPE, with configurable default |
ASK_TYPE() |
Getter for TYPE w/ exceptions if field has no value |
HAS_TYPE() |
Determine if TYPE has a value |
currencyCode¶
Defines the currency for the prices in this term.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CURRENCYCODE() |
Getter for CURRENCYCODE, with configurable default |
ASK_CURRENCYCODE() |
Getter for CURRENCYCODE w/ exceptions if field has no value |
HAS_CURRENCYCODE() |
Determine if CURRENCYCODE has a value |
rateCards¶
The rate cards containing per-unit rates for usage-based pricing.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RATECARDS() |
Getter for RATECARDS, with configurable default |
ASK_RATECARDS() |
Getter for RATECARDS w/ exceptions if field has no value |
HAS_RATECARDS() |
Determine if RATECARDS has a value |