CheckoutEventBody constructor
CheckoutEventBody({
- required String orderId,
- required double amountBeforeDiscount,
- required double amountAfterDiscount,
- required double discountAmount,
- required List<
Product> products, - required PaymentMethod paymentMethod,
- Status? status,
- required double tax,
- required double shippingFee,
- String? paymentBank,
- String? shippingPartner,
- String? shippingAddressCode,
- String? shippingProvince,
- String? shippingDistrict,
- String? shippingWard,
- String? shippingStreet,
- String? shippingAddress,
- String? note,
- String? sdkVersion,
- String? sdkId,
- String? attr1,
- String? attr2,
- String? attr3,
- String? attr4,
- 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,
);