Class Voucher

java.lang.Object
com.skava.core.validation.OutputModel
com.skava.loyalty.model.exchange.Voucher
All Implemented Interfaces:
Serializable

public class Voucher extends com.skava.core.validation.OutputModel

This class holds voucher type and count value

Since:
8.15.0
Version:
8.15.0
Author:
Infosys Equinox
See Also:
  • Constructor Details

    • Voucher

      public Voucher()
  • Method Details

    • toVoucherDomainObject

      public List<Voucher> toVoucherDomainObject(List<Voucher> voucherEntities)
      This method is used to convert the entity object to domain object
      Parameters:
      voucherEntity - refers to the List of voucher Entity.
      Returns:
    • toVoucherDomainObject

      public Voucher toVoucherDomainObject(Voucher voucherEntity)
      This method is used to convert the entity object to domain object
      Parameters:
      voucherEntity - refers to the voucher Entity
      Returns:
    • toVoucherEntity

      public Voucher toVoucherEntity(Voucher voucher)
      This method is used to convert the domain object to entity object
      Parameters:
      voucher - refers to the voucher domain object
      Returns:
    • toVoucherEntity

      public List<Voucher> toVoucherEntity(List<Voucher> voucher)
      This method is used to convert the domain object to entity object
      Parameters:
      voucher - refers to the List of voucher domain object
      Returns: