@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OfferingTransaction extends Object implements Serializable, Cloneable, StructuredPojo
Represents the metadata of an offering transaction.
Constructor and Description |
---|
OfferingTransaction() |
Modifier and Type | Method and Description |
---|---|
OfferingTransaction |
clone() |
boolean |
equals(Object obj) |
MonetaryAmount |
getCost()
The cost of an offering transaction.
|
Date |
getCreatedOn()
The date on which an offering transaction was created.
|
String |
getOfferingPromotionId()
The ID that corresponds to a device offering promotion.
|
OfferingStatus |
getOfferingStatus()
The status of an offering transaction.
|
String |
getTransactionId()
The transaction ID of the offering transaction.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCost(MonetaryAmount cost)
The cost of an offering transaction.
|
void |
setCreatedOn(Date createdOn)
The date on which an offering transaction was created.
|
void |
setOfferingPromotionId(String offeringPromotionId)
The ID that corresponds to a device offering promotion.
|
void |
setOfferingStatus(OfferingStatus offeringStatus)
The status of an offering transaction.
|
void |
setTransactionId(String transactionId)
The transaction ID of the offering transaction.
|
String |
toString()
Returns a string representation of this object.
|
OfferingTransaction |
withCost(MonetaryAmount cost)
The cost of an offering transaction.
|
OfferingTransaction |
withCreatedOn(Date createdOn)
The date on which an offering transaction was created.
|
OfferingTransaction |
withOfferingPromotionId(String offeringPromotionId)
The ID that corresponds to a device offering promotion.
|
OfferingTransaction |
withOfferingStatus(OfferingStatus offeringStatus)
The status of an offering transaction.
|
OfferingTransaction |
withTransactionId(String transactionId)
The transaction ID of the offering transaction.
|
public void setOfferingStatus(OfferingStatus offeringStatus)
The status of an offering transaction.
offeringStatus
- The status of an offering transaction.public OfferingStatus getOfferingStatus()
The status of an offering transaction.
public OfferingTransaction withOfferingStatus(OfferingStatus offeringStatus)
The status of an offering transaction.
offeringStatus
- The status of an offering transaction.public void setTransactionId(String transactionId)
The transaction ID of the offering transaction.
transactionId
- The transaction ID of the offering transaction.public String getTransactionId()
The transaction ID of the offering transaction.
public OfferingTransaction withTransactionId(String transactionId)
The transaction ID of the offering transaction.
transactionId
- The transaction ID of the offering transaction.public void setOfferingPromotionId(String offeringPromotionId)
The ID that corresponds to a device offering promotion.
offeringPromotionId
- The ID that corresponds to a device offering promotion.public String getOfferingPromotionId()
The ID that corresponds to a device offering promotion.
public OfferingTransaction withOfferingPromotionId(String offeringPromotionId)
The ID that corresponds to a device offering promotion.
offeringPromotionId
- The ID that corresponds to a device offering promotion.public void setCreatedOn(Date createdOn)
The date on which an offering transaction was created.
createdOn
- The date on which an offering transaction was created.public Date getCreatedOn()
The date on which an offering transaction was created.
public OfferingTransaction withCreatedOn(Date createdOn)
The date on which an offering transaction was created.
createdOn
- The date on which an offering transaction was created.public void setCost(MonetaryAmount cost)
The cost of an offering transaction.
cost
- The cost of an offering transaction.public MonetaryAmount getCost()
The cost of an offering transaction.
public OfferingTransaction withCost(MonetaryAmount cost)
The cost of an offering transaction.
cost
- The cost of an offering transaction.public String toString()
toString
in class Object
Object.toString()
public OfferingTransaction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.