| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- namespace Srmklive\PayPal\Tests\Mocks\Responses;
- use GuzzleHttp\Utils;
- trait DisputesActions
- {
- /**
- * @return array
- */
- private function mockAcceptDisputesClaimResponse(): array
- {
- return Utils::jsonDecode('{
- "links": [
- {
- "rel": "self",
- "method": "GET",
- "href": "https://api-m.sandbox.paypal.com/v1/customer/disputes/PP-D-27803"
- }
- ]
- }', true);
- }
- /**
- * @return array
- */
- private function mockAcceptDisputesOfferResolutionResponse(): array
- {
- return Utils::jsonDecode('{
- "links": [
- {
- "rel": "self",
- "method": "GET",
- "href": "https://api-m.sandbox.paypal.com/v1/customer/disputes/PP-000-000-651-454"
- }
- ]
- }', true);
- }
- /**
- * @return array
- */
- private function mockAcknowledgeItemReturnedResponse(): array
- {
- return Utils::jsonDecode('{
- "links": [
- {
- "rel": "self",
- "method": "GET",
- "href": "https://api-m.sandbox.paypal.com/v1/customer/disputes/PP-000-000-651-454"
- }
- ]
- }', true);
- }
- }
|