Paymill::REST::Operations::Create — Create operation for Paymill::REST as Moose Role
To create a new item, eg. a transaction or client, via the PAYMILL REST API, call this method on the respective item factory. Returns an instance of the newly created item module (eg. Paymill::REST::Item::Transaction).
Note: might return a different item module for some items, eg. when creating a preauthorization a transaction is returned. This behavior depends on the PAYMILL REST API.
Expects a hash ref as parameter for creating the item. Please refer to PAYMILL's API reference and use parameters as key and their values as the key's values.
Matthias Dietrich <perl@rainboxx.de>
Copyright 2013 - Matthias Dietrich
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Paymill::REST, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paymill::REST
CPAN shell
perl -MCPAN -e shell install Paymill::REST
For more information on module installation, please visit the detailed CPAN module installation guide.