Class OfferingTransaction
java.lang.Object
com.amazonaws.services.devicefarm.model.OfferingTransaction
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the metadata of an offering transaction.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getCost()
The cost of an offering transaction.The date on which an offering transaction was created.The status of an offering transaction.The transaction ID of the offering transaction.int
hashCode()
void
setCost
(MonetaryAmount cost) The cost of an offering transaction.void
setCreatedOn
(Date createdOn) The date on which an offering transaction was created.void
setOfferingStatus
(OfferingStatus offeringStatus) The status of an offering transaction.void
setTransactionId
(String transactionId) The transaction ID of the offering transaction.toString()
Returns a string representation of this object; useful for testing and debugging.withCost
(MonetaryAmount cost) The cost of an offering transaction.withCreatedOn
(Date createdOn) The date on which an offering transaction was created.withOfferingStatus
(OfferingStatus offeringStatus) The status of an offering transaction.withTransactionId
(String transactionId) The transaction ID of the offering transaction.
-
Constructor Details
-
OfferingTransaction
public OfferingTransaction()
-
-
Method Details
-
setOfferingStatus
The status of an offering transaction.
- Parameters:
offeringStatus
- The status of an offering transaction.
-
getOfferingStatus
The status of an offering transaction.
- Returns:
- The status of an offering transaction.
-
withOfferingStatus
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
The transaction ID of the offering transaction.
- Parameters:
transactionId
- The transaction ID of the offering transaction.
-
getTransactionId
The transaction ID of the offering transaction.
- Returns:
- The transaction ID of the offering transaction.
-
withTransactionId
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
The date on which an offering transaction was created.
- Parameters:
createdOn
- The date on which an offering transaction was created.
-
getCreatedOn
The date on which an offering transaction was created.
- Returns:
- The date on which an offering transaction was created.
-
withCreatedOn
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
The cost of an offering transaction.
- Parameters:
cost
- The cost of an offering transaction.
-
getCost
The cost of an offering transaction.
- Returns:
- The cost of an offering transaction.
-
withCost
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-