Business/CyberSource/RequestPart/Service/Credit.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 25 / 25 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Business/CyberSource/RequestPart/Service/Capture.pm ↑ Summary Business/CyberSource/Response.pm »
1 package Business::CyberSource::RequestPart::Service::Credit;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 our $VERSION = '0.010007'; # VERSION
7  
8 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 extends 'Business::CyberSource::RequestPart::Service';
10  
11 2 ▶use MooseX::Types::CyberSource qw( RequestID );
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 2 has request_id => (
14 isa => RequestID,
15 remote_name => 'captureRequestID',
16 predicate => 'has_request_id',
17 is => 'rw',
18 required => 0,
19 traits => ['SetOnce'],
20 );
21  
22 2 __PACKAGE__->meta->make_immutable;
23 2 1;
24  
25 # ABSTRACT: Credit Service
26  
27 __END__
28  
29 =pod
30  
31 =encoding UTF-8
32  
33 =head1 NAME
34  
35 Business::CyberSource::RequestPart::Service::Credit - Credit Service
36  
37 =head1 VERSION
38  
39 version 0.010007
40  
41 =head1 ATTRIBUTES
42  
43 =head2 request_id
44  
45 The L<request_id|Business::CyberSource::Response/"request_id"> returned from a
46 previous request for capture. Creates a follow-on credit by linking the credit
47 to the previous capture. If you send this field, you do not need to send
48 several other credit request fields.
49  
50 =head1 BUGS
51  
52 Please report any bugs or feature requests on the bugtracker website
53 https://github.com/xenoterracide/business-cybersource/issues
54  
55 When submitting a bug or request, please include a test-file or a
56 patch to an existing test-file that illustrates the bug or desired
57 feature.
58  
59 =head1 AUTHOR
60  
61 Caleb Cushing <xenoterracide@gmail.com>
62  
63 =head1 COPYRIGHT AND LICENSE
64  
65 This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>.
66  
67 This is free software, licensed under:
68  
69 The Artistic License 2.0 (GPL Compatible)
70  
71 =cut
« Business/CyberSource/RequestPart/Service/Capture.pm ↑ Summary Business/CyberSource/Response.pm »