NAME

Business::CPI::Types - Coersion and checks

VERSION

version 0.901

DESCRIPTION

Coersions for the internal CPI attributes.

METHODS

stringified_money

Most gateways require the money amount to be provided with two decimal places. This method coerces the value into number, and then to a string as expected by the gateways.

AUTHOR

André Walker <andre@andrewalker.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 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.