| 1 | ##---------------------------------------------------------------------------- | ||
| 2 | ## Stripe API - ~/lib/Net/API/Stripe/Payment/Intent/Setup.pm | ||
| 3 | ## Version v0.3.0 | ||
| 4 | ## Copyright(c) 2020 DEGUEST Pte. Ltd. | ||
| 5 | ## Author: Jacques Deguest <jack@deguest.jp> | ||
| 6 | ## Created 2019/11/02 | ||
| 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::Payment::Intent::Setup; | ||
| 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.3.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 | # setup_intent | ||
| 29 | |||
| 30 | 0 | ▶ | sub object { return( shift->_set_get_scalar( 'object', @_ ) ); } |
|
Subroutine
object: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 31 | |||
| 32 | 0 | ▶ | sub application { return( shift->_set_get_scalar_or_object( 'application', 'Net::API::Stripe::Connect::Account', @_ ) ); } |
|
Subroutine
application: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 33 | |||
| 34 | 0 | ▶ | sub attach_to_self { return( shift->_set_get_boolean( 'attach_to_self', @_ ) ); } |
|
Subroutine
attach_to_self: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 35 | |||
| 36 | 0 | ▶ | sub cancellation_reason { return( shift->_set_get_scalar( 'cancellation_reason', @_ ) ); } |
|
Subroutine
cancellation_reason: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 37 | |||
| 38 | 0 | ▶ | sub cardholder_name { return( shift->_set_get_scalar( 'cardholder_name', @_ ) ); } |
|
Subroutine
cardholder_name: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 39 | |||
| 40 | 0 | ▶ | sub client_secret { return( shift->_set_get_scalar( 'client_secret', @_ ) ); } |
|
Subroutine
client_secret: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 41 | |||
| 42 | 0 | ▶ | sub created { return( shift->_set_get_datetime( 'created', @_ ) ); } |
|
Subroutine
created: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 43 | |||
| 44 | 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
| |||
| 45 | |||
| 46 | 0 | ▶ | sub description { return( shift->_set_get_scalar( 'description', @_ ) ); } |
|
Subroutine
description: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 47 | |||
| 48 | 0 | ▶ | sub flow_directions { return( shift->_set_get_array( 'flow_directions', @_ ) ); } |
|
Subroutine
flow_directions: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 49 | |||
| 50 | 0 | ▶ | sub last_setup_error { return( shift->_set_get_object( 'last_setup_error', 'Net::API::Stripe::Error', @_ ) ); } |
|
Subroutine
last_setup_error: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 51 | |||
| 52 | 0 | ▶ | sub latest_attempt { return( shift->_set_get_scalar_or_object( 'latest_attempt', 'Net::API::Stripe::SetupAttempt', @_ ) ); } |
|
Subroutine
latest_attempt: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 53 | |||
| 54 | 0 | ▶ | sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); } |
|
Subroutine
livemode: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 55 | |||
| 56 | 0 | ▶ | sub mandate { return( shift->_set_get_scalar_or_object( 'mandate', 'Net::API::Stripe::Mandate', @_ ) ); } |
|
Subroutine
mandate: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 57 | |||
| 58 | 0 | ▶ | sub metadata { return( shift->_set_get_hash( 'metadata', @_ ) ); } |
|
Subroutine
metadata: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 59 | |||
| 60 | 0 | ▶ | sub next_action { return( shift->_set_get_hash( 'next_action', @_ ) ); } |
|
Subroutine
next_action: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 61 | |||
| 62 | 0 | ▶ | sub on_behalf_of { return( shift->_set_get_object_variant( 'on_behalf_of', @_ ) ); } |
|
Subroutine
on_behalf_of: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 63 | |||
| 64 | 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
| |||
| 65 | |||
| 66 | 0 | ▶ | sub payment_method_options { return( shift->_set_get_object( 'payment_method_options', 'Net::API::Stripe::Payment::Method::Options', @_ ) ); } |
|
Subroutine
payment_method_options: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 67 | |||
| 68 | 0 | ▶ | sub payment_method_types { return( shift->_set_get_array( 'payment_method_types', @_ ) ); } |
|
Subroutine
payment_method_types: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 69 | |||
| 70 | 0 | ▶ | sub read_method { return( shift->_set_get_scalar( 'read_method', @_ ) ); } |
|
Subroutine
read_method: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 71 | |||
| 72 | 0 | ▶ | sub review { return( shift->_set_get_scalar_or_object( 'review', '', @_ ) ); } |
|
Subroutine
review: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 73 | |||
| 74 | 0 | ▶ | sub single_use_mandate { return( shift->_set_get_scalar_or_object( 'single_use_mandate', 'Net::API::Stripe::Mandate', @_ ) ); } |
|
Subroutine
single_use_mandate: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 75 | |||
| 76 | ## requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, or succeeded | ||
| 77 | |||
| 78 | 0 | ▶ | sub status { return( shift->_set_get_scalar( 'status', @_ ) ); } |
|
Subroutine
status: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 79 | |||
| 80 | 0 | ▶ | sub usage { return( shift->_set_get_scalar( 'usage', @_ ) ); } |
|
Subroutine
usage: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 81 | |||
| 82 | 2 | 1; | |
| 83 | |||
| 84 | __END__ | ||