Package com.apple.itunes.storekit.model
Class UploadMessageRequestBody
java.lang.Object
com.apple.itunes.storekit.model.UploadMessageRequestBody
The request body for uploading a message, which includes the message text and an optional image reference.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUploadMessageRequestBody(String header, String body) UploadMessageRequestBody(String header, String body, UploadMessageImage image) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbulletPoints(List<BulletPoint> bulletPoints) booleangetBody()The body text of the retention message that the system displays to customers.An optional array of bullet points.The header text of the retention message that the system displays to customers.The position of header text, which defaults to placing header text above the body.getImage()The optional image identifier and its alternative text to appear as part of a text-based message with an image.inthashCode()headerPosition(HeaderPosition headerPosition) image(UploadMessageImage image) voidvoidsetBulletPoints(List<BulletPoint> bulletPoints) voidvoidsetHeaderPosition(HeaderPosition headerPosition) voidsetImage(UploadMessageImage image) voidsetRawHeaderPosition(String rawHeaderPosition) toString()
-
Constructor Details
-
UploadMessageRequestBody
protected UploadMessageRequestBody() -
UploadMessageRequestBody
Deprecated.UseUploadMessageRequestBody(String, String)instead. -
UploadMessageRequestBody
-
-
Method Details
-
header
-
getHeader
The header text of the retention message that the system displays to customers.- Returns:
- header
- See Also:
-
setHeader
-
body
-
getBody
The body text of the retention message that the system displays to customers.- Returns:
- body
- See Also:
-
setBody
-
image
-
getImage
The optional image identifier and its alternative text to appear as part of a text-based message with an image.- Returns:
- image
- See Also:
-
setImage
-
headerPosition
-
getHeaderPosition
The position of header text, which defaults to placing header text above the body.- Returns:
- headerPosition
- See Also:
-
getRawHeaderPosition
- See Also:
-
setHeaderPosition
-
setRawHeaderPosition
-
bulletPoints
-
getBulletPoints
An optional array of bullet points.- Returns:
- bulletPoints
- See Also:
-
setBulletPoints
-
equals
-
hashCode
public int hashCode() -
toString
-
UploadMessageRequestBody(String, String)instead.