NAME

Paymill::REST::Item::Client - Item class for a client

SYNOPSIS

  my $client_api = Paymill::REST::Clients->new;
  $client = $client_api->find('client_lk2j34h5lk34h5lkjh2');

  say $client->email;  # Prints email address assigned to the client

DESCRIPTION

Represents a client with all attributes and all sub items.

ATTRIBUTES

id

String containing the identifier of the client

description

String containing the assigned description

email

String containing the assigned email

created_at

DateTime object indicating the date of the creation as returned by the API

updated_at

DateTime object indicating the date of the last update as returned by the API

app_id

String representing the app id that created this client

SUB ITEMS

subscription

One or a list of subscriptions, depends on the returned values from the API.

See also Paymill::REST::Item::Subscription.

payment

One or a list of payments, depends on the returned values from the API.

See also Paymill::REST::Item::Payment.

AVAILABLE OPERATIONS

delete

Paymill::REST::Operations::Delete

SEE ALSO

Paymill::REST for more documentation.

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.