Package com.mt.ecommerce.product.service
Class PaymentService
java.lang.Object
com.mt.ecommerce.product.service.PaymentService
Service class for managing payments.
Provides methods for retrieving and creating payments.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePayment
(PaymentBO paymentBO) Creates a new payment.getPayment
(UUID vendorId) Retrieves payments for a specific vendor.
-
Constructor Details
-
PaymentService
-
-
Method Details
-
getPayment
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
Creates a new payment.- Parameters:
paymentBO
- the payment information to create- Returns:
- the created PaymentBO object with updated information
-