Caleb Cushing

NAME

Business::CyberSource::Rule - Abstract Rule Base

VERSION

version 0.010003

METHODS

run

required by subclasses but not provided. Is executed to check your rule and returns a suitable mock answer. request_id should be set to 0 in the answer.

        return { result => {
                merchantReferenceCode => $request->reference_code,
                decision              => 'REJECT',
                reasonCode            => '202',
                requestID             => 0,
                requestToken          => 0,
        }

debug

carps out the rule that matched if client has debug set.

ATTRIBUTES

client

a weakened reference to the client, to check the clients debug state.

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/xenoterracide/business-cybersource/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Caleb Cushing <xenoterracide@gmail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2014 by Caleb Cushing <xenoterracide@gmail.com>.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)



Hosting generously
sponsored by Bytemark