| Total Complexity | 5 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class SspInquiryManagementConfig extends SprykerSspInquiryConfig |
||
| 15 | { |
||
| 16 | public function getSspInquiryInitialStateMap(): array |
||
| 17 | { |
||
| 18 | return [ |
||
| 19 | 'SspInquiryDefaultStateMachine' => 'created', |
||
| 20 | ]; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function getSspInquiryStateMachineProcessSspInquiryTypeMap(): array |
||
| 24 | { |
||
| 25 | return [ |
||
| 26 | 'general' => 'SspInquiryDefaultStateMachine', |
||
| 27 | 'order' => 'SspInquiryDefaultStateMachine', |
||
| 28 | ]; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | public function getSspInquiryCancelStateMachineEventName(): string |
||
| 35 | { |
||
| 36 | return 'cancel'; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return array<string> |
||
| 41 | */ |
||
| 42 | public function getAvailableStatuses(): array |
||
| 43 | { |
||
| 44 | return [ |
||
| 45 | 'pending', |
||
| 46 | 'in_review', |
||
| 47 | 'approved', |
||
| 48 | 'rejected', |
||
| 49 | 'canceled', |
||
| 50 | ]; |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function getStorageName(): string |
||
| 59 | } |
||
| 60 | } |
||
| 61 |