PluginProbe
Tamara Checkout / trunk
Tamara Checkout vtrunk
1.9.9.23 1.9.9.22 1.9.9.20 trunk 1.0.13 1.7.4 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 1.9.9.1 1.9.9.11 1.9.9.12 1.9.9.13 1.9.9.14 1.9.9.15 1.9.9.16 1.9.9.17 1.9.9.2 1.9.9.3 1.9.9.4 1.9.9.5 All 29 releases
tamara-checkout / src / Services / WCTamaraGatewayPayIn7.php

WCTamaraGatewayPayIn7.php in Tamara Checkout trunk, at src/Services/WCTamaraGatewayPayIn7.php

25 lines 642 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Tamara\Wp\Plugin\Services;
4
5 use Tamara\Wp\Plugin\TamaraCheckout;
6 use Tamara\Wp\Plugin\Traits\ConfigTrait;
7 use Tamara\Wp\Plugin\Traits\ServiceTrait;
8 use Tamara\Wp\Plugin\Traits\WPAttributeTrait;
9
10 class WCTamaraGatewayPayIn7 extends WCTamaraGatewayPayByInstalments
11 {
12 use ConfigTrait;
13 use ServiceTrait;
14 use WPAttributeTrait;
15
16 /**
17 * Init $id, $paymentType and $instalmentPeriod
18 */
19 protected function initPaymentType()
20 {
21 $this->id = TamaraCheckout::TAMARA_GATEWAY_PAY_IN_7;
22 $this->paymentType = static::PAYMENT_TYPE_PAY_BY_INSTALMENTS;
23 $this->instalmentPeriod = 7;
24 }
25 }