<?php

abstract class Type_LoyaltyOperacao extends EnumBasic
{
  const Tp_Todos = 2;
  const Tp_Debito = 1;
  const Tp_Credito = 0;

  protected static $nickname = array(
    self::Tp_Todos => 'Todas',
    self::Tp_Debito => 'Resgate',
    self::Tp_Credito => 'Acumulo'
  );
}

abstract class Type_LoyaltyRange extends EnumBasic
{
  const Tp_Sete = 7;
  const Tp_Quinze = 15;
  const Tp_Trinta = 30;

  protected static $nickname = array(
    self::Tp_Sete => '7 dias',
    self::Tp_Quinze => '15 dias',
    self::Tp_Trinta => '30 dias'
  );
}

abstract class Type_LoyaltyLancamento extends EnumBasic
{
  const Tp_Ambos  = 2;
  const Tp_Pedido = 0;
  const Tp_Manual = 1;

  protected static $nickname = array(
    self::Tp_Ambos => 'Ambos',
    self::Tp_Manual => 'Manual',
    self::Tp_Pedido => 'Pedido'
  );
}

abstract class Type_FidelityConfigs extends EnumBasic
{
  const Tp_Multiempresa = 'multiempresa';

  protected static $nickname = array(
    self::Tp_Multiempresa => 'Multiempresa'
  );
}

abstract class Type_FidelityPayment extends EnumBasic
{
  const Tp_FidelityPayment = 'pagamentofidelity';

  protected static $nickname = array(
    self::Tp_FidelityPayment => 'Pagamento Fidelidade'
  );
}

abstract class Type_FidelityShipping extends EnumBasic
{
  const Tp_FidelityShipping = 'free';
  const Tp_FidelityShippingCode = 'shipping';

  protected static $nickname = array(
    self::Tp_FidelityShipping => 'Frete Grátis',
    self::Tp_FidelityShippingCode => 'shipping'
  );
}

abstract class Type_FidelityPoints extends EnumBasic
{
  const Tp_ValorVenda = 0;
  const Tp_SubGrupo = 1;

  protected static $nickname = array(
    self::Tp_ValorVenda => 'Pontos por Valor da Venda',
    self::Tp_SubGrupo => 'Pontos por SubGrupo'
  );
}


abstract class Type_FidelityTipoPontuacao extends EnumBasic
{
  const Tp_MultiEmpresa = 0;
  const Tp_PorEmpresa = 1;

  protected static $nickname = array(
    self::Tp_MultiEmpresa => 'Multi Empresa',
    self::Tp_PorEmpresa => 'Por Empresa'
  );
}

