-
Notifications
You must be signed in to change notification settings - Fork 0
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 #1 from sch-group/HBSDEV-401
Hbsdev 401
- Loading branch information
Showing
8 changed files
with
202 additions
and
121 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.idea |
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,47 @@ | ||
<?php | ||
|
||
namespace SchGroup\IpsPayment; | ||
|
||
class Callback | ||
{ | ||
private ?string $success; | ||
private ?string $failed; | ||
private ?string $callback; | ||
|
||
/** | ||
* ShopSettings constructor. | ||
* @param string|null $success | ||
* @param string|null $failed | ||
* @param string|null $callback | ||
*/ | ||
public function __construct(string $success = null, string $failed = null, string $callback = null) | ||
{ | ||
$this->success = $success; | ||
$this->failed = $failed; | ||
$this->callback = $callback; | ||
} | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getSuccess(): ?string | ||
{ | ||
return $this->success; | ||
} | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getFailed(): ?string | ||
{ | ||
return $this->failed; | ||
} | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getCallback(): ?string | ||
{ | ||
return $this->callback; | ||
} | ||
} |
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
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
Oops, something went wrong.