Business::CPI::Role::Account::Business - Business::CPI representation of corporations
version 0.916
$cpi->create_account({ # ... business => { corporate_name => 'MyCompany Ltd.', trading_name => 'MyCompany', phone => '11 11110000', address => { street => 'Alameda Santos', number => '321', complement => '3º andar', district => 'Bairro Y', city => 'São Paulo', state => 'SP', country => 'br', }, }, # ... });
This role represents information about businesses in the context of accounts in gateways. You shouldn't have to instantiate this yourself, but use the helpers provided by the gateway driver.
The complete corporate name of the company.
The common trading name as the company is known.
A phone number of the company.
See Business::CPI::Role::Account::Address. You should provide a HashRef with the attributes, according to the Address role, and it will be inflated for you.
Estante Virtual - http://www.estantevirtual.com.br
Business::CPI, Business::CPI::Role::Account, Business::CPI::Role::Account::Address
André Walker <andre@andrewalker.net>
This software is copyright (c) 2014 by André Walker.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Business::CPI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::CPI
CPAN shell
perl -MCPAN -e shell install Business::CPI
For more information on module installation, please visit the detailed CPAN module installation guide.