Skip to content

/AWS1/CL_MPIGETOFFEROUTPUT

GetOfferOutput

CONSTRUCTOR

IMPORTING

Required arguments:

iv_offerid TYPE /AWS1/MPIOFFERID /AWS1/MPIOFFERID

The unique identifier of the offer.

iv_catalog TYPE /AWS1/MPICATALOG /AWS1/MPICATALOG

The name of the catalog that the offer belongs to.

iv_agreementproposalid TYPE /AWS1/MPIAGREEMENTRESOURCEID /AWS1/MPIAGREEMENTRESOURCEID

An encoded string to be passed by the acceptor of the terms when creating an agreement.

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

The entity responsible for selling the product under this offer.

io_pricingmodel TYPE REF TO /AWS1/CL_MPIPRICINGMODEL /AWS1/CL_MPIPRICINGMODEL

The pricing model that determines how buyers are charged, such as usage-based, contract, BYOL, or free.

it_badges TYPE /AWS1/CL_MPIPRCHSEOPTIONBADGE=>TT_PURCHASEOPTIONBADGELIST TT_PURCHASEOPTIONBADGELIST

Badges indicating special attributes of the offer, such as private pricing, future dated, or replacement offer.

it_associatedentities TYPE /AWS1/CL_MPIOFFERASSOCDENTITY=>TT_OFFERASSOCIATEDENTITYLIST TT_OFFERASSOCIATEDENTITYLIST

The products and offer sets associated with this offer.

Optional arguments:

iv_offername TYPE /AWS1/MPINULLABLESTRING /AWS1/MPINULLABLESTRING

The display name of the offer. This is free-form text provided by the seller.

iv_expirationtime TYPE /AWS1/MPITIMESTAMP /AWS1/MPITIMESTAMP

The date and time until when the offer can be procured. This value is null for offers that never expire.

iv_availablefromtime TYPE /AWS1/MPITIMESTAMP /AWS1/MPITIMESTAMP

The date and time when the offer became available to the buyer.

iv_replacementagreementid TYPE /AWS1/MPIAGREEMENTRESOURCEID /AWS1/MPIAGREEMENTRESOURCEID

The identifier of the existing agreement that this offer would replace. Enables agreement-based offer functionality.


Queryable Attributes

offerId

The unique identifier of the offer.

Accessible with the following methods

Method Description
GET_OFFERID() Getter for OFFERID, with configurable default
ASK_OFFERID() Getter for OFFERID w/ exceptions if field has no value
HAS_OFFERID() Determine if OFFERID has a value

catalog

The name of the catalog that the offer 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

offerName

The display name of the offer. This is free-form text provided by the seller.

Accessible with the following methods

Method Description
GET_OFFERNAME() Getter for OFFERNAME, with configurable default
ASK_OFFERNAME() Getter for OFFERNAME w/ exceptions if field has no value
HAS_OFFERNAME() Determine if OFFERNAME has a value

agreementProposalId

An encoded string to be passed by the acceptor of the terms when creating an agreement.

Accessible with the following methods

Method Description
GET_AGREEMENTPROPOSALID() Getter for AGREEMENTPROPOSALID, with configurable default
ASK_AGREEMENTPROPOSALID() Getter for AGREEMENTPROPOSALID w/ exceptions if field has no
HAS_AGREEMENTPROPOSALID() Determine if AGREEMENTPROPOSALID has a value

expirationTime

The date and time until when the offer can be procured. This value is null for offers that never expire.

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

availableFromTime

The date and time when the offer 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

sellerOfRecord

The entity responsible for selling the product under this offer.

Accessible with the following methods

Method Description
GET_SELLEROFRECORD() Getter for SELLEROFRECORD

replacementAgreementId

The identifier of the existing agreement that this offer would replace. Enables agreement-based offer functionality.

Accessible with the following methods

Method Description
GET_REPLACEMENTAGREEMENTID() Getter for REPLACEMENTAGREEMENTID, with configurable default
ASK_REPLACEMENTAGREEMENTID() Getter for REPLACEMENTAGREEMENTID w/ exceptions if field has
HAS_REPLACEMENTAGREEMENTID() Determine if REPLACEMENTAGREEMENTID has a value

pricingModel

The pricing model that determines how buyers are charged, such as usage-based, contract, BYOL, or free.

Accessible with the following methods

Method Description
GET_PRICINGMODEL() Getter for PRICINGMODEL

badges

Badges indicating special attributes of the offer, such as private pricing, future dated, or replacement offer.

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 and offer sets associated with this offer.

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