/**
  * @return array
  */
 public function toArray()
 {
     $entityAsArray = array();
     $entityAsArray['id'] = $this->id->toArray();
     $entityAsArray['userId'] = $this->userId->toArray();
     $entityAsArray['name'] = $this->name;
     $entityAsArray['coinSymbol'] = $this->coinSymbol;
     $entityAsArray['token'] = $this->token;
     $entityAsArray['creationTime'] = clone $this->creationTime;
     return $entityAsArray;
 }
 /**
  * @return array
  */
 public function toArray()
 {
     $entityAsArray = array();
     $entityAsArray['id'] = $this->id->toArray();
     $entityAsArray['walletId'] = $this->walletId->toArray();
     $entityAsArray['hash'] = $this->hash;
     $entityAsArray['payToAddress'] = $this->payToAddress;
     $entityAsArray['description'] = $this->description;
     $entityAsArray['amount'] = $this->amount;
     $entityAsArray['creationTime'] = clone $this->creationTime;
     return $entityAsArray;
 }
Пример #3
0
 public function toArray()
 {
     $entityAsArray = array();
     $entityAsArray['id'] = $this->id->toArray();
     $entityAsArray['walletId'] = $this->walletId->toArray();
     $entityAsArray['address'] = $this->address;
     $entityAsArray['tag'] = $this->tag;
     $entityAsArray['private'] = $this->private;
     $entityAsArray['public'] = $this->public;
     $entityAsArray['wif'] = $this->wif;
     $entityAsArray['callbackUrl'] = $this->callbackUrl;
     $entityAsArray['creationTime'] = clone $this->creationTime;
     return $entityAsArray;
 }