toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (customerShippingFee != null)
'customerShippingFee': customerShippingFee!,
if (deliveryPostalCode != null)
'deliveryPostalCode': deliveryPostalCode!,
if (deliveryRegionCode != null)
'deliveryRegionCode': deliveryRegionCode!,
if (lineItems != null) 'lineItems': lineItems!,
if (merchantId != null) 'merchantId': merchantId!,
if (orderCreatedTime != null) 'orderCreatedTime': orderCreatedTime!,
if (orderId != null) 'orderId': orderId!,
if (orderTrackingSignalId != null)
'orderTrackingSignalId': orderTrackingSignalId!,
if (shipmentLineItemMapping != null)
'shipmentLineItemMapping': shipmentLineItemMapping!,
if (shippingInfo != null) 'shippingInfo': shippingInfo!,
};