# BookOnixSalesRestriction

Explicit non-territorial restriction within the containing rights territory or supply market. Does not enforce purchase eligibility.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[BookOnixSalesRestriction.cs:86](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixSalesRestriction.cs#L86)

**Implements**

`IEquatable<BookOnixSalesRestriction>`

**Modifiers**

sealed

Explicit non-territorial restriction within the containing rights territory or supply market. Does not enforce purchase eligibility.

## Inheritance

- object
- BookOnixSalesRestriction

## Usage

Explore 9 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 4

- Property [BookOnixMarketSegment.Restrictions](/api/workflows/officeimo-workflows-bookonixmarketsegment/#property-restrictions)
- Method [BookOnixSalesRestriction.<Clone>$](/api/workflows/officeimo-workflows-bookonixsalesrestriction/#method-clone)
- Property [BookOnixSalesRights.Restrictions](/api/workflows/officeimo-workflows-bookonixsalesrights/#property-restrictions)
- Property [BookOnixSupply.Restrictions](/api/workflows/officeimo-workflows-bookonixsupply/#property-restrictions)

### Accepted by parameters 5

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

Filter members 

Show inherited

## Constructors

`public BookOnixSalesRestriction(BookOnixSalesRestrictionKind Kind)` [#](#constructor-ctor-officeimo-workflows-bookonixsalesrestrictionkind)

[BookOnixSalesRestriction.cs:86](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixSalesRestriction.cs#L86)

Explicit non-territorial restriction within the containing rights territory or supply market. Does not enforce purchase eligibility.

Parameters

**Kind OfficeIMO.Workflows.BookOnixSalesRestrictionKind required**

## Methods

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

Returns

`BookOnixSalesRestriction`

`public void Deconstruct(out BookOnixSalesRestrictionKind Kind)` [#](#method-deconstruct-bookonixsalesrestrictionkind)

Parameters

**Kind BookOnixSalesRestrictionKind required**

Equals 2 overloads

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

Parameters

**obj object? required**

Returns

`bool`

`public bool Equals(BookOnixSalesRestriction? other)` [#](#method-equals-bookonixsalesrestriction)

Parameters

**other BookOnixSalesRestriction? required**

Returns

`bool`

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

Returns

`int`

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

Parameters

**left BookOnixSalesRestriction? required**

**right BookOnixSalesRestriction? required**

Returns

`bool`

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

Parameters

**left BookOnixSalesRestriction? required**

**right BookOnixSalesRestriction? 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<BookOnixSalesOutlet> Outlets { get; init; }` [#](#property-outlets)

[BookOnixSalesRestriction.cs:86](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixSalesRestriction.cs#L86)

Up to 16 affected outlets. Required for retailer and selected-subscription restrictions.

`public IReadOnlyList<BookOnixSalesRestrictionNote> Notes { get; init; }` [#](#property-notes)

[BookOnixSalesRestriction.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixSalesRestriction.cs#L88)

Up to 16 distinct-language translations, at most 300 decoded UTF-16 code units each (4096 source units for XHTML). Required for Unspecified.

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

[BookOnixSalesRestriction.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixSalesRestriction.cs#L90)

Optional first effective date. Time of day is ignored during export.

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

[BookOnixSalesRestriction.cs:92](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixSalesRestriction.cs#L92)

Optional last effective date; cannot precede ValidFrom. Time of day is ignored during export.

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

[BookOnixSalesRestriction.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixSalesRestriction.cs#L84)

<!-- PowerForge markdown artifact sha256:54B104E3CC12356182E22605BFC919B844EBE36C500D5528E9242331181BCA99 -->
