mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-22 05:53:58 +00:00
1688 PO Automation Project, minor business logic fix
This commit is contained in:
@@ -240,6 +240,26 @@ class TransactionObject implements DataTransferObject
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set the amount.
|
||||
*
|
||||
* @param float $amount
|
||||
* @return void
|
||||
*/
|
||||
public function setAmount(float $amount): void
|
||||
{
|
||||
$this->amount = $amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the original amount.
|
||||
*
|
||||
* @param float $originalAmount
|
||||
* @return void
|
||||
*/
|
||||
public function setOriginalAmount(float $originalAmount): void
|
||||
{
|
||||
$this->originalAmount = $originalAmount;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user