@@ -104,7 +104,7 @@ def shipment_request(
104104 ),
105105 Shipper = sapient .ShipperType (
106106 Address = sapient .AddressType (
107- ContactName = shipper .name ,
107+ ContactName = shipper .contact or "N/A" ,
108108 CompanyName = shipper .company_name ,
109109 ContactEmail = shipper .email ,
110110 ContactPhone = shipper .phone_number ,
@@ -130,7 +130,7 @@ def shipment_request(
130130 ),
131131 Destination = sapient .DestinationType (
132132 Address = sapient .AddressType (
133- ContactName = recipient .name ,
133+ ContactName = recipient .contact or "N/A" ,
134134 CompanyName = recipient .company_name ,
135135 ContactEmail = recipient .email ,
136136 ContactPhone = recipient .phone_number ,
@@ -162,7 +162,7 @@ def shipment_request(
162162 ReturnToSender = lib .identity (
163163 sapient .ReturnToSenderType (
164164 Address = sapient .AddressType (
165- ContactName = return_address .name ,
165+ ContactName = return_address .contact or "N/A" ,
166166 CompanyName = return_address .company_name ,
167167 ContactEmail = return_address .email ,
168168 ContactPhone = return_address .phone_number ,
0 commit comments