GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

ResponseGetPaymentDetails   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 79
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 5
lcom 0
cbo 0
dl 0
loc 79
rs 10
c 0
b 0
f 0

5 Methods

Rating   Name   Duplication   Size   Complexity  
A getOrderId() 0 4 1
A getShippingDetails() 0 4 1
A getTransactionSummary() 0 4 1
A getTransactionLogHistory() 0 4 1
A getUserDetails() 0 4 1
1
<?php
2
3
namespace zaporylie\Vipps\Model\Payment;
4
5
use JMS\Serializer\Annotation as Serializer;
6
7
/**
8
 * Class ResponseGetPaymentDetails
9
 *
10
 * @package Vipps\Model\Payment
11
 */
12
class ResponseGetPaymentDetails
13
{
14
15
    /**
16
     * @var string
17
     * @Serializer\Type("string")
18
     */
19
    protected $orderId;
20
21
    /**
22
     * @var \zaporylie\Vipps\Model\Payment\PaymentShippingDetails
23
     * @Serializer\Type("zaporylie\Vipps\Model\Payment\PaymentShippingDetails")
24
     */
25
    protected $shippingDetails;
26
27
    /**
28
     * @var \zaporylie\Vipps\Model\Payment\TransactionSummary
29
     * @Serializer\Type("zaporylie\Vipps\Model\Payment\TransactionSummary")
30
     */
31
    protected $transactionSummary;
32
33
    /**
34
     * @var \zaporylie\Vipps\Model\Payment\TransactionLog[]
35
     * @Serializer\Type("array<zaporylie\Vipps\Model\Payment\TransactionLog>")
36
     */
37
    protected $transactionLogHistory;
38
39
    /**
40
     * @var \zaporylie\Vipps\Model\Payment\UserDetails
41
     * @Serializer\Type("zaporylie\Vipps\Model\Payment\UserDetails")
42
     */
43
    protected $userDetails;
44
45
    /**
46
     * Gets orderId value.
47
     *
48
     * @return string
49
     */
50
    public function getOrderId()
51
    {
52
        return $this->orderId;
53
    }
54
55
    /**
56
     * @return \zaporylie\Vipps\Model\Payment\PaymentShippingDetails
57
     */
58
    public function getShippingDetails()
59
    {
60
        return $this->shippingDetails;
61
    }
62
63
    /**
64
     * Gets transactionSummary value.
65
     *
66
     * @return \zaporylie\Vipps\Model\Payment\TransactionSummary
67
     */
68
    public function getTransactionSummary()
69
    {
70
        return $this->transactionSummary;
71
    }
72
73
    /**
74
     * Gets transactionLogHistory value.
75
     *
76
     * @return \zaporylie\Vipps\Model\Payment\TransactionLog[]
77
     */
78
    public function getTransactionLogHistory()
79
    {
80
        return $this->transactionLogHistory;
81
    }
82
83
    /**
84
     * @return \zaporylie\Vipps\Model\Payment\UserDetails
85
     */
86
    public function getUserDetails()
87
    {
88
         return $this->userDetails;
89
    }
90
}
91