Interface MorpheusPolicyTypeService

All Superinterfaces:
MorpheusDataService<PolicyType,PolicyType>

public interface MorpheusPolicyTypeService extends MorpheusDataService<PolicyType,PolicyType>
This Context deals with interactions related to PolicyType objects. It can normally be accessed via the primary MorpheusContext via the MorpheusPolicyService

Examples:


 morpheusContext.getPolicy().getType()
 
Since:
0.12.2
See Also:
  • Method Details

    • findByCode

      @Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<PolicyType> findByCode(String code)
      Deprecated.
      Find a Policy Type by code
      Parameters:
      code - Name of the type
      Returns:
      An instance of PolicyType