blob: 708f794c6d34f88fec1c41eb56528698f10d43c1 [file] [log] [blame]
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* The giropay Payment Method class extending UPE base class
*/
class WC_Stripe_UPE_Payment_Method_Giropay extends WC_Stripe_UPE_Payment_Method {
const STRIPE_ID = 'giropay';
const LPM_GATEWAY_CLASS = WC_Gateway_Stripe_Giropay::class;
/**
* Constructor for giropay payment method
*/
public function __construct() {
parent::__construct();
$this->stripe_id = self::STRIPE_ID;
$this->title = __( 'Pay with giropay', 'woocommerce-gateway-stripe' );
$this->is_reusable = false;
$this->supported_currencies = [ 'EUR' ];
$this->label = __( 'giropay', 'woocommerce-gateway-stripe' );
$this->description = __(
'Expand your business with giropay — Germany’s second most popular payment system.',
'woocommerce-gateway-stripe'
);
}
}