DeliveryQuery constructor
DeliveryQuery({
- ContinuationToken? continuation,
- AccountId? accountId,
- Iterable<
Delivery_DeliveryStatus> ? status, - Timestamp? deliveryAfter,
- Timestamp? deliveryBefore,
- DeliveryId? deliveryId,
- DeliveryBatchId? batchId,
- bool? excludeBatchedDeliveries,
- bool? oldestFirst,
- StringValue? reference,
- ContainerId? location,
- Delivery_DeliveryType? type,
- SKU? sKU,
- DeliveryQuery_LocationQueryType? locationContains,
- StringValue? trackAndTraceId,
- StringValue? name,
- StringValue? email,
- PhoneNumber? phoneNumber,
Implementation
factory DeliveryQuery({
$0.ContinuationToken? continuation,
$1.AccountId? accountId,
$core.Iterable<Delivery_DeliveryStatus>? status,
$2.Timestamp? deliveryAfter,
$2.Timestamp? deliveryBefore,
$1.DeliveryId? deliveryId,
$1.DeliveryBatchId? batchId,
$core.bool? excludeBatchedDeliveries,
$core.bool? oldestFirst,
$3.StringValue? reference,
$1.ContainerId? location,
Delivery_DeliveryType? type,
$1.SKU? sKU,
DeliveryQuery_LocationQueryType? locationContains,
$3.StringValue? trackAndTraceId,
$3.StringValue? name,
$3.StringValue? email,
$0.PhoneNumber? phoneNumber,
}) {
final result = create();
if (continuation != null) result.continuation = continuation;
if (accountId != null) result.accountId = accountId;
if (status != null) result.status.addAll(status);
if (deliveryAfter != null) result.deliveryAfter = deliveryAfter;
if (deliveryBefore != null) result.deliveryBefore = deliveryBefore;
if (deliveryId != null) result.deliveryId = deliveryId;
if (batchId != null) result.batchId = batchId;
if (excludeBatchedDeliveries != null)
result.excludeBatchedDeliveries = excludeBatchedDeliveries;
if (oldestFirst != null) result.oldestFirst = oldestFirst;
if (reference != null) result.reference = reference;
if (location != null) result.location = location;
if (type != null) result.type = type;
if (sKU != null) result.sKU = sKU;
if (locationContains != null) result.locationContains = locationContains;
if (trackAndTraceId != null) result.trackAndTraceId = trackAndTraceId;
if (name != null) result.name = name;
if (email != null) result.email = email;
if (phoneNumber != null) result.phoneNumber = phoneNumber;
return result;
}