| 1 | ##---------------------------------------------------------------------------- | ||
| 2 | ## Stripe API - ~/usr/local/src/perl/Net-API-Stripe/lib/Net/API/Stripe/Dispute.pm | ||
| 3 | ## Version v0.101.0 | ||
| 4 | ## Copyright(c) 2020 DEGUEST Pte. Ltd. | ||
| 5 | ## Author: Jacques Deguest <jack@deguest.jp> | ||
| 6 | ## Created 2019/11/02 | ||
| 7 | ## Modified 2020/11/16 | ||
| 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/disputes/object | ||
| 14 | package Net::API::Stripe::Dispute; | ||
| 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.101.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 amount { return( shift->_set_get_number( 'amount', @_ ) ); } |
|
Subroutine
amount: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 32 | |||
| 33 | 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
| |||
| 34 | |||
| 35 | ## Array that contains Net::API::Stripe::Balance::Transaction | ||
| 36 | 0 | ▶ | sub balance_transactions { return( shift->_set_get_object_array( 'balance_transactions', 'Net::API::Stripe::Balance::Transaction', @_ ) ); } |
|
Subroutine
balance_transactions: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 37 | |||
| 38 | 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
| |||
| 39 | |||
| 40 | 0 | ▶ | sub created { return( shift->_set_get_datetime( 'created', @_ ) ); } |
|
Subroutine
created: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 41 | |||
| 42 | 0 | ▶ | sub currency { return( shift->_set_get_scalar( 'currency', @_ ) ); } |
|
Subroutine
currency: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 43 | |||
| 44 | 0 | ▶ | sub disputed_transaction { return( shift->_set_get_scalar_or_object( 'disputed_transaction', 'Net::API::Stripe::Balance::Transaction', @_ ) ); } |
|
Subroutine
disputed_transaction: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 45 | |||
| 46 | 0 | ▶ | sub evidence { return( shift->_set_get_object( 'evidence', 'Net::API::Stripe::Dispute::Evidence', @_ ) ); } |
|
Subroutine
evidence: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 47 | |||
| 48 | 0 | ▶ | sub evidence_details { return( shift->_set_get_object( 'evidence_details', 'Net::API::Stripe::Dispute::EvidenceDetails', @_ ) ); } |
|
Subroutine
evidence_details: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 49 | |||
| 50 | 0 | ▶ | sub is_charge_refundable { return( shift->_set_get_boolean( 'is_charge_refundable', @_ ) ); } |
|
Subroutine
is_charge_refundable: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 51 | |||
| 52 | 0 | ▶ | sub livemode { return( shift->_set_get_boolean( 'livemode', @_ ) ); } |
|
Subroutine
livemode: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 53 | |||
| 54 | 0 | ▶ | sub metadata { return( shift->_set_get_hash( 'metadata', @_ ) ); } |
|
Subroutine
metadata: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 55 | |||
| 56 | 0 | ▶ | sub payment_intent { return( shift->_set_get_scalar_or_object( 'payment_intent', 'Net::API::Stripe::Payment::Intent', @_ ) ); } |
|
Subroutine
payment_intent: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 57 | |||
| 58 | 0 | ▶ | sub reason { return( shift->_set_get_scalar( 'reason', @_ ) ); } |
|
Subroutine
reason: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 59 | |||
| 60 | 0 | ▶ | sub status { return( shift->_set_get_scalar( 'status', @_ ) ); } |
|
Subroutine
status: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 61 | |||
| 62 | 2 | 1; | |
| 63 | |||
| 64 | __END__ | ||