# BookOnixTerritory

Explicit countries, supported ONIX subregions, or WORLD, with scoped exclusions.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

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

**Implements**

`IEquatable<BookOnixTerritory>`

**Modifiers**

sealed

Explicit countries, supported ONIX subregions, or WORLD, with scoped exclusions.

## Inheritance

- object
- BookOnixTerritory

## Usage

Explore 14 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 7

- Property [BookOnixCollateralText.Territory](/api/workflows/officeimo-workflows-bookonixcollateraltext/#property-territory)
- Property [BookOnixMarketSegment.Territory](/api/workflows/officeimo-workflows-bookonixmarketsegment/#property-territory)
- Property [BookOnixPrice.Territory](/api/workflows/officeimo-workflows-bookonixprice/#property-territory)
- Property [BookOnixSalesRights.Territory](/api/workflows/officeimo-workflows-bookonixsalesrights/#property-territory)
- Property [BookOnixSupply.Territory](/api/workflows/officeimo-workflows-bookonixsupply/#property-territory)
- Property [BookOnixSupportingResource.Territory](/api/workflows/officeimo-workflows-bookonixsupportingresource/#property-territory)
- Method [BookOnixTerritory.<Clone>$](/api/workflows/officeimo-workflows-bookonixterritory/#method-clone)

### Accepted by parameters 7

- Constructor [BookOnixSalesRights.BookOnixSalesRights](/api/workflows/officeimo-workflows-bookonixsalesrights/#constructor-ctor-officeimo-workflows-bookonixsalesrightskind-officeimo-workflows-bookonixterritory) parameter `Territory`
- Method [BookOnixSalesRights.Deconstruct](/api/workflows/officeimo-workflows-bookonixsalesrights/#method-deconstruct-bookonixsalesrightskind-bookonixterritory) parameter `Territory`
- Method [BookOnixTerritory.Equals](/api/workflows/officeimo-workflows-bookonixterritory/#method-equals-bookonixterritory) parameter `other`
- Method [BookOnixTerritory.op_Equality](/api/workflows/officeimo-workflows-bookonixterritory/#method-op-equality-bookonixterritory-bookonixterritory) parameter `left`
- Method [BookOnixTerritory.op_Equality](/api/workflows/officeimo-workflows-bookonixterritory/#method-op-equality-bookonixterritory-bookonixterritory) parameter `right`
- Method [BookOnixTerritory.op_Inequality](/api/workflows/officeimo-workflows-bookonixterritory/#method-op-inequality-bookonixterritory-bookonixterritory) parameter `left`
- Method [BookOnixTerritory.op_Inequality](/api/workflows/officeimo-workflows-bookonixterritory/#method-op-inequality-bookonixterritory-bookonixterritory) parameter `right`

Filter members 

Show inherited

## Constructors

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

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

## Methods

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

Returns

`BookOnixTerritory`

Equals 2 overloads

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

Parameters

**obj object? required**

Returns

`bool`

`public bool Equals(BookOnixTerritory? other)` [#](#method-equals-bookonixterritory)

Parameters

**other BookOnixTerritory? required**

Returns

`bool`

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

Returns

`int`

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

Parameters

**left BookOnixTerritory? required**

**right BookOnixTerritory? required**

Returns

`bool`

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

Parameters

**left BookOnixTerritory? required**

**right BookOnixTerritory? 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<string> Countries { get; init; }` [#](#property-countries)

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

Uppercase ONIX list 91 country codes; mutually exclusive with Worldwide.

`public bool Worldwide { get; init; }` [#](#property-worldwide)

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

Explicit worldwide scope; false does not imply any default territory.

`public IReadOnlyList<string> ExcludedCountries { get; init; }` [#](#property-excludedcountries)

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

Country exclusions, allowed only with Worldwide. Each country list is bounded to 250 unique codes.

`public IReadOnlyList<string> Regions { get; init; }` [#](#property-regions)

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

Up to 250 unique supported ONIX list 49 geographic subregions, for example US-CA or CA-QC. Cannot accompany Worldwide or repeat an included parent country.

`public IReadOnlyList<string> ExcludedRegions { get; init; }` [#](#property-excludedregions)

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

Up to 250 supported subregions excluded from an included parent country or Worldwide. Exclusions never imply a grant.

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