XdrOfferEntry
in package
Table of Contents
Properties
- $amount : BigInteger
- $buying : XdrAsset
- $ext : XdrOfferEntryExt
- $flags : int
- $offerId : int
- $price : XdrPrice
- $sellerID : XdrAccountID
- $selling : XdrAsset
Methods
- __construct() : mixed
- decode() : XdrOfferEntry
- encode() : string
- fromBase64Xdr() : static
- getAmount() : BigInteger
- getBuying() : XdrAsset
- getExt() : XdrOfferEntryExt
- getFlags() : int
- getOfferId() : int
- getPrice() : XdrPrice
- getSellerID() : XdrAccountID
- getSelling() : XdrAsset
- setAmount() : void
- setBuying() : void
- setExt() : void
- setFlags() : void
- setOfferId() : void
- setPrice() : void
- setSellerID() : void
- setSelling() : void
- toBase64Xdr() : string
Properties
$amount
public
BigInteger
$amount
$buying
public
XdrAsset
$buying
$ext
public
XdrOfferEntryExt
$ext
$flags
public
int
$flags
$offerId
public
int
$offerId
$price
public
XdrPrice
$price
$sellerID
public
XdrAccountID
$sellerID
$selling
public
XdrAsset
$selling
Methods
__construct()
public
__construct(XdrAccountID $sellerID, int $offerId, XdrAsset $selling, XdrAsset $buying, BigInteger $amount, XdrPrice $price, int $flags, XdrOfferEntryExt $ext) : mixed
Parameters
- $sellerID : XdrAccountID
- $offerId : int
- $selling : XdrAsset
- $buying : XdrAsset
- $amount : BigInteger
- $price : XdrPrice
- $flags : int
- $ext : XdrOfferEntryExt
decode()
public
static decode(XdrBuffer $xdr) : XdrOfferEntry
Parameters
- $xdr : XdrBuffer
Return values
XdrOfferEntryencode()
public
encode() : string
Return values
stringfromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
- $xdr : string
Return values
staticgetAmount()
public
getAmount() : BigInteger
Return values
BigIntegergetBuying()
public
getBuying() : XdrAsset
Return values
XdrAssetgetExt()
public
getExt() : XdrOfferEntryExt
Return values
XdrOfferEntryExtgetFlags()
public
getFlags() : int
Return values
intgetOfferId()
public
getOfferId() : int
Return values
intgetPrice()
public
getPrice() : XdrPrice
Return values
XdrPricegetSellerID()
public
getSellerID() : XdrAccountID
Return values
XdrAccountIDgetSelling()
public
getSelling() : XdrAsset
Return values
XdrAssetsetAmount()
public
setAmount(BigInteger $amount) : void
Parameters
- $amount : BigInteger
setBuying()
public
setBuying(XdrAsset $buying) : void
Parameters
- $buying : XdrAsset
setExt()
public
setExt(XdrOfferEntryExt $ext) : void
Parameters
- $ext : XdrOfferEntryExt
setFlags()
public
setFlags(int $flags) : void
Parameters
- $flags : int
setOfferId()
public
setOfferId(int $offerId) : void
Parameters
- $offerId : int
setPrice()
public
setPrice(XdrPrice $price) : void
Parameters
- $price : XdrPrice
setSellerID()
public
setSellerID(XdrAccountID $sellerID) : void
Parameters
- $sellerID : XdrAccountID
setSelling()
public
setSelling(XdrAsset $selling) : void
Parameters
- $selling : XdrAsset
toBase64Xdr()
public
toBase64Xdr() : string