blob: 708f794c6d34f88fec1c41eb56528698f10d43c1 [file] [log] [blame]
swissChilif0cbdc32023-01-05 17:21:38 -05001<?php
2if ( ! defined( 'ABSPATH' ) ) {
3 exit;
4}
5
6/**
7 * The giropay Payment Method class extending UPE base class
8 */
9class WC_Stripe_UPE_Payment_Method_Giropay extends WC_Stripe_UPE_Payment_Method {
10
11 const STRIPE_ID = 'giropay';
12
13 const LPM_GATEWAY_CLASS = WC_Gateway_Stripe_Giropay::class;
14
15 /**
16 * Constructor for giropay payment method
17 */
18 public function __construct() {
19 parent::__construct();
20 $this->stripe_id = self::STRIPE_ID;
21 $this->title = __( 'Pay with giropay', 'woocommerce-gateway-stripe' );
22 $this->is_reusable = false;
23 $this->supported_currencies = [ 'EUR' ];
24 $this->label = __( 'giropay', 'woocommerce-gateway-stripe' );
25 $this->description = __(
26 'Expand your business with giropay — Germany’s second most popular payment system.',
27 'woocommerce-gateway-stripe'
28 );
29 }
30}