PATH:
home
/
lab2454c
/
vaultchip.com
/
vendor
/
mollie
/
mollie-api-php
/
src
/
Types
<?php namespace Mollie\Api\Types; class MandateMethod { const DIRECTDEBIT = "directdebit"; const CREDITCARD = "creditcard"; const PAYPAL = "paypal"; public static function getForFirstPaymentMethod($firstPaymentMethod) { if ($firstPaymentMethod === PaymentMethod::PAYPAL) { return static::PAYPAL; } if (in_array($firstPaymentMethod, [ PaymentMethod::APPLEPAY, PaymentMethod::CREDITCARD, ])) { return static::CREDITCARD; } return static::DIRECTDEBIT; } }
[-] MandateMethod.php
[edit]
[-] OrderLineStatus.php
[edit]
[+]
..
[-] OrderStatus.php
[edit]
[-] RefundStatus.php
[edit]
[-] ProfileStatus.php
[edit]
[-] PaymentMethodStatus.php
[edit]
[-] OnboardingStatus.php
[edit]
[-] SequenceType.php
[edit]
[-] PaymentStatus.php
[edit]
[-] PaymentMethod.php
[edit]
[-] InvoiceStatus.php
[edit]
[-] OrderLineType.php
[edit]
[-] SettlementStatus.php
[edit]
[-] MandateStatus.php
[edit]
[-] SubscriptionStatus.php
[edit]