Class NcItemValueType
A data type for an evaluation of the monetary worth of an item.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcItemValueType : IEquatable<NcItemValueType>
Properties
Amount
A monetary value of an item. NIEM reference is nc:ItemValueAmount
Declaration
[DataMember(Name = "amount")]
public List<NcAmountType> Amount { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcAmountType> | A monetary value of an item. NIEM reference is nc:ItemValueAmount |
Assigner
An entity which assigns a value to an item. NIEM reference is nc:ItemValueAssigner
Declaration
[DataMember(Name = "assigner")]
public List<NcEntityType> Assigner { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | An entity which assigns a value to an item. NIEM reference is nc:ItemValueAssigner |
AssigningMethod
A method used to assign a value to an item. NIEM reference is nc:ItemValueAssigningMethodText
Declaration
[DataMember(Name = "assigningMethod")]
public List<NcTextType> AssigningMethod { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A method used to assign a value to an item. NIEM reference is nc:ItemValueAssigningMethodText |
Context
ncItemValueType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcItemValueType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcItemValueType.ContextEnum> | ncItemValueType JSON-LD context |
Date
A date an item value takes effect. NIEM reference is nc:ItemValueDate
Declaration
[DataMember(Name = "date")]
public List<NcDateType> Date { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date an item value takes effect. NIEM reference is nc:ItemValueDate |
Description
A description of the monetary worth of an item. NIEM reference is nc:ItemValueDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the monetary worth of an item. NIEM reference is nc:ItemValueDescriptionText |
IsTaxIncluded
True if taxes were included in the item value; false otherwise. NIEM reference is nc:ItemValueTaxIncludedIndicator
Declaration
[DataMember(Name = "isTaxIncluded")]
public List<NiemXsboolean> IsTaxIncluded { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if taxes were included in the item value; false otherwise. NIEM reference is nc:ItemValueTaxIncludedIndicator |
Methods
Equals(NcItemValueType)
Returns true if NcItemValueType instances are equal
Declaration
public bool Equals(NcItemValueType other)
Parameters
Type | Name | Description |
---|---|---|
NcItemValueType | other | Instance of NcItemValueType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(NcItemValueType, NcItemValueType)
Declaration
public static bool operator ==(NcItemValueType left, NcItemValueType right)
Parameters
Type | Name | Description |
---|---|---|
NcItemValueType | left | |
NcItemValueType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcItemValueType, NcItemValueType)
Declaration
public static bool operator !=(NcItemValueType left, NcItemValueType right)
Parameters
Type | Name | Description |
---|---|---|
NcItemValueType | left | |
NcItemValueType | right |
Returns
Type | Description |
---|---|
System.Boolean |