Interface PaymentProvider<P extends Payment>

All Known Implementing Classes:
ExternalPaymentProvider

@Deprecated(since="1.7.2", forRemoval=true) public interface PaymentProvider<P extends Payment>
Deprecated, for removal: This API element is subject to removal in a future version.
since 1.7.2, in favor of using PaymentTransactionServices as saved payment method storage location.
Provider for interfacing with a Payment Management system for operations around payment related entities. Typically utilizes WebClient to make requests to an external REST API.
Author:
Dima Myroniuk (dmyroniuk), Sunny Yu
  • Method Summary

    Modifier and Type
    Method
    Description
    readAllByCartId(@NonNull String cartId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Retrieves a list of Payments that belong to the given cart id.
  • Method Details

    • readAllByCartId

      List<P> readAllByCartId(@NonNull @NonNull String cartId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Retrieves a list of Payments that belong to the given cart id.
      Parameters:
      cartId - the cart id of the Payments to retrieve
      contextInfo - context information around sandbox and multitenant state.
      Returns:
      a list of Payments that belong to the given cart id.