Skip to content

Commit

Permalink
Updated FinantialAccountBalance to comply to the JSON return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Kubinyete committed Feb 20, 2024
1 parent 1bc1126 commit ce0c1d3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Model/Movement/FinantialAccountBalance.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ class FinantialAccountBalance extends Model
{
protected function schema(SchemaBuilder $schema)
{
$schema->string("estabelecimento"); //: "136625414",
$schema->string("tipo_evento"); //: "7",
$schema->int("estabelecimento"); //: "136625414",
$schema->int("tipo_evento"); //: "7",
$schema->string("data_movimentacao"); //: "2023-11-15",
$schema->string("valor_saldo"); //: "0.00",
$schema->float("valor_saldo"); //: "0.00",
}

public function getEstabelecimento(): string
public function getEstabelecimento(): int
{
return $this->get("estabelecimento");
}

public function getTipoEvento(): string
public function getTipoEvento(): int
{
return $this->get("tipo_evento");
}
Expand All @@ -31,7 +31,7 @@ public function getDataMovimentacao(): string
return $this->get("data_movimentacao");
}

public function getValorSaldo(): string
public function getValorSaldo(): float
{
return $this->get("valor_saldo");
}
Expand Down

0 comments on commit ce0c1d3

Please sign in to comment.