Click or drag to resize

ESDRecordCurrencyExchangeRate Class

Ecommerce Standards Record that holds data for a single currency exchange rate that reflects the cost of purchasing one currency from another. These rates may be used to influence the price of selling or buying goods and services between states or countries.
Inheritance Hierarchy
SystemObject
  EcommerceStandardsDocumentsESDRecordCurrencyExchangeRate

Namespace:  EcommerceStandardsDocuments
Assembly:  EcommerceStandardsDocuments.Library (in EcommerceStandardsDocuments.Library.dll) Version: 1.3.0.0 (1.0.0.0)

The ESDRecordCurrencyExchangeRate type exposes the following members.

Constructors
  NameDescription
Public methodESDRecordCurrencyExchangeRate
Initializes a new instance of the ESDRecordCurrencyExchangeRate class
Top
Properties
  NameDescription
Public propertybuyCurrencyCode
The code of the currency being purchased. This currency code may conform to the 3 digit ISO 4217 currency code standards, or crypto currency code standards.
Public propertybuyCurrencyName
Name of the currency being purchased.
Public propertybuyCurrencyType
Specifies the kind of currency that is being purchased, such as a cryptographic, or decentralised currency, as opposed to a state/country based currency controlled by government (fiat). If set must use the ESDocumentConstants class properties that are prefixed with "CURRENCY_TYPE_"
Public propertydrop
Data Record OPeration. Denotes an operation that may need to be performed on the record when it is being processed. Set null, or it to one of the ESD_RECORD_OPERATION constants in the ESDocumentConstants class to allow the record to be inserted, updated, deleted, or ignored.
Public propertyexchangeRate
The percentage rate used determine how much its costs to sell 1 of the selling currency in the purchasing currency. The percentage rate needs to be set as a decimal eg. for a rate of 70% the value 0.70 should be set. To determine the cost to buy currency being sold use the equation (X sellCurrency x exchangeRate) = Y buyCurrency
Public propertyinternalID
Stores an identifier that is relevant only to the system referencing and storing the record for its own needs.
Public propertykeyCurrencyExchangeRateID
Key that allows the currency exchange rate record to be uniquely identified. The value set may or may not be a human known identifier
Public propertysellCurrencyCode
The code of the currency being sold. This currency code may conform to the 3 digit ISO 4217 currency code standards, or crypto currency code standards.
Public propertysellCurrencyName
Name of the currency being sold.
Public propertysellCurrencyType
Specifies the kind of currency that is being sold, such as a cryptographic, or decentralised currency, as opposed to a state/country based currency controlled by government (fiat). If set must use the ESDocumentConstants class properties that are prefixed with "CURRENCY_TYPE_"
Top
See Also