The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Business::Monzo::Merchant

DESCRIPTION

A class for a Monzo merchant, extends Business::Monzo::Resource

ATTRIBUTES

The Merchant class has the following attributes (with their type).

    id (Str)
    group_id (Str)
    logo (Str)
    emoji (Str)
    name (Str)
    category (Str)
    online (Bool)
    atm (Bool)
    disable_feedback (Bool)
    address (Business::Monzo::Address)
    created (DateTime)
    updated (DateTime)
    metadata (HashRef)

Note that if a HashRef or Str is passed to ->address it will be coerced into a Business::Monzo::Address object. When a Str is passed to ->created or ->updated these will be coerced to a DateTime object.

Operations on an merchant

None at present

SEE ALSO

Business::Monzo

Business::Monzo::Resource

AUTHOR

Lee Johnson - leejo@cpan.org

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. If you would like to contribute documentation, features, bug fixes, or anything else then please raise an issue / pull request:

    https://github.com/leejo/business-monzo