Class Receipt

java.lang.Object
io.gs2.money.model.Receipt
All Implemented Interfaces:
IModel, Serializable, Comparable<Receipt>

public class Receipt extends Object implements IModel, Serializable, Comparable<Receipt>
See Also:
  • Constructor Details

    • Receipt

      public Receipt()
  • Method Details

    • getReceiptId

      public String getReceiptId()
    • setReceiptId

      public void setReceiptId(String receiptId)
    • withReceiptId

      public Receipt withReceiptId(String receiptId)
    • getTransactionId

      public String getTransactionId()
    • setTransactionId

      public void setTransactionId(String transactionId)
    • withTransactionId

      public Receipt withTransactionId(String transactionId)
    • getPurchaseToken

      public String getPurchaseToken()
    • setPurchaseToken

      public void setPurchaseToken(String purchaseToken)
    • withPurchaseToken

      public Receipt withPurchaseToken(String purchaseToken)
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • withUserId

      public Receipt withUserId(String userId)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • withType

      public Receipt withType(String type)
    • getSlot

      public Integer getSlot()
    • setSlot

      public void setSlot(Integer slot)
    • withSlot

      public Receipt withSlot(Integer slot)
    • getPrice

      public Float getPrice()
    • setPrice

      public void setPrice(Float price)
    • withPrice

      public Receipt withPrice(Float price)
    • getPaid

      public Integer getPaid()
    • setPaid

      public void setPaid(Integer paid)
    • withPaid

      public Receipt withPaid(Integer paid)
    • getFree

      public Integer getFree()
    • setFree

      public void setFree(Integer free)
    • withFree

      public Receipt withFree(Integer free)
    • getTotal

      public Integer getTotal()
    • setTotal

      public void setTotal(Integer total)
    • withTotal

      public Receipt withTotal(Integer total)
    • getContentsId

      public String getContentsId()
    • setContentsId

      public void setContentsId(String contentsId)
    • withContentsId

      public Receipt withContentsId(String contentsId)
    • getCreatedAt

      public Long getCreatedAt()
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • withCreatedAt

      public Receipt withCreatedAt(Long createdAt)
    • getRevision

      public Long getRevision()
    • setRevision

      public void setRevision(Long revision)
    • withRevision

      public Receipt withRevision(Long revision)
    • fromJson

      public static Receipt fromJson(com.fasterxml.jackson.databind.JsonNode data)
    • toJson

      public com.fasterxml.jackson.databind.JsonNode toJson()
    • compareTo

      public int compareTo(Receipt o)
      Specified by:
      compareTo in interface Comparable<Receipt>
    • hashCode

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object