Business/CyberSource/Role/MerchantReferenceCode.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Business/CyberSource/Role/ForeignCurrency.pm ↑ Summary
1 package Business::CyberSource::Role::MerchantReferenceCode;
2 23 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 23 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 23 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 23 our $VERSION = '0.010007'; # VERSION
7  
8 23 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 23 ▶use MooseX::RemoteHelper;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 23 ▶use MooseX::Types::CyberSource qw( _VarcharFifty );
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 23 has reference_code => (
13 isa => _VarcharFifty,
14 remote_name => 'merchantReferenceCode',
15 required => 1,
16 is => 'ro',
17 predicate => 'has_reference_code',
18 );
19  
20 23 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
« Business/CyberSource/Role/ForeignCurrency.pm ↑ Summary