public class SaveOfferRequest extends OfferBase
Constructor and Description |
---|
SaveOfferRequest(long id,
String name,
String content)
Constructs a
SaveOfferRequest using the parameters required to update an offer |
SaveOfferRequest(String name,
String content)
Constructs an object of this type using the minimal required to create an offer.
|
SaveOfferRequest(String name,
String content,
String editUrl,
String remoteModifiedBy) |
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Returns the offer content, as set in Adobe Target
|
String |
getContentPath()
Returns the path of this offer from the AEM repository
|
String |
getName()
Returns the name of the offer
|
String |
toString() |
getId, getMacMetadata, getType, getWorkspace, setMacMetadata, setType, setWorkspace
public SaveOfferRequest(long id, String name, String content)
SaveOfferRequest
using the parameters required to update an offerid
- the offer id, as assigned by Adobe Target. This cannot be 0name
- the offer namecontent
- the content of the offerpublic SaveOfferRequest(String name, String content)
name
- the offer namecontent
- the content of the offerpublic String getName()
OfferBase
public String getContentPath()
OfferBase
getContentPath
in class OfferBase
public String getContent()
OfferBase
getContent
in class OfferBase
Copyright © 2010 - 2020 Adobe. All Rights Reserved