XdrManageBuyOfferOperation
Table of Contents
Properties
-
$amount
: BigInteger
-
$buying
: XdrAsset
-
$offerId
: int
-
$price
: XdrPrice
-
$selling
: XdrAsset
Methods
-
__construct()
: mixed
-
decode()
: XdrManageBuyOfferOperation
-
encode()
: string
-
fromBase64Xdr()
: static
-
fromTxRep()
: XdrManageBuyOfferOperation
-
getAmount()
: BigInteger
-
getBuying()
: XdrAsset
-
getOfferId()
: int
-
getPrice()
: XdrPrice
-
getSelling()
: XdrAsset
-
setAmount()
: void
-
setBuying()
: void
-
setOfferId()
: void
-
setPrice()
: void
-
setSelling()
: void
-
toBase64Xdr()
: string
-
toTxRep()
: void
$amount
public
BigInteger
$amount
$buying
public
XdrAsset
$buying
$offerId
public
int
$offerId
$price
public
XdrPrice
$price
$selling
public
XdrAsset
$selling
__construct()
public
__construct(XdrAsset $selling, XdrAsset $buying, BigInteger $amount, XdrPrice $price, int $offerId) : mixed
Parameters
-
$selling
: XdrAsset
-
-
$buying
: XdrAsset
-
-
$amount
: BigInteger
-
-
$price
: XdrPrice
-
-
$offerId
: int
-
decode()
public
static decode(XdrBuffer $xdr) : XdrManageBuyOfferOperation
Parameters
-
$xdr
: XdrBuffer
-
encode()
public
encode() : string
fromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
-
$xdr
: string
-
fromTxRep()
public
static fromTxRep(array<string|int, mixed> $map, string $prefix) : XdrManageBuyOfferOperation
Parameters
-
$map
: array<string|int, mixed>
-
-
$prefix
: string
-
getAmount()
public
getAmount() : BigInteger
getBuying()
public
getBuying() : XdrAsset
getOfferId()
public
getOfferId() : int
getPrice()
public
getPrice() : XdrPrice
getSelling()
public
getSelling() : XdrAsset
setAmount()
public
setAmount(BigInteger $amount) : void
Parameters
-
$amount
: BigInteger
-
setBuying()
public
setBuying(XdrAsset $buying) : void
Parameters
-
$buying
: XdrAsset
-
setOfferId()
public
setOfferId(int $offerId) : void
Parameters
-
$offerId
: int
-
setPrice()
public
setPrice(XdrPrice $price) : void
Parameters
-
$price
: XdrPrice
-
setSelling()
public
setSelling(XdrAsset $selling) : void
Parameters
-
$selling
: XdrAsset
-
toBase64Xdr()
public
toBase64Xdr() : string
toTxRep()
public
toTxRep(string $prefix, array<string|int, mixed> &$lines) : void
Parameters
-
$prefix
: string
-
-
$lines
: array<string|int, mixed>
-