Package io.nem.sdk.openapi.jersey2.model
Class BalanceTransferReceiptDTO
- java.lang.Object
-
- io.nem.sdk.openapi.jersey2.model.BalanceTransferReceiptDTO
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-02-02T21:53:44.206008392-03:00[America/Argentina/Buenos_Aires]") public class BalanceTransferReceiptDTO extends java.lang.ObjectInvisible state change that triggered a mosaic transfer.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_AMOUNTstatic java.lang.StringJSON_PROPERTY_MOSAIC_IDstatic java.lang.StringJSON_PROPERTY_RECIPIENT_ADDRESSstatic java.lang.StringJSON_PROPERTY_SENDER_PUBLIC_KEYstatic java.lang.StringJSON_PROPERTY_TYPEstatic java.lang.StringJSON_PROPERTY_VERSION
-
Constructor Summary
Constructors Constructor Description BalanceTransferReceiptDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BalanceTransferReceiptDTOamount(java.math.BigInteger amount)booleanequals(java.lang.Object o)java.math.BigIntegergetAmount()Absolute amount.java.lang.StringgetMosaicId()Mosaic identifier.java.lang.StringgetRecipientAddress()Decoded address.java.lang.StringgetSenderPublicKey()Get senderPublicKeyReceiptTypeEnumgetType()Get typejava.lang.IntegergetVersion()Version of the receipt.inthashCode()BalanceTransferReceiptDTOmosaicId(java.lang.String mosaicId)BalanceTransferReceiptDTOrecipientAddress(java.lang.String recipientAddress)BalanceTransferReceiptDTOsenderPublicKey(java.lang.String senderPublicKey)voidsetAmount(java.math.BigInteger amount)voidsetMosaicId(java.lang.String mosaicId)voidsetRecipientAddress(java.lang.String recipientAddress)voidsetSenderPublicKey(java.lang.String senderPublicKey)voidsetType(ReceiptTypeEnum type)voidsetVersion(java.lang.Integer version)java.lang.StringtoString()BalanceTransferReceiptDTOtype(ReceiptTypeEnum type)BalanceTransferReceiptDTOversion(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
-
JSON_PROPERTY_MOSAIC_ID
public static final java.lang.String JSON_PROPERTY_MOSAIC_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AMOUNT
public static final java.lang.String JSON_PROPERTY_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SENDER_PUBLIC_KEY
public static final java.lang.String JSON_PROPERTY_SENDER_PUBLIC_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECIPIENT_ADDRESS
public static final java.lang.String JSON_PROPERTY_RECIPIENT_ADDRESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
version
public BalanceTransferReceiptDTO 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 BalanceTransferReceiptDTO type(ReceiptTypeEnum type)
-
getType
public ReceiptTypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(ReceiptTypeEnum type)
-
mosaicId
public BalanceTransferReceiptDTO mosaicId(java.lang.String mosaicId)
-
getMosaicId
public java.lang.String getMosaicId()
Mosaic identifier.- Returns:
- mosaicId
-
setMosaicId
public void setMosaicId(java.lang.String mosaicId)
-
amount
public BalanceTransferReceiptDTO amount(java.math.BigInteger amount)
-
getAmount
public java.math.BigInteger getAmount()
Absolute amount. An amount of 123456789 (absolute) for a mosaic with divisibility 6 means 123.456789 (relative).- Returns:
- amount
-
setAmount
public void setAmount(java.math.BigInteger amount)
-
senderPublicKey
public BalanceTransferReceiptDTO senderPublicKey(java.lang.String senderPublicKey)
-
getSenderPublicKey
public java.lang.String getSenderPublicKey()
Get senderPublicKey- Returns:
- senderPublicKey
-
setSenderPublicKey
public void setSenderPublicKey(java.lang.String senderPublicKey)
-
recipientAddress
public BalanceTransferReceiptDTO recipientAddress(java.lang.String recipientAddress)
-
getRecipientAddress
public java.lang.String getRecipientAddress()
Decoded address.- Returns:
- recipientAddress
-
setRecipientAddress
public void setRecipientAddress(java.lang.String recipientAddress)
-
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
-
-