The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version v0.2.1

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

cybs_wsdl

Reader: cybs_wsdl

Type: MooseX::Types::Path::Class::File

cv_indicator

Reader: cv_indicator

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

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

trace

Reader: trace

Writer: trace

Type: XML::Compile::SOAP::Trace

currency

Reader: currency

Type: MooseX::Types::Locale::Currency::CurrencyCode

This attribute is required.

password

Reader: password

Type: MooseX::Types::Common::String::NonEmptyStr

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

cybs_api_version

Reader: cybs_api_version

Type: Str

cvn

Reader: cvn

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

total

Reader: total

Type: Num

cc_exp_month

Reader: cc_exp_month

Type: Int

This attribute is required.

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]

cybs_xsd

Reader: cybs_xsd

Type: MooseX::Types::Path::Class::File

reference_code

Reader: reference_code

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

This attribute is required.

client_name

Reader: client_name

Type: Str

foreign_currency

Reader: foreign_currency

Type: MooseX::Types::Locale::Currency::CurrencyCode

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)