mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Remove AXO unused code
This commit is contained in:
parent
0cb26c4457
commit
5eb39de540
5 changed files with 0 additions and 41 deletions
|
@ -11,7 +11,6 @@ use Psr\Log\LoggerInterface;
|
|||
use WooCommerce\PayPalCommerce\ApiClient\Endpoint\RequestTrait;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Exception\PayPalApiException;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
|
||||
use WooCommerce\PayPalCommerce\PPCP;
|
||||
use WP_Error;
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,7 +13,6 @@ use WooCommerce\PayPalCommerce\Axo\Helper\PropertiesDictionary;
|
|||
use WooCommerce\PayPalCommerce\Onboarding\State;
|
||||
use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface;
|
||||
use WooCommerce\PayPalCommerce\WcGateway\Helper\DisplayManager;
|
||||
use WooCommerce\PayPalCommerce\WcGateway\Settings\Settings;
|
||||
|
||||
return array(
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@ namespace WooCommerce\PayPalCommerce\Axo;
|
|||
|
||||
use Psr\Log\LoggerInterface;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Authentication\SdkClientToken;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Authentication\UserIdToken;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Exception\PayPalApiException;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
|
||||
use WooCommerce\PayPalCommerce\Axo\Assets\AxoManager;
|
||||
|
|
|
@ -20,10 +20,8 @@ use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
|
|||
use WooCommerce\PayPalCommerce\ApiClient\Factory\PurchaseUnitFactory;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Factory\ShippingPreferenceFactory;
|
||||
use WooCommerce\PayPalCommerce\Onboarding\Environment;
|
||||
use WooCommerce\PayPalCommerce\PPCP;
|
||||
use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface;
|
||||
use WooCommerce\PayPalCommerce\WcGateway\Gateway\TransactionUrlProvider;
|
||||
use WooCommerce\PayPalCommerce\WcGateway\Processor\AuthorizedPaymentsProcessor;
|
||||
use WooCommerce\PayPalCommerce\WcGateway\Processor\OrderMetaTrait;
|
||||
use WooCommerce\PayPalCommerce\WcGateway\Processor\OrderProcessor;
|
||||
|
||||
|
|
|
@ -14,42 +14,6 @@ namespace WooCommerce\PayPalCommerce\Axo\Helper;
|
|||
*/
|
||||
class PropertiesDictionary {
|
||||
|
||||
/**
|
||||
* Returns the list of possible email widget options.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function email_widget_options(): array {
|
||||
return array(
|
||||
'render' => __( 'Render email input', 'woocommerce-paypal-payments' ),
|
||||
'use_widget' => __( 'Use email widget', 'woocommerce-paypal-payments' ),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of possible address widget options.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function address_widget_options(): array {
|
||||
return array(
|
||||
'render' => __( 'Render address options list', 'woocommerce-paypal-payments' ),
|
||||
'use_widget' => __( 'Use address widget', 'woocommerce-paypal-payments' ),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of possible address widget options.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function payment_widget_options(): array {
|
||||
return array(
|
||||
'render' => __( 'Render payment options list', 'woocommerce-paypal-payments' ),
|
||||
'use_widget' => __( 'Use payment widget', 'woocommerce-paypal-payments' ),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of possible privacy options.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue