-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from slepic/gateways
fix stubs for some gateways
- Loading branch information
Showing
5 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
|
||
namespace Braintree; | ||
|
||
class MultipleValueNode | ||
{ | ||
public string $name; | ||
public array $items; | ||
public array $allowedValues; | ||
|
||
/** | ||
* @param array $values | ||
* @throws InvalidArgumentException | ||
* @return static | ||
*/ | ||
public function in($values) | ||
{ | ||
} | ||
|
||
/** | ||
* @param mixed $value | ||
* @return static | ||
*/ | ||
public function is($value) | ||
{ | ||
} | ||
|
||
/** | ||
* @return array | ||
*/ | ||
public function toParam() | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
namespace Braintree; | ||
|
||
/** | ||
* WebhookTestingGateway module | ||
* Creates and manages test webhooks | ||
*/ | ||
class WebhookTestingGateway | ||
{ | ||
public function __construct(Gateway $gateway) | ||
{ | ||
} | ||
|
||
/** | ||
* @param string $kind | ||
* @param string $id | ||
* @param string $sourceMerchantId | ||
* | ||
* @return array{bt_signature:string,bt_payload:string} | ||
*/ | ||
public function sampleNotification($kind, $id, $sourceMerchantId = null) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters