declare( strict_types = 1 );
namespace Automattic\WooCommerce\Enums;
* Enum class for all the payment gateway feature's values.
final class PaymentGatewayFeature {
* Payment gateway supports add payment methods.
public const ADD_PAYMENT_METHOD = 'add_payment_method';
* Payment gateway supports credit card form on saved method.
public const CREDIT_CARD_FORM_CVC_ON_SAVED_METHOD = 'credit_card_form_cvc_on_saved_method';
* Payment gateway supports default credit card form.
public const DEFAULT_CREDIT_CARD_FORM = 'default_credit_card_form';
* Payment gateway supports deposits.
public const DEPOSITS = 'deposits';
* Payment gateway supports multiple subscriptions.
public const MULTIPLE_SUBSCRIPTIONS = 'multiple_subscriptions';
* Payment gateway supports pay button.
public const PAY_BUTTON = 'pay_button';
* Payment gateway supports pre-orders.
public const PRE_ORDERS = 'pre-orders';
* Payment gateway supports products.
public const PRODUCTS = 'products';
* Payment gateway supports refunds.
public const REFUNDS = 'refunds';
* Payment gateway supports subscription amount changes.
public const SUBSCRIPTION_AMOUNT_CHANGES = 'subscription_amount_changes';
* Payment gateway supports subscription cancellation.
public const SUBSCRIPTION_CANCELLATION = 'subscription_cancellation';
* Payment gateway supports subscription date changes.
public const SUBSCRIPTION_DATE_CHANGES = 'subscription_date_changes';
* Payment gateway supports subscription payment method changes.
public const SUBSCRIPTION_PAYMENT_METHOD_CHANGE = 'subscription_payment_method_change';
* Payment gateway supports subscription payment method changes by admin.
public const SUBSCRIPTION_PAYMENT_METHOD_CHANGE_ADMIN = 'subscription_payment_method_change_admin';
* Payment gateway supports subscription payment method changes by customer or admin.
public const SUBSCRIPTION_PAYMENT_METHOD_CHANGE_CUSTOMER = 'subscription_payment_method_change_customer';
* Payment gateway supports subscription reactivation.
public const SUBSCRIPTION_REACTIVATION = 'subscription_reactivation';
* Payment gateway supports subscription suspension.
public const SUBSCRIPTION_SUSPENSION = 'subscription_suspension';
* Payment gateway supports subscriptions.
public const SUBSCRIPTIONS = 'subscriptions';
* Payment gateway supports tokenization.
public const TOKENIZATION = 'tokenization';
* Agentic Commerce feature.
public const AGENTIC_COMMERCE = 'agentic_commerce';