Skip to content

/AWS1/CL_MPIPRCHSEOPTSUMMARY

Summary information about a purchase option (offer or offer set) available to the buyer, including the seller, badges, and associated products.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_purchaseoptionid TYPE /AWS1/MPINONEMPTYSTRING /AWS1/MPINONEMPTYSTRING

The unique identifier of the purchase option.

iv_catalog TYPE /AWS1/MPICATALOG /AWS1/MPICATALOG

The name of the catalog that the purchase option belongs to.

iv_purchaseoptiontype TYPE /AWS1/MPIPURCHASEOPTIONTYPE /AWS1/MPIPURCHASEOPTIONTYPE

The type of purchase option. Values are OFFER for a single-product offer or OFFERSET for a bundled offer set.

io_sellerofrecord TYPE REF TO /AWS1/CL_MPISELLERINFORMATION /AWS1/CL_MPISELLERINFORMATION

The entity responsible for selling the product under this purchase option.

it_associatedentities TYPE /AWS1/CL_MPIPRCHSEOPTASSOCDENT=>TT_PRCHSEOPTIONASSOCDENTLIST TT_PRCHSEOPTIONASSOCDENTLIST

The products, offers, and offer sets associated with this purchase option.

Optional arguments:

iv_purchaseoptionname TYPE /AWS1/MPINONEMPTYSTRING /AWS1/MPINONEMPTYSTRING

The display name of the purchase option.

iv_availablefromtime TYPE /AWS1/MPITIMESTAMP /AWS1/MPITIMESTAMP

The date and time when the purchase option became available to the buyer.

iv_expirationtime TYPE /AWS1/MPITIMESTAMP /AWS1/MPITIMESTAMP

The date and time when the purchase option expires and is no longer available for procurement.

it_badges TYPE /AWS1/CL_MPIPRCHSEOPTIONBADGE=>TT_PURCHASEOPTIONBADGELIST TT_PURCHASEOPTIONBADGELIST

Badges indicating special attributes of the purchase option, such as private pricing or future dated.


Queryable Attributes

purchaseOptionId

The unique identifier of the purchase option.

Accessible with the following methods

Method Description
GET_PURCHASEOPTIONID() Getter for PURCHASEOPTIONID, with configurable default
ASK_PURCHASEOPTIONID() Getter for PURCHASEOPTIONID w/ exceptions if field has no va
HAS_PURCHASEOPTIONID() Determine if PURCHASEOPTIONID has a value

catalog

The name of the catalog that the purchase option belongs to.

Accessible with the following methods

Method Description
GET_CATALOG() Getter for CATALOG, with configurable default
ASK_CATALOG() Getter for CATALOG w/ exceptions if field has no value
HAS_CATALOG() Determine if CATALOG has a value

purchaseOptionType

The type of purchase option. Values are OFFER for a single-product offer or OFFERSET for a bundled offer set.

Accessible with the following methods

Method Description
GET_PURCHASEOPTIONTYPE() Getter for PURCHASEOPTIONTYPE, with configurable default
ASK_PURCHASEOPTIONTYPE() Getter for PURCHASEOPTIONTYPE w/ exceptions if field has no
HAS_PURCHASEOPTIONTYPE() Determine if PURCHASEOPTIONTYPE has a value

purchaseOptionName

The display name of the purchase option.

Accessible with the following methods

Method Description
GET_PURCHASEOPTIONNAME() Getter for PURCHASEOPTIONNAME, with configurable default
ASK_PURCHASEOPTIONNAME() Getter for PURCHASEOPTIONNAME w/ exceptions if field has no
HAS_PURCHASEOPTIONNAME() Determine if PURCHASEOPTIONNAME has a value

availableFromTime

The date and time when the purchase option became available to the buyer.

Accessible with the following methods

Method Description
GET_AVAILABLEFROMTIME() Getter for AVAILABLEFROMTIME, with configurable default
ASK_AVAILABLEFROMTIME() Getter for AVAILABLEFROMTIME w/ exceptions if field has no v
HAS_AVAILABLEFROMTIME() Determine if AVAILABLEFROMTIME has a value

expirationTime

The date and time when the purchase option expires and is no longer available for procurement.

Accessible with the following methods

Method Description
GET_EXPIRATIONTIME() Getter for EXPIRATIONTIME, with configurable default
ASK_EXPIRATIONTIME() Getter for EXPIRATIONTIME w/ exceptions if field has no valu
HAS_EXPIRATIONTIME() Determine if EXPIRATIONTIME has a value

sellerOfRecord

The entity responsible for selling the product under this purchase option.

Accessible with the following methods

Method Description
GET_SELLEROFRECORD() Getter for SELLEROFRECORD

badges

Badges indicating special attributes of the purchase option, such as private pricing or future dated.

Accessible with the following methods

Method Description
GET_BADGES() Getter for BADGES, with configurable default
ASK_BADGES() Getter for BADGES w/ exceptions if field has no value
HAS_BADGES() Determine if BADGES has a value

associatedEntities

The products, offers, and offer sets associated with this purchase option.

Accessible with the following methods

Method Description
GET_ASSOCIATEDENTITIES() Getter for ASSOCIATEDENTITIES, with configurable default
ASK_ASSOCIATEDENTITIES() Getter for ASSOCIATEDENTITIES w/ exceptions if field has no
HAS_ASSOCIATEDENTITIES() Determine if ASSOCIATEDENTITIES 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_PURCHASEOPTIONSUMMARYLIST

TYPES TT_PURCHASEOPTIONSUMMARYLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_MPIPRCHSEOPTSUMMARY WITH DEFAULT KEY
.