Class DefaultPaymentAccountSummaryService

java.lang.Object
com.broadleafcommerce.customer.service.summary.DefaultPaymentAccountSummaryService
All Implemented Interfaces:
PaymentAccountSummaryService

@Deprecated(since="1.7.2", forRemoval=true) public class DefaultPaymentAccountSummaryService extends Object implements PaymentAccountSummaryService
Deprecated, for removal: This API element is subject to removal in a future version.
since 1.7.2, in favor of using SavedPaymentMethodSummary in PaymentTransactionServices to manage saved payment methods.
Default implementation of the PaymentAccountSummaryService.
Author:
Dima Myroniuk (dmyroniuk)
  • Constructor Details

    • DefaultPaymentAccountSummaryService

      public DefaultPaymentAccountSummaryService(com.broadleafcommerce.common.extension.TypeFactory typeFactory)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • buildSummary

      public PaymentAccountSummary buildSummary(@NonNull @NonNull PaymentAccount paymentAccount)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: PaymentAccountSummaryService
      Determines PaymentAccountSummary based on the PaymentAccount.
      Specified by:
      buildSummary in interface PaymentAccountSummaryService
      Parameters:
      paymentAccount - the payment account used to build the summary
      Returns:
      the payment account summary for the specified payment account
    • getTypeFactory

      protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()
      Deprecated, for removal: This API element is subject to removal in a future version.