🎨 Mark const properties as public

This commit is contained in:
Philipp Stracker 2025-06-16 19:32:10 +02:00
parent cf44535e9b
commit e58532120b
No known key found for this signature in database

View file

@ -44,17 +44,17 @@ class PayPalGateway extends \WC_Payment_Gateway {
use ProcessPaymentTrait, FreeTrialHandlerTrait, GatewaySettingsRendererTrait, OrderMetaTrait, TransactionIdHandlingTrait, PaymentsStatusHandlingTrait;
const ID = 'ppcp-gateway';
const INTENT_META_KEY = '_ppcp_paypal_intent';
const ORDER_ID_META_KEY = '_ppcp_paypal_order_id';
const ORDER_PAYMENT_MODE_META_KEY = '_ppcp_paypal_payment_mode';
const ORDER_PAYMENT_SOURCE_META_KEY = '_ppcp_paypal_payment_source';
const ORDER_PAYER_EMAIL_META_KEY = '_ppcp_paypal_payer_email';
const FEES_META_KEY = '_ppcp_paypal_fees';
const REFUND_FEES_META_KEY = '_ppcp_paypal_refund_fees';
const REFUNDS_META_KEY = '_ppcp_refunds';
const THREE_D_AUTH_RESULT_META_KEY = '_ppcp_paypal_3DS_auth_result';
const FRAUD_RESULT_META_KEY = '_ppcp_paypal_fraud_result';
public const ID = 'ppcp-gateway';
public const INTENT_META_KEY = '_ppcp_paypal_intent';
public const ORDER_ID_META_KEY = '_ppcp_paypal_order_id';
public const ORDER_PAYMENT_MODE_META_KEY = '_ppcp_paypal_payment_mode';
public const ORDER_PAYMENT_SOURCE_META_KEY = '_ppcp_paypal_payment_source';
public const ORDER_PAYER_EMAIL_META_KEY = '_ppcp_paypal_payer_email';
public const FEES_META_KEY = '_ppcp_paypal_fees';
public const REFUND_FEES_META_KEY = '_ppcp_paypal_refund_fees';
public const REFUNDS_META_KEY = '_ppcp_refunds';
public const THREE_D_AUTH_RESULT_META_KEY = '_ppcp_paypal_3DS_auth_result';
public const FRAUD_RESULT_META_KEY = '_ppcp_paypal_fraud_result';
/**
* List of payment sources for which we are expected to store the payer email in the WC Order metadata.