-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathExcludePayments.php
More file actions
40 lines (31 loc) · 1.11 KB
/
ExcludePayments.php
File metadata and controls
40 lines (31 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
namespace Svea\WebPay\HostedService\Helper;
use Svea\WebPay\Constant\SystemPaymentMethod;
/**
* @author anne-hal
*/
class ExcludePayments
{
/**
* Fetch an array of all paymentmethods representing a payment plan or invoice payment.
* @ignore @param type $countryCode -- ignored
* @return string[]
*/
public static function excludeInvoicesAndPaymentPlan()
{
$methods = array();
$methods[] = SystemPaymentMethod::INVOICESE;
$methods[] = SystemPaymentMethod::PAYMENTPLANSE;
$methods[] = SystemPaymentMethod::INVOICE_SE;
$methods[] = SystemPaymentMethod::PAYMENTPLAN_SE;
$methods[] = SystemPaymentMethod::INVOICE_DE;
$methods[] = SystemPaymentMethod::PAYMENTPLAN_DE;
$methods[] = SystemPaymentMethod::INVOICE_DK;
$methods[] = SystemPaymentMethod::PAYMENTPLAN_DK;
$methods[] = SystemPaymentMethod::INVOICE_FI;
$methods[] = SystemPaymentMethod::PAYMENTPLAN_FI;
$methods[] = SystemPaymentMethod::INVOICE_NO;
$methods[] = SystemPaymentMethod::PAYMENTPLAN_NO;
return $methods;
}
}