« Business/CyberSource/ResponsePart/AuthReply.pm
↑ Summary
Business/CyberSource/ResponsePart/PurchaseTotals.pm »
| 1 | package Business::CyberSource::ResponsePart::DCCReply; | ||
| 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; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | extends 'Business::CyberSource::MessagePart'; | |
| 10 | 1 | with qw( | |
| 11 | Business::CyberSource::Response::Role::ReasonCode | ||
| 12 | ); | ||
| 13 | |||
| 14 | 1 | ▶ | use MooseX::RemoteHelper::Types qw( Bool ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | |||
| 16 | 1 | has supported => ( | |
| 17 | isa => Bool, | ||
| 18 | remote_name => 'dccSupported', | ||
| 19 | is => 'ro', | ||
| 20 | coerce => 1, | ||
| 21 | required => 1, | ||
| 22 | predicate => 'has_supported', | ||
| 23 | ); | ||
| 24 | |||
| 25 | 1 | has margin_rate_percentage => ( | |
| 26 | isa => 'Num', | ||
| 27 | remote_name => 'marginRatePercentage', | ||
| 28 | is => 'ro', | ||
| 29 | required => 1, | ||
| 30 | predicate => 'has_margin_rate_percentage', | ||
| 31 | ); | ||
| 32 | |||
| 33 | 1 | has valid_hours => ( | |
| 34 | isa => 'Int', | ||
| 35 | remote_name => 'validHours', | ||
| 36 | is => 'ro', | ||
| 37 | required => 1, | ||
| 38 | predicate => 'has_valid_hours', | ||
| 39 | ); | ||
| 40 | |||
| 41 | 1 | __PACKAGE__->meta->make_immutable; | |
| 42 | 1 | 1; | |
| 43 | |||
| 44 | # ABSTRACT: Reply section for DCC | ||
| 45 | |||
| 46 | __END__ | ||
| 47 | |||
| 48 | =pod | ||
| 49 | |||
| 50 | =encoding UTF-8 | ||
| 51 | |||
| 52 | =head1 NAME | ||
| 53 | |||
| 54 | Business::CyberSource::ResponsePart::DCCReply - Reply section for DCC | ||
| 55 | |||
| 56 | =head1 VERSION | ||
| 57 | |||
| 58 | version 0.010007 | ||
| 59 | |||
| 60 | =head1 EXTENDS | ||
| 61 | |||
| 62 | L<Business::CyberSource::MessagePart> | ||
| 63 | |||
| 64 | =head2 WITH | ||
| 65 | |||
| 66 | =over | ||
| 67 | |||
| 68 | =item L<Business::CyberSource::Response::Role::ReasonCode> | ||
| 69 | |||
| 70 | =back | ||
| 71 | |||
| 72 | =head1 ATTRIBUTES | ||
| 73 | |||
| 74 | =head2 supported | ||
| 75 | |||
| 76 | B<Type:> C<Bool> | ||
| 77 | |||
| 78 | =head2 margin_rate_percentage | ||
| 79 | |||
| 80 | B<Type:> C<Num> | ||
| 81 | |||
| 82 | =head2 valid_hours | ||
| 83 | |||
| 84 | B<Type:> C<Int> | ||
| 85 | |||
| 86 | =head1 BUGS | ||
| 87 | |||
| 88 | Please report any bugs or feature requests on the bugtracker website | ||
| 89 | https://github.com/xenoterracide/business-cybersource/issues | ||
| 90 | |||
| 91 | When submitting a bug or request, please include a test-file or a | ||
| 92 | patch to an existing test-file that illustrates the bug or desired | ||
| 93 | feature. | ||
| 94 | |||
| 95 | =head1 AUTHOR | ||
| 96 | |||
| 97 | Caleb Cushing <xenoterracide@gmail.com> | ||
| 98 | |||
| 99 | =head1 COPYRIGHT AND LICENSE | ||
| 100 | |||
| 101 | This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>. | ||
| 102 | |||
| 103 | This is free software, licensed under: | ||
| 104 | |||
| 105 | The Artistic License 2.0 (GPL Compatible) | ||
| 106 | |||
| 107 | =cut | ||