< Summary

Class:SVETA.Api.Data.DTO.Wallet.WalletBalanceVtbResponse
Assembly:SVETA.Api
File(s):/opt/dev/sveta_api_build/SVETA.Api/Data/DTO/Wallet/WalletResponseDTO.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:224
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0

Metrics

MethodLine coverage Branch coverage
get_Id()0%100%
get_Balance()0%100%
get_BalanceFree()0%100%
get_Hold()0%100%
get_Limit()0%100%

File(s)

/opt/dev/sveta_api_build/SVETA.Api/Data/DTO/Wallet/WalletResponseDTO.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Threading.Tasks;
 5
 6namespace SVETA.Api.Data.DTO.Wallet
 7{
 8    public class WalletResponseDTO<T>
 9    {
 10        public string Status { get; set; }
 11        public string Err { get; set; }
 12        public string Errdesc { get; set; }
 13        public T Response { get; set; }
 14    }
 15
 16    public class WalletBalanceVtbResponse
 17    {
 18        /// <example>
 19        /// идентификатор кошелька
 20        /// </example>
 021        public string Id { get; set; }
 22        /// <example>
 23        /// Баланс
 24        /// </example>
 025        public decimal Balance { get; set; }
 26        /// <example>
 27        /// Доступные средства на счете
 28        /// </example>
 029        public decimal BalanceFree { get; set; }
 30        /// <example>
 31        /// Зарезервированные средства
 32        /// </example>
 033        public decimal Hold { get; set; }
 34        /// <example>
 35        /// Кредитный лимит
 36        /// </example>
 037        public decimal Limit { get; set; }
 38    }
 39
 40    public class WalletBalanceFreeVtbResponse
 41    {
 42        /// <example>
 43        /// идентификатор кошелька
 44        /// </example>
 45        public string Acc_id { get; set; }
 46        /// <example>
 47        /// Баланс
 48        /// </example>
 49        public decimal Balance { get; set; }
 50        /// <example>
 51        /// Доступные средства на счете
 52        /// </example>
 53        public decimal BalanceFree { get; set; }
 54        /// <example>
 55        /// Зарезервированные средства
 56        /// </example>
 57        public decimal Hold { get; set; }
 58        /// <example>
 59        /// Сумма проверки
 60        /// </example>
 61        public decimal Sum { get; set; }
 62    }
 63    public class WalletBalanceFreeResponse
 64    {
 65        /// <example>
 66        /// идентификатор кошелька
 67        /// </example>
 68        public string Id { get; set; }
 69        /// <example>
 70        /// Баланс
 71        /// </example>
 72        public decimal Balance { get; set; }
 73        /// <example>
 74        /// Доступные средства на счете
 75        /// </example>
 76        public decimal BalanceFree { get; set; }
 77        /// <example>
 78        /// Зарезервированные средства
 79        /// </example>
 80        public decimal Hold { get; set; }
 81        /// <example>
 82        /// Сумма проверки
 83        /// </example>
 84        public decimal Sum { get; set; }
 85    }
 86
 87    public class WalletBalanceResponse
 88    {
 89        /// <example>
 90        /// идентификатор кошелька
 91        /// </example>
 92        public string Id { get; set; }
 93        /// <example>
 94        /// Баланс
 95        /// </example>
 96        public decimal Balance { get; set; }
 97        /// <example>
 98        /// Доступные средства на счете
 99        /// </example>
 100        public decimal BalanceFree { get; set; }
 101        /// <example>
 102        /// Зарезервированные средства
 103        /// </example>
 104        public decimal Hold { get; set; }
 105        /// <example>
 106        /// Кредитный лимит
 107        /// </example>
 108        public decimal Limit { get; set; }
 109    }
 110    public class WalletTransactionResponse
 111    {
 112        /// <example>
 113        /// id транзакции
 114        /// </example>
 115        public string Id { get; set; }
 116        /// <example>
 117        /// Номер транзакции
 118        /// </example>
 119        public string Num { get; set; }
 120        /// <example>
 121        /// Тип транзакции
 122        /// </example>
 123        public string Tp { get; set; }
 124        /// <example>
 125        /// идентификатор сессии подтверждения смс
 126        /// </example>
 127        public string SmsId { get; set; }
 128        public WalletRequestModel Model { get; set; }
 129    }
 130    public class WalletHistoryResponse
 131    {
 132        public string Tranid { get; set; }
 133        public DateTime Dadd { get; set; }
 134        public string Acc { get; set; }
 135        public string Sm { get; set; }
 136        public string Reson { get; set; }
 137        public string Tp { get; set; }
 138        public string Status { get; set; }
 139    }
 140    public class WalletTransactionHistory
 141    {
 142        public string Id { get; set; }
 143        public DateTime Dadd { get; set; }
 144        public string Status_tran { get; set; }
 145        public WalletRequestModel Model { get; set; }
 146    }
 147
 148    public class WalletTransactActionResponseFull
 149    {
 150        /// <example>
 151        /// id транзакции
 152        /// </example>
 153        public string Id { get; set; }
 154        /// <example>
 155        /// действие
 156        /// </example>
 157        public string Action { get; set; }
 158        /// <example>
 159        /// статус действия
 160        /// </example>
 161        public string Status_action { get; set; }
 162        /// <example>
 163        /// Объект с сессией при retry_sms
 164        /// </example>
 165        public Rp Rp { get; set; }
 166    }
 167
 168    public class WalletTransactionCheckChangeDeal
 169    {
 170        public string Id { get; set; }
 171        public string Tp { get; set; }
 172        public decimal Sum { get; set; }
 173        public decimal Sum_distr { get; set; }
 174        public string Buyer { get; set; }
 175        public string Seller { get; set; }
 176    }
 177    public class WalletTransactionChangeDeal
 178    {
 179        /// <example>
 180        /// ид транзакции
 181        /// </example>
 182        public string Id { get; set; }
 183        /// <example>
 184        /// тип транзакции
 185        /// </example>
 186        public string Tp { get; set; }
 187        /// <example>
 188        /// сумма сделки
 189        /// </example>
 190        public decimal Sum { get; set; }
 191        /// <example>
 192        /// тип оплаты коммиссии
 193        /// </example>
 194        public string Commission_payer { get; set; }
 195        /// <example>
 196        /// общая сумма комиссии
 197        /// </example>
 198        public decimal Charge { get; set; }
 199        /// <example>
 200        /// счет покупателя
 201        /// </example>
 202        public string Buyer { get; set; }
 203        /// <example>
 204        /// сумма комиссии с покупателя
 205        /// </example>
 206        public decimal Sum_buyer { get; set; }
 207        /// <example>
 208        /// сумма комиссии с продавца
 209        /// </example>
 210        public decimal Sum_seller { get; set; }
 211    }
 212
 213    public class Rp
 214    {
 215        /// <example>
 216        /// ok
 217        /// </example>
 218        public string Sms { get; set; }
 219        /// <example>
 220        /// новое id-сессии (при retry_sms)
 221        /// </example>
 222        public string Smsid { get; set; }
 223    }
 224}