Skip to content

/AWS1/CL_PRPSCHEDULEDCHANGE

A pending change on a subscription that takes effect at the end of the current billing period, such as a tier downgrade or cancellation.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_changetype TYPE /AWS1/PRPSCHEDULEDCHANGETYPE /AWS1/PRPSCHEDULEDCHANGETYPE

The type of pending change. Possible values are DOWNGRADE (a tier change to a lower level) and CANCELLATION (subscription termination).

Optional arguments:

iv_effectivedate TYPE /AWS1/PRPTIMESTAMP /AWS1/PRPTIMESTAMP

The date and time when the change takes effect, in ISO 8601 format. This value is populated after the change is confirmed by the billing system.

iv_plantier TYPE /AWS1/PRPSTRING /AWS1/PRPSTRING

For downgrades, the tier level that the subscription will change to. Not present for cancellations.

iv_usagelevel TYPE /AWS1/PRPSTRING /AWS1/PRPSTRING

For downgrades, the target usage level after the change takes effect.


Queryable Attributes

changeType

The type of pending change. Possible values are DOWNGRADE (a tier change to a lower level) and CANCELLATION (subscription termination).

Accessible with the following methods

Method Description
GET_CHANGETYPE() Getter for CHANGETYPE, with configurable default
ASK_CHANGETYPE() Getter for CHANGETYPE w/ exceptions if field has no value
HAS_CHANGETYPE() Determine if CHANGETYPE has a value

effectiveDate

The date and time when the change takes effect, in ISO 8601 format. This value is populated after the change is confirmed by the billing system.

Accessible with the following methods

Method Description
GET_EFFECTIVEDATE() Getter for EFFECTIVEDATE, with configurable default
ASK_EFFECTIVEDATE() Getter for EFFECTIVEDATE w/ exceptions if field has no value
HAS_EFFECTIVEDATE() Determine if EFFECTIVEDATE has a value

planTier

For downgrades, the tier level that the subscription will change to. Not present for cancellations.

Accessible with the following methods

Method Description
GET_PLANTIER() Getter for PLANTIER, with configurable default
ASK_PLANTIER() Getter for PLANTIER w/ exceptions if field has no value
HAS_PLANTIER() Determine if PLANTIER has a value

usageLevel

For downgrades, the target usage level after the change takes effect.

Accessible with the following methods

Method Description
GET_USAGELEVEL() Getter for USAGELEVEL, with configurable default
ASK_USAGELEVEL() Getter for USAGELEVEL w/ exceptions if field has no value
HAS_USAGELEVEL() Determine if USAGELEVEL has a value