CheckoutEventBody constructor

CheckoutEventBody({
  1. required String orderId,
  2. required double amountBeforeDiscount,
  3. required double amountAfterDiscount,
  4. required double discountAmount,
  5. required List<Product> products,
  6. required PaymentMethod paymentMethod,
  7. Status? status,
  8. required double tax,
  9. required double shippingFee,
  10. String? paymentBank,
  11. String? shippingPartner,
  12. String? shippingAddressCode,
  13. String? shippingProvince,
  14. String? shippingDistrict,
  15. String? shippingWard,
  16. String? shippingStreet,
  17. String? shippingAddress,
  18. String? note,
  19. String? sdkVersion,
  20. String? sdkId,
  21. String? attr1,
  22. String? attr2,
  23. String? attr3,
  24. String? attr4,
  25. String? attr5,
})

Implementation

CheckoutEventBody({
  required this.orderId,
  required this.amountBeforeDiscount,
  required this.amountAfterDiscount,
  required this.discountAmount,
  required this.products,
  required this.paymentMethod,
  this.status,
  required this.tax,
  required this.shippingFee,
  this.paymentBank,
  this.shippingPartner,
  this.shippingAddressCode,
  this.shippingProvince,
  this.shippingDistrict,
  this.shippingWard,
  this.shippingStreet,
  this.shippingAddress,
  this.note,
  String? sdkVersion,
  String? sdkId,
  String? attr1,
  String? attr2,
  String? attr3,
  String? attr4,
  String? attr5,
}) : super(
        sdkVersion: sdkVersion,
        sdkId: sdkId,
        attr1: attr1,
        attr2: attr2,
        attr3: attr3,
        attr4: attr4,
        attr5: attr5,
      );