jjzjj

setDueDate

全部标签

php - Invoice::setDueDate() 必须实现接口(interface) DateTimeInterface,使用 calcinai 的 Xero API

我正在关注这个wrapper我有这个错误:Catchablefatalerror:Argument1passedtoXeroPHP\Models\Accounting\Invoice::setDueDate()mustimplementinterfaceDateTimeInterface,stringgiven这是我的代码:try{$lineitem=newLineItem($this->_xi);$lineitem->setAccountCode('200')->setQuantity('5.400')->setDescription('thisisawesometest')->se