Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
676 lars 1
<?php
2
 
3
namespace Srmklive\PayPal\Tests\Mocks\Responses;
4
 
5
use GuzzleHttp\Utils;
6
 
7
trait DisputesActions
8
{
9
    /**
10
     * @return array
11
     */
12
    private function mockAcceptDisputesClaimResponse(): array
13
    {
14
        return Utils::jsonDecode('{
15
  "links": [
16
    {
17
      "rel": "self",
18
      "method": "GET",
19
      "href": "https://api-m.sandbox.paypal.com/v1/customer/disputes/PP-D-27803"
20
    }
21
  ]
22
}', true);
23
    }
24
 
25
    /**
26
     * @return array
27
     */
28
    private function mockAcceptDisputesOfferResolutionResponse(): array
29
    {
30
        return Utils::jsonDecode('{
31
  "links": [
32
    {
33
      "rel": "self",
34
      "method": "GET",
35
      "href": "https://api-m.sandbox.paypal.com/v1/customer/disputes/PP-000-000-651-454"
36
    }
37
  ]
38
}', true);
39
    }
40
 
41
    /**
42
     * @return array
43
     */
44
    private function mockAcknowledgeItemReturnedResponse(): array
45
    {
46
        return Utils::jsonDecode('{
47
  "links": [
48
    {
49
      "rel": "self",
50
      "method": "GET",
51
      "href": "https://api-m.sandbox.paypal.com/v1/customer/disputes/PP-000-000-651-454"
52
    }
53
  ]
54
}', true);
55
    }
56
}