Class CreateWarrantyRequest


  • public class CreateWarrantyRequest
    extends java.lang.Object
    The request schema for the createWarranty operation.
    • Constructor Detail

      • CreateWarrantyRequest

        public CreateWarrantyRequest()
    • Method Detail

      • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object