| Line 1880... |
Line 1880... |
| 1880 |
private void createPaymentOptions(FofoOrder fofoOrder, Set<CustomPaymentOption> customPaymentOptions) throws
|
1880 |
private void createPaymentOptions(FofoOrder fofoOrder, Set<CustomPaymentOption> customPaymentOptions) throws
|
| 1881 |
ProfitMandiBusinessException {
|
1881 |
ProfitMandiBusinessException {
|
| 1882 |
for (CustomPaymentOption customPaymentOption : customPaymentOptions) {
|
1882 |
for (CustomPaymentOption customPaymentOption : customPaymentOptions) {
|
| 1883 |
if (customPaymentOption.getAmount() > 0) {
|
1883 |
if (customPaymentOption.getAmount() > 0) {
|
| 1884 |
PaymentOptionTransaction paymentOptionTransaction = new PaymentOptionTransaction();
|
1884 |
PaymentOptionTransaction paymentOptionTransaction = new PaymentOptionTransaction();
|
| 1885 |
LOGGER.error("error", fofoOrder.getId());
|
- |
|
| 1886 |
paymentOptionTransaction.setReferenceId(fofoOrder.getId());
|
1885 |
paymentOptionTransaction.setReferenceId(fofoOrder.getId());
|
| 1887 |
paymentOptionTransaction.setPaymentOptionId(customPaymentOption.getPaymentOptionId());
|
1886 |
paymentOptionTransaction.setPaymentOptionId(customPaymentOption.getPaymentOptionId());
|
| 1888 |
paymentOptionTransaction.setReferenceType(PaymentOptionReferenceType.ORDER);
|
1887 |
paymentOptionTransaction.setReferenceType(PaymentOptionReferenceType.ORDER);
|
| 1889 |
paymentOptionTransaction.setAmount(customPaymentOption.getAmount());
|
1888 |
paymentOptionTransaction.setAmount(customPaymentOption.getAmount());
|
| 1890 |
paymentOptionTransaction.setFofoId(fofoOrder.getFofoId());
|
1889 |
paymentOptionTransaction.setFofoId(fofoOrder.getFofoId());
|