-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
183 additions
and
7 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,17 @@ | ||
<?php | ||
|
||
|
||
namespace Shoplo\BonanzaApi\Request; | ||
|
||
|
||
use JMS\Serializer\Annotation as Serializer; | ||
|
||
class GetBoothRequest | ||
{ | ||
/** | ||
* @var string | ||
* | ||
* @Serializer\Type("string") | ||
*/ | ||
public $boothId; | ||
} |
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,18 @@ | ||
<?php | ||
|
||
|
||
namespace Shoplo\BonanzaApi\Response; | ||
|
||
|
||
use JMS\Serializer\Annotation as Serializer; | ||
use Shoplo\BonanzaApi\Type\GetBoothResponseType; | ||
|
||
class GetBoothResponse extends BaseResponse | ||
{ | ||
/** | ||
* @var GetBoothResponseType | ||
* | ||
* @Serializer\Type("Shoplo\BonanzaApi\Type\GetBoothResponseType") | ||
*/ | ||
public $getBoothResponse; | ||
} |
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,29 @@ | ||
<?php | ||
|
||
|
||
namespace Shoplo\BonanzaApi\Type; | ||
|
||
|
||
class CustomCategoryType | ||
{ | ||
/** | ||
* @var int | ||
* | ||
* @Serializer\Type("int") | ||
*/ | ||
public $categoryId; | ||
|
||
/** | ||
* @var string | ||
* | ||
* @Serializer\Type("string") | ||
*/ | ||
public $name; | ||
|
||
/** | ||
* @var int | ||
* | ||
* @Serializer\Type("int") | ||
*/ | ||
public $order; | ||
} |
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,17 @@ | ||
<?php | ||
|
||
|
||
namespace Shoplo\BonanzaApi\Type; | ||
|
||
|
||
use JMS\Serializer\Annotation as Serializer; | ||
|
||
class GetBoothResponseType extends BaseResponseType | ||
{ | ||
/** | ||
* @var StoreType[] | ||
* | ||
* @Serializer\Type("Shoplo\BonanzaApi\Type\StoreType") | ||
*/ | ||
public $store; | ||
} |
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,72 @@ | ||
<?php | ||
|
||
|
||
namespace Shoplo\BonanzaApi\Type; | ||
|
||
use JMS\Serializer\Annotation as Serializer; | ||
|
||
class StoreType | ||
{ | ||
/** | ||
* @var CustomCategoryType[] | ||
* | ||
* @Serializer\Type("array<Shoplo\BonanzaApi\Type\CustomCategoryType>") | ||
*/ | ||
public $customCategory; | ||
|
||
/** | ||
* @var boolean | ||
* | ||
* @Serializer\Type("boolean") | ||
*/ | ||
public $activated; | ||
|
||
/** | ||
* @var string | ||
* | ||
* @Serializer\Type("string") | ||
*/ | ||
public $description; | ||
|
||
/** | ||
* @var URLType | ||
* | ||
* @Serializer\Type("Shoplo\BonanzaApi\Type\URLType") | ||
*/ | ||
public $logo; | ||
|
||
/** | ||
* @var string | ||
* | ||
* @Serializer\Type("string") | ||
*/ | ||
public $name; | ||
|
||
/** | ||
* @var string | ||
* | ||
* @Serializer\Type("string") | ||
*/ | ||
public $policies; | ||
|
||
/** | ||
* @var int | ||
* | ||
* @Serializer\Type("int") | ||
*/ | ||
public $subscriptionLevel; | ||
|
||
/** | ||
* @var boolean | ||
* | ||
* @Serializer\Type("boolean") | ||
*/ | ||
public $syndicated; | ||
|
||
/** | ||
* @var string | ||
* | ||
* @Serializer\Type("string") | ||
*/ | ||
public $url; | ||
} |
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,16 @@ | ||
<?php | ||
|
||
|
||
namespace Shoplo\BonanzaApi\Type; | ||
|
||
use JMS\Serializer\Annotation as Serializer; | ||
|
||
class URLType | ||
{ | ||
/** | ||
* @var string | ||
* | ||
* @Serializer\Type("string") | ||
*/ | ||
public $url; | ||
} |