André Walker > Business-CPI-0.916 > Business::CPI::Role::Account::Business

Download:
Business-CPI-0.916.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.916   Source   Latest Release: Business-CPI-0.920

NAME ^

Business::CPI::Role::Account::Business - Business::CPI representation of corporations

VERSION ^

version 0.916

SYNOPSIS ^

    $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',
            },
        },
        # ...
    });

DESCRIPTION ^

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.

ATTRIBUTES ^

corporate_name

The complete corporate name of the company.

trading_name

The common trading name as the company is known.

phone

A phone number of the company.

address

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.

SPONSORED BY ^

Estante Virtual - http://www.estantevirtual.com.br

SEE ALSO ^

Business::CPI, Business::CPI::Role::Account, Business::CPI::Role::Account::Address

AUTHOR ^

André Walker <andre@andrewalker.net>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: