TransactionService
extends ResourceService
in package
Table of Contents
- $decodeResource : Resource|null
- $resource : Resource
- __call() : mixed
- __construct() : mixed
- data() : array<string|int, mixed>
- getDecodeResource() : resource|null
- getResource() : resource
- getTransactionInfo() : object
- getTransactionInfoJson() : string
- load() : ServiceInterface
- loadTransactionInstance() : self
- setDecodeResource() : TransactionService
- setResource() : self
- update() : ServiceInterface
- isContract() : void
Properties
$decodeResource
protected
Resource|null
$decodeResource
$resource
private
Resource
$resource
Methods
__call()
public
__call(mixed $name, mixed $arguments) : mixed
Parameters
- $name : mixed
- $arguments : mixed
Return values
mixed —__construct()
public
__construct(TransactionResource $resource) : mixed
Parameters
- $resource : TransactionResource
Return values
mixed —data()
public
data() : array<string|int, mixed>
Return values
array<string|int, mixed> —getDecodeResource()
public
getDecodeResource() : resource|null
Return values
resource|null —getResource()
public
getResource() : resource
Return values
resource —getTransactionInfo()
public
getTransactionInfo() : object
Return values
object —getTransactionInfoJson()
public
getTransactionInfoJson() : string
Tags
Return values
string —load()
public
load() : ServiceInterface
Return values
ServiceInterface —loadTransactionInstance()
public
loadTransactionInstance() : self
Return values
self —setDecodeResource()
public
setDecodeResource(resource|null $decodeResource) : TransactionService
Parameters
- $decodeResource : resource|null
Return values
TransactionService —setResource()
public
setResource(resource $resource) : self
Parameters
- $resource : resource
Return values
self —update()
public
update() : ServiceInterface
Return values
ServiceInterface —isContract()
protected
isContract() : void