CreateGLSShipmentResponse constructor

CreateGLSShipmentResponse({
  1. String? id,
  2. UUID? requestId,
  3. AccountId? accountId,
  4. Timestamp? created,
  5. String? gLSUniqueNumber,
  6. String? parcelNumber,
  7. String? parcelNumber12Digit,
  8. CreateGLSShipmentRequest? request,
  9. String? qRCodeUrl,
  10. String? pDFUrl,
  11. bool? used,
})

Implementation

factory CreateGLSShipmentResponse({
  $core.String? id,
  $1.UUID? requestId,
  $0.AccountId? accountId,
  $4.Timestamp? created,
  $core.String? gLSUniqueNumber,
  $core.String? parcelNumber,
  $core.String? parcelNumber12Digit,
  CreateGLSShipmentRequest? request,
  $core.String? qRCodeUrl,
  $core.String? pDFUrl,
  $core.bool? used,
}) {
  final result = create();
  if (id != null) result.id = id;
  if (requestId != null) result.requestId = requestId;
  if (accountId != null) result.accountId = accountId;
  if (created != null) result.created = created;
  if (gLSUniqueNumber != null) result.gLSUniqueNumber = gLSUniqueNumber;
  if (parcelNumber != null) result.parcelNumber = parcelNumber;
  if (parcelNumber12Digit != null)
    result.parcelNumber12Digit = parcelNumber12Digit;
  if (request != null) result.request = request;
  if (qRCodeUrl != null) result.qRCodeUrl = qRCodeUrl;
  if (pDFUrl != null) result.pDFUrl = pDFUrl;
  if (used != null) result.used = used;
  return result;
}