Cuota abono a escritura

This commit is contained in:
Juan Pablo Vial
2024-11-28 12:02:02 -03:00
parent a2352d79f9
commit 4392f61db9
2 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<?php
namespace Incoviba\Model\Venta\Abono;
use Incoviba\Common\Ideal;
use Incoviba\Model;
class Cuota extends Ideal\Model
{
public Model\Venta $venta;
public Model\Venta\Pago $pago;
public function jsonSerialize(): mixed
{
return array_merge(parent::jsonSerialize(), [
'venta_id' => $this->venta->id,
'pago' => $this->pago
]);
}
}