NAME
Net::API::Stripe::Number - A Number Object
SYNOPSIS
VERSION
0.1
DESCRIPTION
This is a convenient wrapper around Number::Format
object. It does not inherit, but still you can use all of the Number::Format
method directly from here thanks to AUTOLOAD.
CONSTRUCTOR
- new( %ARG )
-
Creates a new
Net::API::Stripe
objects. It may also take an hash like arguments, that also are method of the same name.- verbose
-
Toggles verbose mode on/off
- debug
-
Toggles debug mode on/off
METHODS
- as_string
-
This returns the original number
- format
-
This calls
Number::Format::format_number
method passing it the original number and any extra arguments.For details of what arguments to provide, check the
Number::Format
documentation. - format_money
-
This calls
Number::Format::format_price
method passing it the original number and any extra arguments.For details of what arguments to provide, check the
Number::Format
documentation.
HISTORY
v0.1
Initial version
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Number::Format
COPYRIGHT & LICENSE
Copyright (c) 2018-2019 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 195:
You forgot a '=back' before '=head1'