File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -495,6 +495,33 @@ type CancelOrderReply struct {
495495 ClientBonuses ClientBonusesReply `json:"clientBonuses"`
496496}
497497
498+ // cancel-order-items
499+
500+ type CancelOrderItemsQuery struct {
501+ OrderID string `json:"orderId"`
502+ ExecutedAt * ValidRangeTime `json:"executedAt,omitempty"`
503+ CancelledItems []CancelOrderItemsItem `json:"cancelledItems"`
504+ }
505+
506+ type CancelOrderItemsItem struct {
507+ RowID string `json:"rowId"`
508+ Qty * float64 `json:"qty,omitempty"`
509+ }
510+
511+ type CancelOrderItemsReply struct {
512+ OperationResult CancelOrderItemsOperationResult `json:"operationResult"`
513+ ClientBonuses ClientBonusesReply `json:"clientBonuses"`
514+ }
515+
516+ type CancelOrderItemsOperationResult struct {
517+ RemainingAmount decimal.Decimal `json:"remainingAmount"`
518+ AppliedBonuses int `json:"appliedBonuses"`
519+ CollectedBonuses int `json:"collectedBonuses"`
520+ TotalDiscount decimal.Decimal `json:"totalDiscount"`
521+ Discounts CalculationResultDiscounts `json:"discounts"`
522+ PrepaidAmount decimal.Decimal `json:"prepaidAmount"`
523+ }
524+
498525// send-confirmation-code
499526type SendConfirmationCodeQuery struct {
500527 PhoneNumber string `json:"phoneNumber,omitempty"`
You can’t perform that action at this time.
0 commit comments