<?php

abstract class Type_CieloCheckoutPagamento extends EnumBasic{
  const Tp_Cartao        = 1;
  const Tp_Boleto	  	 = 2;
  const Tp_Transferencia = 3;
  const Tp_Debito        = 4;
  const Tp_Pix           = 6;

  protected static $nickname = array(
    self::Tp_Cartao 		=> 'CC',
    self::Tp_Boleto	  		=> 'BB',
    self::Tp_Transferencia  => 'TO',
    self::Tp_Debito  		=> 'CD',
    self::Tp_Pix            => 'PIX',
  );

  protected static $description = array(
    self::Tp_Cartao 		=> 'Cartão de Crédito',
    self::Tp_Boleto	  		=> 'Boleto bancário',
    self::Tp_Transferencia 	=> 'Transferência',
    self::Tp_Debito  		=> 'Cartão de Débito',
    self::Tp_Pix            => 'Pix',
  );
}

abstract class Type_CieloCheckoutBandeira extends EnumBasic{
	const Tp_Visa        = 1;
	const Tp_Mastercard	 = 2;
	const Tp_Amex        = 3;
	const Tp_Diners      = 4;
	const Tp_Elo         = 5;
	const Tp_Aura        = 6;
	const Tp_Jcb         = 7;

	protected static $nickname = array(
	  self::Tp_Visa 		=> 'Visa',
	  self::Tp_Mastercard	=> 'Mastercard',
	  self::Tp_Amex  		=> 'Amex',
	  self::Tp_Diners  		=> 'Diners',
	  self::Tp_Elo  		=> 'Elo',
	  self::Tp_Aura  		=> 'Aura',
	  self::Tp_Jcb  		=> 'JCB',
	);
}


abstract class Type_CieloCheckoutStatusPgto extends EnumBasic{
	const Tp_Pendente       = 1;
	const Tp_Pago	 		= 2;
	const Tp_Negado        	= 3;
	const Tp_Expirado       = 4;
	const Tp_Cancelado      = 5;
	const Tp_NaoFinalizado  = 6;
	const Tp_Autorizado     = 7;
	const Tp_Chargeback     = 8;

	protected static $nickname = array(
	  self::Tp_Pendente 		=> 'Pendente',
	  self::Tp_Pago				=> 'Pago',
	  self::Tp_Negado  			=> 'Negado',
	  self::Tp_Expirado  		=> 'Expirado',
	  self::Tp_Cancelado  		=> 'Cancelado',
	  self::Tp_NaoFinalizado  	=> 'Não Finalizado',
	  self::Tp_Autorizado  		=> 'Autorizado',
	  self::Tp_Chargeback  		=> 'Chargeback'
	);
}






