API-Register STR in my business name
📖 User Story As a business host, I want to indicate I am a business and provide relevant business information on Contact Details page So that examiners will have all the information required to review my applications.
Context:
The current host form allows only an individual person to register. However, a business can also register as a host. There are 2 types of host: a person and a business.
Note: NOT FOR MVP Role in business (required and picklist) select one only. Picklist values: Owner, Partner, Employee/Officer/Agent) - new field
Scope: this ticket also includes adding "Business Legal Name" as an optional field to Individual Host
🎨 UX/UI Link: Host: Host Information | Review & Confirm | Detail Page Examiner: Detail Page
📏 Business Rules:
- Host will be asked "Are you operating your short-term rental unit as an individual or a business" and view 2 options "Individual, including sole-proprietorships and partnerships" and "Business, including corporations and cooperatives"
- The answer is default to individual
- If a host is a business, we need to collect the following information
- Business legal name (required and text field) - new field
- Business number (optional) - rename CRA/GST # field (do not use Canada Revenue Agency Business Number)
- First name (required), middle name (optional) and Last name (required) note: no need to pre-populate these fields
- Preferred name (optional) - Phone number (required) - Extension (optional) - Fax number (optional) - Email address (required) - Under email address, use will see a note that "Note: Email will be the default method of communication. Information sent via email will be considered “received” on the third day after the email is sent. - Mailing address (required) -If a host is an individual, display "Business legal name" and it's an optional field - Hosts can add an additional contact by clicking "Add Another Contact" button
- It's optional to add a backup contact
- [ ] Once a backup contact is added, host will be able to delete it if they change their mind
- [ ] When adding a backup contact, host will provide the following info: - First name (required) - Middle name (optional) - Last name (required) - Preferred name (optional) - Phone number (required) - Extension (optional) - Fax number (optional) - Email address (required) - "Note: Email will be the default method of communication. Information sent via email will be considered “received” on the third day after the email is sent - Mailing address (required)
- [ ] Error handling: if users skip required fields or navigate to another page without entering a value to a required field, show error message underneath the field and show a red error on the Stepper.
- [ ] Hosts can see whether they are an individual or a business and additional business info on Review page
- [ ] Host can see whether hey are an individual or a business and additional business info on application/registration details page
- [ ] Examiner can see whether hosts hey are an individual or a business and additional business info on application/registration details page
- [ ] Applications submitted under a business name must go to full examination.
- [ ] Ensure the information is also shown on application details view, registration details view, host review and confirm page
🎭 Story Scenarios Scenario 1: Select Type Given the Host logs in with SBC account When the Host is on Step 1 Contact Information page Then the host can choose whether they are an individual or a business
Scenario 2: Select Business Type Given the Host is on Step 1 Contact Information page When the host selects they are registering as business Then the host can provide business name, AND Then the host can see all the business information entered on the Review page and application details page AND Then the examiners can see the host's business information entered on the application details page
Scenario 3: Add Back-Up Contact
Given the Host is on Step 1 Contact Information page
When the host selects to add back-up contact
Then the host can provide additional' contact's role in the business and their contact information
AND Then the host can see all the business and contact information of the additional contact entered on the Review page and application details page
AND Then the examiners can see all the business and contact information of the additional contact entered on the application details page
Scenario 4: Delete Back-Up Contact Added Given the Host has added a back-up contact When the host changes their mind and want to delete it Then the host can delete the back-up contact added by clicking "Remove" AND the information about the back-up contact will be removed in the application form
is this a duplicate of the api related to "Register STR in my business name"
Reviewed PR and will test in combination with UI once there.
@mbertucci I am closing this ticket as it's an API ticket and Roland has reviewed it already