<?php

use MabeEnum\Enum;

abstract class Type_pixpdvConfigs extends EnumBasic {
  const Tp_NameModule    = 'pixpdv';

  protected static $nickname = [
    self::Tp_NameModule => 'Usado para identificar qual o metodo de pagamento que foi escolhido',
  ];
}

abstract class Type_pixpdvPaymentStatus extends EnumBasic {
  const Tp_Open            = 'Open';
  const Tp_Created         = 'Created';
  const Tp_Approved        = 'Approved';
  const Tp_Partial         = 'Partial';
  const Tp_Overfilled      = 'Overfilled';
  const Tp_Rejected        = 'Rejected';
  const Tp_Canceled        = 'Canceled';
  const Tp_Error           = 'Error';
  const Tp_Authorized      = 'Authorized';
  const Tp_Captured        = 'Captured';
  const Tp_Canceling       = 'Canceling';
  const Tp_Refunded        = 'Refunded';
  const Tp_Expired         = 'Expired';
  const Tp_Timeout         = 'Timeout';
  const Tp_Unfinished      = 'Unfinished';
  const Tp_Fatal_Error     = 'Fatal_Error';
  
  protected static $nickname = [
    self::Tp_Open          => 'Aguardando Pagamento',
    self::Tp_Created       => 'Criado',
    self::Tp_Approved      => 'Aprovado',
    self::Tp_Partial       => 'Capturado parcialmente',
    self::Tp_Overfilled    => 'Excedido',
    self::Tp_Rejected      => 'Reprovado',
    self::Tp_Canceled      => 'Cancelado',
    self::Tp_Error         => 'Com erro',
    self::Tp_Authorized    => 'Autorizado',
    self::Tp_Captured      => 'Capturado',
    self::Tp_Canceling     => 'Cancelando',
    self::Tp_Refunded      => 'Reembolsado',
    self::Tp_Expired       => 'Expirado',
    self::Tp_Timeout       => 'Tempo esgotado',
    self::Tp_Unfinished    => 'Inacabado',
    self::Tp_Fatal_Error   => 'Erro fatal',
  ];

}
