wip
This commit is contained in:
39
lib/policy_service/commands/car.ex
Normal file
39
lib/policy_service/commands/car.ex
Normal file
@@ -0,0 +1,39 @@
|
||||
defmodule PolicyService.Commands.Car.SubmitCarPolicyApplication do
|
||||
defstruct [
|
||||
:application_id,
|
||||
:org_id,
|
||||
:submitted_by,
|
||||
:applicant_info,
|
||||
:car_details,
|
||||
:selected_providers
|
||||
]
|
||||
end
|
||||
|
||||
defmodule PolicyService.Commands.Car.RecordCarProviderQuote do
|
||||
defstruct [
|
||||
:application_id,
|
||||
:org_id,
|
||||
:recorded_by,
|
||||
:provider_id,
|
||||
:quote_id,
|
||||
:premium,
|
||||
:coverage_details,
|
||||
:valid_until
|
||||
]
|
||||
end
|
||||
|
||||
defmodule PolicyService.Commands.Car.AcceptCarQuoteAndSolicit do
|
||||
defstruct [:application_id, :org_id, :accepted_by, :quote_id]
|
||||
end
|
||||
|
||||
defmodule PolicyService.Commands.Car.RecordCarPolicyIssued do
|
||||
defstruct [
|
||||
:application_id,
|
||||
:org_id,
|
||||
:recorded_by,
|
||||
:policy_number,
|
||||
:provider_id,
|
||||
:effective_date,
|
||||
:expiry_date
|
||||
]
|
||||
end
|
||||
Reference in New Issue
Block a user