Completed
Push — master ( f7d62f...5e8002 )
by Matt
02:53
created

ARBSubscriptionRequest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getType() 0 4 1
1
<?php
2
3
namespace CommerceGuys\AuthNet;
4
5
use GuzzleHttp\Client;
6
use CommerceGuys\AuthNet\DataTypes\Paging;
7
use CommerceGuys\AuthNet\DataTypes\Sorting;
8
use CommerceGuys\AuthNet\Request\RequestInterface;
9
10
/**
11
 * Use this method to create subscriptions using Automated Recurring Billing.
12
 *
13
 * @link https://developer.authorize.net/api/reference/#recurring-billing
14
 */
15
abstract class ARBSubscriptionRequest extends BaseApiRequest
16
{
17
18 1
    public function getType()
19
    {
20 1
        return (new \ReflectionClass($this))->getShortName();
21
    }
22
}
23