Interface PaymentAccountRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
- All Superinterfaces:
com.broadleafcommerce.common.extension.DomainTypeAware,com.broadleafcommerce.common.messaging.notification.NotificationStateRepository,org.springframework.data.repository.Repository<D,,String> com.broadleafcommerce.data.tracking.core.TrackableRepository<D>,com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<D>
- All Known Subinterfaces:
JpaPaymentAccountRepository<D>
@NoRepositoryBean
@Deprecated(since="1.7.2",
forRemoval=true)
public interface PaymentAccountRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
extends com.broadleafcommerce.data.tracking.core.TrackableRepository<D>, com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor<D>
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
Modifier and TypeMethodDescriptionfindAllByContextId(List<String> paymentAccountIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.Pass all theJpaPaymentAccountIDs to find all theJpaPaymentAccountentitiesorg.springframework.data.domain.Page<D>findAllByCustomerId(String customerId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.Pass theJpaCustomerID to find all the activeJpaPaymentAccountfindAllByOriginatingPaymentId(List<String> originatingPaymentIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.UsefindAllByOriginatingPaymentIdIn(List, ContextInfo)instead.findAllByOriginatingPaymentIdIn(List<String> originatingPaymentIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.Find all theJpaPaymentAccountsbyJpaPaymentAccount.getOriginatingPaymentId()findByContextIdAndCustomerId(String contextId, String customerId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.Pass thePaymentAccountID to find theJpaPaymentAccountentityMethods inherited from interface com.broadleafcommerce.common.messaging.notification.NotificationStateRepository
findNotificationReadyMembers, setFailedNotificationAttempt, setNotificationAcknowledgedMethods inherited from interface com.broadleafcommerce.data.tracking.core.TrackableRepository
archive, existsByContextId, findAll, findAll, findAll, findAll, findAll, findAll, findAllByContextId, findByContextId, findByContextIdAndCatalog, findByNativeId, findDeployable, findMaxSortMember, findMinSortMember, findOriginal, findPromotable, findPromoteOrientedItems, findRebasable, findRejectable, findRevertable, findTarget, getDomainType, getEntityInformation, getTrackableBehaviorUtil, getTypesToRegisterInMappingContext, pruneChangeDetails, pruneRestingNotificationStates, purgeObsoleteSandboxData, save, saveAll, setTrackableBehaviorUtilMethods inherited from interface com.broadleafcommerce.data.tracking.core.TrackableRsqlFilterExecutor
exists, findAll, findAll, findAll, findAll
-
Method Details
-
findAllByContextId
List<D> findAllByContextId(List<String> paymentAccountIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.Pass all theJpaPaymentAccountIDs to find all theJpaPaymentAccountentities- Parameters:
paymentAccountIds- the paymentAccount IDscontextInfo- context information regarding sandboxing and multitenant state- Returns:
-
findAllByCustomerId
org.springframework.data.domain.Page<D> findAllByCustomerId(String customerId, @Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.Pass theJpaCustomerID to find all the activeJpaPaymentAccount- Parameters:
customerId- the ID of the owning customerfilters- additional filters to apply in the query. Should beEmptyNodeif no additional filters should be applied.page- the requested page of results from the data sourcecontextInfo- context information regarding sandboxing and multitenant state- Returns:
-
findByContextIdAndCustomerId
Optional<D> findByContextIdAndCustomerId(String contextId, String customerId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.Pass thePaymentAccountID to find theJpaPaymentAccountentity- Parameters:
contextId- the ID of the paymentAccountcustomerId- the ID of the owning customercontextInfo- context information regarding sandboxing and multitenant state- Returns:
-
findAllByOriginatingPaymentId
@Deprecated(forRemoval=true) default List<D> findAllByOriginatingPaymentId(List<String> originatingPaymentIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.UsefindAllByOriginatingPaymentIdIn(List, ContextInfo)instead.Find all theJpaPaymentAccountsbyJpaPaymentAccount.getOriginatingPaymentId()- Parameters:
originatingPaymentIds- the payment IDs to queryJpaPaymentAccount.getOriginatingPaymentId()againstcontextInfo- context information regarding sandboxing and multitenant state- Returns:
- all the
JpaPaymentAccountsmatching the givenJpaPaymentAccount.getOriginatingPaymentId()
-
findAllByOriginatingPaymentIdIn
List<D> findAllByOriginatingPaymentIdIn(List<String> originatingPaymentIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.Find all theJpaPaymentAccountsbyJpaPaymentAccount.getOriginatingPaymentId()- Parameters:
originatingPaymentIds- the payment IDs to queryJpaPaymentAccount.getOriginatingPaymentId()againstcontextInfo- context information regarding sandboxing and multitenant state- Returns:
- all the
JpaPaymentAccountsmatching the givenJpaPaymentAccount.getOriginatingPaymentId()
-
SavedPaymentMethodin PaymentTransactionServices to manage saved payment methods.