Business-GoCardless
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Business/GoCardless/Mandate.pm view on Meta::CPAN
note that you can only update the metadata on a mandate, so you must pass the params
hash as something that looks like:
%params = ( metadata => { ... } );
=cut
sub cancel { shift->_operation( undef,'api_post',undef,'actions/cancel' ); }
sub update {
my ( $self,%params ) = @_;
return $self->client->api_put(
sprintf( $self->endpoint,$self->id ),
{ mandates => { %params } },
);
}
=head1 Status checks on a mandate
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.500 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )