/// <summary> /// Initializes a new instance of the OrderRequest class. /// </summary> /// <param name="merchantPayRequestStatus">Possible values include: /// 'New', 'InProgress', 'Failed', 'Completed'</param> /// <param name="merchantPayRequestNotification">Possible values /// include: 'Nothing', 'InProgress', 'Success', 'Error'</param> public OrderRequest(string merchantId = default(string), string requestId = default(string), string transactionId = default(string), PayFee markup = default(PayFee), string merchantPayRequestStatus = default(string), string merchantPayRequestNotification = default(string), string sourceAddress = default(string), string assetPair = default(string), string exchangeAssetId = default(string), double?amount = default(double?), double?originAmount = default(double?), double?exchangeRate = default(double?), string assetId = default(string), string successUrl = default(string), string errorUrl = default(string), string progressUrl = default(string), string orderId = default(string), string transactionDetectionTime = default(string), string transactionWaitingTime = default(string), string transaction = default(string), string transactionStatus = default(string)) { MerchantId = merchantId; RequestId = requestId; TransactionId = transactionId; Markup = markup; MerchantPayRequestStatus = merchantPayRequestStatus; MerchantPayRequestNotification = merchantPayRequestNotification; SourceAddress = sourceAddress; AssetPair = assetPair; ExchangeAssetId = exchangeAssetId; Amount = amount; OriginAmount = originAmount; ExchangeRate = exchangeRate; AssetId = assetId; SuccessUrl = successUrl; ErrorUrl = errorUrl; ProgressUrl = progressUrl; OrderId = orderId; TransactionDetectionTime = transactionDetectionTime; TransactionWaitingTime = transactionWaitingTime; Transaction = transaction; TransactionStatus = transactionStatus; CustomInit(); }
/// <summary> /// Initializes a new instance of the PayRequest class. /// </summary> /// <param name="merchantPayRequestStatus">Possible values include: /// 'New', 'InProgress', 'Failed', 'Completed'</param> /// <param name="merchantPayRequestType">Possible values include: /// 'Purchase', 'Transfer', 'ExchangeTransfer'</param> /// <param name="merchantPayRequestNotification">Possible values /// include: 'Nothing', 'InProgress', 'Success', 'Error'</param> public PayRequest(string merchantId = default(string), string requestId = default(string), string transactionId = default(string), PayFee markup = default(PayFee), string merchantPayRequestStatus = default(string), string merchantPayRequestType = default(string), string merchantPayRequestNotification = default(string), string sourceAddress = default(string), string destinationAddress = default(string), string assetPair = default(string), double?amount = default(double?), string assetId = default(string), string successUrl = default(string), string errorUrl = default(string), string progressUrl = default(string), string orderId = default(string)) { MerchantId = merchantId; RequestId = requestId; TransactionId = transactionId; Markup = markup; MerchantPayRequestStatus = merchantPayRequestStatus; MerchantPayRequestType = merchantPayRequestType; MerchantPayRequestNotification = merchantPayRequestNotification; SourceAddress = sourceAddress; DestinationAddress = destinationAddress; AssetPair = assetPair; Amount = amount; AssetId = assetId; SuccessUrl = successUrl; ErrorUrl = errorUrl; ProgressUrl = progressUrl; OrderId = orderId; CustomInit(); }