Skip to content

Commit

Permalink
Changed two internal properties to public
Browse files Browse the repository at this point in the history
  • Loading branch information
mgesing committed Jan 19, 2023
1 parent e9ecd0d commit fce2882
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -11,7 +11,7 @@ public partial class CalculatedPriceAdjustment
/// <summary>
/// The raw calculated price adjustment in primary currency without tax.
/// </summary>
internal decimal RawPriceAdjustment { get; init; }
public decimal RawPriceAdjustment { get; init; }

/// <summary>
/// Gets or sets the calculated attribute price converted to <see cref="PriceCalculationOptions.TargetCurrency"/> and included tax.
Expand Down
Expand Up @@ -92,7 +92,7 @@ public Currency TargetCurrency
/// Generally this is the working currency (default), Order.CustomerCurrencyCode (for existing orders)
/// or DataExporterContext.ContextCurrency (for exports).
/// </summary>
internal Currency RoundingCurrency { get; init; }
public Currency RoundingCurrency { get; init; }

/// <summary>
/// Gets or sets product batch context for nested pipelines (grouped or bundled products).
Expand Down
Expand Up @@ -515,7 +515,7 @@ private async Task<IEnumerable<ProductMediaFile>> ApplyMediaFiles(dynamic dynObj
if (ctx.Supports(ExportFeatures.OffersShippingTimeFallback))
{
dynamic deliveryTime = dynObject.DeliveryTime;
dynObject._ShippingTime = deliveryTime == null ? ctx.Projection.ShippingTime : deliveryTime.Name;
dynObject._ShippingTime = deliveryTime != null ? (string)deliveryTime.Name : ctx.Projection.ShippingTime;
}

if (ctx.Supports(ExportFeatures.OffersShippingCostsFallback))
Expand Down

0 comments on commit fce2882

Please sign in to comment.