| 1 | ##---------------------------------------------------------------------------- | ||
| 2 | ## Stripe API - ~/lib/Net/API/Stripe/Shipping/Rate | ||
| 3 | ## Version v0.1.0 | ||
| 4 | ## Copyright(c) 2022 DEGUEST Pte. Ltd. | ||
| 5 | ## Author: Jacques Deguest <jack@deguest.jp> | ||
| 6 | ## Created 2022/01/24 | ||
| 7 | ## Modified 2022/01/24 | ||
| 8 | ## | ||
| 9 | ##---------------------------------------------------------------------------- | ||
| 10 | package Net::API::Stripe::Shipping::Rate; | ||
| 11 | BEGIN | ||
| 12 | 2 | ▶ | { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 2 | ▶ | use parent qw( Net::API::Stripe::Generic ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 2 | ▶ | use vars qw( $VERSION ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 2 | our( $VERSION ) = 'v0.1.0'; | |
| 18 | }; | ||
| 19 | |||
| 20 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | 0 | ▶ | sub id { return( shift->_set_get_scalar( 'id', @_ ) ); } |
|
Subroutine
id: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 24 | |||
| 25 | 0 | ▶ | sub object { return( shift->_set_get_scalar( 'object', @_ ) ); } |
|
Subroutine
object: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 26 | |||
| 27 | 0 | ▶ | sub active { return( shift->_set_get_boolean( 'active', @_ ) ); } |
|
Subroutine
active: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 28 | |||
| 29 | 0 | ▶ | sub created { return( shift->_set_get_datetime( 'created', @_ ) ); } |
|
Subroutine
created: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 30 | |||
| 31 | 0 | ▶ | sub delivery_estimate { return( shift->_set_get_class( 'delivery_estimate', |
|
Subroutine
delivery_estimate: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 32 | { | ||
| 33 | maximum => { | ||
| 34 | definition => { unit => { type => "scalar" }, value => { type => "number" } }, | ||
| 35 | type => "class", | ||
| 36 | }, | ||
| 37 | minimum => { | ||
| 38 | definition => { unit => { type => "scalar" }, value => { type => "number" } }, | ||
| 39 | type => "class", | ||
| 40 | }, | ||
| 41 | }, @_ ) ); } | ||
| 42 | |||
| 43 | 0 | ▶ | sub display_name { return( shift->_set_get_scalar( 'display_name', @_ ) ); } |
|
Subroutine
display_name: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 44 | |||
| 45 | 0 | ▶ | sub fixed_amount { return( shift->_set_get_object( 'fixed_amount', 'Net::API::Stripe::Balance::ConnectReserved', @_ ) ); } |
|
Subroutine
fixed_amount: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 46 | |||
| 47 | 0 | ▶ | sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); } |
|
Subroutine
livemode: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 48 | |||
| 49 | 0 | ▶ | sub metadata { return( shift->_set_get_hash( 'metadata', @_ ) ); } |
|
Subroutine
metadata: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 50 | |||
| 51 | 0 | ▶ | sub tax_behavior { return( shift->_set_get_scalar( 'tax_behavior', @_ ) ); } |
|
Subroutine
tax_behavior: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 52 | |||
| 53 | 0 | ▶ | sub tax_code { return( shift->_set_get_scalar_or_object( 'tax_code', '', @_ ) ); } |
|
Subroutine
tax_code: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 54 | |||
| 55 | 0 | ▶ | sub type { return( shift->_set_get_scalar( 'type', @_ ) ); } |
|
Subroutine
type: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 56 | |||
| 57 | 2 | 1; | |
| 58 | # NOTE: POD | ||
| 59 | __END__ | ||