-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix Products endpoint, get Product/Method/Properties implemented t…
…o allow collo assessment.
- Loading branch information
Ash
committed
Nov 8, 2023
1 parent
8bf9299
commit 2bdc222
Showing
6 changed files
with
65 additions
and
8 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
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,24 @@ | ||
<?php | ||
|
||
namespace Imbue\SendCloud\Resources; | ||
|
||
class ShippingProductMethod | ||
{ | ||
/** @var int */ | ||
public $id; | ||
|
||
/** @var string */ | ||
public $name; | ||
|
||
/** @var AvailableShippingFunctionality */ | ||
public $functionalities; | ||
|
||
/** @var string */ | ||
public $shippingProductCode; | ||
|
||
/** @var ShippingProductMethodProperties */ | ||
public $properties; | ||
|
||
/** @var object */ | ||
public $leadTimeHours; | ||
} |
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 Imbue\SendCloud\Resources; | ||
|
||
class ShippingProductMethodProperties | ||
{ | ||
/** @var int */ | ||
public $min_weight; | ||
|
||
/** @var int */ | ||
public $max_weight; | ||
|
||
/** @var ShippingProductMethodPropertiesMaxDimensions */ | ||
public $max_dimensions; | ||
} | ||
|
18 changes: 18 additions & 0 deletions
18
src/Resources/ShippingProductMethodPropertiesMaxDimensions.php
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 Imbue\SendCloud\Resources; | ||
|
||
class ShippingProductMethodPropertiesMaxDimensions | ||
{ | ||
/** @var int */ | ||
public $length; | ||
|
||
/** @var int */ | ||
public $width; | ||
|
||
/** @var int */ | ||
public $height; | ||
|
||
/** @var string */ | ||
public $unit; | ||
} |
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