Class PrescriptionDetail


  • public class PrescriptionDetail
    extends java.lang.Object
    Information about the prescription that is used to verify a regulated product. This must be provided once per order and reflect the seller’s own records. Only approved orders can have prescriptions.
    • Constructor Detail

      • PrescriptionDetail

        public PrescriptionDetail()
    • Method Detail

      • prescriptionId

        public PrescriptionDetail prescriptionId​(java.lang.String prescriptionId)
      • getPrescriptionId

        public java.lang.String getPrescriptionId()
        The identifier for the prescription used to verify the regulated product.
        Returns:
        prescriptionId
      • setPrescriptionId

        public void setPrescriptionId​(java.lang.String prescriptionId)
      • expirationDate

        public PrescriptionDetail expirationDate​(org.threeten.bp.OffsetDateTime expirationDate)
      • getExpirationDate

        public org.threeten.bp.OffsetDateTime getExpirationDate()
        The expiration date of the prescription used to verify the regulated product, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format.
        Returns:
        expirationDate
      • setExpirationDate

        public void setExpirationDate​(org.threeten.bp.OffsetDateTime expirationDate)
      • writtenQuantity

        public PrescriptionDetail writtenQuantity​(java.lang.Integer writtenQuantity)
      • getWrittenQuantity

        public java.lang.Integer getWrittenQuantity()
        The number of units in each fill as provided in the prescription. minimum: 1
        Returns:
        writtenQuantity
      • setWrittenQuantity

        public void setWrittenQuantity​(java.lang.Integer writtenQuantity)
      • totalRefillsAuthorized

        public PrescriptionDetail totalRefillsAuthorized​(java.lang.Integer totalRefillsAuthorized)
      • getTotalRefillsAuthorized

        public java.lang.Integer getTotalRefillsAuthorized()
        The total number of refills written in the original prescription used to verify the regulated product. If a prescription originally had no refills, this value must be 0. minimum: 0
        Returns:
        totalRefillsAuthorized
      • setTotalRefillsAuthorized

        public void setTotalRefillsAuthorized​(java.lang.Integer totalRefillsAuthorized)
      • refillsRemaining

        public PrescriptionDetail refillsRemaining​(java.lang.Integer refillsRemaining)
      • getRefillsRemaining

        public java.lang.Integer getRefillsRemaining()
        The number of refills remaining for the prescription used to verify the regulated product. If a prescription originally had 10 total refills, this value must be `10` for the first order, `9` for the second order, and `0` for the eleventh order. If a prescription originally had no refills, this value must be 0. minimum: 0
        Returns:
        refillsRemaining
      • setRefillsRemaining

        public void setRefillsRemaining​(java.lang.Integer refillsRemaining)
      • getClinicId

        public java.lang.String getClinicId()
        The identifier for the clinic which provided the prescription used to verify the regulated product.
        Returns:
        clinicId
      • setClinicId

        public void setClinicId​(java.lang.String clinicId)
      • usageInstructions

        public PrescriptionDetail usageInstructions​(java.lang.String usageInstructions)
      • getUsageInstructions

        public java.lang.String getUsageInstructions()
        The instructions for the prescription as provided by the approver of the regulated product.
        Returns:
        usageInstructions
      • setUsageInstructions

        public void setUsageInstructions​(java.lang.String usageInstructions)
      • 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