| 1 | ##---------------------------------------------------------------------------- | ||
| 2 | ## Stripe API - ~/lib/Net/API/Stripe/SetupAttempt.pm | ||
| 3 | ## Version v0.2.0 | ||
| 4 | ## Copyright(c) 2020 DEGUEST Pte. Ltd. | ||
| 5 | ## Author: Jacques Deguest <jack@deguest.jp> | ||
| 6 | ## Created 2020/11/20 | ||
| 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::SetupAttempt; | ||
| 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.2.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 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 27 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 28 | |||
| 29 | 0 | ▶ | sub id { return( shift->_set_get_scalar( 'id', @_ ) ); } |
|
Subroutine
id: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 30 | |||
| 31 | 0 | ▶ | sub object { return( shift->_set_get_scalar( 'object', @_ ) ); } |
|
Subroutine
object: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 32 | |||
| 33 | 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
| |||
| 34 | |||
| 35 | 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
| |||
| 36 | |||
| 37 | 0 | ▶ | sub created { return( shift->_set_get_datetime( 'created', @_ ) ); } |
|
Subroutine
created: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 38 | |||
| 39 | 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
| |||
| 40 | |||
| 41 | 0 | ▶ | sub flow_directions { return( shift->_set_get_array( 'flow_directions', @_ ) ); } |
|
Subroutine
flow_directions: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 42 | |||
| 43 | 0 | ▶ | sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); } |
|
Subroutine
livemode: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 44 | |||
| 45 | 0 | ▶ | sub on_behalf_of { return( shift->_set_get_scalar_or_object( 'on_behalf_of', 'Net::API::Stripe::Connect::Account', @_ ) ); } |
|
Subroutine
on_behalf_of: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 46 | |||
| 47 | 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
| |||
| 48 | |||
| 49 | 0 | ▶ | sub payment_method_details { return( shift->_set_get_class( 'payment_method_details', |
|
Subroutine
payment_method_details: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 50 | { | ||
| 51 | bancontact => { | ||
| 52 | definition => { | ||
| 53 | bank_code => { type => "scalar" }, | ||
| 54 | bank_name => { type => "scalar" }, | ||
| 55 | bic => { type => "scalar" }, | ||
| 56 | generated_sepa_debit => { | ||
| 57 | package => "Net::API::Stripe::Payment::Method", | ||
| 58 | type => "scalar_or_object", | ||
| 59 | }, | ||
| 60 | generated_sepa_debit_mandate => { package => "Net::API::Stripe::Mandate", type => "scalar_or_object" }, | ||
| 61 | iban_last4 => { type => "scalar" }, | ||
| 62 | preferred_language => { type => "scalar" }, | ||
| 63 | verified_name => { type => "scalar" }, | ||
| 64 | }, | ||
| 65 | type => "class", | ||
| 66 | }, | ||
| 67 | card => { | ||
| 68 | definition => { | ||
| 69 | three_d_secure => { | ||
| 70 | definition => { | ||
| 71 | authentication_flow => { type => "scalar" }, | ||
| 72 | result => { type => "scalar" }, | ||
| 73 | result_reason => { type => "scalar" }, | ||
| 74 | version => { type => "scalar" }, | ||
| 75 | }, | ||
| 76 | type => "class", | ||
| 77 | }, | ||
| 78 | }, | ||
| 79 | type => "class", | ||
| 80 | }, | ||
| 81 | ideal => { | ||
| 82 | definition => { | ||
| 83 | bank => { type => "scalar" }, | ||
| 84 | bic => { type => "scalar" }, | ||
| 85 | generated_sepa_debit => { | ||
| 86 | package => "Net::API::Stripe::Payment::Method", | ||
| 87 | type => "scalar_or_object", | ||
| 88 | }, | ||
| 89 | generated_sepa_debit_mandate => { package => "Net::API::Stripe::Mandate", type => "scalar_or_object" }, | ||
| 90 | iban_last4 => { type => "scalar" }, | ||
| 91 | verified_name => { type => "scalar" }, | ||
| 92 | }, | ||
| 93 | type => "class", | ||
| 94 | }, | ||
| 95 | sofort => { | ||
| 96 | definition => { | ||
| 97 | bank_code => { type => "scalar" }, | ||
| 98 | bank_name => { type => "scalar" }, | ||
| 99 | bic => { type => "scalar" }, | ||
| 100 | generated_sepa_debit => { | ||
| 101 | package => "Net::API::Stripe::Payment::Method", | ||
| 102 | type => "scalar_or_object", | ||
| 103 | }, | ||
| 104 | generated_sepa_debit_mandate => { package => "Net::API::Stripe::Mandate", type => "scalar_or_object" }, | ||
| 105 | iban_last4 => { type => "scalar" }, | ||
| 106 | preferred_language => { type => "scalar" }, | ||
| 107 | verified_name => { type => "scalar" }, | ||
| 108 | }, | ||
| 109 | type => "class", | ||
| 110 | }, | ||
| 111 | type => { type => "scalar" }, | ||
| 112 | }, @_ ) ); } | ||
| 113 | |||
| 114 | 0 | ▶ | sub setup_error { return( shift->_set_get_class( 'setup_error', |
|
Subroutine
setup_error: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 115 | { | ||
| 116 | code => { type => "scalar" }, | ||
| 117 | decline_code => { type => "scalar" }, | ||
| 118 | doc_url => { type => "scalar" }, | ||
| 119 | message => { type => "scalar" }, | ||
| 120 | param => { type => "scalar" }, | ||
| 121 | payment_method => { package => "Net::API::Stripe::Payment::Method", type => "object" }, | ||
| 122 | payment_method_type => { type => "scalar" }, | ||
| 123 | type => { type => "scalar" }, | ||
| 124 | }, @_ ) ); } | ||
| 125 | |||
| 126 | 0 | ▶ | sub setup_intent { return( shift->_set_get_scalar_or_object( 'setup_intent', 'Net::API::Stripe::Payment::Intent::Setup', @_ ) ); } |
|
Subroutine
setup_intent: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 127 | |||
| 128 | 0 | ▶ | sub status { return( shift->_set_get_scalar( 'status', @_ ) ); } |
|
Subroutine
status: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 129 | |||
| 130 | 0 | ▶ | sub usage { return( shift->_set_get_scalar( 'usage', @_ ) ); } |
|
Subroutine
usage: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 131 | |||
| 132 | 2 | 1; | |
| 133 | |||
| 134 | __END__ | ||