Business/CyberSource/Response/Role/RequestDateTime.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 31 / 31 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Business/CyberSource/Response/Role/ReconciliationID.pm ↑ Summary Business/CyberSource/ResponsePart/AuthReply.pm »
1 package Business::CyberSource::Response::Role::RequestDateTime;
2 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use Module::Load qw( load );
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 our $VERSION = '0.010007'; # VERSION
8  
9 3 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 3 ▶use MooseX::RemoteHelper;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 3 ▶use MooseX::Types::CyberSource qw( DateTimeFromW3C );
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 3 has datetime => (
14 isa => DateTimeFromW3C,
15 remote_name => 'requestDateTime',
16 is => 'ro',
17 coerce => 1,
18 predicate => 'has_datetime',
19 );
20  
21 3 1;
22  
23 # ABSTRACT: Role to provide datetime attribute
24  
25 __END__
26  
27 =pod
28  
29 =encoding UTF-8
30  
31 =head1 NAME
32  
33 Business::CyberSource::Response::Role::RequestDateTime - Role to provide datetime attribute
34  
35 =head1 VERSION
36  
37 version 0.010007
38  
39 =head1 DESCRIPTION
40  
41 Several responses include a datetime that has a key name of C<requestDateTime>
42 this role is provided for those response sections.
43  
44 =head1 BUGS
45  
46 Please report any bugs or feature requests on the bugtracker website
47 https://github.com/xenoterracide/business-cybersource/issues
48  
49 When submitting a bug or request, please include a test-file or a
50 patch to an existing test-file that illustrates the bug or desired
51 feature.
52  
53 =head1 AUTHOR
54  
55 Caleb Cushing <xenoterracide@gmail.com>
56  
57 =head1 COPYRIGHT AND LICENSE
58  
59 This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>.
60  
61 This is free software, licensed under:
62  
63 The Artistic License 2.0 (GPL Compatible)
64  
65 =cut
« Business/CyberSource/Response/Role/ReconciliationID.pm ↑ Summary Business/CyberSource/ResponsePart/AuthReply.pm »