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

public final class ContractCreditedEffectResponse extends EffectResponse
Represents contract_credited effect response.
See Also:
  • Constructor Details

    • ContractCreditedEffectResponse

      public ContractCreditedEffectResponse(String assetType, String assetCode, String assetIssuer, String contract, String contractMuxed, BigInteger contractMuxedId, String amount)
      Creates a new ContractCreditedEffectResponse instance.
      Parameters:
      assetType -
      assetCode -
      assetIssuer -
      contract -
      contractMuxed - The muxed contract address (W...) the asset was credited to, or null if the destination was not muxed. getContract() is then its base contract address (CAP-84).
      contractMuxedId - The ID of getContractMuxed(), or null if the destination was not muxed.
      amount -
  • Method Details

    • getAsset

      public Asset getAsset()
    • getAssetType

      public String getAssetType()
    • getAssetCode

      public String getAssetCode()
    • getAssetIssuer

      public String getAssetIssuer()
    • getContract

      public String getContract()
    • getContractMuxed

      public String getContractMuxed()
      The muxed contract address (W...) the asset was credited to, or null if the destination was not muxed. getContract() is then its base contract address (CAP-84).
    • getContractMuxedId

      public BigInteger getContractMuxedId()
      The ID of getContractMuxed(), or null if the destination was not muxed.
    • getAmount

      public String getAmount()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class EffectResponse
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class EffectResponse