public class OfferingStatus
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The status of the offering.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
effectiveOn
The date on which the offering is effective.
|
private Offering |
offering
Represents the metadata of an offering status.
|
private java.lang.Integer |
quantity
The number of available devices in the offering.
|
private java.lang.String |
type
The type specified for the offering status.
|
Constructor and Description |
---|
OfferingStatus() |
Modifier and Type | Method and Description |
---|---|
OfferingStatus |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getEffectiveOn()
The date on which the offering is effective.
|
Offering |
getOffering()
Represents the metadata of an offering status.
|
java.lang.Integer |
getQuantity()
The number of available devices in the offering.
|
java.lang.String |
getType()
The type specified for the offering status.
|
int |
hashCode() |
void |
setEffectiveOn(java.util.Date effectiveOn)
The date on which the offering is effective.
|
void |
setOffering(Offering offering)
Represents the metadata of an offering status.
|
void |
setQuantity(java.lang.Integer quantity)
The number of available devices in the offering.
|
void |
setType(OfferingTransactionType type)
The type specified for the offering status.
|
void |
setType(java.lang.String type)
The type specified for the offering status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
OfferingStatus |
withEffectiveOn(java.util.Date effectiveOn)
The date on which the offering is effective.
|
OfferingStatus |
withOffering(Offering offering)
Represents the metadata of an offering status.
|
OfferingStatus |
withQuantity(java.lang.Integer quantity)
The number of available devices in the offering.
|
OfferingStatus |
withType(OfferingTransactionType type)
The type specified for the offering status.
|
OfferingStatus |
withType(java.lang.String type)
The type specified for the offering status.
|
private java.lang.String type
The type specified for the offering status.
private Offering offering
Represents the metadata of an offering status.
private java.lang.Integer quantity
The number of available devices in the offering.
private java.util.Date effectiveOn
The date on which the offering is effective.
public void setType(java.lang.String type)
The type specified for the offering status.
type
- The type specified for the offering status.OfferingTransactionType
public java.lang.String getType()
The type specified for the offering status.
OfferingTransactionType
public OfferingStatus withType(java.lang.String type)
The type specified for the offering status.
type
- The type specified for the offering status.OfferingTransactionType
public void setType(OfferingTransactionType type)
The type specified for the offering status.
type
- The type specified for the offering status.OfferingTransactionType
public OfferingStatus withType(OfferingTransactionType type)
The type specified for the offering status.
type
- The type specified for the offering status.OfferingTransactionType
public void setOffering(Offering offering)
Represents the metadata of an offering status.
offering
- Represents the metadata of an offering status.public Offering getOffering()
Represents the metadata of an offering status.
public OfferingStatus withOffering(Offering offering)
Represents the metadata of an offering status.
offering
- Represents the metadata of an offering status.public void setQuantity(java.lang.Integer quantity)
The number of available devices in the offering.
quantity
- The number of available devices in the offering.public java.lang.Integer getQuantity()
The number of available devices in the offering.
public OfferingStatus withQuantity(java.lang.Integer quantity)
The number of available devices in the offering.
quantity
- The number of available devices in the offering.public void setEffectiveOn(java.util.Date effectiveOn)
The date on which the offering is effective.
effectiveOn
- The date on which the offering is effective.public java.util.Date getEffectiveOn()
The date on which the offering is effective.
public OfferingStatus withEffectiveOn(java.util.Date effectiveOn)
The date on which the offering is effective.
effectiveOn
- The date on which the offering is effective.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public OfferingStatus clone()
clone
in class java.lang.Object