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:
  • Constructor Details

    • OfferingTransaction

      public OfferingTransaction()
  • Method Details

    • 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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public OfferingTransaction clone()
      Overrides:
      clone in class Object