PriceContextQuery constructor
PriceContextQuery({
- AccountId? buyer,
- Iterable<
VoucherCode> ? vouchers, - Iterable<
PricingProduct> ? products,
Implementation
factory PriceContextQuery({
$2.AccountId? buyer,
$core.Iterable<$2.VoucherCode>? vouchers,
$core.Iterable<PricingProduct>? products,
}) {
final result = create();
if (buyer != null) result.buyer = buyer;
if (vouchers != null) result.vouchers.addAll(vouchers);
if (products != null) result.products.addAll(products);
return result;
}