« Business/CyberSource/Response/Role/AuthCode.pm
↑ Summary
Business/CyberSource/Response/Role/ElectronicVerification.pm »
| 1 | package Business::CyberSource::Response::Role::DCC; | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | our $VERSION = '0.010007'; # VERSION | |
| 7 | |||
| 8 | 1 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | with qw( | |
| 10 | Business::CyberSource::Role::ForeignCurrency | ||
| 11 | ); | ||
| 12 | |||
| 13 | 1 | has dcc_supported => ( | |
| 14 | required => 1, | ||
| 15 | is => 'ro', | ||
| 16 | isa => 'Bool' | ||
| 17 | ); | ||
| 18 | |||
| 19 | 1 | has valid_hours => ( | |
| 20 | required => 1, | ||
| 21 | is => 'ro', | ||
| 22 | isa => 'Int', | ||
| 23 | ); | ||
| 24 | |||
| 25 | 1 | has margin_rate_percentage => ( | |
| 26 | required => 1, | ||
| 27 | is => 'ro', | ||
| 28 | isa => 'Num', | ||
| 29 | ); | ||
| 30 | |||
| 31 | 1 | 1; | |
| 32 | |||
| 33 | # ABSTRACT: Role that provides attributes specific to responses for DCC | ||
| 34 | |||
| 35 | __END__ | ||
| 36 | |||
| 37 | =pod | ||
| 38 | |||
| 39 | =encoding UTF-8 | ||
| 40 | |||
| 41 | =head1 NAME | ||
| 42 | |||
| 43 | Business::CyberSource::Response::Role::DCC - Role that provides attributes specific to responses for DCC | ||
| 44 | |||
| 45 | =head1 VERSION | ||
| 46 | |||
| 47 | version 0.010007 | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | =head2 dcc_supported | ||
| 52 | |||
| 53 | =head2 valid_hours | ||
| 54 | |||
| 55 | =head2 margin_rate_percentage | ||
| 56 | |||
| 57 | =head1 BUGS | ||
| 58 | |||
| 59 | Please report any bugs or feature requests on the bugtracker website | ||
| 60 | https://github.com/xenoterracide/business-cybersource/issues | ||
| 61 | |||
| 62 | When submitting a bug or request, please include a test-file or a | ||
| 63 | patch to an existing test-file that illustrates the bug or desired | ||
| 64 | feature. | ||
| 65 | |||
| 66 | =head1 AUTHOR | ||
| 67 | |||
| 68 | Caleb Cushing <xenoterracide@gmail.com> | ||
| 69 | |||
| 70 | =head1 COPYRIGHT AND LICENSE | ||
| 71 | |||
| 72 | This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>. | ||
| 73 | |||
| 74 | This is free software, licensed under: | ||
| 75 | |||
| 76 | The Artistic License 2.0 (GPL Compatible) | ||
| 77 | |||
| 78 | =cut | ||