mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-07 19:54:15 +08:00
🚨 Address CI errors
This commit is contained in:
parent
3affc6afbc
commit
a5a1294483
2 changed files with 13 additions and 2 deletions
|
@ -88,7 +88,7 @@ class AxoBlockPaymentMethod extends AbstractPaymentMethodType {
|
|||
* @param SmartButtonInterface|callable $smart_button The smart button script loading
|
||||
* handler.
|
||||
* @param Settings $settings The settings.
|
||||
* @param DCCGatewayConfiguration $dcc_configuration The DCC gateway settings.
|
||||
* @param DCCGatewayConfiguration $dcc_configuration The DCC gateway settings.
|
||||
* @param Environment $environment The environment object.
|
||||
* @param string $wcgateway_module_url The WcGateway module URL.
|
||||
*/
|
||||
|
@ -98,7 +98,7 @@ class AxoBlockPaymentMethod extends AbstractPaymentMethodType {
|
|||
WC_Payment_Gateway $gateway,
|
||||
$smart_button,
|
||||
Settings $settings,
|
||||
DCCGatewayConfiguration $dcc_configuration,
|
||||
DCCGatewayConfiguration $dcc_configuration,
|
||||
Environment $environment,
|
||||
string $wcgateway_module_url
|
||||
) {
|
||||
|
|
|
@ -20,7 +20,18 @@ use WooCommerce\PayPalCommerce\WcGateway\Exception\NotFoundException;
|
|||
* way to access gateway settings by wrapping the Settings instance.
|
||||
*/
|
||||
class DCCGatewayConfiguration {
|
||||
/**
|
||||
* Gateway title.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private string $gateway_title;
|
||||
|
||||
/**
|
||||
* Whether to display the cardholder's name on the payment form.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private string $show_name_on_card;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue