EnakPoint & EnakCoin wallet, PIN, outlet, order, community, reward
- Wallet EnakPoint & EnakCoin: beranda, riwayat, saldo kedaluwarsa, kode bayar, tukar EnakCoin, transfer - PIN (buat, ganti, lupa), outlet, riwayat order, game spin - Halaman community, webview, coming soon, dan ikon menu beranda baru - Redesign Reward Saya: kartu tiket, filter chip, detail kode + QR - Hapus customer point loader, menu, dan checkout lama - Base URL ke enaklo-pos-api.altru.id Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
5954510b93
commit
f5e3075205
@@ -0,0 +1,24 @@
|
||||
part of '../wallet.dart';
|
||||
|
||||
@freezed
|
||||
abstract class PinStatus with _$PinStatus {
|
||||
const PinStatus._();
|
||||
|
||||
const factory PinStatus({
|
||||
required bool hasPin,
|
||||
DateTime? lockedUntil,
|
||||
DateTime? transferBlockedUntil,
|
||||
}) = _PinStatus;
|
||||
|
||||
bool get isLocked =>
|
||||
lockedUntil != null && lockedUntil!.isAfter(DateTime.now());
|
||||
}
|
||||
|
||||
@freezed
|
||||
abstract class PinOtp with _$PinOtp {
|
||||
const factory PinOtp({
|
||||
required PinOtpPurpose purpose,
|
||||
required String otpToken,
|
||||
DateTime? expiresAt,
|
||||
}) = _PinOtp;
|
||||
}
|
||||
Reference in New Issue
Block a user