-
Notifications
You must be signed in to change notification settings - Fork 0
/
PaymentMethodTag.php
37 lines (34 loc) · 1.05 KB
/
PaymentMethodTag.php
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
<?php
namespace ThePay\ApiClient\ValueObject;
/**
* @see https://thepay.docs.apiary.io/#introduction/enums/payment-method-tags
*/
final class PaymentMethodTag extends EnumValueObject
{
public const RETURNABLE = 'returnable';
public const PRE_AUTHORIZATION = 'pre_authorization';
public const RECURRING_PAYMENTS = 'recurring_payments';
public const ACCESS_ACCOUNT_OWNER = 'access_account_owner';
public const ONLINE = 'online';
public const CARD = 'card';
public const BANK_TRANSFER = 'bank_transfer';
public const ALTERNATIVE_METHOD = 'alternative_method';
public const DEFERRED_PAYMENT = 'deferred_payment';
/**
* @return string[]
*/
public static function getOptions()
{
return [
self::RETURNABLE,
self::PRE_AUTHORIZATION,
self::RECURRING_PAYMENTS,
self::ACCESS_ACCOUNT_OWNER,
self::ONLINE,
self::CARD,
self::BANK_TRANSFER,
self::ALTERNATIVE_METHOD,
self::DEFERRED_PAYMENT,
];
}
}