Generated by DocFX

Class OrderNFT

Order NFT is base for Invoice NFT and it needs to load some NFT Products

Inheritance
System.Object
CommonNFT
OrderNFT
Implements
INFT
Inherited Members
CommonNFT.TypeText
CommonNFT.Type
CommonNFT.Name
CommonNFT.Author
CommonNFT.Description
CommonNFT.Text
CommonNFT.Link
CommonNFT.IconLink
CommonNFT.ImageLink
CommonNFT.ImageData
CommonNFT.Base64Data
CommonNFT.Preview
CommonNFT.PreviewData
CommonNFT.DataItems
CommonNFT.Tags
CommonNFT.TagsList
CommonNFT.Utxo
CommonNFT.UtxoIndex
CommonNFT.ShortHash
CommonNFT.NFTOriginTxId
CommonNFT.SourceTxId
CommonNFT.TokenId
CommonNFT.Price
CommonNFT.PriceActive
CommonNFT.DogePrice
CommonNFT.DogePriceActive
CommonNFT.DogeAddress
CommonNFT.SellJustCopy
CommonNFT.IsLoaded
CommonNFT.IsInThePayments
CommonNFT.DogeftInfo
CommonNFT.SoldInfo
CommonNFT.Time
CommonNFT.History
CommonNFT.TxDetails
CommonNFT.TxDataRefreshed
CommonNFT.IsSpendable()
CommonNFT.LoadHistory()
CommonNFT.FillCommon(INFT)
CommonNFT.ClearSoldInfo()
CommonNFT.ClearPrices()
CommonNFT.ParseTags()
CommonNFT.LoadLastData(IDictionary<String, String>)
CommonNFT.ParsePrice(IDictionary<String, String>)
CommonNFT.ParseSoldInfo(IDictionary<String, String>)
CommonNFT.ParseCommon(IDictionary<String, String>)
CommonNFT.ParseDogeftInfo(IDictionary<String, String>)
CommonNFT.GetCommonMetadata()
CommonNFT.DownloadPreviewData()
CommonNFT.DownloadImageData()
CommonNFT.DecryptImageData(BitcoinSecret, String, String, String)
CommonNFT.DecryptProperty(String, BitcoinSecret, String, String, String)
CommonNFT.StopRefreshingData()
CommonNFT.StartRefreshingTxData(Int32)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VEDriversLite.NFT
Assembly: VEDriversLite.dll
Syntax
public class OrderNFT : CommonNFT, INFT

Constructors

| Improve this Doc View Source

OrderNFT(String)

Create empty NFT class

Declaration
public OrderNFT(string utxo)
Parameters
Type Name Description
System.String utxo

Properties

| Improve this Doc View Source

AlreadyPaid

Has been the order already paid?

Declaration
public bool AlreadyPaid { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ApprovedByProfile

Hash of the profile who approved the order

Declaration
public string ApprovedByProfile { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ApprovedNote

Note for the order approval

Declaration
public string ApprovedNote { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Aprooved

Was the order approved?

Declaration
public bool Aprooved { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

BuyerProfileNFT

Buyer profile NFT hash

Declaration
public string BuyerProfileNFT { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ExposeDate

Date when invoice has been created

Declaration
public DateTime ExposeDate { get; set; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

FileLink

Related file link - for example some attachenment on IPFS

Declaration
public string FileLink { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

InvoiceItems

List of the invoice items - ivoice lines

Declaration
public List<InvoiceItem> InvoiceItems { get; set; }
Property Value
Type Description
System.Collections.Generic.List<InvoiceItem>
| Improve this Doc View Source

MaxCountOfDaysAfterPaymentDate

Maximum count of days after the peyment should be paid

Declaration
public int MaxCountOfDaysAfterPaymentDate { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MaxCountOfDaysFromExposeToPayment

Maximum pay term - how long can the buyer pay the invoice

Declaration
public int MaxCountOfDaysFromExposeToPayment { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

OriginalPaymentTxId

Hash of the original payment

Declaration
public string OriginalPaymentTxId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SellerProfileNFT

Seller profile NFT hash

Declaration
public string SellerProfileNFT { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TotalPrice

Total price of the invoice

Declaration
public double TotalPrice { get; set; }
Property Value
Type Description
System.Double

Methods

| Improve this Doc View Source

AddInvoiceItem(String, Int32, Double, Int32)

Add new invoice item to this NFT Invoice

Declaration
public void AddInvoiceItem(string utxo, int index, double price, int amount)
Parameters
Type Name Description
System.String utxo

for example Product NFT hash

System.Int32 index
System.Double price
System.Int32 amount
| Improve this Doc View Source

Fill(INFT)

Fill basic parameters

Declaration
public override async Task Fill(INFT NFT)
Parameters
Type Name Description
INFT NFT
Returns
Type Description
System.Threading.Tasks.Task
Overrides
CommonNFT.Fill(INFT)
| Improve this Doc View Source

GetMetadata(String, String, String)

Get the NFT data for the NFT

Declaration
public override async Task<IDictionary<string, string>> GetMetadata(string address = "", string key = "", string receiver = "")
Parameters
Type Name Description
System.String address

Address of the sender

System.String key

Private key of the sender for encryption

System.String receiver

receiver of the NFT

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<System.String, System.String>>
Overrides
CommonNFT.GetMetadata(String, String, String)
| Improve this Doc View Source

ParseOriginData(IDictionary<String, String>, GetTransactionInfoResponse)

Find and parse origin data

Declaration
public override Task ParseOriginData(IDictionary<string, string> lastmetadata, GetTransactionInfoResponse txinfo = null)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.String> lastmetadata
GetTransactionInfoResponse txinfo
Returns
Type Description
System.Threading.Tasks.Task
Overrides
CommonNFT.ParseOriginData(IDictionary<String, String>, GetTransactionInfoResponse)
| Improve this Doc View Source

ParseSpecific(IDictionary<String, String>)

Parse specific parameters

Declaration
public override void ParseSpecific(IDictionary<string, string> metadata)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.String> metadata
Overrides
CommonNFT.ParseSpecific(IDictionary<String, String>)

Implements

INFT