for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Thepixeldeveloper\Mondo\Response\Transactions;
/**
* Class Transaction
*
* @package Thepixeldeveloper\Mondo\Response\Transactions
*/
class Transaction
{
* Transaction id.
* @var string
protected $id;
* Created time.
* @var \DateTime
protected $created;
* Description.
protected $description;
* Amount.
* @var integer
protected $amount;
* Currency.
protected $currency;
* Merchant.
protected $merchant;
* Notes.
protected $notes;
* Metadata.
* @var array
protected $metadata = [];
* Balance.
protected $accountBalance;
* Attachments.
protected $attachments = [];
* Category.
protected $category;
* Is load.
* @var boolean
protected $isLoad;
* Settled.
protected $settled;
* Local amount.
protected $localAmount;
* Local currency.
protected $localCurrency;
* @return string
public function getId()
return $this->id;
}
* @return \DateTime
public function getCreated()
return new \DateTime();
public function getDescription()
return $this->description;
* @return int
public function getAmount()
return $this->amount;
public function getCurrency()
return $this->currency;
public function getMerchant()
return $this->merchant;
public function getNotes()
return $this->notes;
* @return array
public function getMetadata()
return $this->metadata;
public function getAccountBalance()
return $this->accountBalance;
public function getAttachments()
return $this->attachments;
public function getCategory()
return $this->category;
* @return boolean
public function isIsLoad()
return $this->isLoad;
public function getSettled()
public function getLocalAmount()
return $this->localAmount;
public function getLocalCurrency()
return $this->localCurrency;