# BookOnixSupply

One explicit market, supplier and availability declaration, with prices or an unpriced reason.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

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

**Implements**

`IEquatable<BookOnixSupply>`

**Modifiers**

sealed

One explicit market, supplier and availability declaration, with prices or an unpriced reason.

## Inheritance

- object
- BookOnixSupply

## 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

- Property [BookOnixCommercialMetadata.Supplies](/api/workflows/officeimo-workflows-bookonixcommercialmetadata/#property-supplies)
- Method [BookOnixSupply.<Clone>$](/api/workflows/officeimo-workflows-bookonixsupply/#method-clone)

### Accepted by parameters 5

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

Filter members 

Show inherited

## Constructors

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

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

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

## Methods

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

Returns

`BookOnixSupply`

Equals 2 overloads

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

Parameters

**obj object? required**

Returns

`bool`

`public bool Equals(BookOnixSupply? other)` [#](#method-equals-bookonixsupply)

Parameters

**other BookOnixSupply? required**

Returns

`bool`

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

Returns

`int`

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

Parameters

**left BookOnixSupply? required**

**right BookOnixSupply? required**

Returns

`bool`

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

Parameters

**left BookOnixSupply? required**

**right BookOnixSupply? 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 IReadOnlyList<BookOnixMarketSegment> MarketSegments { get; init; }` [#](#property-marketsegments)

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

Optional explicit partition into at most 32 disjoint market segments. Empty uses the whole Territory. Supplier, availability, prices and MarketReference remain shared.

`public IReadOnlyList<BookOnixSalesRestriction> Restrictions { get; init; }` [#](#property-restrictions)

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

Up to 32 explicit non-territorial restrictions applying to this entire market.

`public string? MarketReference { get; init; }` [#](#property-marketreference)

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

Optional permanent identity within this product, at most 100 UTF-16 code units. Never inferred from territory or supplier.

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

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

Market to which this supply declaration applies.

`public string SupplierName { get; init; }` [#](#property-suppliername)

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

Supplier's name.

`public BookOnixSupplierRole SupplierRole { get; init; }` [#](#property-supplierrole)

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

Supplier's role; not inferred from PublisherName.

`public BookOnixAvailability Availability { get; init; }` [#](#property-availability)

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

Availability from this supplier.

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

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

Expected availability date (supply-date role 08) for forthcoming or temporary unavailability. Time of day is ignored during export.

`public bool ExpectedSupplyDateUnknown { get; init; }` [#](#property-expectedsupplydateunknown)

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

Explicit exception when no expected availability date is known; mutually exclusive with a date.

`public IReadOnlyList<BookOnixPrice> Prices { get; init; }` [#](#property-prices)

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

At most 16 prices. Mutually exclusive with Unpriced.

`public BookOnixUnpricedKind? Unpriced { get; init; }` [#](#property-unpriced)

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

Explicit reason for no price. Missing prices never imply free supply.

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