| 1 | ##---------------------------------------------------------------------------- | ||
| 2 | ## Stripe API - ~/usr/local/src/perl/Net-API-Stripe/lib/Net/API/Stripe/Mandate.pm | ||
| 3 | ## Version v0.101.0 | ||
| 4 | ## Copyright(c) 2020 DEGUEST Pte. Ltd. | ||
| 5 | ## Author: Jacques Deguest <jack@deguest.jp> | ||
| 6 | ## Created 2019/12/25 | ||
| 7 | ## Modified 2020/11/28 | ||
| 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::Mandate; | ||
| 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 customer_acceptance { return( shift->_set_get_class( 'customer_acceptance', |
|
Subroutine
customer_acceptance: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 31 | { | ||
| 32 | accepted_at => { type => "datetime" }, | ||
| 33 | offline => { type => "hash" }, | ||
| 34 | online => { | ||
| 35 | definition => { | ||
| 36 | ip_address => { type => "scalar" }, | ||
| 37 | user_agent => { type => "scalar" }, | ||
| 38 | }, | ||
| 39 | type => "class", | ||
| 40 | }, | ||
| 41 | type => { type => "scalar" }, | ||
| 42 | }, @_ ) ); } | ||
| 43 | |||
| 44 | 0 | ▶ | sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); } |
|
Subroutine
livemode: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 45 | |||
| 46 | # NOTE: multi_use needs to be an object, so we make it a dynamic class even though it has no properties as of 2022-08-10 | ||
| 47 | 0 | ▶ | sub multi_use { return( shift->_set_get_class( 'multi_use', {}, @_ ) ); } |
|
Subroutine
multi_use: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 48 | |||
| 49 | 0 | ▶ | sub payment_method { return( shift->_set_get_scalar_or_object( 'payment_method', 'Net::API::Stripe::Payment::Method', @_ ) ); } |
|
Subroutine
payment_method: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 50 | |||
| 51 | 0 | ▶ | sub payment_method_details { return( shift->_set_get_object( 'payment_method_details', 'Net::API::Stripe::Payment::Method', @_ ) ); } |
|
Subroutine
payment_method_details: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 52 | |||
| 53 | sub single_use | ||
| 54 | 0 | ▶ | { |
|
Subroutine
single_use: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 55 | 0 | return( shift->_set_get_class( 'single_use', | |
| 56 | { | ||
| 57 | amount => { type => 'number' }, | ||
| 58 | currency => { type => 'scalar' }, | ||
| 59 | }, @_ ) | ||
| 60 | ); | ||
| 61 | } | ||
| 62 | |||
| 63 | 0 | ▶ | sub status { return( shift->_set_get_scalar( 'status', @_ ) ); } |
|
Subroutine
status: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 64 | |||
| 65 | 0 | ▶ | sub type { return( shift->_set_get_scalar( 'type', @_ ) ); } |
|
Subroutine
type: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 66 | |||
| 67 | 2 | 1; | |
| 68 | |||
| 69 | __END__ | ||