forSponsor method

AccountsRequestBuilder forSponsor(
  1. String sponsorAccountId
)

Returns all accounts that contain a specific sponsor given by the sponsorAccountId See: Accounts

Implementation

AccountsRequestBuilder forSponsor(String sponsorAccountId) {
  queryParameters.addAll({SPONSOR_PARAMETER_NAME: sponsorAccountId});
  return this;
}