PagSeguro::API::Transaction - Classe que implementa feature de transações da API
use PagSeguro::API; # new instance my $p = PagSeguro::API->new; #configure $p->email('foo@bar.com'); $p->token('95112EE828D94278BD394E91C4388F20'); # new transaction my $transaction = $p->transaction; my $response = $transaction->by_code('TRANSACTION_CODE'); # or find by notification code $response = $transaction->by_notification_code('NOTIFICATION_CODE'); # error die "Error: ". $response->error if $response->error; say $response->data;
Esta classe implementa a parte da API responsável pelas transações.
Daniel Vinciguerra <daniel.vinciguerra@bivee.com.br>
To install PagSeguro::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PagSeguro::API
CPAN shell
perl -MCPAN -e shell install PagSeguro::API
For more information on module installation, please visit the detailed CPAN module installation guide.