PATH:
home
/
letacommog
/
rdvenunclick.fr1
/
wp-content
/
plugins
/
dokan-pro
/
modules
/
stripe
/
includes
<?php namespace WeDevs\DokanPro\Modules\Stripe; use BadMethodCallException; use WeDevs\DokanPro\Modules\Stripe\Transaction; use WeDevs\DokanPro\Modules\Stripe\Factories\EventFactory; use WeDevs\DokanPro\Modules\Stripe\Factories\StripeFactory; defined( 'ABSPATH' ) || exit; class DokanStripe { /** * Call the defined static methods * * @since 3.0.3 * * @param string $name * @param array $args * * @return mix */ public static function __callStatic( $name, $args ) { if ( ! in_array( $name, [ 'events', 'transfer', 'process' ] ) ) { throw new BadMethodCallException( sprintf( 'The %s method is not callable.', $name ), 422 ); } if ( 'events' === $name ) { return new EventFactory(); } if ( 'transfer' === $name ) { return new Transaction(); } if ( 'process' === $name ) { $order = ! empty( $args[0] ) ? $args[0] : null; return new StripeFactory( $order ); } } }
[+]
..
[+]
Factories
[-] PaymentTokens.php
[edit]
[+]
PaymentMethods
[-] IntentController.php
[edit]
[-] Refund.php
[edit]
[-] StripeConnect.php
[edit]
[+]
WebhooksEvents
[-] Constants.php
[edit]
[+]
Subscriptions
[+]
Settings
[+]
Gateways
[-] Transaction.php
[edit]
[+]
Abstracts
[-] StoreProgress.php
[edit]
[+]
Interfaces
[-] Helper.php
[edit]
[-] Validation.php
[edit]
[-] DokanStripe.php
[edit]
[-] Customer.php
[edit]
[-] VendorProfile.php
[edit]
[-] WebhookHandler.php
[edit]
[+]
WithdrawMethods