You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var payload = new InlinePayloadConfiguration { Resources = new IBaseDocument[]
{
ProductDocumentMapper.MapProductDocument(pcd),
ProductCoreDisplayMapper.MapProductCoreDisplaySubDocument(pcd),
ResourceSetIds.MapResourceSetIdsSubDocument(pcd),
ProductMetadataMapper.MapProductMetadataSubDocument(pcd),
ProductSearch.MapProductSearchSubDocument(pcd),
new LocalizationSubDocument
{
Schema = Schema.GetUriForModel(nameof(LocalizationSubDocument)),
DocumentId = Guid.NewGuid(),
ProductDocumentId = pcd.ProductId,
// There is supposed to be one of these per market, with all the languages for that market
Cultures = pcd.Core.Product.LocalizedProperties.Select(loc => loc.Language).ToArray()
},
TaxTypeMapper.MapTaxTypeSubDocument(pcd)
}.Concat(ClientDisplaySkuLocalizedProperties.MapClientDisplaySkuLocalizedProperties(pcd)).Concat(AvailabilityMapper.MapAvailabilities(pcd)).Concat(TaxCode.MapTaxCodeSubDocuments(pcd)).Concat(SkuDeliveryDataOverlayMapper.MapSkuDeliveryDataOverlaySubDocument(pcd)).Concat(PaymentInstrumentMapper.MapPaymentInstrumentSubDocuments(pcd)).ToArray() };
The text was updated successfully, but these errors were encountered:
Here's a repro case:
The text was updated successfully, but these errors were encountered: