| 1 | package Net::API::Stripe::Product::PromotionCode; | ||
| 2 | BEGIN | ||
| 3 | 2 | ▶ | { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 2 | ▶ | use parent qw( Net::API::Stripe::Generic ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 2 | ▶ | use vars qw( $VERSION ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 2 | our( $VERSION ) = 'v0.1.0'; | |
| 9 | }; | ||
| 10 | |||
| 11 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 0 | ▶ | sub id { return( shift->_set_get_scalar( 'id', @_ ) ); } |
|
Subroutine
id: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 15 | |||
| 16 | 0 | ▶ | sub object { return( shift->_set_get_scalar( 'object', @_ ) ); } |
|
Subroutine
object: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 17 | |||
| 18 | 0 | ▶ | sub active { return( shift->_set_get_boolean( 'active', @_ ) ); } |
|
Subroutine
active: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 19 | |||
| 20 | 0 | ▶ | sub code { return( shift->_set_get_scalar( 'code', @_ ) ); } |
|
Subroutine
code: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 21 | |||
| 22 | 0 | ▶ | sub coupon { return( shift->_set_get_object( 'coupon', 'Net::API::Stripe::Product::Coupon', @_ ) ); } |
|
Subroutine
coupon: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 23 | |||
| 24 | 0 | ▶ | sub created { return( shift->_set_get_datetime( 'created', @_ ) ); } |
|
Subroutine
created: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 25 | |||
| 26 | 0 | ▶ | sub customer { return( shift->_set_get_scalar_or_object( 'customer', 'Net::API::Stripe::Customer', @_ ) ); } |
|
Subroutine
customer: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 27 | |||
| 28 | 0 | ▶ | sub expires_at { return( shift->_set_get_datetime( 'expires_at', @_ ) ); } |
|
Subroutine
expires_at: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 29 | |||
| 30 | 0 | ▶ | sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); } |
|
Subroutine
livemode: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 31 | |||
| 32 | 0 | ▶ | sub max_redemptions { return( shift->_set_get_number( 'max_redemptions', @_ ) ); } |
|
Subroutine
max_redemptions: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 33 | |||
| 34 | 0 | ▶ | sub metadata { return( shift->_set_get_hash( 'metadata', @_ ) ); } |
|
Subroutine
metadata: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 35 | |||
| 36 | 0 | ▶ | sub restrictions { return( shift->_set_get_class( 'restrictions', |
|
Subroutine
restrictions: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 37 | { | ||
| 38 | first_time_transaction => { type => "boolean" }, | ||
| 39 | minimum_amount => { type => "number" }, | ||
| 40 | minimum_amount_currency => { type => "scalar" }, | ||
| 41 | }, @_ ) ); } | ||
| 42 | |||
| 43 | 0 | ▶ | sub times_redeemed { return( shift->_set_get_number( 'times_redeemed', @_ ) ); } |
|
Subroutine
times_redeemed: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 44 | |||
| 45 | 2 | 1; | |
| 46 | |||
| 47 | __END__ | ||