Skip to content

ECOM-7571 Add missing fields to item taxes and item itself about handling breakdown and its taxation#551

Open
OlegShtchLS wants to merge 2 commits intomasterfrom
ECOM-7571
Open

ECOM-7571 Add missing fields to item taxes and item itself about handling breakdown and its taxation#551
OlegShtchLS wants to merge 2 commits intomasterfrom
ECOM-7571

Conversation

@OlegShtchLS
Copy link
Contributor

@OlegShtchLS OlegShtchLS commented Mar 18, 2026

Additional fields for ECOM-7571.
Errors in checks aren't related to changes.

@OlegShtchLS OlegShtchLS requested a review from Alexis2004 March 18, 2026 13:35
val taxType: OrderItemTaxType? = null,
val includeInPrice: Boolean? = null,
val taxOnDiscountedSubtotal: Double? = null,
val taxOnShipping: Double? = null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А это поле точно приходит nullable с бекенда? Скорее всего там просто 0.0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Да, если я правильно вижу, что оно apigate десериализуется в ru.cdev.xnext.client.order.OrderItemTax, то оно может быть выставлено в null

https://github.com/Ecwid/ecwid/blob/f76354eef6241035827240ed5025c87603124b1c/ru.cdev.xnext/main/generated/protoconv/ru/cdev/xnext/protoconv/cache/order/OrderPkgGenerated.kt#L465

И я смотрю, что это поле есть с именем taxOnHandlingFee. Сейчас поправлю...

@OlegShtchLS OlegShtchLS marked this pull request as draft March 19, 2026 13:50
`taxOnHandlingFee` relates to `ru.cdev.xnext.client.order.OrderItemTax`'s fields same as `taxOnShipping`.
`handlingFee` contains breakdown of only handling fee for the item same as `shipping` contains breakdown of only shipping cost
@OlegShtchLS OlegShtchLS marked this pull request as ready for review March 20, 2026 06:29
@OlegShtchLS OlegShtchLS requested a review from Alexis2004 March 20, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants