Class InvoiceService
java.lang.Object
sk.iway.iwcm.components.basket.rest.InvoiceService
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
updateInvoiceStatus
(Long invoiceId) static void
updateInvoiceStatus
(Long invoiceId, BasketInvoicesRepository bir, BasketInvoiceItemsRepository biir, BasketInvoicePaymentsRepository bipr) static String
validatePayment
(BasketInvoicePaymentEntity entity, long requestInvoiceId, BasketInvoicePaymentsRepository bipr, BasketInvoicesRepository bir, BasketInvoiceItemsRepository biir)
-
Method Details
-
updateInvoiceStatus
-
updateInvoiceStatus
public static void updateInvoiceStatus(Long invoiceId, BasketInvoicesRepository bir, BasketInvoiceItemsRepository biir, BasketInvoicePaymentsRepository bipr) -
validatePayment
public static String validatePayment(BasketInvoicePaymentEntity entity, long requestInvoiceId, BasketInvoicePaymentsRepository bipr, BasketInvoicesRepository bir, BasketInvoiceItemsRepository biir)
-