| 1 | ##---------------------------------------------------------------------------- | ||
| 2 | ## Stripe API - ~/lib/Net/API/Stripe/Treasury/Transaction.pm | ||
| 3 | ## Version v0.1.0 | ||
| 4 | ## Copyright(c) 2022 DEGUEST Pte. Ltd. | ||
| 5 | ## Author: Jacques Deguest <jack@deguest.jp> | ||
| 6 | ## Created 2022/10/29 | ||
| 7 | ## Modified 2022/10/29 | ||
| 8 | ## | ||
| 9 | ##---------------------------------------------------------------------------- | ||
| 10 | package Net::API::Stripe::Treasury::Transaction; | ||
| 11 | BEGIN | ||
| 12 | 2 | ▶ | { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 2 | ▶ | use parent qw( Net::API::Stripe::Generic ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 2 | our( $VERSION ) = 'v0.1.0'; | |
| 16 | }; | ||
| 17 | |||
| 18 | 0 | ▶ | sub id { return( shift->_set_get_scalar( 'id', @_ ) ); } |
|
Subroutine
id: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 19 | |||
| 20 | 0 | ▶ | sub object { return( shift->_set_get_scalar( 'object', @_ ) ); } |
|
Subroutine
object: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 21 | |||
| 22 | 0 | ▶ | sub amount { return( shift->_set_get_number( 'amount', @_ ) ); } |
|
Subroutine
amount: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 23 | |||
| 24 | 0 | ▶ | sub balance_impact { return( shift->_set_get_class( 'balance_impact', |
|
Subroutine
balance_impact: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 25 | { | ||
| 26 | cash => { type => "number" }, | ||
| 27 | inbound_pending => { type => "number" }, | ||
| 28 | outbound_pending => { type => "number" }, | ||
| 29 | }, @_ ) ); } | ||
| 30 | |||
| 31 | 0 | ▶ | sub created { return( shift->_set_get_datetime( 'created', @_ ) ); } |
|
Subroutine
created: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 32 | |||
| 33 | 0 | ▶ | sub currency { return( shift->_set_get_number( 'currency', @_ ) ); } |
|
Subroutine
currency: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 34 | |||
| 35 | 0 | ▶ | sub description { return( shift->_set_get_scalar( 'description', @_ ) ); } |
|
Subroutine
description: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 36 | |||
| 37 | 0 | ▶ | sub entries { return( shift->_set_get_object( 'entries', 'Net::API::Stripe::List', @_ ) ); } |
|
Subroutine
entries: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 38 | |||
| 39 | 0 | ▶ | sub financial_account { return( shift->_set_get_scalar( 'financial_account', @_ ) ); } |
|
Subroutine
financial_account: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 40 | |||
| 41 | 0 | ▶ | sub flow { return( shift->_set_get_scalar( 'flow', @_ ) ); } |
|
Subroutine
flow: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 42 | |||
| 43 | 0 | ▶ | sub flow_details { return( shift->_set_get_class( 'flow_details', |
|
Subroutine
flow_details: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 44 | { | ||
| 45 | credit_reversal => { | ||
| 46 | package => "Net::API::Stripe::Treasury::CreditReversal", | ||
| 47 | type => "object", | ||
| 48 | }, | ||
| 49 | debit_reversal => { | ||
| 50 | package => "Net::API::Stripe::Treasury::DebitReversal", | ||
| 51 | type => "object", | ||
| 52 | }, | ||
| 53 | inbound_transfer => { | ||
| 54 | package => "Net::API::Stripe::Treasury::InboundTransfer", | ||
| 55 | type => "object", | ||
| 56 | }, | ||
| 57 | issuing_authorization => { type => "hash" }, | ||
| 58 | outbound_payment => { | ||
| 59 | package => "Net::API::Stripe::Treasury::OutboundPayment", | ||
| 60 | type => "object", | ||
| 61 | }, | ||
| 62 | outbound_transfer => { | ||
| 63 | package => "Net::API::Stripe::Treasury::OutboundTransfer", | ||
| 64 | type => "object", | ||
| 65 | }, | ||
| 66 | received_credit => { | ||
| 67 | package => "Net::API::Stripe::Treasury::ReceivedCredit", | ||
| 68 | type => "object", | ||
| 69 | }, | ||
| 70 | received_debit => { | ||
| 71 | package => "Net::API::Stripe::Treasury::ReceivedDebit", | ||
| 72 | type => "object", | ||
| 73 | }, | ||
| 74 | type => { type => "scalar" }, | ||
| 75 | }, @_ ) ); } | ||
| 76 | |||
| 77 | 0 | ▶ | sub flow_type { return( shift->_set_get_scalar( 'flow_type', @_ ) ); } |
|
Subroutine
flow_type: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 78 | |||
| 79 | 0 | ▶ | sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); } |
|
Subroutine
livemode: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 80 | |||
| 81 | 0 | ▶ | sub status { return( shift->_set_get_scalar( 'status', @_ ) ); } |
|
Subroutine
status: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 82 | |||
| 83 | 0 | ▶ | sub status_transitions { return( shift->_set_get_class( 'status_transitions', |
|
Subroutine
status_transitions: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 84 | { | ||
| 85 | posted_at => { type => "datetime" }, | ||
| 86 | void_at => { type => "datetime" }, | ||
| 87 | }, @_ ) ); } | ||
| 88 | |||
| 89 | 2 | 1; | |
| 90 | # NOTE: POD | ||
| 91 | __END__ | ||