Skip to content

Commit

Permalink
Product package in slip items.
Browse files Browse the repository at this point in the history
  • Loading branch information
o.nadymov committed Apr 2, 2024
1 parent 1a19c59 commit fcec7a5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/Spoleto.VirtualKassa.MultiBank/Models/SlipItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,28 @@ public class SlipItem
[JsonPropertyName("other")]
public decimal Other { get; set; }

/// <summary>
/// Код единицы измерения (упаковки).
/// </summary>
/// <remarks>
/// Примеры:<br/>
/// "1425694"<br/>
/// "1340942"
/// </remarks>
[JsonPropertyName("product_package")]
public string ProductPackage { get; set; }

/// <summary>
/// Наименование единицы измерения (упаковки) латиницей.
/// </summary>
/// <remarks>
/// Примеры:<br/>
/// "kilogramm"<br/>
/// "dona (banka) 2000 millilitr"
/// </remarks>
[JsonPropertyName("product_package_name")]
public string ProductPackageName { get; set; }

public override string ToString() => $"{nameof(ProductName)} = {ProductName}, {nameof(TotalProductPrice)} = {TotalProductPrice}";
}
}

0 comments on commit fcec7a5

Please sign in to comment.