API Reference
BookOnixPrice
A positive monetary price for a specified market. Decimal values are serialized without rounding.
Inheritance
- Object
- BookOnixPrice
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method BookOnixPrice.<Clone>$
- Property BookOnixSupply.Prices
Accepted by parameters
- 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>$() #BookOnixPricepublic override Int32 GetHashCode() #Int32public static Boolean op_Equality(BookOnixPrice left, BookOnixPrice right) #BooleanParameters
- left BookOnixPrice
- right BookOnixPrice
public static Boolean op_Inequality(BookOnixPrice left, BookOnixPrice right) #BooleanParameters
- left BookOnixPrice
- right BookOnixPrice
public override String ToString() #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 Boolean 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 Nullable<DateOnly> ValidFrom { get; init; } #Date on which the price becomes effective (price-date role 14).
public Nullable<DateOnly> ValidUntil { get; init; } #Date on which the price ceases to be effective (price-date role 15).