40 lines
777 B
Elixir
40 lines
777 B
Elixir
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
|