Heystack\Ecommerce\Transaction\Transaction::__construct
Creates the Transaction object
Signature
public function __construct(State
$stateService,
CurrencyServiceInterface
$currencyService,
array
$validStatuses,
string
$defaultStatus )
Parameters
$stateService
— \Heystack\Core\State\State
$currencyService
— \Heystack\Ecommerce\Currency\Interfaces\CurrencyServiceInterface
$validStatuses
— array$defaultStatus
— string