/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.
io_sellerofrecord TYPE REF TO /AWS1/CL_MPISELLERINFORMATION /AWS1/CL_MPISELLERINFORMATION¶
The entity responsible for selling the product under this offer.
it_associatedentities TYPE /AWS1/CL_MPIOFFERASSOCDENTITY=>TT_OFFERASSOCIATEDENTITYLIST TT_OFFERASSOCIATEDENTITYLIST¶
The products and offer sets associated with this offer.
iv_agreementproposalid TYPE /AWS1/MPIAGREEMENTRESOURCEID /AWS1/MPIAGREEMENTRESOURCEID¶
An encoded string to be passed by the acceptor of the terms when creating an agreement.
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.
Optional arguments:¶
iv_locale TYPE /AWS1/MPILOCALE /AWS1/MPILOCALE¶
The locale of the returned content. Indicates whether the response contains content in the requested locale, or fell back to the default locale. See
Localefor details.
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¶
locale¶
The locale of the returned content. Indicates whether the response contains content in the requested locale, or fell back to the default locale. See
Localefor details.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LOCALE() |
Getter for LOCALE, with configurable default |
ASK_LOCALE() |
Getter for LOCALE w/ exceptions if field has no value |
HAS_LOCALE() |
Determine if LOCALE has a value |
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 |
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 |
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 |
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 |
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 |