# BookOnixPrice

A positive monetary price for a specified market. Decimal values are serialized without rounding.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[BookOnixCommercialMetadata.cs:126](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L126)

**Implements**

`IEquatable<BookOnixPrice>`

**Modifiers**

sealed

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>$](/api/workflows/officeimo-workflows-bookonixprice/#method-clone)
- Property [BookOnixSupply.Prices](/api/workflows/officeimo-workflows-bookonixsupply/#property-prices)

### Accepted by parameters 5

- Method [BookOnixPrice.Equals](/api/workflows/officeimo-workflows-bookonixprice/#method-equals-bookonixprice) parameter `other`
- Method [BookOnixPrice.op_Equality](/api/workflows/officeimo-workflows-bookonixprice/#method-op-equality-bookonixprice-bookonixprice) parameter `left`
- Method [BookOnixPrice.op_Equality](/api/workflows/officeimo-workflows-bookonixprice/#method-op-equality-bookonixprice-bookonixprice) parameter `right`
- Method [BookOnixPrice.op_Inequality](/api/workflows/officeimo-workflows-bookonixprice/#method-op-inequality-bookonixprice-bookonixprice) parameter `left`
- Method [BookOnixPrice.op_Inequality](/api/workflows/officeimo-workflows-bookonixprice/#method-op-inequality-bookonixprice-bookonixprice) parameter `right`

Filter members 

Show inherited

## Constructors

`public BookOnixPrice()` [#](#constructor-ctor)

[BookOnixCommercialMetadata.cs:126](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L126)

`Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)`

## Methods

`public BookOnixPrice <Clone>$()` [#](#method-clone)

Returns

`BookOnixPrice`

Equals 2 overloads

`public override bool Equals(object? obj)` [#](#method-equals-object)

Parameters

**obj object? required**

Returns

`bool`

`public bool Equals(BookOnixPrice? other)` [#](#method-equals-bookonixprice)

Parameters

**other BookOnixPrice? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Returns

`int`

`public static bool op_Equality(BookOnixPrice? left, BookOnixPrice? right)` [#](#method-op-equality-bookonixprice-bookonixprice)

Parameters

**left BookOnixPrice? required**

**right BookOnixPrice? required**

Returns

`bool`

`public static bool op_Inequality(BookOnixPrice? left, BookOnixPrice? right)` [#](#method-op-inequality-bookonixprice-bookonixprice)

Parameters

**left BookOnixPrice? required**

**right BookOnixPrice? required**

Returns

`bool`

`public override string ToString()` [#](#method-tostring)

Returns

`string`

## Inherited Methods

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

## Properties

`public BookOnixPriceKind Kind { get; init; }` [#](#property-kind)

[BookOnixCommercialMetadata.cs:120](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L120)

Explicit price basis.

`public decimal Amount { get; init; }` [#](#property-amount)

[BookOnixCommercialMetadata.cs:122](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L122)

Positive amount. Use Unpriced = Free instead of a zero price.

`public string CurrencyCode { get; init; }` [#](#property-currencycode)

[BookOnixCommercialMetadata.cs:124](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L124)

Uppercase three-letter ONIX list 96 currency code.

`public IReadOnlyList<BookOnixDiscount> Discounts { get; init; }` [#](#property-discounts)

[BookOnixCommercialMetadata.cs:126](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L126)

At most 16 explicit business-to-business discounts, retained in supplied order without tier selection or stacking.

`public IReadOnlyList<BookOnixDiscountCode> DiscountCodes { get; init; }` [#](#property-discountcodes)

[BookOnixCommercialMetadata.cs:128](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L128)

At most 16 explicit trading-partner discount/commission codes; no code-to-rate lookup is performed.

`public IReadOnlyList<BookOnixTax> Taxes { get; init; }` [#](#property-taxes)

[BookOnixCommercialMetadata.cs:130](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L130)

At most 16 explicit tax components, only for tax-inclusive price kinds. Mutually exclusive with TaxExempt.

`public bool TaxExempt { get; init; }` [#](#property-taxexempt)

[BookOnixCommercialMetadata.cs:132](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L132)

Explicit tax exemption. An empty Taxes list does not imply exemption or zero rating.

`public BookOnixTerritory? Territory { get; init; }` [#](#property-territory)

[BookOnixCommercialMetadata.cs:134](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L134)

Optional narrower price territory; when omitted, uses the supply's explicit market.

`public DateTime? ValidFrom { get; init; }` [#](#property-validfrom)

[BookOnixCommercialMetadata.cs:136](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L136)

Date on which the price becomes effective (price-date role 14). Time of day is ignored during export.

`public DateTime? ValidUntil { get; init; }` [#](#property-validuntil)

[BookOnixCommercialMetadata.cs:138](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L138)

Date on which the price ceases to be effective (price-date role 15). Time of day is ignored during export.

<!-- PowerForge markdown artifact sha256:EE973F3C3E4CE03E44F6D96311C019154DFFC8355F2DCA92A138B9E09725BE91 -->
