Business-GoCardless
    
    
  
  
  
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
    
  
  
  
( run in 0.555 second using v1.01-cache-2.11-cpan-a1d94b6210f )