Class InvoiceService
java.lang.Object
sk.iway.iwcm.components.basket.rest.InvoiceService
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidupdateInvoiceStatus(Long invoiceId) static voidupdateInvoiceStatus(Long invoiceId, BasketInvoicesRepository bir, BasketInvoiceItemsRepository biir, BasketInvoicePaymentsRepository bipr) static StringvalidatePayment(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)
-