Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

BookOnixPrice

Namespace OfficeIMO.Workflows
Assembly OfficeIMO.Workflows
Implements
IEquatable<BookOnixPrice>
Modifiers sealed

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

Accepted by parameters

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: BookOnixPrice
Equals 2 overloads
public override Boolean Equals(Object obj) #
Returns: Boolean

Parameters

obj Object requiredposition: 0
public Boolean Equals(BookOnixPrice other) #
Returns: Boolean

Parameters

other BookOnixPrice requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public static Boolean op_Equality(BookOnixPrice left, BookOnixPrice right) #
Returns: Boolean

Parameters

left BookOnixPrice requiredposition: 0
right BookOnixPrice requiredposition: 1
public static Boolean op_Inequality(BookOnixPrice left, BookOnixPrice right) #
Returns: Boolean

Parameters

left BookOnixPrice requiredposition: 0
right BookOnixPrice requiredposition: 1
public override String ToString() #
Returns: String

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).