ESDRecordCurrencyExchangeRate Class | 
Namespace: EcommerceStandardsDocuments
The ESDRecordCurrencyExchangeRate type exposes the following members.
| Name | Description | |
|---|---|---|
| ESDRecordCurrencyExchangeRate | Initializes a new instance of the ESDRecordCurrencyExchangeRate class  | 
| Name | Description | |
|---|---|---|
| buyCurrencyCode | 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.  | |
| buyCurrencyName | Name of the currency being purchased.  | |
| buyCurrencyType | 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_"  | |
| drop | 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.  | |
| exchangeRate | 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  | |
| internalID | Stores an identifier that is relevant only to the system referencing and storing the record for its own needs.  | |
| keyCurrencyExchangeRateID | Key that allows the currency exchange rate record to be uniquely identified. The value set may or may not be a human known identifier  | |
| sellCurrencyCode | 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.  | |
| sellCurrencyName | Name of the currency being sold.  | |
| sellCurrencyType | 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_"  |