Class InternalCostServices
InternalCostServices
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class InternalCostServices : IEquatable<InternalCostServices>, IValidatableObject
Constructors
| Improve this Doc View SourceInternalCostServices()
Initializes a new instance of the InternalCostServices class.
Declaration
protected InternalCostServices()
InternalCostServices(Nullable<Decimal>, String, String, String, String, Nullable<Int32>, Nullable<DateTime>, Nullable<Decimal>, Nullable<DateTime>, String)
Initializes a new instance of the InternalCostServices class.
Declaration
public InternalCostServices(decimal? amount = null, string costCenterFrom = null, string costCenterTo = null, string documentField1 = null, string documentField2 = null, int? iBLZNumber = null, DateTime? date = null, decimal? kostQuantity = null, DateTime? month = null, string text = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Decimal> | amount | (Betrag) Amount, technically required field, either amount and/or cost amount is required for processing. |
System.String | costCenterFrom | (Kostenstelle/-träger Von) Cost center/carrier From (issuing cost center/carrier), alphanumeric without special characters and umlauts, is a mandatory field in the POST and must be filled with the cost center/carrier number (required). |
System.String | costCenterTo | (Kostenstelle/-träger An) Cost center/carrier To (receiving cost center/carrier, alphanumeric without special characters and umlauts, is a mandatory field in the POST and must be filled with the cost center/carrier number (required). |
System.String | documentField1 | (Rechnungs-/Belegnummer) Accounting-/document number. |
System.String | documentField2 | (Belegfeld 2) Document field 2, document number. |
System.Nullable<System.Int32> | iBLZNumber | (IBLZ-Nummer) IBLZ number, number for additional discharge (IBLZ-E) or debit line (IBLZ-B) in the line structure. |
System.Nullable<System.DateTime> | date | (Belegdatum) Document date. |
System.Nullable<System.Decimal> | kostQuantity | (Kost-Menge) Cost amount, in the cost quantity field the value specification for a specific reference quantity for a cost center is entered, technically required field, for processing either amount and/or cost quantity is required. |
System.Nullable<System.DateTime> | month | (Monat) Month, determines the IBL month, to which the record is assigned in the IBL flow record (required). |
System.String | text | (Textfeld) Text box. |
Properties
| Improve this Doc View SourceAmount
(Betrag) Amount, technically required field, either amount and/or cost amount is required for processing
Declaration
[DataMember(Name = "amount", EmitDefaultValue = false)]
public decimal? Amount { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | (Betrag) Amount, technically required field, either amount and/or cost amount is required for processing |
CostCenterFrom
(Kostenstelle/-träger Von) Cost center/carrier From (issuing cost center/carrier), alphanumeric without special characters and umlauts, is a mandatory field in the POST and must be filled with the cost center/carrier number
Declaration
[DataMember(Name = "cost_center_from", EmitDefaultValue = false)]
public string CostCenterFrom { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Kostenstelle/-träger Von) Cost center/carrier From (issuing cost center/carrier), alphanumeric without special characters and umlauts, is a mandatory field in the POST and must be filled with the cost center/carrier number |
CostCenterTo
(Kostenstelle/-träger An) Cost center/carrier To (receiving cost center/carrier, alphanumeric without special characters and umlauts, is a mandatory field in the POST and must be filled with the cost center/carrier number
Declaration
[DataMember(Name = "cost_center_to", EmitDefaultValue = false)]
public string CostCenterTo { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Kostenstelle/-träger An) Cost center/carrier To (receiving cost center/carrier, alphanumeric without special characters and umlauts, is a mandatory field in the POST and must be filled with the cost center/carrier number |
Date
(Belegdatum) Document date
Declaration
[DataMember(Name = "date", EmitDefaultValue = false)]
public DateTime? Date { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Belegdatum) Document date |
DocumentField1
(Rechnungs-/Belegnummer) Accounting-/document number
Declaration
[DataMember(Name = "document_field1", EmitDefaultValue = false)]
public string DocumentField1 { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Rechnungs-/Belegnummer) Accounting-/document number |
DocumentField2
(Belegfeld 2) Document field 2, document number
Declaration
[DataMember(Name = "document_field2", EmitDefaultValue = false)]
public string DocumentField2 { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Belegfeld 2) Document field 2, document number |
IBLZNumber
(IBLZ-Nummer) IBLZ number, number for additional discharge (IBLZ-E) or debit line (IBLZ-B) in the line structure
Declaration
[DataMember(Name = "IBLZ_number", EmitDefaultValue = false)]
public int? IBLZNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (IBLZ-Nummer) IBLZ number, number for additional discharge (IBLZ-E) or debit line (IBLZ-B) in the line structure |
KostQuantity
(Kost-Menge) Cost amount, in the cost quantity field the value specification for a specific reference quantity for a cost center is entered, technically required field, for processing either amount and/or cost quantity is required
Declaration
[DataMember(Name = "kost_quantity", EmitDefaultValue = false)]
public decimal? KostQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | (Kost-Menge) Cost amount, in the cost quantity field the value specification for a specific reference quantity for a cost center is entered, technically required field, for processing either amount and/or cost quantity is required |
Month
(Monat) Month, determines the IBL month, to which the record is assigned in the IBL flow record
Declaration
[DataMember(Name = "month", EmitDefaultValue = false)]
public DateTime? Month { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Monat) Month, determines the IBL month, to which the record is assigned in the IBL flow record |
Text
(Textfeld) Text box
Declaration
[DataMember(Name = "text", EmitDefaultValue = false)]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Textfeld) Text box |
Methods
| Improve this Doc View SourceEquals(InternalCostServices)
Returns true if InternalCostServices instances are equal
Declaration
public bool Equals(InternalCostServices input)
Parameters
Type | Name | Description |
---|---|---|
InternalCostServices | input | Instance of InternalCostServices to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System.Object | input | 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 virtual 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
Explicit Interface Implementations
| Improve this Doc View SourceIValidatableObject.Validate(ValidationContext)
To validate all properties of the instance
Declaration
IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.DataAnnotations.ValidationContext | validationContext | Validation context |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> | Validation Result |