File Coverage

blib/lib/Business/CyberSource/Role/MerchantReferenceCode.pm
Criterion Covered Total %
statement 18 18 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 24 24 100.0


line stmt bran cond sub pod time code
1             package Business::CyberSource::Role::MerchantReferenceCode;
2 11     11   4371 use strict;
  11         16  
  11         253  
3 11     11   34 use warnings;
  11         13  
  11         206  
4 11     11   33 use namespace::autoclean;
  11         13  
  11         76  
5              
6             our $VERSION = '0.010007'; # VERSION
7              
8 11     11   746 use Moose::Role;
  11         13  
  11         54  
9 11     11   35781 use MooseX::RemoteHelper;
  11         21  
  11         69  
10 11     11   263075 use MooseX::Types::CyberSource qw( _VarcharFifty );
  11         21  
  11         98  
11              
12             has reference_code => (
13             isa => _VarcharFifty,
14             remote_name => 'merchantReferenceCode',
15             required => 1,
16             is => 'ro',
17             predicate => 'has_reference_code',
18             );
19              
20             1;
21              
22             # ABSTRACT: Generic implementation of MerchantReferenceCode
23              
24             __END__
25              
26             =pod
27              
28             =encoding UTF-8
29              
30             =head1 NAME
31              
32             Business::CyberSource::Role::MerchantReferenceCode - Generic implementation of MerchantReferenceCode
33              
34             =head1 VERSION
35              
36             version 0.010007
37              
38             =head1 ATTRIBUTES
39              
40             =head2 reference_code
41              
42             Merchant-generated order reference or tracking number. CyberSource recommends
43             that you send a unique value for each transaction so that you can perform
44             meaningful searches for the transaction.
45              
46             =head1 BUGS
47              
48             Please report any bugs or feature requests on the bugtracker website
49             https://github.com/xenoterracide/business-cybersource/issues
50              
51             When submitting a bug or request, please include a test-file or a
52             patch to an existing test-file that illustrates the bug or desired
53             feature.
54              
55             =head1 AUTHOR
56              
57             Caleb Cushing <xenoterracide@gmail.com>
58              
59             =head1 COPYRIGHT AND LICENSE
60              
61             This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>.
62              
63             This is free software, licensed under:
64              
65             The Artistic License 2.0 (GPL Compatible)
66              
67             =cut