line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::API::Stripe::Billing::PromotionCode; |
2
|
|
|
|
|
|
|
BEGIN |
3
|
|
|
|
|
|
|
{ |
4
|
2
|
|
|
2
|
|
21163122
|
use strict; |
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
63
|
|
5
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
62
|
|
6
|
2
|
|
|
2
|
|
16
|
use parent qw( Net::API::Stripe::Product::PromotionCode ); |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
10
|
|
7
|
2
|
|
|
2
|
|
135
|
use vars qw( $VERSION ); |
|
2
|
|
|
|
|
20
|
|
|
2
|
|
|
|
|
101
|
|
8
|
2
|
|
|
2
|
|
43
|
our( $VERSION ) = 'v0.2.0'; |
9
|
|
|
|
|
|
|
}; |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
10
|
use strict; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
64
|
|
12
|
2
|
|
|
2
|
|
9
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
207
|
|
13
|
|
|
|
|
|
|
|
14
|
0
|
|
|
0
|
1
|
|
sub restrictions { return( shift->_set_get_class( 'restrictions', |
15
|
|
|
|
|
|
|
{ |
16
|
|
|
|
|
|
|
currency_options => { |
17
|
|
|
|
|
|
|
definition => { minimum_amount => { type => "number" } }, |
18
|
|
|
|
|
|
|
type => "class", |
19
|
|
|
|
|
|
|
}, |
20
|
|
|
|
|
|
|
first_time_transaction => { type => "boolean" }, |
21
|
|
|
|
|
|
|
minimum_amount => { type => "number" }, |
22
|
|
|
|
|
|
|
minimum_amount_currency => { type => "scalar" }, |
23
|
|
|
|
|
|
|
}, @_ ) ); } |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |
28
|
|
|
|
|
|
|
|