XdrClaimOfferAtom
in package
Table of Contents
Properties
- $accountId : XdrAccountID
- $amountBought : BigInteger
- $amountSold : BigInteger
- $assetBought : XdrAsset
- $assetSold : XdrAsset
- $offerId : int
Methods
- __construct() : mixed
- decode() : XdrClaimOfferAtom
- encode() : string
- fromBase64Xdr() : static
- getAccountId() : XdrAccountID
- getAmountBought() : BigInteger
- getAmountSold() : BigInteger
- getAssetBought() : XdrAsset
- getAssetSold() : XdrAsset
- getOfferId() : int
- setAccountId() : void
- setAmountBought() : void
- setAmountSold() : void
- setAssetBought() : void
- setAssetSold() : void
- setOfferId() : void
- toBase64Xdr() : string
Properties
$accountId
public
XdrAccountID
$accountId
$amountBought
public
BigInteger
$amountBought
$amountSold
public
BigInteger
$amountSold
$assetBought
public
XdrAsset
$assetBought
$assetSold
public
XdrAsset
$assetSold
$offerId
public
int
$offerId
Methods
__construct()
public
__construct(XdrAccountID $accountId, int $offerId, XdrAsset $assetSold, BigInteger $amountSold, XdrAsset $assetBought, BigInteger $amountBought) : mixed
Parameters
- $accountId : XdrAccountID
- $offerId : int
- $assetSold : XdrAsset
- $amountSold : BigInteger
- $assetBought : XdrAsset
- $amountBought : BigInteger
decode()
public
static decode(XdrBuffer $xdr) : XdrClaimOfferAtom
Parameters
- $xdr : XdrBuffer
Return values
XdrClaimOfferAtomencode()
public
encode() : string
Return values
stringfromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
- $xdr : string
Return values
staticgetAccountId()
public
getAccountId() : XdrAccountID
Return values
XdrAccountIDgetAmountBought()
public
getAmountBought() : BigInteger
Return values
BigIntegergetAmountSold()
public
getAmountSold() : BigInteger
Return values
BigIntegergetAssetBought()
public
getAssetBought() : XdrAsset
Return values
XdrAssetgetAssetSold()
public
getAssetSold() : XdrAsset
Return values
XdrAssetgetOfferId()
public
getOfferId() : int
Return values
intsetAccountId()
public
setAccountId(XdrAccountID $accountId) : void
Parameters
- $accountId : XdrAccountID
setAmountBought()
public
setAmountBought(BigInteger $amountBought) : void
Parameters
- $amountBought : BigInteger
setAmountSold()
public
setAmountSold(BigInteger $amountSold) : void
Parameters
- $amountSold : BigInteger
setAssetBought()
public
setAssetBought(XdrAsset $assetBought) : void
Parameters
- $assetBought : XdrAsset
setAssetSold()
public
setAssetSold(XdrAsset $assetSold) : void
Parameters
- $assetSold : XdrAsset
setOfferId()
public
setOfferId(int $offerId) : void
Parameters
- $offerId : int
toBase64Xdr()
public
toBase64Xdr() : string