Use wc blocks common icons for apm icons

This commit is contained in:
Emili Castells Guasch 2024-08-28 12:21:03 +02:00
parent 4ba74028bf
commit a8c43d75c4
8 changed files with 10 additions and 10 deletions

View file

@ -91,7 +91,7 @@ class BancontactPaymentMethod extends AbstractPaymentMethodType {
'id' => $this->name,
'title' => $this->gateway->title,
'description' => $this->gateway->description,
'icon' => esc_url( 'https://www.paypalobjects.com/images/checkout/alternative_payments/paypal_bancontact_color.svg' ),
'icon' => 'bancontact',
);
}
}

View file

@ -91,7 +91,7 @@ class BlikPaymentMethod extends AbstractPaymentMethodType {
'id' => $this->name,
'title' => $this->gateway->title,
'description' => $this->gateway->description,
'icon' => esc_url( 'https://www.paypalobjects.com/images/checkout/alternative_payments/paypal_blik_color.svg' ),
'icon' => 'blik',
);
}
}

View file

@ -91,7 +91,7 @@ class EPSPaymentMethod extends AbstractPaymentMethodType {
'id' => $this->name,
'title' => $this->gateway->title,
'description' => $this->gateway->description,
'icon' => esc_url( 'https://www.paypalobjects.com/images/checkout/alternative_payments/paypal_eps_color.svg' ),
'icon' => 'eps',
);
}
}

View file

@ -91,7 +91,7 @@ class IDealPaymentMethod extends AbstractPaymentMethodType {
'id' => $this->name,
'title' => $this->gateway->title,
'description' => $this->gateway->description,
'icon' => esc_url( 'https://www.paypalobjects.com/images/checkout/alternative_payments/paypal_ideal_color.svg' ),
'icon' => 'ideal',
);
}
}

View file

@ -12,7 +12,7 @@ namespace WooCommerce\PayPalCommerce\LocalAlternativePaymentMethods;
use Automattic\WooCommerce\Blocks\Payments\Integrations\AbstractPaymentMethodType;
/**
* Class BancontactPaymentMethod
* Class MultibancoPaymentMethod
*/
class MultibancoPaymentMethod extends AbstractPaymentMethodType {
@ -33,7 +33,7 @@ class MultibancoPaymentMethod extends AbstractPaymentMethodType {
/**
* Multibanco WC gateway.
*
* @var BancontactGateway
* @var MultibancoGateway
*/
private $gateway;
@ -91,7 +91,7 @@ class MultibancoPaymentMethod extends AbstractPaymentMethodType {
'id' => $this->name,
'title' => $this->gateway->title,
'description' => $this->gateway->description,
'icon' => esc_url( 'https://www.paypalobjects.com/images/checkout/alternative_payments/paypal_bancontact_color.svg' ),
'icon' => 'multibanco',
);
}
}

View file

@ -91,7 +91,7 @@ class MyBankPaymentMethod extends AbstractPaymentMethodType {
'id' => $this->name,
'title' => $this->gateway->title,
'description' => $this->gateway->description,
'icon' => esc_url( 'https://www.paypalobjects.com/images/checkout/alternative_payments/paypal_mybank_color.svg' ),
'icon' => 'mybank',
);
}
}

View file

@ -91,7 +91,7 @@ class P24PaymentMethod extends AbstractPaymentMethodType {
'id' => $this->name,
'title' => $this->gateway->title,
'description' => $this->gateway->description,
'icon' => esc_url( 'https://www.paypalobjects.com/images/checkout/alternative_payments/paypal_przelewy24_color.svg' ),
'icon' => 'p24',
);
}
}

View file

@ -91,7 +91,7 @@ class TrustlyPaymentMethod extends AbstractPaymentMethodType {
'id' => $this->name,
'title' => $this->gateway->title,
'description' => $this->gateway->description,
'icon' => esc_url( 'https://www.paypalobjects.com/images/checkout/alternative_payments/paypal_trustly_color.svg' ),
'icon' => 'trustly',
);
}
}