contract_serializers#
ContractContactSerializer#
Bases: CommonModelSerializer
Model serializer for ContractContact
Source code in src/apps/core/serializers/contract_serializers.py
ContractServiceSerializer#
Bases: CommonModelSerializer
Model serializer for ContractService
Source code in src/apps/core/serializers/contract_serializers.py
ContractOrganizationSerializer#
Bases: CommonModelSerializer
Contract organization serializer. Should be used with source="*".
Source code in src/apps/core/serializers/contract_serializers.py
ContractValiditySerializer#
Bases: CommonModelSerializer
Contract validity serializer. Should be used with source="*".
Source code in src/apps/core/serializers/contract_serializers.py
ContractModelSerializer#
Bases: CommonNestedModelSerializer
Model serializer for Contract
Source code in src/apps/core/serializers/contract_serializers.py
LegacyContractJSONSerializer#
Bases: ContractModelSerializer
Serializer for legacy contract_json.
Used as part of LegacyContractSerializer.
Source code in src/apps/core/serializers/contract_serializers.py
LegacyContractSerializer#
Bases: ContractModelSerializer
Serializer for legacy contract to V3 conversion.
Deserializers legacy contract into V3 contract. Because most legacy data is in contact_json, this is essentially a wrapper for LegacyContractJSONSerializer.