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