ction get_classess(): array { return [ 'error' => 'failed', 'new' => 'on-hold', 'created' => 'processing created', 'confirmed' => 'processing confirmed', 'manifest' => 'processing manifest', ]; } /** * @return string[] */ private function get_statuses(): array { return [ 'error' => __( 'Error', 'flexible-shipping' ), 'new' => __( 'New shipment', 'flexible-shipping' ), 'created' => __( 'Created', 'flexible-shipping' ), 'confirmed' => __( 'Confirmed', 'flexible-shipping' ), 'manifest' => __( 'Manifest created', 'flexible-shipping' ), ]; } }