Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GenerateAddressResult" /> class.
 /// </summary>
 /// <param name="result">result.</param>
 /// <param name="depositParam">depositParam.</param>
 /// <param name="errorCode">errorCode.</param>
 public GenerateAddressResult(bool result = default(bool), GetAddressResponse depositParam = default(GetAddressResponse), BalanceErrorCode errorCode = default(BalanceErrorCode))
 {
     this.Result       = result;
     this.DepositParam = depositParam;
     this.ErrorCode    = errorCode;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetAddressResponse" /> class.
 /// </summary>
 /// <param name="address">address.</param>
 /// <param name="isAddressGenerated">isAddressGenerated.</param>
 /// <param name="currency">currency.</param>
 /// <param name="fullname">fullname.</param>
 /// <param name="totalAmount">totalAmount.</param>
 /// <param name="availableAmount">availableAmount.</param>
 /// <param name="confirmationCount">confirmationCount.</param>
 /// <param name="destinationTag">destinationTag.</param>
 /// <param name="currencyType">currencyType.</param>
 /// <param name="isManual">isManual.</param>
 /// <param name="errorCode">errorCode.</param>
 public GetAddressResponse(string address = default(string), bool isAddressGenerated = default(bool), string currency = default(string), string fullname = default(string), double totalAmount = default(double), double availableAmount = default(double), int confirmationCount = default(int), string destinationTag = default(string), Type?currencyType = default(Type?), bool isManual = default(bool), BalanceErrorCode errorCode = default(BalanceErrorCode))
 {
     this.Address            = address;
     this.IsAddressGenerated = isAddressGenerated;
     this.Currency           = currency;
     this.Fullname           = fullname;
     this.TotalAmount        = totalAmount;
     this.AvailableAmount    = availableAmount;
     this.ConfirmationCount  = confirmationCount;
     this.DestinationTag     = destinationTag;
     this.CurrencyType       = currencyType;
     this.IsManual           = isManual;
     this.ErrorCode          = errorCode;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PostWithdrawRequestResult" /> class.
 /// </summary>
 /// <param name="success">success.</param>
 /// <param name="withdrawRequest">withdrawRequest.</param>
 /// <param name="errorCode">errorCode.</param>
 public PostWithdrawRequestResult(bool success = default(bool), WithdrawRequest withdrawRequest = default(WithdrawRequest), BalanceErrorCode errorCode = default(BalanceErrorCode))
 {
     this.Success         = success;
     this.WithdrawRequest = withdrawRequest;
     this.ErrorCode       = errorCode;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetBalanceRequestModel" /> class.
 /// </summary>
 /// <param name="currency">currency.</param>
 /// <param name="total">total.</param>
 /// <param name="onOrders">onOrders.</param>
 /// <param name="errorCode">errorCode.</param>
 public GetBalanceRequestModel(string currency = default(string), double total = default(double), double onOrders = default(double), BalanceErrorCode errorCode = default(BalanceErrorCode))
 {
     this.Currency  = currency;
     this.Total     = total;
     this.OnOrders  = onOrders;
     this.ErrorCode = errorCode;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GetWithdrawResponse" /> class.
 /// </summary>
 /// <param name="longName">longName.</param>
 /// <param name="totalAmount">totalAmount.</param>
 /// <param name="availableAmount">availableAmount.</param>
 /// <param name="maximumWithdrawAmount">maximumWithdrawAmount.</param>
 /// <param name="withdrawFeePercent">withdrawFeePercent.</param>
 /// <param name="withdrawFee">withdrawFee.</param>
 /// <param name="needDestinationTag">needDestinationTag.</param>
 /// <param name="destinationTagName">destinationTagName.</param>
 /// <param name="withdrawDisabled">withdrawDisabled.</param>
 /// <param name="errorCode">errorCode.</param>
 public GetWithdrawResponse(string longName = default(string), double totalAmount = default(double), double availableAmount = default(double), double maximumWithdrawAmount = default(double), double withdrawFeePercent = default(double), double withdrawFee = default(double), bool needDestinationTag = default(bool), string destinationTagName = default(string), bool withdrawDisabled = default(bool), BalanceErrorCode errorCode = default(BalanceErrorCode))
 {
     this.LongName              = longName;
     this.TotalAmount           = totalAmount;
     this.AvailableAmount       = availableAmount;
     this.MaximumWithdrawAmount = maximumWithdrawAmount;
     this.WithdrawFeePercent    = withdrawFeePercent;
     this.WithdrawFee           = withdrawFee;
     this.NeedDestinationTag    = needDestinationTag;
     this.DestinationTagName    = destinationTagName;
     this.WithdrawDisabled      = withdrawDisabled;
     this.ErrorCode             = errorCode;
 }