Skip to content

Commit

Permalink
Updating some class properties
Browse files Browse the repository at this point in the history
  • Loading branch information
codedeviate committed Jun 7, 2024
1 parent 91a34cc commit 9cdba34
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 2 deletions.
24 changes: 24 additions & 0 deletions src/class-billmate-bankpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@
require_once "commonfunctions.php";

class WC_Gateway_Billmate_Bankpay extends WC_Gateway_Billmate {
public $id;
public $method_title;
public $has_fields;
public $enabled;
public $title;
public $description;
public $secret;
public $eid;
public $lower_threshold;
public $upper_threshold;
public $invoice_fee_id;
public $logo;
public $testmode;
public $de_consent_terms;
public $allowed_countries;
public $authentication_method;
public $order_status;
public $invoice_fee_tax_percentage;
public $invoice_fee_price;
public $billmate_country;
public $billmate_language;
public $billmate_currency;
public $icon;

/**
* Class for Billmate Faktura payment.
Expand All @@ -12,6 +35,7 @@ class WC_Gateway_Billmate_Bankpay extends WC_Gateway_Billmate {
public function __construct() {
global $woocommerce;


if( !empty($_SESSION['order_created']) ) $_SESSION['order_created'] = '';

parent::__construct();
Expand Down
20 changes: 19 additions & 1 deletion src/class-billmate-cardpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,25 @@
require_once "commonfunctions.php";

class WC_Gateway_Billmate_Cardpay extends WC_Gateway_Billmate {

public $id;
public $method_title;
public $has_fields;
public $enabled;
public $title;
public $description;
public $secret;
public $eid;
public $lower_threshold;
public $upper_threshold;
public $invoice_fee_id;
public $invoice_fee_price;
public $invoice_fee_tax_percentage;
public $allowed_countries;
public $testmode;
public $logo;
public $de_consent_terms;
public $authentication_method;
public $order_status;
/**
* Class for Billmate Faktura payment.
*
Expand Down
22 changes: 21 additions & 1 deletion src/class-billmate-invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,27 @@
require_once "commonfunctions.php";

class WC_Gateway_Billmate_Invoice extends WC_Gateway_Billmate {

public $id;
public $method_title;
public $has_fields;
public $icon;
public $title;
public $description;
public $secret;
public $eid;
public $logo;
public $testmode;
public $order_status;
public $lower_threshold;
public $upper_threshold;
public $invoice_fee_id;
public $invoice_fee;
public $invoice_fee_tax_class;
public $allowed_countries;
public $billmate_country;
public $billmate_language;
public $billmate_currency;
public $billmate_invoice_terms;
/**
* Class for Billmate Invoice payment.
*
Expand Down
1 change: 1 addition & 0 deletions src/gateway-billmate.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ function init_billmate_gateway() {
load_plugin_textdomain('billmate', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/');
$dummy = __('Receive payments on your WooCommerce store via Billmate. Invoice, partpayment, credit/debit card and direct bank transfers. Secure and 100% free plugin','billmate');
class WC_Gateway_Billmate extends WC_Payment_Gateway {
public $shop_country;

public function __construct() {
global $woocommerce;
Expand Down

0 comments on commit 9cdba34

Please sign in to comment.