mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
53 lines
1.2 KiB
PHP
53 lines
1.2 KiB
PHP
<?php
|
|
/**
|
|
* Properties of the AXO module.
|
|
*
|
|
* @package WooCommerce\PayPalCommerce\Axo\Helper
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace WooCommerce\PayPalCommerce\Axo\Helper;
|
|
|
|
/**
|
|
* Class PropertiesDictionary
|
|
*/
|
|
class PropertiesDictionary {
|
|
|
|
/**
|
|
* Returns the possible 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 possible 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 possible 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' ),
|
|
);
|
|
}
|
|
|
|
}
|