wallet tron transactions
This commit is contained in:
88
app/Bean/Sdk/Wallet/Tron/AccountTransactionBean.php
Normal file
88
app/Bean/Sdk/Wallet/Tron/AccountTransactionBean.php
Normal file
@ -0,0 +1,88 @@
|
||||
<?php
|
||||
namespace App\Bean\Sdk\Wallet\Tron;
|
||||
|
||||
use App\Bean\Model\Base\BaseBean;
|
||||
|
||||
class AccountTransactionBean extends BaseBean
|
||||
{
|
||||
protected $transaction_id;
|
||||
protected AccountTransactionTokenInfoBean $token_info;
|
||||
protected $block_timestamp;
|
||||
protected $from;
|
||||
protected $to;
|
||||
protected $type;
|
||||
protected $value;
|
||||
|
||||
public function getTransactionId()
|
||||
{
|
||||
return $this->transaction_id;
|
||||
}
|
||||
|
||||
public function setTransactionId($transaction_id): void
|
||||
{
|
||||
$this->transaction_id = $transaction_id;
|
||||
}
|
||||
|
||||
public function getTokenInfo(): AccountTransactionTokenInfoBean
|
||||
{
|
||||
return $this->token_info;
|
||||
}
|
||||
|
||||
public function setTokenInfo(AccountTransactionTokenInfoBean $token_info): void
|
||||
{
|
||||
$this->token_info = $token_info;
|
||||
}
|
||||
|
||||
public function getBlockTimestamp()
|
||||
{
|
||||
return $this->block_timestamp;
|
||||
}
|
||||
|
||||
public function setBlockTimestamp($block_timestamp): void
|
||||
{
|
||||
$this->block_timestamp = $block_timestamp;
|
||||
}
|
||||
|
||||
public function getFrom()
|
||||
{
|
||||
return $this->from;
|
||||
}
|
||||
|
||||
public function setFrom($from): void
|
||||
{
|
||||
$this->from = $from;
|
||||
}
|
||||
|
||||
public function getTo()
|
||||
{
|
||||
return $this->to;
|
||||
}
|
||||
|
||||
public function setTo($to): void
|
||||
{
|
||||
$this->to = $to;
|
||||
}
|
||||
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
|
||||
public function setType($type): void
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
|
||||
public function setValue($value): void
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user