Affiliate/Voucher/WebGains.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Affiliate/Voucher/AffiliateWindow.pm ↑ Summary
1 package WebService::Affiliate::Voucher::WebGains;
2  
3 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 with 'WebService::Affiliate::Role::Voucher';
7  
8 =head1 NAME
9  
10 WebService::Affiliate::Voucher::WebGains - WebGains specific voucher code model.
11  
12 =head1 VERSION
13  
14 Version 0.01
15  
16 =cut
17  
18 2 our $VERSION = '0.01_01';
19  
20 2 $VERSION = eval $VERSION;
21  
22 =head1 SYNOPSIS
23  
24 Models a WebGains voucher code.
25  
26 =cut
27  
28 =head1 DESCRIPTION
29  
30 =cut
31  
32  
33  
34 =head1 METHODS
35  
36 =head2 Attributes
37  
38 =cut
39  
40 2 has commission_type => ( is => 'rw', isa => 'Str' );
41 2 has currency => ( is => 'rw', isa => 'Str' );
42 2 has discount => ( is => 'rw', isa => 'Str' );
43 2 has network => ( is => 'rw', isa => 'Str' );
44 2 has type => ( is => 'rw', isa => 'Str' );
45  
46  
47  
48  
49  
50 =head1 METHODS
51  
52 =head2 Class Methods
53  
54 =head3 new
55  
56  
57 =cut
58  
59 2 __PACKAGE__->meta->make_immutable;
60  
61 =head1 AUTHOR
62  
63 Rob Brown, C<< <rob at intelcompute.com> >>
64  
65 =head1 BUGS
66  
67 Please report any bugs or feature requests to C<bug-webservice-affiliate at rt.cpan.org>, or through
68 the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-Affiliate>. I will be notified, and then you'll
69 automatically be notified of progress on your bug as I make changes.
70  
71 =head1 SUPPORT
72  
73 You can find documentation for this module with the perldoc command.
74  
75 perldoc WebService::Affiliate
76  
77 You can also look for information at:
78  
79 =over 4
80  
81 =item * RT: CPAN's request tracker (report bugs here)
82  
83 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=WebService-Affiliate>
84  
85 =item * AnnoCPAN: Annotated CPAN documentation
86  
87 L<http://annocpan.org/dist/WebService-Affiliate>
88  
89 =item * CPAN Ratings
90  
91 L<http://cpanratings.perl.org/d/WebService-Affiliate>
92  
93 =item * Search CPAN
94  
95 L<http://search.cpan.org/dist/WebService-Affiliate/>
96  
97 =back
98  
99 =head1 ACKNOWLEDGEMENTS
100  
101 =head1 LICENSE AND COPYRIGHT
102  
103 Copyright 2012 Rob Brown.
104  
105 This program is free software; you can redistribute it and/or modify it
106 under the terms of either: the GNU General Public License as published
107 by the Free Software Foundation; or the Artistic License.
108  
109 See http://dev.perl.org/licenses/ for more information.
110  
111 =cut
112  
113 2 1; # End of WebService::Affiliate
« Affiliate/Voucher/AffiliateWindow.pm ↑ Summary