BookOnixPrice
OfficeIMO.Workflows
A positive monetary price for a specified market. Decimal values are serialized without rounding.
Inheritance
- object
- BookOnixPrice
Usage
Explore 7 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method BookOnixPrice.<Clone>$
- Property BookOnixSupply.Prices
Accepted by parameters 5
- Method BookOnixPrice.Equals
- Method BookOnixPrice.op_Equality
- Method BookOnixPrice.op_Equality
- Method BookOnixPrice.op_Inequality
- Method BookOnixPrice.op_Inequality
Constructors
public BookOnixPrice() #Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)Methods
public BookOnixPrice <Clone>$() #Returns
BookOnixPricepublic override int GetHashCode() #Returns
intpublic static bool op_Equality(BookOnixPrice? left, BookOnixPrice? right) #Parameters
- left BookOnixPrice?
- right BookOnixPrice?
Returns
boolpublic static bool op_Inequality(BookOnixPrice? left, BookOnixPrice? right) #Parameters
- left BookOnixPrice?
- right BookOnixPrice?
Returns
boolpublic override string ToString() #Returns
stringInherited Methods
Properties
public BookOnixPriceKind Kind { get; init; } #Explicit price basis.
public decimal Amount { get; init; } #Positive amount. Use Unpriced = Free instead of a zero price.
public string CurrencyCode { get; init; } #Uppercase three-letter ONIX list 96 currency code.
public IReadOnlyList<BookOnixDiscount> Discounts { get; init; } #At most 16 explicit business-to-business discounts, retained in supplied order without tier selection or stacking.
public IReadOnlyList<BookOnixDiscountCode> DiscountCodes { get; init; } #At most 16 explicit trading-partner discount/commission codes; no code-to-rate lookup is performed.
public IReadOnlyList<BookOnixTax> Taxes { get; init; } #At most 16 explicit tax components, only for tax-inclusive price kinds. Mutually exclusive with TaxExempt.
public bool TaxExempt { get; init; } #Explicit tax exemption. An empty Taxes list does not imply exemption or zero rating.
public BookOnixTerritory? Territory { get; init; } #Optional narrower price territory; when omitted, uses the supply's explicit market.
public DateTime? ValidFrom { get; init; } #Date on which the price becomes effective (price-date role 14). Time of day is ignored during export.
public DateTime? ValidUntil { get; init; } #Date on which the price ceases to be effective (price-date role 15). Time of day is ignored during export.