Uses of Enum Class
xyz.tcheeric.cashu.voucher.domain.BackingStrategy
Packages that use BackingStrategy
-
Uses of BackingStrategy in xyz.tcheeric.cashu.voucher.domain
Methods in xyz.tcheeric.cashu.voucher.domain that return BackingStrategyModifier and TypeMethodDescriptionstatic BackingStrategyReturns the enum constant of this class with the specified name.static BackingStrategy[]BackingStrategy.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in xyz.tcheeric.cashu.voucher.domain with parameters of type BackingStrategyModifier and TypeMethodDescriptionVoucherSecret.Builder.backingStrategy(BackingStrategy backingStrategy) static VoucherSecretVoucherSecret.create(@NonNull String issuerId, @NonNull String unit, long faceValue, Long expiresAt, String memo, @NonNull BackingStrategy backingStrategy, double issuanceRatio, int faceDecimals, Map<String, Object> merchantMetadata) Creates a new voucher with auto-generated UUID.static VoucherSecretVoucherSecret.create(@NonNull String voucherId, @NonNull String issuerId, @NonNull String unit, long faceValue, Long expiresAt, String memo, @NonNull BackingStrategy backingStrategy, double issuanceRatio, int faceDecimals, Map<String, Object> merchantMetadata) Creates a voucher with specified voucher ID.