Class CreateWarrantyRequest
- java.lang.Object
-
- software.amazon.spapi.models.messaging.v1.CreateWarrantyRequest
-
public class CreateWarrantyRequest extends java.lang.Object
The request schema for the createWarranty operation.
-
-
Constructor Summary
Constructors Constructor Description CreateWarrantyRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateWarrantyRequest
addAttachmentsItem(Attachment attachmentsItem)
CreateWarrantyRequest
attachments(java.util.List<Attachment> attachments)
CreateWarrantyRequest
coverageEndDate(org.threeten.bp.OffsetDateTime coverageEndDate)
CreateWarrantyRequest
coverageStartDate(org.threeten.bp.OffsetDateTime coverageStartDate)
boolean
equals(java.lang.Object o)
java.util.List<Attachment>
getAttachments()
Attachments to include in the message to the buyer.org.threeten.bp.OffsetDateTime
getCoverageEndDate()
The end date of the warranty coverage to include in the message to the buyer.org.threeten.bp.OffsetDateTime
getCoverageStartDate()
The start date of the warranty coverage to include in the message to the buyer.int
hashCode()
void
setAttachments(java.util.List<Attachment> attachments)
void
setCoverageEndDate(org.threeten.bp.OffsetDateTime coverageEndDate)
void
setCoverageStartDate(org.threeten.bp.OffsetDateTime coverageStartDate)
java.lang.String
toString()
-
-
-
Method Detail
-
attachments
public CreateWarrantyRequest attachments(java.util.List<Attachment> attachments)
-
addAttachmentsItem
public CreateWarrantyRequest addAttachmentsItem(Attachment attachmentsItem)
-
getAttachments
public java.util.List<Attachment> getAttachments()
Attachments to include in the message to the buyer. If any text is included in the attachment, the text must be written in the buyer's language of preference, which can be retrieved from the GetAttributes operation.- Returns:
- attachments
-
setAttachments
public void setAttachments(java.util.List<Attachment> attachments)
-
coverageStartDate
public CreateWarrantyRequest coverageStartDate(org.threeten.bp.OffsetDateTime coverageStartDate)
-
getCoverageStartDate
public org.threeten.bp.OffsetDateTime getCoverageStartDate()
The start date of the warranty coverage to include in the message to the buyer.- Returns:
- coverageStartDate
-
setCoverageStartDate
public void setCoverageStartDate(org.threeten.bp.OffsetDateTime coverageStartDate)
-
coverageEndDate
public CreateWarrantyRequest coverageEndDate(org.threeten.bp.OffsetDateTime coverageEndDate)
-
getCoverageEndDate
public org.threeten.bp.OffsetDateTime getCoverageEndDate()
The end date of the warranty coverage to include in the message to the buyer.- Returns:
- coverageEndDate
-
setCoverageEndDate
public void setCoverageEndDate(org.threeten.bp.OffsetDateTime coverageEndDate)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-