You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
770 B
Dart
22 lines
770 B
Dart
4 years ago
|
import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart';
|
||
|
import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart';
|
||
|
import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart';
|
||
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
import 'ShippingOption.dart';
|
||
|
|
||
|
class PaymentCheckoutData with ChangeNotifier{
|
||
|
Addresses address;
|
||
|
PaymentOption paymentOption;
|
||
|
LacumAccountInformation lacumInformation;
|
||
|
bool cartDataVisible;
|
||
|
ShippingOption shippingOption;
|
||
|
int usedLakumPoints;
|
||
|
|
||
|
PaymentCheckoutData({this.address, this.paymentOption, this.lacumInformation, this.cartDataVisible = false, this.shippingOption, this.usedLakumPoints = 0});
|
||
|
|
||
|
void updateData() {
|
||
|
notifyListeners();
|
||
|
}
|
||
|
}
|