Interface ValidityTimeframeMapper
public interface ValidityTimeframeMapper
Mapper interface for converting between Voucherify ValidityTimeframe model
and the internal ValidityTimeframeModel.
This interface uses MapStruct for automatic implementation generation.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiontoModel(io.voucherify.client.model.ValidityTimeframe validityTimeframe) Maps a ValidityTimeframe from Voucherify to ValidityTimeframeModel.
-
Field Details
-
INSTANCE
-
-
Method Details
-
toModel
Maps a ValidityTimeframe from Voucherify to ValidityTimeframeModel.- Parameters:
validityTimeframe- the source ValidityTimeframe- Returns:
- the mapped ValidityTimeframeModel
-