Caleb Cushing > Business-CyberSource-0.006011 > Business::CyberSource::Rule

Download:
Business-CyberSource-0.006011.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.006011   Source   Latest Release: Business-CyberSource-0.010003

NAME ^

Business::CyberSource::Rule - Abstract Rule Base

VERSION ^

version 0.006011

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) 2012 by HostGator.com.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
syntax highlighting: