| 1 | ##---------------------------------------------------------------------------- | ||
| 2 | ## Stripe API - ~/lib/Net/API/Stripe/Refund.pm | ||
| 3 | ## Version v0.101.0 | ||
| 4 | ## Copyright(c) 2019 DEGUEST Pte. Ltd. | ||
| 5 | ## Author: Jacques Deguest <jack@deguest.jp> | ||
| 6 | ## Created 2019/11/02 | ||
| 7 | ## Modified 2022/10/29 | ||
| 8 | ## | ||
| 9 | ##---------------------------------------------------------------------------- | ||
| 10 | ## https://stripe.com/docs/api/refunds | ||
| 11 | package Net::API::Stripe::Refund; | ||
| 12 | BEGIN | ||
| 13 | 2 | ▶ | { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 2 | ▶ | use parent qw( Net::API::Stripe::Generic ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 2 | ▶ | use vars qw( $VERSION ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 2 | our( $VERSION ) = 'v0.101.0'; | |
| 19 | }; | ||
| 20 | |||
| 21 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | |||
| 24 | 0 | ▶ | sub id { return( shift->_set_get_scalar( 'id', @_ ) ); } |
|
Subroutine
id: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 25 | |||
| 26 | 0 | ▶ | sub object { return( shift->_set_get_scalar( 'object', @_ ) ); } |
|
Subroutine
object: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 27 | |||
| 28 | 0 | ▶ | sub amount { return( shift->_set_get_number( 'amount', @_ ) ); } |
|
Subroutine
amount: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 29 | |||
| 30 | 0 | ▶ | sub balance_transaction { return( shift->_set_get_scalar_or_object( 'balance_transaction', 'Net::API::Stripe::Balance::Transaction', @_ ) ); } |
|
Subroutine
balance_transaction: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 31 | |||
| 32 | 0 | ▶ | sub charge { return( shift->_set_get_scalar_or_object( 'charge', 'Net::API::Stripe::Charge', @_ ) ); } |
|
Subroutine
charge: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 33 | |||
| 34 | 0 | ▶ | sub created { return( shift->_set_get_datetime( 'created', @_ ) ); } |
|
Subroutine
created: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 35 | |||
| 36 | 0 | ▶ | sub currency { return( shift->_set_get_scalar( 'currency', @_ ) ); } |
|
Subroutine
currency: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 37 | |||
| 38 | 0 | ▶ | sub description { return( shift->_set_get_scalar( 'description', @_ ) ); } |
|
Subroutine
description: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 39 | |||
| 40 | 0 | ▶ | sub failure_balance_transaction { return( shift->_set_get_scalar_or_object( 'failure_balance_transaction', 'Net::API::Stripe::Balance::Transaction', @_ ) ); } |
|
Subroutine
failure_balance_transaction: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 41 | |||
| 42 | 0 | ▶ | sub failure_reason { return( shift->_set_get_scalar( 'failure_reason', @_ ) ); } |
|
Subroutine
failure_reason: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 43 | |||
| 44 | 0 | ▶ | sub instructions_email { return( shift->_set_get_scalar( 'instructions_email', @_ ) ); } |
|
Subroutine
instructions_email: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 45 | |||
| 46 | 0 | ▶ | sub metadata { return( shift->_set_get_hash( 'metadata', @_ ) ); } |
|
Subroutine
metadata: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 47 | |||
| 48 | 0 | ▶ | sub next_action { return( shift->_set_get_class( 'next_action', |
|
Subroutine
next_action: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 49 | { | ||
| 50 | display_details => { | ||
| 51 | definition => { | ||
| 52 | email_sent => { | ||
| 53 | definition => { | ||
| 54 | email_sent_at => { type => "datetime" }, | ||
| 55 | email_sent_to => { type => "scalar" }, | ||
| 56 | }, | ||
| 57 | type => "class", | ||
| 58 | }, | ||
| 59 | expires_at => { type => "datetime" }, | ||
| 60 | }, | ||
| 61 | type => "class", | ||
| 62 | }, | ||
| 63 | type => { type => "scalar" }, | ||
| 64 | }, @_ ) ); } | ||
| 65 | |||
| 66 | 0 | ▶ | sub payment_intent { return( shift->_set_get_scalar_or_object( 'payment_intent', 'Net::API::Stripe::PaymentIntent', @_ ) ); } |
|
Subroutine
payment_intent: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 67 | |||
| 68 | 0 | ▶ | sub reason { return( shift->_set_get_scalar( 'reason', @_ ) ); } |
|
Subroutine
reason: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 69 | |||
| 70 | 0 | ▶ | sub receipt_number { return( shift->_set_get_scalar( 'receipt_number', @_ ) ); } |
|
Subroutine
receipt_number: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 71 | |||
| 72 | 0 | ▶ | sub source_transfer_reversal { return( shift->_set_get_scalar_or_object( 'source_transfer_reversal', 'Net::API::Stripe::Connect::Transfer::Reversal', @_ ) ); } |
|
Subroutine
source_transfer_reversal: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 73 | |||
| 74 | 0 | ▶ | sub status { return( shift->_set_get_scalar( 'status', @_ ) ); } |
|
Subroutine
status: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 75 | |||
| 76 | 0 | ▶ | sub transfer_reversal { return( shift->_set_get_scalar_or_object( 'transfer_reversal', 'Net::API::Stripe::Connect::Transfer::Reversal', @_ ) ); } |
|
Subroutine
transfer_reversal: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 77 | |||
| 78 | 2 | 1; | |
| 79 | |||
| 80 | __END__ | ||