XdrManageSellOfferOperation
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- decode() : XdrManageSellOfferOperation
- encode() : string
- fromBase64Xdr() : static
- fromJson() : static
- fromJsonValue() : static
- fromTxRep() : XdrManageSellOfferOperation
- getAmount() : BigInteger
- getBuying() : XdrAsset
- getOfferId() : int
- getPrice() : XdrPrice
- getSelling() : XdrAsset
- setAmount() : void
- setBuying() : void
- setOfferId() : void
- setPrice() : void
- setSelling() : void
- toBase64Xdr() : string
- toJson() : string
- toJsonValue() : array<string|int, mixed>
- toTxRep() : void
Properties
$amount
public
BigInteger
$amount
$buying
public
XdrAsset
$buying
$offerId
public
int
$offerId
$price
public
XdrPrice
$price
$selling
public
XdrAsset
$selling
Methods
__construct()
public
__construct(XdrAsset $selling, XdrAsset $buying, BigInteger $amount, XdrPrice $price, int $offerId) : mixed
Parameters
decode()
public
static decode(XdrBuffer $xdr) : XdrManageSellOfferOperation
Parameters
- $xdr : XdrBuffer
Return values
XdrManageSellOfferOperationencode()
public
encode() : string
Return values
stringfromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
- $xdr : string
Return values
staticfromJson()
public
static fromJson(string $json) : static
Parameters
- $json : string
Tags
Return values
staticfromJsonValue()
public
static fromJsonValue(mixed $value) : static
Parameters
- $value : mixed
Return values
staticfromTxRep()
public
static fromTxRep(array<string|int, mixed> $map, string $prefix) : XdrManageSellOfferOperation
Parameters
- $map : array<string|int, mixed>
- $prefix : string
Return values
XdrManageSellOfferOperationgetAmount()
public
getAmount() : BigInteger
Return values
BigIntegergetBuying()
public
getBuying() : XdrAsset
Return values
XdrAssetgetOfferId()
public
getOfferId() : int
Return values
intgetPrice()
public
getPrice() : XdrPrice
Return values
XdrPricegetSelling()
public
getSelling() : XdrAsset
Return values
XdrAssetsetAmount()
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
Return values
stringtoJson()
public
toJson() : string
Tags
Return values
stringtoJsonValue()
public
toJsonValue() : array<string|int, mixed>
Return values
array<string|int, mixed>toTxRep()
public
toTxRep(string $prefix, array<string|int, mixed> &$lines) : void
Parameters
- $prefix : string
- $lines : array<string|int, mixed>