OrderLine constructor
OrderLine({})
Implementation
factory OrderLine({
$0.SKU? sKU,
$1.StringValue? title,
$4.Price? pricePerPiece,
$4.Price? feePerPiece,
$1.DoubleValue? quantity,
$4.Price? price,
$4.Price? totalFee,
$4.Price? totalItemPrice,
$11.Any? details,
$0.AccountId? seller,
$core.Iterable<$9.StoredImage>? images,
$core.bool? isVirtualProduct,
}) {
final result = create();
if (sKU != null) result.sKU = sKU;
if (title != null) result.title = title;
if (pricePerPiece != null) result.pricePerPiece = pricePerPiece;
if (feePerPiece != null) result.feePerPiece = feePerPiece;
if (quantity != null) result.quantity = quantity;
if (price != null) result.price = price;
if (totalFee != null) result.totalFee = totalFee;
if (totalItemPrice != null) result.totalItemPrice = totalItemPrice;
if (details != null) result.details = details;
if (seller != null) result.seller = seller;
if (images != null) result.images.addAll(images);
if (isVirtualProduct != null) result.isVirtualProduct = isVirtualProduct;
return result;
}