Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

BookOnixPrice

OfficeIMO.Workflows

Namespace
OfficeIMO.Workflows
Assembly
OfficeIMO.Workflows
Source revision
3b680b1b6fb1 with working tree changes
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

Accepted by parameters 5

Constructors

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

Methods

public BookOnixPrice <Clone>$() #
Equals 2 overloads
public override bool Equals(object? obj) #

Parameters

obj object? required

Returns

bool
public bool Equals(BookOnixPrice? other) #

Parameters

other BookOnixPrice? required

Returns

bool
public override int GetHashCode() #

Returns

int
public static bool op_Equality(BookOnixPrice? left, BookOnixPrice? right) #

Parameters

left BookOnixPrice? required
right BookOnixPrice? required

Returns

bool
public static bool op_Inequality(BookOnixPrice? left, BookOnixPrice? right) #

Parameters

left BookOnixPrice? required
right BookOnixPrice? required

Returns

bool
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 bool 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 DateTime? ValidFrom { get; init; } #

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

public DateTime? ValidUntil { get; init; } #

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