Skip to content

Commit

Permalink
Merge pull request #12 from AfterShip-Team-Mocha/2025-01
Browse files Browse the repository at this point in the history
fix: make transit_time in last_mile object nullable.
  • Loading branch information
AfterShip-Team-Mocha authored Feb 5, 2025
2 parents 85d5b7c + e14ea1f commit e886e10
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/API/Tracking/LastMileCreateTrackingResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class LastMileCreateTrackingResponse extends Base
*/
public $slug;
/**
* @var string The transit time for the last-mile of a shipment in days. This field is calculated based on whether the handed_over_to_last_mile_carrier or the received_by_last_mile_carrier event is detected by AfterShip. The handover event date is used to calculate the last-mile transit time.- Last mile transit time (in days)= Delivered date - Handover date
* @var string|null The transit time for the last-mile of a shipment in days. This field is calculated based on whether the handed_over_to_last_mile_carrier or the received_by_last_mile_carrier event is detected by AfterShip. The handover event date is used to calculate the last-mile transit time.- Last mile transit time (in days)= Delivered date - Handover date
*/
public $transit_time;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/API/Tracking/LastMileDeleteTrackingByIdResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class LastMileDeleteTrackingByIdResponse extends Base
*/
public $slug;
/**
* @var string The transit time for the last-mile of a shipment in days. This field is calculated based on whether the handed_over_to_last_mile_carrier or the received_by_last_mile_carrier event is detected by AfterShip. The handover event date is used to calculate the last-mile transit time.- Last mile transit time (in days)= Delivered date - Handover date
* @var string|null The transit time for the last-mile of a shipment in days. This field is calculated based on whether the handed_over_to_last_mile_carrier or the received_by_last_mile_carrier event is detected by AfterShip. The handover event date is used to calculate the last-mile transit time.- Last mile transit time (in days)= Delivered date - Handover date
*/
public $transit_time;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/API/Tracking/LastMileGetTrackingByIdResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class LastMileGetTrackingByIdResponse extends Base
*/
public $slug;
/**
* @var string The transit time for the last-mile of a shipment in days. This field is calculated based on whether the handed_over_to_last_mile_carrier or the received_by_last_mile_carrier event is detected by AfterShip. The handover event date is used to calculate the last-mile transit time.- Last mile transit time (in days)= Delivered date - Handover date
* @var string|null The transit time for the last-mile of a shipment in days. This field is calculated based on whether the handed_over_to_last_mile_carrier or the received_by_last_mile_carrier event is detected by AfterShip. The handover event date is used to calculate the last-mile transit time.- Last mile transit time (in days)= Delivered date - Handover date
*/
public $transit_time;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class LastMileMarkTrackingCompletedByIdResponse extends Base
*/
public $slug;
/**
* @var string The transit time for the last-mile of a shipment in days. This field is calculated based on whether the handed_over_to_last_mile_carrier or the received_by_last_mile_carrier event is detected by AfterShip. The handover event date is used to calculate the last-mile transit time.- Last mile transit time (in days)= Delivered date - Handover date
* @var string|null The transit time for the last-mile of a shipment in days. This field is calculated based on whether the handed_over_to_last_mile_carrier or the received_by_last_mile_carrier event is detected by AfterShip. The handover event date is used to calculate the last-mile transit time.- Last mile transit time (in days)= Delivered date - Handover date
*/
public $transit_time;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/API/Tracking/LastMileRetrackTrackingByIdResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class LastMileRetrackTrackingByIdResponse extends Base
*/
public $slug;
/**
* @var string The transit time for the last-mile of a shipment in days. This field is calculated based on whether the handed_over_to_last_mile_carrier or the received_by_last_mile_carrier event is detected by AfterShip. The handover event date is used to calculate the last-mile transit time.- Last mile transit time (in days)= Delivered date - Handover date
* @var string|null The transit time for the last-mile of a shipment in days. This field is calculated based on whether the handed_over_to_last_mile_carrier or the received_by_last_mile_carrier event is detected by AfterShip. The handover event date is used to calculate the last-mile transit time.- Last mile transit time (in days)= Delivered date - Handover date
*/
public $transit_time;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/API/Tracking/LastMileUpdateTrackingByIdResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class LastMileUpdateTrackingByIdResponse extends Base
*/
public $slug;
/**
* @var string The transit time for the last-mile of a shipment in days. This field is calculated based on whether the handed_over_to_last_mile_carrier or the received_by_last_mile_carrier event is detected by AfterShip. The handover event date is used to calculate the last-mile transit time.- Last mile transit time (in days)= Delivered date - Handover date
* @var string|null The transit time for the last-mile of a shipment in days. This field is calculated based on whether the handed_over_to_last_mile_carrier or the received_by_last_mile_carrier event is detected by AfterShip. The handover event date is used to calculate the last-mile transit time.- Last mile transit time (in days)= Delivered date - Handover date
*/
public $transit_time;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Model/LastMileTracking.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class LastMileTracking extends Base
*/
public $slug;
/**
* @var string The transit time for the last-mile of a shipment in days. This field is calculated based on whether the handed_over_to_last_mile_carrier or the received_by_last_mile_carrier event is detected by AfterShip. The handover event date is used to calculate the last-mile transit time.- Last mile transit time (in days)= Delivered date - Handover date
* @var string|null The transit time for the last-mile of a shipment in days. This field is calculated based on whether the handed_over_to_last_mile_carrier or the received_by_last_mile_carrier event is detected by AfterShip. The handover event date is used to calculate the last-mile transit time.- Last mile transit time (in days)= Delivered date - Handover date
*/
public $transit_time;
/**
Expand Down

0 comments on commit e886e10

Please sign in to comment.