Package io.gs2.money.model
Class Receipt
java.lang.Object
io.gs2.money.model.Receipt
- All Implemented Interfaces:
IModel,Serializable,Comparable<Receipt>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic ReceiptfromJson(com.fasterxml.jackson.databind.JsonNode data) getFree()getPaid()getPrice()getSlot()getTotal()getType()inthashCode()voidsetContentsId(String contentsId) voidsetCreatedAt(Long createdAt) voidvoidvoidvoidsetPurchaseToken(String purchaseToken) voidsetReceiptId(String receiptId) voidsetRevision(Long revision) voidvoidvoidsetTransactionId(String transactionId) voidvoidcom.fasterxml.jackson.databind.JsonNodetoJson()withContentsId(String contentsId) withCreatedAt(Long createdAt) withPurchaseToken(String purchaseToken) withReceiptId(String receiptId) withRevision(Long revision) withTransactionId(String transactionId) withUserId(String userId)
-
Constructor Details
-
Receipt
public Receipt()
-
-
Method Details
-
getReceiptId
-
setReceiptId
-
withReceiptId
-
getTransactionId
-
setTransactionId
-
withTransactionId
-
getPurchaseToken
-
setPurchaseToken
-
withPurchaseToken
-
getUserId
-
setUserId
-
withUserId
-
getType
-
setType
-
withType
-
getSlot
-
setSlot
-
withSlot
-
getPrice
-
setPrice
-
withPrice
-
getPaid
-
setPaid
-
withPaid
-
getFree
-
setFree
-
withFree
-
getTotal
-
setTotal
-
withTotal
-
getContentsId
-
setContentsId
-
withContentsId
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Receipt>
-
hashCode
public int hashCode() -
equals
-