Class OfferingStatus

    • Constructor Detail

      • OfferingStatus

        public OfferingStatus()
    • Method Detail

      • setType

        public void setType​(String type)

        The type specified for the offering status.

        Parameters:
        type - The type specified for the offering status.
        See Also:
        OfferingTransactionType
      • getType

        public String getType()

        The type specified for the offering status.

        Returns:
        The type specified for the offering status.
        See Also:
        OfferingTransactionType
      • withType

        public OfferingStatus withType​(String type)

        The type specified for the offering status.

        Parameters:
        type - The type specified for the offering status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OfferingTransactionType
      • withType

        public OfferingStatus withType​(OfferingTransactionType type)

        The type specified for the offering status.

        Parameters:
        type - The type specified for the offering status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OfferingTransactionType
      • setOffering

        public void setOffering​(Offering offering)

        Represents the metadata of an offering status.

        Parameters:
        offering - Represents the metadata of an offering status.
      • getOffering

        public Offering getOffering()

        Represents the metadata of an offering status.

        Returns:
        Represents the metadata of an offering status.
      • withOffering

        public OfferingStatus withOffering​(Offering offering)

        Represents the metadata of an offering status.

        Parameters:
        offering - Represents the metadata of an offering status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setQuantity

        public void setQuantity​(Integer quantity)

        The number of available devices in the offering.

        Parameters:
        quantity - The number of available devices in the offering.
      • getQuantity

        public Integer getQuantity()

        The number of available devices in the offering.

        Returns:
        The number of available devices in the offering.
      • withQuantity

        public OfferingStatus withQuantity​(Integer quantity)

        The number of available devices in the offering.

        Parameters:
        quantity - The number of available devices in the offering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEffectiveOn

        public void setEffectiveOn​(Date effectiveOn)

        The date on which the offering is effective.

        Parameters:
        effectiveOn - The date on which the offering is effective.
      • getEffectiveOn

        public Date getEffectiveOn()

        The date on which the offering is effective.

        Returns:
        The date on which the offering is effective.
      • withEffectiveOn

        public OfferingStatus withEffectiveOn​(Date effectiveOn)

        The date on which the offering is effective.

        Parameters:
        effectiveOn - The date on which the offering is effective.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object