Class ReceiptDTO
- java.lang.Object
-
- io.nem.symbol.sdk.openapi.jersey2.model.ReceiptDTO
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-05-15T14:38:14.328808-03:00[America/Argentina/Buenos_Aires]") public class ReceiptDTO extends java.lang.ObjectReceiptDTO
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_TYPEstatic java.lang.StringJSON_PROPERTY_VERSION
-
Constructor Summary
Constructors Constructor Description ReceiptDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)ReceiptTypeEnumgetType()Get typejava.lang.IntegergetVersion()Version of the receipt.inthashCode()voidsetType(ReceiptTypeEnum type)voidsetVersion(java.lang.Integer version)java.lang.StringtoString()ReceiptDTOtype(ReceiptTypeEnum type)ReceiptDTOversion(java.lang.Integer version)
-
-
-
Field Detail
-
JSON_PROPERTY_VERSION
public static final java.lang.String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
version
public ReceiptDTO version(java.lang.Integer version)
-
getVersion
public java.lang.Integer getVersion()
Version of the receipt.- Returns:
- version
-
setVersion
public void setVersion(java.lang.Integer version)
-
type
public ReceiptDTO type(ReceiptTypeEnum type)
-
getType
public ReceiptTypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(ReceiptTypeEnum type)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-