Skip to content

Commit

Permalink
Merge pull request #6 from AlissonCorrea/v1.2.0-php8
Browse files Browse the repository at this point in the history
Adicionado no status o status partially_refunded
  • Loading branch information
idealizetecnologia authored Jun 13, 2022
2 parents 3d43832 + db28f60 commit ac33602
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Iugu/Enum/InvoiceStatusEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class InvoiceStatusEnum
const DONE = 'done';
const PARTIALLY_PAID = 'partially_paid';
const IN_PROTEST = 'in_protest';
const PARTIALLY_REFUNDED = 'partially_refunded';

public static function getDescription($statusCode){

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

return 'Desconhecido';
Expand Down

0 comments on commit ac33602

Please sign in to comment.