Class ClaimAtom

java.lang.Object
org.stellar.sdk.xdr.ClaimAtom
All Implemented Interfaces:
XdrElement

public class ClaimAtom extends Object implements XdrElement
ClaimAtom's original definition in the XDR file is:
 union ClaimAtom switch (ClaimAtomType type)
 {
 case CLAIM_ATOM_TYPE_V0:
     ClaimOfferAtomV0 v0;
 case CLAIM_ATOM_TYPE_ORDER_BOOK:
     ClaimOfferAtom orderBook;
 case CLAIM_ATOM_TYPE_LIQUIDITY_POOL:
     ClaimLiquidityAtom liquidityPool;
 };
 
  • Constructor Details

    • ClaimAtom

      public ClaimAtom()
    • ClaimAtom

      public ClaimAtom(ClaimAtomType discriminant, ClaimOfferAtomV0 v0, ClaimOfferAtom orderBook, ClaimLiquidityAtom liquidityPool)
      Creates a new ClaimAtom instance.
      Parameters:
      discriminant - the discriminant field value
      v0 - the v0 field value
      orderBook - the orderBook field value
      liquidityPool - the liquidityPool field value
  • Method Details