CryptoCurrencyTransfer
Leave feedback
On this page
Inheritance: java.lang.Object
public class CryptoCurrencyTransfer
Represents Crypto currency transfer (reciever or transfer) for QR-Code.
| Constructor | Description |
|---|---|
| CryptoCurrencyTransfer() |
| Method | Description |
|---|---|
| getType() | Gets or sets one of supported crypto currency type. |
| setType(int value) | Gets or sets one of supported crypto currency type. |
| getAmount() | Gets or sets transfer amount. |
| setAmount(BigDecimal value) | Gets or sets transfer amount. |
| getAddress() | Gets or sets crypto currency public address. |
| setAddress(String value) | Gets or sets crypto currency public address. |
| getMessage() | Gets or sets optional transfer message. |
| setMessage(String value) | Gets or sets optional transfer message. |
| getCustomType() | Gets or sets optional transfer message. |
| setCustomType(String value) | Gets or sets optional transfer message. |
| equals(Object obj) | Overwrites Equals method to compare Crypto currency transfer properties |
| hashCode() | Overrides GetHashCode method |
public CryptoCurrencyTransfer()
public final int getType()
Gets or sets one of supported crypto currency type.
Returns: int
public final void setType(int value)
Gets or sets one of supported crypto currency type.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final BigDecimal getAmount()
Gets or sets transfer amount.
Returns: java.math.BigDecimal
public final void setAmount(BigDecimal value)
Gets or sets transfer amount.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.math.BigDecimal |
public final String getAddress()
Gets or sets crypto currency public address.
Returns: java.lang.String
public final void setAddress(String value)
Gets or sets crypto currency public address.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final String getMessage()
Gets or sets optional transfer message.
Returns: java.lang.String
public final void setMessage(String value)
Gets or sets optional transfer message.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final String getCustomType()
Gets or sets optional transfer message.
Returns: java.lang.String
public final void setCustomType(String value)
Gets or sets optional transfer message.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public boolean equals(Object obj)
Overwrites Equals method to compare Crypto currency transfer properties
Parameters:
| Parameter | Type | Description |
|---|---|---|
| obj | java.lang.Object | Crypto currency transfer object to compare with. |
Returns: boolean - Returns true if passed Crypto currency transfer object has same type and all its properties are equal to this instance properties.
public int hashCode()
Overrides GetHashCode method
Returns: int - Crypto currency transfer hash code
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.