public interface TwitterAdsFundingInstrumentApi
| Modifier and Type | Method and Description |
|---|---|
BaseAdsListResponseIterable<FundingInstrument> |
getAllFundingInstruments(java.lang.String accountId,
boolean withDeleted,
java.util.Optional<java.util.Collection<java.lang.String>> fundingInstrumentIds,
java.util.Optional<FundingInstrumentSortByField> sortByField) |
BaseAdsResponse<FundingInstrument> |
getFundingInstrumentById(java.lang.String accountId,
java.lang.String fundingInstrumentId,
boolean withDeleted) |
BaseAdsListResponseIterable<FundingInstrument> getAllFundingInstruments(java.lang.String accountId, boolean withDeleted, java.util.Optional<java.util.Collection<java.lang.String>> fundingInstrumentIds, java.util.Optional<FundingInstrumentSortByField> sortByField) throws TwitterException
accountId - The identifier for the leveraged account.withDeleted - Include deleted results in your request. Defaults to false.fundingInstrumentIds - (optional) Scope the response to just the desired funding instruments by specifying a Collection of identifiers. Up to 50 ids may be provided.sortByField - (optional) Sorts by supported attribute in ascending or descending order.TwitterExceptionBaseAdsResponse<FundingInstrument> getFundingInstrumentById(java.lang.String accountId, java.lang.String fundingInstrumentId, boolean withDeleted) throws TwitterException
accountId - The identifier for the leveraged account.fundingInstrumentId - The identifier for a funding instrument associated with the current account.withDeleted - Include deleted results in your request. Defaults to false.TwitterException