Class NcObligationExemptionType
A data type for a waival or dismissal of an obligation.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcObligationExemptionType : IEquatable<NcObligationExemptionType>
Properties
Context
ncObligationExemptionType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcObligationExemptionType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcObligationExemptionType.ContextEnum> | ncObligationExemptionType JSON-LD context |
Description
A description of an exemption from an obligation. NIEM reference is nc:ObligationExemptionDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of an exemption from an obligation. NIEM reference is nc:ObligationExemptionDescriptionText |
FinancialAmount
An amount of an exemption from a payment obligation. NIEM reference is nc:FinancialObligationExemptionAmount
Declaration
[DataMember(Name = "financialAmount")]
public List<NcAmountType> FinancialAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcAmountType> | An amount of an exemption from a payment obligation. NIEM reference is nc:FinancialObligationExemptionAmount |
Methods
Equals(NcObligationExemptionType)
Returns true if NcObligationExemptionType instances are equal
Declaration
public bool Equals(NcObligationExemptionType other)
Parameters
Type | Name | Description |
---|---|---|
NcObligationExemptionType | other | Instance of NcObligationExemptionType 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(NcObligationExemptionType, NcObligationExemptionType)
Declaration
public static bool operator ==(NcObligationExemptionType left, NcObligationExemptionType right)
Parameters
Type | Name | Description |
---|---|---|
NcObligationExemptionType | left | |
NcObligationExemptionType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcObligationExemptionType, NcObligationExemptionType)
Declaration
public static bool operator !=(NcObligationExemptionType left, NcObligationExemptionType right)
Parameters
Type | Name | Description |
---|---|---|
NcObligationExemptionType | left | |
NcObligationExemptionType | right |
Returns
Type | Description |
---|---|
System.Boolean |