| 1 | ##---------------------------------------------------------------------------- | ||
| 2 | ## Stripe API - ~/lib/Net/API/Stripe/Connect/ExternalAccount/Card.pm | ||
| 3 | ## Version v0.203.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 | ## https://stripe.com/docs/api/external_account_cards/object | ||
| 14 | package Net::API::Stripe::Connect::ExternalAccount::Card; | ||
| 15 | BEGIN | ||
| 16 | 3 | ▶ | { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 3 | ▶ | use parent qw( Net::API::Stripe::Generic ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 3 | ▶ | use vars qw( $VERSION ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 3 | our( $VERSION ) = 'v0.203.0'; | |
| 22 | }; | ||
| 23 | |||
| 24 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 26 | |||
| 27 | 0 | ▶ | sub id { return( shift->_set_get_scalar( 'id', @_ ) ); } |
|
Subroutine
id: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 28 | |||
| 29 | 0 | ▶ | sub object { return( shift->_set_get_scalar( 'object', @_ ) ); } |
|
Subroutine
object: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 30 | |||
| 31 | 0 | ▶ | sub account { return( shift->_set_get_scalar_or_object( 'account', 'Net::API::Stripe::Connect::Account', @_ ) ); } |
|
Subroutine
account: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 32 | |||
| 33 | 0 | ▶ | sub address { return( shift->_address_populate( @_ ) ); } |
|
Subroutine
address: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 34 | |||
| 35 | 0 | ▶ | sub address_city { return( shift->_set_get_scalar( 'address_city', @_ ) ); } |
|
Subroutine
address_city: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 36 | |||
| 37 | 0 | ▶ | sub address_country { return( shift->_set_get_scalar( 'address_country', @_ ) ); } |
|
Subroutine
address_country: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 38 | |||
| 39 | 0 | ▶ | sub address_line1 { return( shift->_set_get_scalar( 'address_line1', @_ ) ); } |
|
Subroutine
address_line1: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 40 | |||
| 41 | 0 | ▶ | sub address_line1_check { return( shift->_set_get_scalar( 'address_line1_check', @_ ) ); } |
|
Subroutine
address_line1_check: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 42 | |||
| 43 | 0 | ▶ | sub address_line2 { return( shift->_set_get_scalar( 'address_line2', @_ ) ); } |
|
Subroutine
address_line2: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 44 | |||
| 45 | 0 | ▶ | sub address_state { return( shift->_set_get_scalar( 'address_state', @_ ) ); } |
|
Subroutine
address_state: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 46 | |||
| 47 | 0 | ▶ | sub address_zip { return( shift->_set_get_scalar( 'address_zip', @_ ) ); } |
|
Subroutine
address_zip: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 48 | |||
| 49 | 0 | ▶ | sub address_zip_check { return( shift->_set_get_scalar( 'address_zip_check', @_ ) ); } |
|
Subroutine
address_zip_check: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 50 | |||
| 51 | 0 | ▶ | sub amount_authorized { return( shift->_set_get_number( 'amount_authorized', @_ ) ); } |
|
Subroutine
amount_authorized: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 52 | |||
| 53 | 0 | ▶ | sub available_payout_methods { return( shift->_set_get_array( 'available_payout_methods', @_ ) ); } |
|
Subroutine
available_payout_methods: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 54 | |||
| 55 | 0 | ▶ | sub bank_code { return( shift->_set_get_scalar( 'bank_code', @_ ) ); } |
|
Subroutine
bank_code: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 56 | |||
| 57 | 0 | ▶ | sub branch_code { return( shift->_set_get_scalar( 'branch_code', @_ ) ); } |
|
Subroutine
branch_code: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 58 | |||
| 59 | # Card brand name, e.g. American Express, Diners Club, Discover, JCB, MasterCard, UnionPay, Visa, or Unknown | ||
| 60 | |||
| 61 | 0 | ▶ | sub brand { return( shift->_set_get_scalar( 'brand', @_ ) ); } |
|
Subroutine
brand: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 62 | |||
| 63 | 0 | ▶ | sub capture_before { return( shift->_set_get_datetime( 'capture_before', @_ ) ); } |
|
Subroutine
capture_before: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 64 | |||
| 65 | 0 | ▶ | sub capture_method { return( shift->_set_get_scalar( 'capture_method', @_ ) ); } |
|
Subroutine
capture_method: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 66 | |||
| 67 | 0 | ▶ | sub cardholder_name { return( shift->_set_get_scalar( 'cardholder_name', @_ ) ); } |
|
Subroutine
cardholder_name: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 68 | |||
| 69 | 0 | ▶ | sub checks { return( shift->_set_get_hash( 'checks', @_ ) ) }; |
|
Subroutine
checks: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 70 | |||
| 71 | 0 | ▶ | sub country { return( shift->_set_get_scalar( 'country', @_ ) ); } |
|
Subroutine
country: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 72 | |||
| 73 | 0 | ▶ | sub currency { return( shift->_set_get_scalar( 'currency', @_ ) ); } |
|
Subroutine
currency: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 74 | |||
| 75 | 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
| |||
| 76 | |||
| 77 | 0 | ▶ | sub cvc { return( shift->_set_get_scalar( 'cvc', @_ ) ); } |
|
Subroutine
cvc: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 78 | |||
| 79 | 0 | ▶ | sub cvc_check { return( shift->_set_get_scalar( 'cvc_check', @_ ) ); } |
|
Subroutine
cvc_check: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 80 | |||
| 81 | 0 | ▶ | sub default_for_currency { return( shift->_set_get_scalar( 'default_for_currency', @_ ) ); } |
|
Subroutine
default_for_currency: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 82 | |||
| 83 | 0 | ▶ | sub description { return( shift->_set_get_scalar( 'description', @_ ) ); } |
|
Subroutine
description: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 84 | |||
| 85 | 0 | ▶ | sub dynamic_last4 { return( shift->_set_get_scalar( 'dynamic_last4', @_ ) ); } |
|
Subroutine
dynamic_last4: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 86 | |||
| 87 | 0 | ▶ | sub emv_auth_data { return( shift->_set_get_scalar( 'emv_auth_data', @_ ) ); } |
|
Subroutine
emv_auth_data: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 88 | |||
| 89 | 0 | ▶ | sub exp_month { return( shift->_set_get_number( 'exp_month', @_ ) ); } |
|
Subroutine
exp_month: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 90 | |||
| 91 | 0 | ▶ | sub exp_year { return( shift->_set_get_number( 'exp_year', @_ ) ); } |
|
Subroutine
exp_year: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 92 | |||
| 93 | 0 | ▶ | sub fingerprint { return( shift->_set_get_scalar( 'fingerprint', @_ ) ); } |
|
Subroutine
fingerprint: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 94 | |||
| 95 | 0 | ▶ | sub funding { return( shift->_set_get_scalar( 'funding', @_ ) ); } |
|
Subroutine
funding: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 96 | |||
| 97 | 0 | ▶ | sub generated_card { return( shift->_set_get_scalar( 'generated_card', @_ ) ); } |
|
Subroutine
generated_card: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 98 | |||
| 99 | 0 | ▶ | sub generated_from { return( shift->_set_get_object( 'generated_from', 'Net::API::Stripe::Payment::GeneratedFrom', @_ ) ); } |
|
Subroutine
generated_from: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 100 | |||
| 101 | 0 | ▶ | sub iin { return( shift->_set_get_scalar( 'iin', @_ ) ); } |
|
Subroutine
iin: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 102 | |||
| 103 | 0 | ▶ | sub incremental_authorization_supported { return( shift->_set_get_boolean( 'incremental_authorization_supported', @_ ) ); } |
|
Subroutine
incremental_authorization_supported: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 104 | |||
| 105 | 0 | ▶ | sub installments { return( shift->_set_get_object( 'installments', 'Net::API::Stripe::Payment::Installment', @_ ) ); } |
|
Subroutine
installments: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 106 | |||
| 107 | 0 | ▶ | sub issuer { return( shift->_set_get_scalar( 'issuer', @_ ) ); } |
|
Subroutine
issuer: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 108 | |||
| 109 | 0 | ▶ | sub last4 { return( shift->_set_get_scalar( 'last4', @_ ) ); } |
|
Subroutine
last4: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 110 | |||
| 111 | 0 | ▶ | sub mandate { return( shift->_set_get_scalar( 'mandate', @_ ) ); } |
|
Subroutine
mandate: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 112 | |||
| 113 | 0 | ▶ | sub mandate_options { return( shift->_set_get_object( 'mandate_options', 'Net::API::Stripe::Mandate::Options', @_ ) ); } |
|
Subroutine
mandate_options: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 114 | |||
| 115 | 0 | ▶ | sub metadata { return( shift->_set_get_hash( 'metadata', @_ ) ); } |
|
Subroutine
metadata: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 116 | |||
| 117 | # Cardholder name | ||
| 118 | |||
| 119 | 0 | ▶ | sub name { return( shift->_set_get_scalar( 'name', @_ ) ); } |
|
Subroutine
name: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 120 | |||
| 121 | # Preview features says Stripe API | ||
| 122 | |||
| 123 | 0 | ▶ | sub network { return( shift->_set_get_scalar( 'network', @_ ) ); } |
|
Subroutine
network: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 124 | |||
| 125 | sub networks | ||
| 126 | 0 | ▶ | { |
|
Subroutine
networks: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 127 | 0 | return( shift->_set_get_class( 'networks', | |
| 128 | { | ||
| 129 | available => { type => 'array_as_object' }, | ||
| 130 | preferred => { type => 'scalar_as_object' }, | ||
| 131 | }, @_ ) ); | ||
| 132 | } | ||
| 133 | |||
| 134 | 0 | ▶ | sub overcapture_supported { return( shift->_set_get_boolean( 'overcapture_supported', @_ ) ); } |
|
Subroutine
overcapture_supported: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 135 | |||
| 136 | 0 | ▶ | sub preferred_locales { return( shift->_set_get_array( 'preferred_locales', @_ ) ); } |
|
Subroutine
preferred_locales: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 137 | |||
| 138 | 0 | ▶ | sub read_method { return( shift->_set_get_scalar( 'read_method', @_ ) ); } |
|
Subroutine
read_method: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 139 | |||
| 140 | 0 | ▶ | sub receipt { return( shift->_set_get_class( 'receipt', |
|
Subroutine
receipt: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 141 | { | ||
| 142 | account_type => { type => 'scalar' }, | ||
| 143 | application_cryptogram => { type => 'scalar' }, | ||
| 144 | application_preferred_name => { type => 'scalar' }, | ||
| 145 | authorization_code => { type => 'scalar' }, | ||
| 146 | authorization_response_code => { type => 'scalar' }, | ||
| 147 | cardholder_verification_method => { type => 'scalar' }, | ||
| 148 | dedicated_file_name => { type => 'scalar' }, | ||
| 149 | terminal_verification_results => { type => 'scalar' }, | ||
| 150 | transaction_status_information => { type => 'scalar' }, | ||
| 151 | }, @_ ) ); } | ||
| 152 | |||
| 153 | 0 | ▶ | sub recipient { return( shift->_set_get_scalar_or_object( 'recipient', 'Net::API::Stripe::Connect::Account', @_ ) ); } |
|
Subroutine
recipient: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 154 | |||
| 155 | 0 | ▶ | sub reference { return( shift->_set_get_scalar( 'reference', @_ ) ); } |
|
Subroutine
reference: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 156 | |||
| 157 | 0 | ▶ | sub request_extended_authorization { return( shift->_set_get_boolean( 'request_extended_authorization', @_ ) ); } |
|
Subroutine
request_extended_authorization: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 158 | |||
| 159 | 0 | ▶ | sub request_incremental_authorization_support { return( shift->_set_get_boolean( 'request_incremental_authorization_support', @_ ) ); } |
|
Subroutine
request_incremental_authorization_support: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 160 | |||
| 161 | 0 | ▶ | sub request_three_d_secure { return( shift->_set_get_scalar( 'request_three_d_secure', @_ ) ); } |
|
Subroutine
request_three_d_secure: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 162 | |||
| 163 | 0 | ▶ | sub setup_future_usage { return( shift->_set_get_scalar( 'setup_future_usage', @_ ) ); } |
|
Subroutine
setup_future_usage: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 164 | |||
| 165 | 0 | ▶ | sub statement_descriptor_suffix_kana { return( shift->_set_get_scalar( 'statement_descriptor_suffix_kana', @_ ) ); } |
|
Subroutine
statement_descriptor_suffix_kana: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 166 | |||
| 167 | 0 | ▶ | sub statement_descriptor_suffix_kanji { return( shift->_set_get_scalar( 'statement_descriptor_suffix_kanji', @_ ) ); } |
|
Subroutine
statement_descriptor_suffix_kanji: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 168 | |||
| 169 | 0 | ▶ | sub status { return( shift->_set_get_scalar( 'status', @_ ) ); } |
|
Subroutine
status: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 170 | |||
| 171 | 0 | ▶ | sub three_d_secure { return( shift->_set_get_class( 'three_d_secure', |
|
Subroutine
three_d_secure: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 172 | { | ||
| 173 | authenticated => { type => 'boolean' }, | ||
| 174 | authentication_flow => { type => 'scalar' }, | ||
| 175 | result => { type => 'scalar' }, | ||
| 176 | result_reason => { type => 'scalar' }, | ||
| 177 | succeeded => { type => 'boolean' }, | ||
| 178 | version => { type => 'scalar' }, | ||
| 179 | }, @_ ) ); } | ||
| 180 | |||
| 181 | # sub three_d_secure_usage { return( shift->_set_get_hash_as_object( 'three_d_secure_usage', 'Net::API::Stripe::Payment::3DUsage', @_ ) ); } | ||
| 182 | |||
| 183 | 0 | ▶ | sub three_d_secure_usage { return( shift->_set_get_class( 'three_d_secure_usage', |
|
Subroutine
three_d_secure_usage: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 184 | { supported => { type => "boolean" } }, @_ ) ); } | ||
| 185 | |||
| 186 | 0 | ▶ | sub tokenization_method { return( shift->_set_get_scalar( 'tokenization_method', @_ ) ); } |
|
Subroutine
tokenization_method: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 187 | |||
| 188 | ## sub wallet { return( shift->_set_get_hash_as_object( 'wallet', 'Net::API::Stripe::Payment::Wallet', @_ ) ); } | ||
| 189 | |||
| 190 | 0 | ▶ | sub url { return( shift->_set_get_uri( 'url', @_ ) ); } |
|
Subroutine
url: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 191 | |||
| 192 | 0 | ▶ | sub wallet { return( shift->_set_get_class( 'wallet', |
|
Subroutine
wallet: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 193 | { | ||
| 194 | amex_express_checkout => { type => "hash" }, | ||
| 195 | apple_pay => { type => "hash" }, | ||
| 196 | dynamic_last4 => { type => "scalar" }, | ||
| 197 | google_pay => { type => "hash" }, | ||
| 198 | masterpass => { | ||
| 199 | definition => { | ||
| 200 | billing_address => { package => "Net::API::Stripe::Address", type => "object" }, | ||
| 201 | email => { type => "scalar" }, | ||
| 202 | name => { type => "scalar" }, | ||
| 203 | shipping_address => { package => "Net::API::Stripe::Address", type => "object" }, | ||
| 204 | }, | ||
| 205 | type => "class", | ||
| 206 | }, | ||
| 207 | samsung_pay => { type => "hash" }, | ||
| 208 | type => { type => "scalar" }, | ||
| 209 | visa_checkout => { | ||
| 210 | definition => { | ||
| 211 | billing_address => { package => "Net::API::Stripe::Address", type => "object" }, | ||
| 212 | email => { type => "scalar" }, | ||
| 213 | name => { type => "scalar" }, | ||
| 214 | shipping_address => { package => "Net::API::Stripe::Address", type => "object" }, | ||
| 215 | }, | ||
| 216 | type => "class", | ||
| 217 | }, | ||
| 218 | }, @_ ) ); } | ||
| 219 | |||
| 220 | 3 | 1; | |
| 221 | |||
| 222 | __END__ | ||