NAME

Paymill::REST::Operations::Create — Create operation for Paymill::REST as Moose Role

FUNCTIONS

create

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.

AUTHOR

Matthias Dietrich <perl@rainboxx.de>

COPYRIGHT

Copyright 2013 - Matthias Dietrich

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.