Business::Bitcoin::Request - Bitcoin payment request
$Revision: 1.029 $ $Date: Sat Feb 4 00:48:25 PST 2017 $
Business::Bitcoin::Request objects represent Bitcoin payment requests generated by Business::Bitcoin.
use Business::Bitcoin; my $bizbtc = new Business::Bitcoin (DB => '/tmp/bizbtc.db', XPUB => 'xpub...'); my $request = $bizbtc->request(Amount => 4200); print ($request->verify ? "Verified\n" : "Verification failed\n");
Not intended to be called directly. Business::Bitcoin::Request objects should be created by calling the request method on a Business::Bitcoin object.
Verify that the request has been paid. Returns true if the request has been paid, false otherwise. The number of confirmations required to consider a payment valid can be set via the confirmations accessor.
Accessors can be called with no arguments to query the value of an object property, or with a single argument, to set the property to a specific value (unless the property is read only).
The number of confirmations needed to consider a payment valid.
The amount of the payment request, in Satoshi. Read only.
The Bitcoin receiving address for the payment request. Read only.
The timestamp of when the request was created. Read only.
An optional reference ID for the request, to facilitate integration with existing order systems. Read only.
The version number of this module. Read only.
Ashish Gulhati, <biz-btc at hash dot neomailbox.ch>
<biz-btc at hash dot neomailbox.ch>
Please report any bugs or feature requests to bug-business-bitcoin at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Business-Bitcoin. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-business-bitcoin at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Business::Bitcoin::Request
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Business-Bitcoin
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Business-Bitcoin
CPAN Ratings
http://cpanratings.perl.org/d/Business-Bitcoin
Search CPAN
http://search.cpan.org/dist/Business-Bitcoin/
Copyright (c) 2016-2017 Ashish Gulhati. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Business::Bitcoin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::Bitcoin
CPAN shell
perl -MCPAN -e shell install Business::Bitcoin
For more information on module installation, please visit the detailed CPAN module installation guide.