-
Notifications
You must be signed in to change notification settings - Fork 1
/
Constants.php
34 lines (20 loc) · 1.15 KB
/
Constants.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
<?php
namespace Payum\Klarna\Checkout;
final class Constants
{
public const STATUS_CHECKOUT_INCOMPLETE = 'checkout_incomplete';
public const STATUS_CHECKOUT_COMPLETE = 'checkout_complete';
public const STATUS_CREATED = 'created';
public const GUI_LAYOUT_DESKTOP = 'desktop';
public const GUI_LAYOUT_MOBILE = 'mobile';
public const BASE_URI_LIVE = 'https://checkout.klarna.com/checkout/orders';
public const BASE_URI_SANDBOX = 'https://checkout.testdrive.klarna.com/checkout/orders';
public const BASE_URI_RECURRING_SANDBOX = 'https://checkout.testdrive.klarna.com/checkout/recurring/{recurring_token}/orders';
public const BASE_URI_RECURRING_LIVE = 'https://checkout.klarna.com/checkout/recurring/{recurring_token}/orders';
public const CONTENT_TYPE_AGGREGATED_ORDER_V2 = 'application/vnd.klarna.checkout.aggregated-order-v2+json';
public const CONTENT_TYPE_RECURRING_ORDER_V1 = 'application/vnd.klarna.checkout.recurring-order-v1+json';
public const ACCEPT_HEADER_RECURRING_ORDER_ACCEPTED_V1 = 'application/vnd.klarna.checkout.recurring-order-accepted-v1+json';
private function __construct()
{
}
}