Caleb Cushing

NAME

Business::CyberSource::Request::DCC - CyberSource DCC Request Object

VERSION

version v0.1.9

DESCRIPTION

This object allows you to create a request for Direct Currency Conversion.

METHODS

new

Instantiates a DCC request object, see the attributes listed below for which ones are required and which are optional.

submit

Actually sends the required data to CyberSource for processing and returns a Business::CyberSource::Response object.

ATTRIBUTES

client_env

Reader: client_env

Type: Str

cv_indicator

Reader: cv_indicator

Type: MooseX::Types::Varchar::Varchar[1]

Additional documentation: Flag that indicates whether a CVN code was sent

currency

Reader: currency

Type: MooseX::Types::Varchar::Varchar[5]

This attribute is required.

password

Reader: password

Type: Str

This attribute is required.

Additional documentation: your SOAP transaction key

production

Reader: production

Type: Bool

This attribute is required.

Additional documentation: 0: test server. 1: production server

server

Reader: server

Type: MooseX::Types::URI::Uri

This attribute is required.

cvn

Reader: cvn

Type: Int

cc_exp_month

Reader: cc_exp_month

Type: Int

This attribute is required.

total

Reader: total

Type: Num

username

Reader: username

Type: MooseX::Types::Varchar::Varchar[30]

This attribute is required.

Additional documentation: Your CyberSource merchant ID. Use the same merchantID for evaluation, testing, and production

cc_exp_year

Reader: cc_exp_year

Type: Int

This attribute is required.

credit_card

Reader: credit_card

Type: MooseX::Types::CreditCard::CreditCard

This attribute is required.

card_type

Reader: card_type

Type: MooseX::Types::Varchar::Varchar[3]

client_name

Reader: client_name

Type: Str

reference_code

Reader: reference_code

Type: MooseX::Types::Varchar::Varchar[50]

This attribute is required.

foreign_currency

Reader: foreign_currency

Type: MooseX::Types::Varchar::Varchar[5]

client_version

Reader: client_version

Type: Str

SEE ALSO

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) 2011 by Caleb Cushing.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)