Dachi
Dachi
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
wait i'll check something
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
yeah
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
not a filed
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
and its on top of a class
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
nothing more
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
that is just a name
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
how is that
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
if class is nullable?
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
comes from it it says though
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
cuz the displaymethod is just the naming and error
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
i am curios about the Operation error
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
forget*
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
fotger OPerationDate for now
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
@Salmon
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
but if needed i can post seperatly
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
and many more fields but i cant paste cuz of restriction
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
c#
public class AutomaticOperation : Operation
{
[LogField]
[DisplayName("ანგარიშის ნომერი")]
public int? AccountId { get; set; }

[DisplayName("ვალუტის Id")] public int? CurrencyTypeId { get; set; }

[LogField] [DisplayName("ვალუტა")] public string? CurrencyType { get; set; }

[DisplayName("ვალუტა სიტყვიერად")] public string? Currency { get; set; }

[LogField]
[FormatField(FieldTypeFormat.Decimal2)]
[DisplayName("თანხა")]
public decimal? Amount { get; set; }

[DisplayName("საკომისიოს ოპერაციის Id")]
public long? CommissionOperationId { get; set; }

[DisplayName("საკომისიოს ოპერაციის ტიპის Id")]
public int? CommissionOperationTypeId { get; set; }

[DisplayName("პროდუქტი")] public int? ProductId { get; set; }

[DisplayName("წყარო")] public int? Source { get; set; }

[DisplayName("თანხა სიტყვიერად")] public string? AmountVerbally => NumberHelper.DecimalToWord(Amount.Value, CurrencyType);

[DisplayName("დანიშნულების Id")] public int? DescriptionTypeId { get; set; }
}
c#
public class AutomaticOperation : Operation
{
[LogField]
[DisplayName("ანგარიშის ნომერი")]
public int? AccountId { get; set; }

[DisplayName("ვალუტის Id")] public int? CurrencyTypeId { get; set; }

[LogField] [DisplayName("ვალუტა")] public string? CurrencyType { get; set; }

[DisplayName("ვალუტა სიტყვიერად")] public string? Currency { get; set; }

[LogField]
[FormatField(FieldTypeFormat.Decimal2)]
[DisplayName("თანხა")]
public decimal? Amount { get; set; }

[DisplayName("საკომისიოს ოპერაციის Id")]
public long? CommissionOperationId { get; set; }

[DisplayName("საკომისიოს ოპერაციის ტიპის Id")]
public int? CommissionOperationTypeId { get; set; }

[DisplayName("პროდუქტი")] public int? ProductId { get; set; }

[DisplayName("წყარო")] public int? Source { get; set; }

[DisplayName("თანხა სიტყვიერად")] public string? AmountVerbally => NumberHelper.DecimalToWord(Amount.Value, CurrencyType);

[DisplayName("დანიშნულების Id")] public int? DescriptionTypeId { get; set; }
}
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
sure
37 replies
CC#
Created by Dachi on 6/19/2024 in #help
✅ Api request matching issue
all fields in the Operation class are nullable
37 replies
CC#
Created by Dachi on 4/9/2024 in #help
✅ How Scope lifetime works
thanks
28 replies