NAME

Business::TrueLayer::Mandate - class representing a mandate as used in the TrueLayer v3 API.

SYNOPSIS

my $Mandate = Business::TrueLayer::Mandate->new(
    type => ...
);

ATTRIBUTES

id (Str)
status (Str)
type (Str)
beneficiary

A Business::TrueLayer::Beneficiary object. Hash refs will be coerced.

user

A Business::TrueLayer::User object. Hash refs will be coerced.

authorizing

authorized

Check if the mandate is at a current state:

if ( $Mandate->authorizing ) {
    ...
}

SEE ALSO

Business::TrueLayer::User