Uses of Class
xyz.tcheeric.cashu.voucher.app.dto.StoredVoucher
Packages that use StoredVoucher
-
Uses of StoredVoucher in xyz.tcheeric.cashu.voucher.app
Methods in xyz.tcheeric.cashu.voucher.app that return types with arguments of type StoredVoucherModifier and TypeMethodDescriptionRestores vouchers from backup without merging.VoucherBackupService.restoreAndMerge(@NonNull List<StoredVoucher> localVouchers, @NonNull String userPrivateKey) Restores vouchers from backup and merges with local vouchers.Method parameters in xyz.tcheeric.cashu.voucher.app with type arguments of type StoredVoucherModifier and TypeMethodDescriptionvoidVoucherBackupService.backupAll(@NonNull List<StoredVoucher> vouchers, @NonNull String userPrivateKey) Backs up all vouchers regardless of their backup status.intVoucherBackupService.backupIfNeeded(@NonNull List<StoredVoucher> vouchers, @NonNull String userPrivateKey) Backs up vouchers that need backing up (incremental backup).VoucherBackupService.restoreAndMerge(@NonNull List<StoredVoucher> localVouchers, @NonNull String userPrivateKey) Restores vouchers from backup and merges with local vouchers. -
Uses of StoredVoucher in xyz.tcheeric.cashu.voucher.app.dto
Methods in xyz.tcheeric.cashu.voucher.app.dto that return StoredVoucherModifier and TypeMethodDescriptionstatic StoredVoucherStoredVoucher.from(SignedVoucher voucher) Creates a StoredVoucher from a SignedVoucher with current timestamp.static StoredVoucherStoredVoucher.from(SignedVoucher voucher, String label) Creates a StoredVoucher with a user label.