1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Claudsonm\Pedi\Standards\PagSeguro\Enums; |
4
|
|
|
|
5
|
|
|
class TipoEvento |
6
|
|
|
{ |
7
|
|
|
const VENDA_OU_PAGAMENTO = '01'; |
8
|
|
|
const AJUSTE_A_CREDITO = '02'; |
9
|
|
|
const AJUSTE_A_DEBITO = '03'; |
10
|
|
|
const TRANSFERENCIA_OUTROS_BANCOS = '04'; |
11
|
|
|
const CHARGEBACK = '05'; |
12
|
|
|
const CANCELAMENTO = '06'; |
13
|
|
|
const SALDO_INICIAL = '07'; |
14
|
|
|
const SALDO_FINAL = '08'; |
15
|
|
|
const ABERTURA_DISPUTA = '09'; |
16
|
|
|
const ENCERRAMENTO_DISPUTA = '10'; |
17
|
|
|
const ABERTURA_PRE_CHARGEBACK = '11'; |
18
|
|
|
const ENCERRAMENTO_PRE_CHARGEBACK = '12'; |
19
|
|
|
const AGENDAMENTO_SAQUE_CIP = '14'; |
20
|
|
|
const SAQUE_APROVADO_CIP = '15'; |
21
|
|
|
const REMUNERACAO_DE_CONTA = '16'; |
22
|
|
|
|
23
|
|
|
/** |
24
|
|
|
* Todos os códigos de identificação dos eventos com sinal positivo (entrada). |
25
|
|
|
* |
26
|
|
|
* @return array|string[] |
27
|
|
|
*/ |
28
|
|
|
public static function entrada(): array |
29
|
|
|
{ |
30
|
|
|
return [ |
31
|
|
|
self::VENDA_OU_PAGAMENTO, self::AJUSTE_A_CREDITO, self::SALDO_INICIAL, |
32
|
|
|
self::SALDO_FINAL, self::ENCERRAMENTO_DISPUTA, self::ENCERRAMENTO_PRE_CHARGEBACK. |
33
|
|
|
self::REMUNERACAO_DE_CONTA, |
34
|
|
|
]; |
35
|
|
|
} |
36
|
|
|
|
37
|
|
|
/** |
38
|
|
|
* Todos os códigos de identificação dos eventos com sinal negativo (saída). |
39
|
|
|
* |
40
|
|
|
* @return array|string[] |
41
|
|
|
*/ |
42
|
|
|
public static function saida(): array |
43
|
|
|
{ |
44
|
|
|
return [ |
45
|
|
|
self::AJUSTE_A_DEBITO, self::TRANSFERENCIA_OUTROS_BANCOS, self::CHARGEBACK, |
46
|
|
|
self::CANCELAMENTO, self::ABERTURA_DISPUTA, self::ABERTURA_PRE_CHARGEBACK, |
47
|
|
|
self::AGENDAMENTO_SAQUE_CIP, |
48
|
|
|
]; |
49
|
|
|
} |
50
|
|
|
} |
51
|
|
|
|