Passed
Pull Request — v3.0 (#594)
by
unknown
02:02
created

MerchantIntegrations::showSellerStatus()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 3
c 1
b 0
f 1
dl 0
loc 7
rs 10
cc 1
nc 1
nop 2
1
<?php
2
3
namespace Srmklive\PayPal\Traits\PayPalAPI;
4
5
trait MerchantIntegrations
6
{
7
    /**
8
     * Shows seller status.
9
     *
10
     * @param string $partner_id
11
     * @param string $merchant_id
12
     *
13
     * @return mixed
14
     */
15
    public function showSellerStatus(string $partner_id, string $merchant_id)
16
    {
17
        $this->apiEndPoint = "v1/customer/partners/{$partner_id}/merchant-integrations/{$merchant_id}";
18
19
        $this->verb = 'get';
20
21
        return $this->doPayPalRequest();
22
    }
23
}
24