The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

PagSeguro::API::Notification - Classe que implementation features de notificações

SYNOPSIS

    use PagSeguro::API;

    # new instance
    my $p = PagSeguro::API->new;
    
    #configure
    $p->email('foo@bar.com');
    $p->token('95112EE828D94278BD394E91C4388F20');

    # new notification
    my $notification = $p->notification;
    my $response = $notification->by_code('NOTIFICATION_CODE');

    # error
    die "Error: ". $response->error if $response->error;
    
    say $response->data;

DESCRIPTION

Esta classe implementa a parte da API responsável pelas notificações.

AUTHOR

Daniel Vinciguerra <daniel.vinciguerra@bivee.com.br>