Class OfferingTransaction
- java.lang.Object
-
- com.amazonaws.services.devicefarm.model.OfferingTransaction
-
- All Implemented Interfaces:
Serializable,Cloneable
public class OfferingTransaction extends Object implements Serializable, Cloneable
Represents the metadata of an offering transaction.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OfferingTransaction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OfferingTransactionclone()booleanequals(Object obj)MonetaryAmountgetCost()The cost of an offering transaction.DategetCreatedOn()The date on which an offering transaction was created.OfferingStatusgetOfferingStatus()The status of an offering transaction.StringgetTransactionId()The transaction ID of the offering transaction.inthashCode()voidsetCost(MonetaryAmount cost)The cost of an offering transaction.voidsetCreatedOn(Date createdOn)The date on which an offering transaction was created.voidsetOfferingStatus(OfferingStatus offeringStatus)The status of an offering transaction.voidsetTransactionId(String transactionId)The transaction ID of the offering transaction.StringtoString()Returns a string representation of this object; useful for testing and debugging.OfferingTransactionwithCost(MonetaryAmount cost)The cost of an offering transaction.OfferingTransactionwithCreatedOn(Date createdOn)The date on which an offering transaction was created.OfferingTransactionwithOfferingStatus(OfferingStatus offeringStatus)The status of an offering transaction.OfferingTransactionwithTransactionId(String transactionId)The transaction ID of the offering transaction.
-
-
-
Method Detail
-
setOfferingStatus
public void setOfferingStatus(OfferingStatus offeringStatus)
The status of an offering transaction.
- Parameters:
offeringStatus- The status of an offering transaction.
-
getOfferingStatus
public OfferingStatus getOfferingStatus()
The status of an offering transaction.
- Returns:
- The status of an offering transaction.
-
withOfferingStatus
public OfferingTransaction withOfferingStatus(OfferingStatus offeringStatus)
The status of an offering transaction.
- Parameters:
offeringStatus- The status of an offering transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTransactionId
public void setTransactionId(String transactionId)
The transaction ID of the offering transaction.
- Parameters:
transactionId- The transaction ID of the offering transaction.
-
getTransactionId
public String getTransactionId()
The transaction ID of the offering transaction.
- Returns:
- The transaction ID of the offering transaction.
-
withTransactionId
public OfferingTransaction withTransactionId(String transactionId)
The transaction ID of the offering transaction.
- Parameters:
transactionId- The transaction ID of the offering transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedOn
public void setCreatedOn(Date createdOn)
The date on which an offering transaction was created.
- Parameters:
createdOn- The date on which an offering transaction was created.
-
getCreatedOn
public Date getCreatedOn()
The date on which an offering transaction was created.
- Returns:
- The date on which an offering transaction was created.
-
withCreatedOn
public OfferingTransaction withCreatedOn(Date createdOn)
The date on which an offering transaction was created.
- Parameters:
createdOn- The date on which an offering transaction was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCost
public void setCost(MonetaryAmount cost)
The cost of an offering transaction.
- Parameters:
cost- The cost of an offering transaction.
-
getCost
public MonetaryAmount getCost()
The cost of an offering transaction.
- Returns:
- The cost of an offering transaction.
-
withCost
public OfferingTransaction withCost(MonetaryAmount cost)
The cost of an offering transaction.
- Parameters:
cost- The cost of an offering transaction.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public OfferingTransaction clone()
-
-