You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33-2Lines changed: 33 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,8 +47,10 @@ Tracking API, Shipping API, Rating API and Time in Transit API. Feel free to con
47
47
12.[Shipping Class](#shipping-class)
48
48
*[Example](#shipping-class-example)
49
49
*[Parameters](#shipping-class-parameters)
50
-
13.[Logging](#logging)
51
-
14.[License](#license-section)
50
+
12.[Shipment Service Options](#shipment-service-options)
51
+
*[Example](#shipment-service-options-example)
52
+
14.[Logging](#logging)
53
+
15.[License](#license-section)
52
54
53
55
<aname="requirements"></a>
54
56
## Requirements
@@ -840,6 +842,35 @@ For the Shipping `accept` call, the parameters are:
840
842
841
843
* $shipmentDigest The UPS Shipment Digest received from a ShipConfirm request. Required
842
844
845
+
846
+
<aname="shipment-service-options"></a>
847
+
## Shipment Service Options
848
+
849
+
The Shipment Service Options class allows you to register shipments additional options. This also includes.
850
+
851
+
852
+
* Add or Modify email notifications: Manage updates for this shipment.
853
+
* Saturday Commericial: Get weekend delivery of your shipment.
854
+
* Deliver only to receiver's address: Do not reroute for customer pickup at a UPS location.
855
+
* UPS Carbon Neutral Shipments Thanks for offsetting the environmental impact of your shipment! : at a nominal fee for domestic and international shipments.
856
+
857
+
858
+
In the example ShipmentServiceOptions class is used to show how a Shipment Additional Option can be added to Shipment.
859
+
<aname="shipment-service-options-example"></a>
860
+
### Shipment Service Options Example
861
+
862
+
```php
863
+
// Start shipment
864
+
$shipment = new Ups\Entity\Shipment;
865
+
866
+
// Create Shipment Service Options Class
867
+
$shipmentOptions = new Ups\Entity\ShipmentServiceOptions;
868
+
// Setting the Carbon Neutral Additional Option, you can set your desired one.
0 commit comments