Skip to content

/AWS1/CL_MPGEXPECTEDCHARGE

Estimated charge for the request.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_id TYPE /AWS1/MPGRESOURCEID /AWS1/MPGRESOURCEID

Unique identifier of the charge for a given agreement.

iv_time TYPE /AWS1/MPGTIMESTAMP /AWS1/MPGTIMESTAMP

The date and time when the charge is due to be invoiced. This is available only when the charge date is known.

iv_amount TYPE /AWS1/MPGBOUNDEDSTRING /AWS1/MPGBOUNDEDSTRING

The tax-exclusive amount of the charge. Only available when the charge amount is known.

iv_amountaftertax TYPE /AWS1/MPGBOUNDEDSTRING /AWS1/MPGBOUNDEDSTRING

The tax-inclusive amount the acceptor has to pay. The amount is only present for fixed charges.

iv_timing TYPE /AWS1/MPGTIMING /AWS1/MPGTIMING

Indicates when the charge amount will be incurred. Values include ON_ACCEPTANCE (charged immediately when the agreement request is accepted), BILLING_PERIOD (charged on each billing period), and SCHEDULED (charged at a predetermined future date).

io_estimatedtaxes TYPE REF TO /AWS1/CL_MPGESTIMATEDTAXES /AWS1/CL_MPGESTIMATEDTAXES

Provides an aggregated view of estimated tax information for this specific charge.


Queryable Attributes

id

Unique identifier of the charge for a given agreement.

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

time

The date and time when the charge is due to be invoiced. This is available only when the charge date is known.

Accessible with the following methods

Method Description
GET_TIME() Getter for TIME, with configurable default
ASK_TIME() Getter for TIME w/ exceptions if field has no value
HAS_TIME() Determine if TIME has a value

amount

The tax-exclusive amount of the charge. Only available when the charge amount is known.

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
HAS_AMOUNT() Determine if AMOUNT has a value

amountAfterTax

The tax-inclusive amount the acceptor has to pay. The amount is only present for fixed charges.

Accessible with the following methods

Method Description
GET_AMOUNTAFTERTAX() Getter for AMOUNTAFTERTAX, with configurable default
ASK_AMOUNTAFTERTAX() Getter for AMOUNTAFTERTAX w/ exceptions if field has no valu
HAS_AMOUNTAFTERTAX() Determine if AMOUNTAFTERTAX has a value

timing

Indicates when the charge amount will be incurred. Values include ON_ACCEPTANCE (charged immediately when the agreement request is accepted), BILLING_PERIOD (charged on each billing period), and SCHEDULED (charged at a predetermined future date).

Accessible with the following methods

Method Description
GET_TIMING() Getter for TIMING, with configurable default
ASK_TIMING() Getter for TIMING w/ exceptions if field has no value
HAS_TIMING() Determine if TIMING has a value

estimatedTaxes

Provides an aggregated view of estimated tax information for this specific charge.

Accessible with the following methods

Method Description
GET_ESTIMATEDTAXES() Getter for ESTIMATEDTAXES

Public Local Types In This Class

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

TT_EXPECTEDCHARGELIST

TYPES TT_EXPECTEDCHARGELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_MPGEXPECTEDCHARGE WITH DEFAULT KEY
.