Input$CalculateTargetShoppingCartInput constructor

Input$CalculateTargetShoppingCartInput({
  1. required Enum$OrderTypeEnum orderType,
  2. Input$MarketPlaceOrderDtoFeesInput? fees,
  3. List<Input$MarketPlaceOrderDtoExtraFeesInput>? extraFees,
  4. Input$FullAddressInput? deliveryAddress,
  5. Input$DiscountDtoInput? discount,
  6. required List<Input$CartProductInput> products,
  7. Input$TargetACIInput? target,
})

Implementation

factory Input$CalculateTargetShoppingCartInput({
  required Enum$OrderTypeEnum orderType,
  Input$MarketPlaceOrderDtoFeesInput? fees,
  List<Input$MarketPlaceOrderDtoExtraFeesInput>? extraFees,
  Input$FullAddressInput? deliveryAddress,
  Input$DiscountDtoInput? discount,
  required List<Input$CartProductInput> products,
  Input$TargetACIInput? target,
}) =>
    Input$CalculateTargetShoppingCartInput._({
      r'orderType': orderType,
      if (fees != null) r'fees': fees,
      if (extraFees != null) r'extraFees': extraFees,
      if (deliveryAddress != null) r'deliveryAddress': deliveryAddress,
      if (discount != null) r'discount': discount,
      r'products': products,
      if (target != null) r'target': target,
    });