constants->where('reference', SegmentConstants::CUSTOM_PRICE)->first(); return [ 'id' => $this->id, 'name' => $this->name, 'price' => $constant ? $constant->value : 0 ]; } }