Remove AXO unused code

This commit is contained in:
Pedro Silva 2024-04-15 17:26:11 +01:00
parent 0cb26c4457
commit 5eb39de540
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
5 changed files with 0 additions and 41 deletions

View file

@ -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;
/**

View file

@ -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(

View file

@ -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;

View file

@ -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;

View file

@ -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.
*