Class PaymentService

java.lang.Object
com.mt.ecommerce.product.service.PaymentService

@Service public class PaymentService extends Object
Service class for managing payments. Provides methods for retrieving and creating payments.
  • Constructor Details

  • Method Details

    • getPayment

      public List<PaymentBO> getPayment(UUID vendorId)
      Retrieves payments for a specific vendor.
      Parameters:
      vendorId - the ID of the vendor whose payments are to be retrieved
      Returns:
      a list of PaymentBO objects representing the vendor's payments
    • createPayment

      public PaymentBO createPayment(PaymentBO paymentBO)
      Creates a new payment.
      Parameters:
      paymentBO - the payment information to create
      Returns:
      the created PaymentBO object with updated information