line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Stripe::Discount; |
2
|
|
|
|
|
|
|
$Net::Stripe::Discount::VERSION = '0.41'; |
3
|
2
|
|
|
2
|
|
16
|
use Moose; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
13
|
|
4
|
2
|
|
|
2
|
|
13841
|
use Kavorka; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
13
|
|
5
|
|
|
|
|
|
|
extends 'Net::Stripe::Resource'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# ABSTRACT: represent a Discount object from Stripe |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has 'coupon' => (is => 'rw', isa => 'Maybe[Net::Stripe::Coupon]'); |
10
|
|
|
|
|
|
|
has 'start' => (is => 'rw', isa => 'Maybe[Int]'); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__END__ |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=pod |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 NAME |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Net::Stripe::Discount - represent a Discount object from Stripe |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 VERSION |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
version 0.41 |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head2 boolean_attributes |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Reader: boolean_attributes |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Type: ArrayRef[Str] |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head2 coupon |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Reader: coupon |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Writer: coupon |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Type: Maybe[Net::Stripe::Coupon] |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 start |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Reader: start |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Writer: start |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Type: Maybe[Int] |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 AUTHORS |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=over 4 |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=item * |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Luke Closs |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=item * |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Rusty Conover |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=back |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Prime Radiant, Inc., (c) copyright 2014 Lucky Dinosaur LLC. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
70
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=cut |