Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

BookOnixDiscount

Namespace OfficeIMO.Workflows
Assembly OfficeIMO.Workflows
Implements
IEquatable<BookOnixDiscount>
Modifiers sealed

Explicit business-to-business discount on the containing price. At least Percent or Amount is required. Values are serialized without calculating a payable price, tier selection, stacking, or rounding.

Inheritance

  • Object
  • BookOnixDiscount

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

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

Methods

public BookOnixDiscount <Clone>$() #
Returns: BookOnixDiscount
Equals 2 overloads
public override Boolean Equals(Object obj) #
Returns: Boolean

Parameters

obj Object requiredposition: 0
public Boolean Equals(BookOnixDiscount other) #
Returns: Boolean

Parameters

other BookOnixDiscount requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public static Boolean op_Equality(BookOnixDiscount left, BookOnixDiscount right) #
Returns: Boolean

Parameters

left BookOnixDiscount requiredposition: 0
right BookOnixDiscount requiredposition: 1
public static Boolean op_Inequality(BookOnixDiscount left, BookOnixDiscount right) #
Returns: Boolean

Parameters

left BookOnixDiscount requiredposition: 0
right BookOnixDiscount requiredposition: 1
public override String ToString() #
Returns: String

Properties

public BookOnixDiscountKind Kind { get; init; } #

How the discount applies. Cumulative periods are defined by trading-partner agreement.

public Nullable<Decimal> Percent { get; init; } #

Optional percentage in the inclusive range 0–100.

public Nullable<Decimal> Amount { get; init; } #

Optional nonnegative discount per copy, in the price's currency, at most the price amount.

public Nullable<Int32> MinimumQuantity { get; init; } #

Optional positive minimum number of copies. An omitted value leaves the quantity unspecified.

public Nullable<Int32> MaximumQuantity { get; init; } #

Optional maximum copies, at least MinimumQuantity. Requires MinimumQuantity.