| 1 | ##---------------------------------------------------------------------------- | ||
| 2 | ## Stripe API - ~/lib/Net/API/Stripe/Billing/CreditNote/LineItem.pm | ||
| 3 | ## Version v0.101.0 | ||
| 4 | ## Copyright(c) 2020 DEGUEST Pte. Ltd. | ||
| 5 | ## Author: Jacques Deguest <jack@deguest.jp> | ||
| 6 | ## Created 2020/01/25 | ||
| 7 | ## Modified 2022/10/29 | ||
| 8 | ## All rights reserved | ||
| 9 | ## | ||
| 10 | ## This program is free software; you can redistribute it and/or modify it | ||
| 11 | ## under the same terms as Perl itself. | ||
| 12 | ##---------------------------------------------------------------------------- | ||
| 13 | package Net::API::Stripe::Billing::CreditNote::LineItem; | ||
| 14 | BEGIN | ||
| 15 | 2 | ▶ | { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 2 | ▶ | use parent qw( Net::API::Stripe::Generic ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 2 | ▶ | use vars qw( $VERSION ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 2 | our( $VERSION ) = 'v0.101.0'; | |
| 21 | }; | ||
| 22 | |||
| 23 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 24 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | |||
| 26 | 0 | ▶ | sub id { return( shift->_set_get_scalar( 'id', @_ ) ); } |
|
Subroutine
id: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 27 | |||
| 28 | 0 | ▶ | sub object { return( shift->_set_get_scalar( 'object', @_ ) ); } |
|
Subroutine
object: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 29 | |||
| 30 | 0 | ▶ | sub amount { return( shift->_set_get_number( 'amount', @_ ) ); } |
|
Subroutine
amount: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 31 | |||
| 32 | 0 | ▶ | sub amount_excluding_tax { return( shift->_set_get_number( 'amount_excluding_tax', @_ ) ); } |
|
Subroutine
amount_excluding_tax: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 33 | |||
| 34 | 0 | ▶ | sub description { return( shift->_set_get_scalar( 'description', @_ ) ); } |
|
Subroutine
description: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 35 | |||
| 36 | 0 | ▶ | sub discount_amount { return( shift->_set_get_number( 'discount_amount', @_ ) ); } |
|
Subroutine
discount_amount: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 37 | |||
| 38 | 0 | ▶ | sub discount_amounts { return( shift->_set_get_class_array( 'discount_amounts', { |
|
Subroutine
discount_amounts: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 39 | amount => { type => "number" }, | ||
| 40 | discount => { type => "scalar" }, | ||
| 41 | }, @_ ) ); } | ||
| 42 | |||
| 43 | 0 | ▶ | sub invoice_line_item { return( shift->_set_get_scalar( 'invoice_line_item', @_ ) ); } |
|
Subroutine
invoice_line_item: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 44 | |||
| 45 | 0 | ▶ | sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); } |
|
Subroutine
livemode: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 46 | |||
| 47 | 0 | ▶ | sub quantity { return( shift->_set_get_number( 'quantity', @_ ) ); } |
|
Subroutine
quantity: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 48 | |||
| 49 | sub tax_amounts | ||
| 50 | 0 | ▶ | { |
|
Subroutine
tax_amounts: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 51 | 0 | return( shift->_set_get_class_array( 'tax_amounts', | |
| 52 | { | ||
| 53 | amount => { type => 'number' }, | ||
| 54 | inclusive => { type => 'boolean' }, | ||
| 55 | tax_rate => { type => 'scalar_or_object', class => 'Net::API::Stripe::Tax::Rate' }, | ||
| 56 | }, @_ ) ); | ||
| 57 | } | ||
| 58 | |||
| 59 | 0 | ▶ | sub tax_rates { return( shift->_set_get_object_array( 'tax_rates', 'Net::API::Stripe::Tax::Rate', @_ ) ); } |
|
Subroutine
tax_rates: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 60 | |||
| 61 | 0 | ▶ | sub type { return( shift->_set_get_scalar( 'type', @_ ) ); } |
|
Subroutine
type: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 62 | |||
| 63 | 0 | ▶ | sub unit_amount { return( shift->_set_get_number( 'unit_amount', @_ ) ); } |
|
Subroutine
unit_amount: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 64 | |||
| 65 | 0 | ▶ | sub unit_amount_decimal { return( shift->_set_get_number( 'unit_amount_decimal', @_ ) ); } |
|
Subroutine
unit_amount_decimal: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 66 | |||
| 67 | 0 | ▶ | sub unit_amount_excluding_tax { return( shift->_set_get_number( 'unit_amount_excluding_tax', @_ ) ); } |
|
Subroutine
unit_amount_excluding_tax: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 68 | |||
| 69 | 2 | 1; | |
| 70 | |||
| 71 | __END__ | ||