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
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    toModel(io.voucherify.client.model.ValidityTimeframe validityTimeframe)
    Maps a ValidityTimeframe from Voucherify to ValidityTimeframeModel.
  • Field Details

  • Method Details

    • toModel

      ValidityTimeframeModel toModel(io.voucherify.client.model.ValidityTimeframe validityTimeframe)
      Maps a ValidityTimeframe from Voucherify to ValidityTimeframeModel.
      Parameters:
      validityTimeframe - the source ValidityTimeframe
      Returns:
      the mapped ValidityTimeframeModel