public interface AccountService
Modifier and Type | Method and Description |
---|---|
retrofit2.Call<java.util.List<AccountEmailAddress>> |
createAccountEmailAddress(AccountEmailAddress emailAddress)
Create a new
AccountEmailAddress . |
retrofit2.Call<java.util.List<AccountEmailAddress>> |
getAccountEmailAddresses()
Get a list of
AccountEmailAddress for the account |
retrofit2.Call<AccountSummaryInformation> |
getAccountSummaryInformation()
Get the
AccountSummaryInformation of the account |
retrofit2.Call<AccountSummaryInformation> |
updateAccountSummaryInformation(AccountSummaryInformation summaryInfo)
Update the
AccountSummaryInformation |
@GET(value="v2/account/info") retrofit2.Call<AccountSummaryInformation> getAccountSummaryInformation()
AccountSummaryInformation
of the account@PUT(value="v2/account/info") retrofit2.Call<AccountSummaryInformation> updateAccountSummaryInformation(@Body AccountSummaryInformation summaryInfo)
AccountSummaryInformation
summaryInfo
- AccountSummaryInformation@GET(value="v2/account/verifiedemailaddresses") retrofit2.Call<java.util.List<AccountEmailAddress>> getAccountEmailAddresses()
AccountEmailAddress
for the account@POST(value="v2/account/verifiedemailaddresses") retrofit2.Call<java.util.List<AccountEmailAddress>> createAccountEmailAddress(@Body AccountEmailAddress emailAddress)
AccountEmailAddress
. This will also prompt a verification
email to be sent to the specified address.emailAddress
- AccountEmailAddress