Package io.mailtrap.api.companyinfo
Interface CompanyInfo
- All Known Implementing Classes:
CompanyInfoImpl
public interface CompanyInfo
-
Method Summary
Modifier and TypeMethodDescriptioncreateCompanyInfo(long sendingDomainId, CreateCompanyInfoRequest request) Create the company info for a sending domain.getCompanyInfo(long sendingDomainId) Get the company info associated with a sending domainupdateCompanyInfo(long sendingDomainId, UpdateCompanyInfoRequest request) Update the company info for a sending domain
-
Method Details
-
getCompanyInfo
Get the company info associated with a sending domain- Parameters:
sendingDomainId- unique domain ID- Returns:
- company info of the sending domain
-
createCompanyInfo
Create the company info for a sending domain. Company info is required for domain compliance verification.- Parameters:
sendingDomainId- unique domain IDrequest- request data- Returns:
- created company info
-
updateCompanyInfo
Update the company info for a sending domain- Parameters:
sendingDomainId- unique domain IDrequest- request data, only the fields set are sent- Returns:
- updated company info
-