| 1 | ##---------------------------------------------------------------------------- | ||
| 2 | ## Stripe API - ~/usr/local/src/perl/Net-API-Stripe/lib/Net/API/Stripe/Issuing/Card.pm | ||
| 3 | ## Version v0.202.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/issuing/cards/object | ||
| 14 | package Net::API::Stripe::Issuing::Card; | ||
| 15 | BEGIN | ||
| 16 | 2 | ▶ | { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 2 | ▶ | use parent qw( Net::API::Stripe::Generic ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 2 | ▶ | use vars qw( $VERSION ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 2 | our( $VERSION ) = 'v0.202.0'; | |
| 22 | }; | ||
| 23 | |||
| 24 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | 2 | ▶ | 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 authorization_controls { return( shift->_set_get_object( 'authorization_controls', 'Net::API::Stripe::Issuing::Card::AuthorizationsControl', @_ ) ); } |
|
Subroutine
authorization_controls: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 32 | |||
| 33 | 0 | ▶ | sub brand { return( shift->_set_get_scalar( 'brand', @_ ) ); } |
|
Subroutine
brand: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 34 | |||
| 35 | 0 | ▶ | sub cancellation_reason { return( shift->_set_get_scalar( 'cancellation_reason', @_ ) ); } |
|
Subroutine
cancellation_reason: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 36 | |||
| 37 | 0 | ▶ | sub cardholder { return( shift->_set_get_object( 'cardholder', 'Net::API::Stripe::Issuing::Card::Holder', @_ ) ); } |
|
Subroutine
cardholder: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 38 | |||
| 39 | 0 | ▶ | sub created { return( shift->_set_get_datetime( 'created', @_ ) ); } |
|
Subroutine
created: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 40 | |||
| 41 | 0 | ▶ | sub currency { return( shift->_set_get_scalar( 'currency', @_ ) ); } |
|
Subroutine
currency: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 42 | |||
| 43 | 0 | ▶ | sub cvc { return( shift->_set_get_scalar( 'cvc', @_ ) ); } |
|
Subroutine
cvc: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 44 | |||
| 45 | 0 | ▶ | sub exp_month { return( shift->_set_get_scalar( 'exp_month', @_ ) ); } |
|
Subroutine
exp_month: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 46 | |||
| 47 | 0 | ▶ | sub exp_year { return( shift->_set_get_scalar( 'exp_year', @_ ) ); } |
|
Subroutine
exp_year: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 48 | |||
| 49 | 0 | ▶ | sub expires_after_days { return( shift->_set_get_number( 'expires_after_days', @_ ) ); } |
|
Subroutine
expires_after_days: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 50 | |||
| 51 | 0 | ▶ | sub last4 { return( shift->_set_get_scalar( 'last4', @_ ) ); } |
|
Subroutine
last4: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 52 | |||
| 53 | 0 | ▶ | sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); } |
|
Subroutine
livemode: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 54 | |||
| 55 | 0 | ▶ | sub metadata { return( shift->_set_get_hash( 'metadata', @_ ) ); } |
|
Subroutine
metadata: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 56 | |||
| 57 | 0 | ▶ | sub name { return( shift->_set_get_scalar( 'name', @_ ) ); } |
|
Subroutine
name: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 58 | |||
| 59 | 0 | ▶ | sub number { return( shift->_set_get_scalar( 'number', @_ ) ); } |
|
Subroutine
number: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 60 | |||
| 61 | 0 | ▶ | sub pin { return( shift->_set_get_hash_as_object( 'pin', 'Net::API::Stripe::Issuing::Card::PinInfo', @_ ) ); } |
|
Subroutine
pin: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 62 | |||
| 63 | 0 | ▶ | sub replaced_by { return( shift->_set_get_scalar_or_object( 'replaced_by', 'Net::API::Stripe::Issuing::Card', @_ ) ); } |
|
Subroutine
replaced_by: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 64 | |||
| 65 | 0 | ▶ | sub replacement_for { return( shift->_set_get_scalar_or_object( 'replacement_for', 'Net::API::Stripe::Issuing::Card', @_ ) ); } |
|
Subroutine
replacement_for: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 66 | |||
| 67 | 0 | ▶ | sub replacement_reason { return( shift->_set_get_scalar( 'replacement_reason', @_ ) ); } |
|
Subroutine
replacement_reason: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 68 | |||
| 69 | 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
documented
| |||
| 70 | |||
| 71 | 0 | ▶ | sub shipping { return( shift->_set_get_object( 'shipping', 'Net::API::Stripe::Shipping', @_ ) ); } |
|
Subroutine
shipping: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 72 | |||
| 73 | sub spending_controls | ||
| 74 | 0 | ▶ | { |
|
Subroutine
spending_controls: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 75 | 0 | return( shift->_set_get_class( 'spending_controls', | |
| 76 | { | ||
| 77 | allowed_categories => { type => 'array' }, | ||
| 78 | blocked_categories => { type => 'array' }, | ||
| 79 | spending_limits => | ||
| 80 | { | ||
| 81 | type => 'class', definition => | ||
| 82 | { | ||
| 83 | amount => { type => 'number' }, | ||
| 84 | categories => { type => 'array' }, | ||
| 85 | interval => { type => 'scalar' }, | ||
| 86 | } | ||
| 87 | }, | ||
| 88 | spending_limits_currency => { type => 'scalar' }, | ||
| 89 | }, @_ ) ); | ||
| 90 | } | ||
| 91 | |||
| 92 | 0 | ▶ | sub status { return( shift->_set_get_scalar( 'status', @_ ) ); } |
|
Subroutine
status: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 93 | |||
| 94 | 0 | ▶ | sub type { return( shift->_set_get_scalar( 'type', @_ ) ); } |
|
Subroutine
type: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 95 | |||
| 96 | 0 | ▶ | sub wallets { return( shift->_set_get_class( 'wallets', |
|
Subroutine
wallets: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 97 | { | ||
| 98 | apple_pay => { | ||
| 99 | definition => { | ||
| 100 | eligible => { type => "boolean" }, | ||
| 101 | ineligible_reason => { type => "scalar" }, | ||
| 102 | }, | ||
| 103 | type => "class", | ||
| 104 | }, | ||
| 105 | google_pay => { | ||
| 106 | definition => { | ||
| 107 | eligible => { type => "boolean" }, | ||
| 108 | ineligible_reason => { type => "scalar" }, | ||
| 109 | }, | ||
| 110 | type => "class", | ||
| 111 | }, | ||
| 112 | primary_account_identifier => { type => "scalar" }, | ||
| 113 | }, @_ ) ); } | ||
| 114 | |||
| 115 | 2 | 1; | |
| 116 | |||
| 117 | __END__ | ||