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