Skip to content

Commit

Permalink
ECWID-123615 Shipping labels: add availability status in the order in…
Browse files Browse the repository at this point in the history
… the Public API v3 - removed nonnull rule check
  • Loading branch information
warlock-ecwid committed Jul 25, 2023
1 parent dd3e898 commit 18c1eb9
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.ecwid.apiclient.v3.rule
import com.ecwid.apiclient.v3.dto.common.ApiUpdatedDTO
import com.ecwid.apiclient.v3.dto.coupon.request.UpdatedCoupon
import com.ecwid.apiclient.v3.dto.customergroup.request.UpdatedCustomerGroup
import com.ecwid.apiclient.v3.dto.order.result.FetchedOrder
import com.ecwid.apiclient.v3.dto.product.request.UpdatedProduct
import com.ecwid.apiclient.v3.dto.profile.request.UpdatedStoreProfile
import com.ecwid.apiclient.v3.dto.storage.request.UpdatedStorageData
Expand Down Expand Up @@ -54,8 +53,6 @@ val nonnullPropertyRules: List<NonnullPropertyRule<*, *>> = listOf(
AllowNonnull(UpdatedStoreProfile.ProductFiltersSettings::filterSections),
AllowNonnull(UpdatedVariation.RecurringChargeSettings::recurringInterval),
AllowNonnull(UpdatedVariation.RecurringChargeSettings::recurringIntervalCount),

AllowNonnull(FetchedOrder::shippingLabelAvailableForPurchase),
)

sealed class NonnullPropertyRule<T, R>(
Expand Down

0 comments on commit 18c1eb9

Please sign in to comment.