我需要访问类型提示
SapDefine :: transactionCode() - > ...
现在看到SapDefine的提示:: ...
class sapDefine extends ServiceProvider {
/**
* @return object[]
*/
public static function transactionCode() {
return (object) [
'RetailSales-DineIn'=>'ZR11',
'RetailSales-TakeAway'=>'ZR12',
'RetailReturn-DineIn'=>'ZR21',
'RetailReturn-TakeAway'=>'ZR22',
'DeliverySales-E-Coms'=>'ZD13',
'DeliverySales-M-App'=>'ZD14',
'DeliverySales-Phone'=>'ZD15',
'DeliveryReturn-E-Coms'=>'ZD23',
'DeliveryReturn-M-App'=>'ZD24',
'DeliveryReturn-Phone'=>'ZD25',
'EventSales-General'=>'ZE19',
'EventReturn-General'=>'ZE29'
];
}
}
PS。项目设置在laravel。