Support optional services and executable billing conditions on sell/buy prices, percent-of-value and percent-of-freight formulas, place-order/inbound payable on chargeable weight, outbound receivable freeze, channel remote areas, billing simulate, and insurance-aware claims. Co-authored-by: Cursor <cursoragent@cursor.com>
48 lines
1.2 KiB
C#
48 lines
1.2 KiB
C#
namespace Oms.Application.Services.Orders;
|
||
|
||
/// <summary>
|
||
/// 查价/试算用的地址与件重尺上下文(不落库)。
|
||
/// </summary>
|
||
internal sealed class ParcelQuoteContext
|
||
{
|
||
public string CountryCode { get; init; } = string.Empty;
|
||
|
||
public string? Province { get; init; }
|
||
|
||
public string? City { get; init; }
|
||
|
||
public string? PostalCode { get; init; }
|
||
|
||
public string CargoAttribute { get; init; } = string.Empty;
|
||
|
||
/// <summary>查价入参原始货物类型编码(字典 cargo_attribute)。</summary>
|
||
public string? CargoTypeCode { get; init; }
|
||
|
||
public int? WarehouseId { get; init; }
|
||
|
||
public string? WarehouseName { get; init; }
|
||
|
||
public decimal Length { get; init; }
|
||
|
||
public decimal Width { get; init; }
|
||
|
||
public decimal Height { get; init; }
|
||
|
||
public decimal ActualWeight { get; init; }
|
||
|
||
/// <summary>
|
||
/// 勾选附加服务字典 code。
|
||
/// </summary>
|
||
public List<string>? AdditionalServices { get; init; }
|
||
|
||
/// <summary>
|
||
/// 申报总金额。
|
||
/// </summary>
|
||
public decimal? DeclaredSum { get; init; }
|
||
|
||
/// <summary>
|
||
/// 申报币种。
|
||
/// </summary>
|
||
public string? DeclaredCurrency { get; init; }
|
||
}
|