woocommerce-paypal-payments/modules/ppcp-axo/src/Helper/PropertiesDictionary.php

54 lines
1.2 KiB
PHP
Raw Normal View History

2024-02-08 14:37:56 +00:00
<?php
/**
* Properties of the AXO module.
*
* @package WooCommerce\PayPalCommerce\Axo\Helper
*/
declare(strict_types=1);
namespace WooCommerce\PayPalCommerce\Axo\Helper;
/**
* Class PropertiesDictionary
*/
class PropertiesDictionary {
2024-02-14 18:17:03 +00:00
/**
* 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' ),
);
}
2024-02-08 14:37:56 +00:00
/**
* Returns the possible list of possible address widget options.
*
* @return array
*/
public static function address_widget_options(): array {
return array(
2024-02-14 18:17:03 +00:00
'render' => __( 'Render address options list', 'woocommerce-paypal-payments' ),
'use_widget' => __( 'Use address widget', 'woocommerce-paypal-payments' ),
2024-02-08 14:37:56 +00:00
);
}
/**
* Returns the possible list of possible address widget options.
*
* @return array
*/
public static function payment_widget_options(): array {
return array(
2024-02-14 18:17:03 +00:00
'render' => __( 'Render payment options list', 'woocommerce-paypal-payments' ),
'use_widget' => __( 'Use payment widget', 'woocommerce-paypal-payments' ),
2024-02-08 14:37:56 +00:00
);
}
}