InxmailConfig::getInxmailEventOrderCanceled()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * MIT License
5
 * For full license information, please view the LICENSE file that was distributed with this source code.
6
 */
7
8
namespace SprykerEco\Zed\Inxmail;
9
10
use Spryker\Shared\Application\ApplicationConstants;
11
use Spryker\Zed\Kernel\AbstractBundleConfig;
12
use SprykerEco\Shared\Inxmail\InxmailConstants;
13
14
class InxmailConfig extends AbstractBundleConfig
15
{
16
    /**
17
     * @api
18
     *
19
     * @return string
20
     */
21
    public function getInxmailKeyId(): string
22
    {
23
        return $this->get(InxmailConstants::KEY_ID);
24
    }
25
26
    /**
27
     * @api
28
     *
29
     * @return string
30
     */
31
    public function getInxmailSecret(): string
32
    {
33
        return $this->get(InxmailConstants::SECRET);
34
    }
35
36
    /**
37
     * @api
38
     *
39
     * @return string
40
     */
41
    public function getInxmailEventApiUrl(): string
42
    {
43
        return $this->get(InxmailConstants::API_EVENT_URL);
44
    }
45
46
    /**
47
     * @api
48
     *
49
     * @return string
50
     */
51
    public function getInxmailEventCustomerRegistration(): string
52
    {
53
        return $this->get(InxmailConstants::EVENT_CUSTOMER_REGISTRATION);
54
    }
55
56
    /**
57
     * @api
58
     *
59
     * @return string
60
     */
61
    public function getInxmailEventCustomerResetPassword(): string
62
    {
63
        return $this->get(InxmailConstants::EVENT_CUSTOMER_RESET_PASSWORD);
64
    }
65
66
    /**
67
     * @api
68
     *
69
     * @return string
70
     */
71
    public function getInxmailEventOrderNew(): string
72
    {
73
        return $this->get(InxmailConstants::EVENT_ORDER_NEW);
74
    }
75
76
    /**
77
     * @api
78
     *
79
     * @return string
80
     */
81
    public function getInxmailEventOrderShippingConfirmation(): string
82
    {
83
        return $this->get(InxmailConstants::EVENT_ORDER_SHIPPING_CONFIRMATION);
84
    }
85
86
    /**
87
     * @api
88
     *
89
     * @return string
90
     */
91
    public function getInxmailEventOrderCanceled(): string
92
    {
93
        return $this->get(InxmailConstants::EVENT_ORDER_CANCELLED);
94
    }
95
96
    /**
97
     * @api
98
     *
99
     * @return string
100
     */
101
    public function getInxmailEventOrderPaymentIsNotReceived(): string
102
    {
103
        return $this->get(InxmailConstants::EVENT_ORDER_PAYMENT_IS_NOT_RECEIVED);
104
    }
105
106
    /**
107
     * @api
108
     *
109
     * @return string
110
     */
111
    public function getHostYves(): string
112
    {
113
        return $this->get(ApplicationConstants::HOST_YVES);
114
    }
115
}
116