Skip to content

Commit db28f60

Browse files
author
alisson
committed
Adicionado no status o status partially_refunded
Adicionado no status o status partially_refunded pois para poder fazer o estorno parcial e poder validar precisamos comparar o status que está vindo no webservide
1 parent 1ac805f commit db28f60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Iugu/Enum/InvoiceStatusEnum.php

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class InvoiceStatusEnum
1414
const DONE = 'done';
1515
const PARTIALLY_PAID = 'partially_paid';
1616
const IN_PROTEST = 'in_protest';
17+
const PARTIALLY_REFUNDED = 'partially_refunded';
1718

1819
public static function getDescription($statusCode){
1920

@@ -28,6 +29,7 @@ public static function getDescription($statusCode){
2829
case static::DONE: return 'Concluído';
2930
case static::PARTIALLY_PAID: return 'Pago Parcialmente';
3031
case static::IN_PROTEST: return 'Em Protesto';
32+
case static::PARTIALLY_REFUNDED: return 'Estornado Parcialmente';
3133
}
3234

3335
return 'Desconhecido';

0 commit comments

Comments
 (0)