mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Added models
This commit is contained in:
parent
492015a78f
commit
695d64de5f
@ -106,6 +106,7 @@ class Gateway extends StaticModel
|
|||||||
GatewayType::SOFORT => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable', 'charge.succeeded']], //Stripe
|
GatewayType::SOFORT => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable', 'charge.succeeded']], //Stripe
|
||||||
GatewayType::SEPA => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable', 'charge.succeeded']],
|
GatewayType::SEPA => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable', 'charge.succeeded']],
|
||||||
GatewayType::GIROPAY => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable', 'charge.succeeded']],
|
GatewayType::GIROPAY => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable', 'charge.succeeded']],
|
||||||
|
GatewayType::EPS => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable', 'charge.succeeded']],
|
||||||
GatewayType::IDEAL => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable', 'charge.succeeded']]];
|
GatewayType::IDEAL => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable', 'charge.succeeded']]];
|
||||||
|
|
||||||
case 39:
|
case 39:
|
||||||
|
@ -30,6 +30,7 @@ class GatewayType extends StaticModel
|
|||||||
const IDEAL = 13;
|
const IDEAL = 13;
|
||||||
const HOSTED_PAGE = 14; // For gateways that contain multiple methods.
|
const HOSTED_PAGE = 14; // For gateways that contain multiple methods.
|
||||||
const GIROPAY = 15;
|
const GIROPAY = 15;
|
||||||
|
const EPS = 17;
|
||||||
|
|
||||||
public function gateway()
|
public function gateway()
|
||||||
{
|
{
|
||||||
@ -72,6 +73,8 @@ class GatewayType extends StaticModel
|
|||||||
return ctrans('texts.aio_checkout');
|
return ctrans('texts.aio_checkout');
|
||||||
case self::GIROPAY:
|
case self::GIROPAY:
|
||||||
return ctrans('texts.giropay');
|
return ctrans('texts.giropay');
|
||||||
|
case self::EPS:
|
||||||
|
return ctrans('texts.EPS');
|
||||||
default:
|
default:
|
||||||
return 'Undefined.';
|
return 'Undefined.';
|
||||||
break;
|
break;
|
||||||
|
@ -48,6 +48,7 @@ class PaymentType extends StaticModel
|
|||||||
const IDEAL = 37;
|
const IDEAL = 37;
|
||||||
const HOSTED_PAGE = 38;
|
const HOSTED_PAGE = 38;
|
||||||
const GIROPAY = 39;
|
const GIROPAY = 39;
|
||||||
|
const EPS = 41;
|
||||||
|
|
||||||
public static function parseCardType($cardName)
|
public static function parseCardType($cardName)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user