price_cents - (int) $this->discount_cents; } public function order(): BelongsTo { return $this->belongsTo(Order::class); } public function holder(): BelongsTo { return $this->belongsTo(Party::class, 'holder_party_id'); } public function offerVersion(): BelongsTo { return $this->belongsTo(OfferVersion::class); } public function scopeItems(): HasMany { return $this->hasMany(OrderScopeItem::class); } }