File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
src/Picqer/Carriers/SendCloud Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Picqer \Carriers \SendCloud ;
4+
5+ /**
6+ * @property integer id
7+ * @property string message
8+ */
9+ class ParcelStatus extends Model
10+ {
11+ use Query \Findable;
12+
13+ protected $ fillable = [
14+ 'id ' ,
15+ 'message '
16+ ];
17+
18+ protected $ url = 'parcels/statuses ' ;
19+
20+ protected $ namespaces = [
21+ 'singular ' => 'parcel_status ' ,
22+ 'plural ' => 'parcel_statuses '
23+ ];
24+
25+ }
Original file line number Diff line number Diff line change @@ -36,6 +36,11 @@ public function shippingMethods(): ShippingMethod
3636 return new ShippingMethod ($ this ->connection );
3737 }
3838
39+ public function parcelStatuses (): ParcelStatus
40+ {
41+ return new ParcelStatus ($ this ->connection );
42+ }
43+
3944 public function users (): User
4045 {
4146 return new User ($ this ->connection );
You can’t perform that action at this time.
0 commit comments