Reports::topOfferSummary()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of GetCake PHP Client.
5
 *
6
 * (c) DraperStudio <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Apivore\GetCake\Api;
13
14
use Apivore\Core\AbstractApi;
15
16
/**
17
 * Class Reports.
18
 *
19
 * @author DraperStudio <[email protected]>
20
 */
21
class Reports extends AbstractApi
22
{
23
    /**
24
     * @param $parameters
25
     *
26
     * @return mixed
27
     */
28
    public function bills($parameters)
29
    {
30
        return $this->get('3/reports.asmx/Bills', $parameters);
0 ignored issues
show
Documentation Bug introduced by
The method get does not exist on object<Apivore\GetCake\Api\Reports>? Since you implemented __call, maybe consider adding a @method annotation.

If you implement __call and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.

This is often the case, when __call is implemented by a parent class and only the child class knows which methods exist:

class ParentClass {
    private $data = array();

    public function __call($method, array $args) {
        if (0 === strpos($method, 'get')) {
            return $this->data[strtolower(substr($method, 3))];
        }

        throw new \LogicException(sprintf('Unsupported method: %s', $method));
    }
}

/**
 * If this class knows which fields exist, you can specify the methods here:
 *
 * @method string getName()
 */
class SomeClass extends ParentClass { }
Loading history...
31
    }
32
33
    /**
34
     * @param $parameters
35
     *
36
     * @return mixed
37
     */
38
    public function campaignSummary($parameters)
39
    {
40
        return $this->get('5/reports.asmx/CampaignSummary', $parameters);
0 ignored issues
show
Documentation Bug introduced by
The method get does not exist on object<Apivore\GetCake\Api\Reports>? Since you implemented __call, maybe consider adding a @method annotation.

If you implement __call and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.

This is often the case, when __call is implemented by a parent class and only the child class knows which methods exist:

class ParentClass {
    private $data = array();

    public function __call($method, array $args) {
        if (0 === strpos($method, 'get')) {
            return $this->data[strtolower(substr($method, 3))];
        }

        throw new \LogicException(sprintf('Unsupported method: %s', $method));
    }
}

/**
 * If this class knows which fields exist, you can specify the methods here:
 *
 * @method string getName()
 */
class SomeClass extends ParentClass { }
Loading history...
41
    }
42
43
    /**
44
     * @param $parameters
45
     *
46
     * @return mixed
47
     */
48
    public function clicks($parameters)
49
    {
50
        return $this->get('8/reports.asmx/Clicks', $parameters);
0 ignored issues
show
Documentation Bug introduced by
The method get does not exist on object<Apivore\GetCake\Api\Reports>? Since you implemented __call, maybe consider adding a @method annotation.

If you implement __call and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.

This is often the case, when __call is implemented by a parent class and only the child class knows which methods exist:

class ParentClass {
    private $data = array();

    public function __call($method, array $args) {
        if (0 === strpos($method, 'get')) {
            return $this->data[strtolower(substr($method, 3))];
        }

        throw new \LogicException(sprintf('Unsupported method: %s', $method));
    }
}

/**
 * If this class knows which fields exist, you can specify the methods here:
 *
 * @method string getName()
 */
class SomeClass extends ParentClass { }
Loading history...
51
    }
52
53
    /**
54
     * @param $parameters
55
     *
56
     * @return mixed
57
     */
58
    public function conversions($parameters)
59
    {
60
        return $this->get('8/reports.asmx/Conversions', $parameters);
0 ignored issues
show
Documentation Bug introduced by
The method get does not exist on object<Apivore\GetCake\Api\Reports>? Since you implemented __call, maybe consider adding a @method annotation.

If you implement __call and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.

This is often the case, when __call is implemented by a parent class and only the child class knows which methods exist:

class ParentClass {
    private $data = array();

    public function __call($method, array $args) {
        if (0 === strpos($method, 'get')) {
            return $this->data[strtolower(substr($method, 3))];
        }

        throw new \LogicException(sprintf('Unsupported method: %s', $method));
    }
}

/**
 * If this class knows which fields exist, you can specify the methods here:
 *
 * @method string getName()
 */
class SomeClass extends ParentClass { }
Loading history...
61
    }
62
63
    /**
64
     * @param $parameters
65
     *
66
     * @return mixed
67
     */
68
    public function dailySummary($parameters)
69
    {
70
        return $this->get('2/reports.asmx/DailySummary', $parameters);
0 ignored issues
show
Documentation Bug introduced by
The method get does not exist on object<Apivore\GetCake\Api\Reports>? Since you implemented __call, maybe consider adding a @method annotation.

If you implement __call and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.

This is often the case, when __call is implemented by a parent class and only the child class knows which methods exist:

class ParentClass {
    private $data = array();

    public function __call($method, array $args) {
        if (0 === strpos($method, 'get')) {
            return $this->data[strtolower(substr($method, 3))];
        }

        throw new \LogicException(sprintf('Unsupported method: %s', $method));
    }
}

/**
 * If this class knows which fields exist, you can specify the methods here:
 *
 * @method string getName()
 */
class SomeClass extends ParentClass { }
Loading history...
71
    }
72
73
    /**
74
     * @param $parameters
75
     *
76
     * @return mixed
77
     */
78
    public function hourlySummary($parameters)
79
    {
80
        return $this->get('2/reports.asmx/HourlySummary', $parameters);
0 ignored issues
show
Documentation Bug introduced by
The method get does not exist on object<Apivore\GetCake\Api\Reports>? Since you implemented __call, maybe consider adding a @method annotation.

If you implement __call and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.

This is often the case, when __call is implemented by a parent class and only the child class knows which methods exist:

class ParentClass {
    private $data = array();

    public function __call($method, array $args) {
        if (0 === strpos($method, 'get')) {
            return $this->data[strtolower(substr($method, 3))];
        }

        throw new \LogicException(sprintf('Unsupported method: %s', $method));
    }
}

/**
 * If this class knows which fields exist, you can specify the methods here:
 *
 * @method string getName()
 */
class SomeClass extends ParentClass { }
Loading history...
81
    }
82
83
    /**
84
     * @param $parameters
85
     *
86
     * @return mixed
87
     */
88
    public function networkNews($parameters)
89
    {
90
        return $this->get('2/reports.asmx/NetworkNews', $parameters);
0 ignored issues
show
Documentation Bug introduced by
The method get does not exist on object<Apivore\GetCake\Api\Reports>? Since you implemented __call, maybe consider adding a @method annotation.

If you implement __call and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.

This is often the case, when __call is implemented by a parent class and only the child class knows which methods exist:

class ParentClass {
    private $data = array();

    public function __call($method, array $args) {
        if (0 === strpos($method, 'get')) {
            return $this->data[strtolower(substr($method, 3))];
        }

        throw new \LogicException(sprintf('Unsupported method: %s', $method));
    }
}

/**
 * If this class knows which fields exist, you can specify the methods here:
 *
 * @method string getName()
 */
class SomeClass extends ParentClass { }
Loading history...
91
    }
92
93
    /**
94
     * @param $parameters
95
     *
96
     * @return mixed
97
     */
98
    public function offerCompliance($parameters)
99
    {
100
        return $this->get('3/reports.asmx/OfferCompliance', $parameters);
0 ignored issues
show
Documentation Bug introduced by
The method get does not exist on object<Apivore\GetCake\Api\Reports>? Since you implemented __call, maybe consider adding a @method annotation.

If you implement __call and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.

This is often the case, when __call is implemented by a parent class and only the child class knows which methods exist:

class ParentClass {
    private $data = array();

    public function __call($method, array $args) {
        if (0 === strpos($method, 'get')) {
            return $this->data[strtolower(substr($method, 3))];
        }

        throw new \LogicException(sprintf('Unsupported method: %s', $method));
    }
}

/**
 * If this class knows which fields exist, you can specify the methods here:
 *
 * @method string getName()
 */
class SomeClass extends ParentClass { }
Loading history...
101
    }
102
103
    /**
104
     * @param $parameters
105
     *
106
     * @return mixed
107
     */
108
    public function orderDetails($parameters)
109
    {
110
        return $this->get('2/reports.asmx/OrderDetails', $parameters);
0 ignored issues
show
Documentation Bug introduced by
The method get does not exist on object<Apivore\GetCake\Api\Reports>? Since you implemented __call, maybe consider adding a @method annotation.

If you implement __call and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.

This is often the case, when __call is implemented by a parent class and only the child class knows which methods exist:

class ParentClass {
    private $data = array();

    public function __call($method, array $args) {
        if (0 === strpos($method, 'get')) {
            return $this->data[strtolower(substr($method, 3))];
        }

        throw new \LogicException(sprintf('Unsupported method: %s', $method));
    }
}

/**
 * If this class knows which fields exist, you can specify the methods here:
 *
 * @method string getName()
 */
class SomeClass extends ParentClass { }
Loading history...
111
    }
112
113
    /**
114
     * @param $parameters
115
     *
116
     * @return mixed
117
     */
118
    public function orderDetailChanges($parameters)
119
    {
120
        return $this->get('2/reports.asmx/OrderDetailChanges', $parameters);
0 ignored issues
show
Documentation Bug introduced by
The method get does not exist on object<Apivore\GetCake\Api\Reports>? Since you implemented __call, maybe consider adding a @method annotation.

If you implement __call and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.

This is often the case, when __call is implemented by a parent class and only the child class knows which methods exist:

class ParentClass {
    private $data = array();

    public function __call($method, array $args) {
        if (0 === strpos($method, 'get')) {
            return $this->data[strtolower(substr($method, 3))];
        }

        throw new \LogicException(sprintf('Unsupported method: %s', $method));
    }
}

/**
 * If this class knows which fields exist, you can specify the methods here:
 *
 * @method string getName()
 */
class SomeClass extends ParentClass { }
Loading history...
121
    }
122
123
    /**
124
     * @param $parameters
125
     *
126
     * @return mixed
127
     */
128
    public function performanceSummary($parameters)
129
    {
130
        return $this->get('2/reports.asmx/PerformanceSummary', $parameters);
0 ignored issues
show
Documentation Bug introduced by
The method get does not exist on object<Apivore\GetCake\Api\Reports>? Since you implemented __call, maybe consider adding a @method annotation.

If you implement __call and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.

This is often the case, when __call is implemented by a parent class and only the child class knows which methods exist:

class ParentClass {
    private $data = array();

    public function __call($method, array $args) {
        if (0 === strpos($method, 'get')) {
            return $this->data[strtolower(substr($method, 3))];
        }

        throw new \LogicException(sprintf('Unsupported method: %s', $method));
    }
}

/**
 * If this class knows which fields exist, you can specify the methods here:
 *
 * @method string getName()
 */
class SomeClass extends ParentClass { }
Loading history...
131
    }
132
133
    /**
134
     * @param $parameters
135
     *
136
     * @return mixed
137
     */
138
    public function topOfferSummary($parameters)
139
    {
140
        return $this->get('2/reports.asmx/TopOfferSummary', $parameters);
0 ignored issues
show
Documentation Bug introduced by
The method get does not exist on object<Apivore\GetCake\Api\Reports>? Since you implemented __call, maybe consider adding a @method annotation.

If you implement __call and you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.

This is often the case, when __call is implemented by a parent class and only the child class knows which methods exist:

class ParentClass {
    private $data = array();

    public function __call($method, array $args) {
        if (0 === strpos($method, 'get')) {
            return $this->data[strtolower(substr($method, 3))];
        }

        throw new \LogicException(sprintf('Unsupported method: %s', $method));
    }
}

/**
 * If this class knows which fields exist, you can specify the methods here:
 *
 * @method string getName()
 */
class SomeClass extends ParentClass { }
Loading history...
141
    }
142
}
143