Class ContractCreditedEffectResponse
java.lang.Object
org.stellar.sdk.responses.Response
org.stellar.sdk.responses.effects.EffectResponse
org.stellar.sdk.responses.effects.ContractCreditedEffectResponse
- All Implemented Interfaces:
Pageable
Represents contract_credited effect response.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.stellar.sdk.responses.effects.EffectResponse
EffectResponse.Links -
Constructor Summary
ConstructorsConstructorDescriptionContractCreditedEffectResponse(String assetType, String assetCode, String assetIssuer, String contract, String contractMuxed, BigInteger contractMuxedId, String amount) Creates a newContractCreditedEffectResponseinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAsset()The muxed contract address (W...) the asset was credited to, ornullif the destination was not muxed.The ID ofgetContractMuxed(), ornullif the destination was not muxed.inthashCode()toString()Methods inherited from class org.stellar.sdk.responses.effects.EffectResponse
getAccount, getAccountMuxed, getAccountMuxedId, getCreatedAt, getId, getLinks, getPagingToken, getType
-
Constructor Details
-
ContractCreditedEffectResponse
public ContractCreditedEffectResponse(String assetType, String assetCode, String assetIssuer, String contract, String contractMuxed, BigInteger contractMuxedId, String amount) Creates a newContractCreditedEffectResponseinstance.- Parameters:
assetType-assetCode-assetIssuer-contract-contractMuxed- The muxed contract address (W...) the asset was credited to, ornullif the destination was not muxed.getContract()is then its base contract address (CAP-84).contractMuxedId- The ID ofgetContractMuxed(), ornullif the destination was not muxed.amount-
-
-
Method Details
-
getAsset
-
getAssetType
-
getAssetCode
-
getAssetIssuer
-
getContract
-
getContractMuxed
The muxed contract address (W...) the asset was credited to, ornullif the destination was not muxed.getContract()is then its base contract address (CAP-84). -
getContractMuxedId
The ID ofgetContractMuxed(), ornullif the destination was not muxed. -
getAmount
-
toString
-
equals
- Overrides:
equalsin classEffectResponse
-
hashCode
public int hashCode()- Overrides:
hashCodein classEffectResponse
-