Interface MorpheusAccountPriceService

All Superinterfaces:
MorpheusDataQueryService<AccountPrice>, MorpheusDataService<AccountPrice,AccountPriceIdentityProjection>, MorpheusIdentityService<AccountPriceIdentityProjection>

Context methods for syncing AccountPrices in Morpheus
Since:
0.14.3
  • Method Details

    • listSyncProjections

      io.reactivex.rxjava3.core.Observable<AccountPriceIdentityProjection> listSyncProjections(Account account)
      Get a list of AccountPrice projections based on Account Account must, at least, have an id
      Parameters:
      account - Account
      Returns:
      Observable stream of sync projection
    • listSyncProjectionsByCode

      io.reactivex.rxjava3.core.Observable<AccountPriceIdentityProjection> listSyncProjectionsByCode(List<String> codeList)
      Get a list of AccountPrice projections based on code
      Parameters:
      codeList - a list of AccountPrice codes
      Returns:
      Observable stream of sync projection
    • listIdentityProjections

      io.reactivex.rxjava3.core.Observable<AccountPriceIdentityProjection> listIdentityProjections(AccountPriceSet accountPriceSet)
      Get a list of AccountPrice projections associated with AccountPriceSet
      Parameters:
      accountPriceSet - AccountPriceSet
      Returns:
      Observable stream of id projection
    • listById

      @Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<AccountPrice> listById(Collection<Long> ids)
      Deprecated.
      Get a list of AccountPrice objects from a list of projection ids
      Parameters:
      ids - AccountPrice ids
      Returns:
      Observable stream of AccountPrices
    • listByCode

      @Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<AccountPrice> listByCode(Collection<String> codes)
      Deprecated.
      Get a list of AccountPrice objects from a list of projection codes
      Parameters:
      codes - AccountPrice codes
      Returns:
      Observable stream of AccountPrices