XdrLedgerKeyOffer
in package
Table of Contents
Properties
- $offerID : int
- $sellerID : XdrAccountID
Methods
- __construct() : mixed
- decode() : XdrLedgerKeyOffer
- encode() : string
- fromBase64Xdr() : static
- fromTxRep() : XdrLedgerKeyOffer
- getOfferID() : int
- getSellerID() : XdrAccountID
- setOfferID() : void
- setSellerID() : void
- toBase64Xdr() : string
- toTxRep() : void
Properties
$offerID
public
int
$offerID
$sellerID
public
XdrAccountID
$sellerID
Methods
__construct()
public
__construct(XdrAccountID $sellerID, int $offerID) : mixed
Parameters
- $sellerID : XdrAccountID
- $offerID : int
decode()
public
static decode(XdrBuffer $xdr) : XdrLedgerKeyOffer
Parameters
- $xdr : XdrBuffer
Return values
XdrLedgerKeyOfferencode()
public
encode() : string
Return values
stringfromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
- $xdr : string
Return values
staticfromTxRep()
public
static fromTxRep(array<string|int, mixed> $map, string $prefix) : XdrLedgerKeyOffer
Parameters
- $map : array<string|int, mixed>
- $prefix : string
Return values
XdrLedgerKeyOffergetOfferID()
public
getOfferID() : int
Return values
intgetSellerID()
public
getSellerID() : XdrAccountID
Return values
XdrAccountIDsetOfferID()
public
setOfferID(int $offerID) : void
Parameters
- $offerID : int
setSellerID()
public
setSellerID(XdrAccountID $sellerID) : void
Parameters
- $sellerID : XdrAccountID
toBase64Xdr()
public
toBase64Xdr() : string
Return values
stringtoTxRep()
public
toTxRep(string $prefix, array<string|int, mixed> &$lines) : void
Parameters
- $prefix : string
- $lines : array<string|int, mixed>