Overview
This structure represents the unique key fields associated with identifying a Currency. Currences can be identified by CurrencyCode or CurrencyUid. When specifying a PwsCurrencyRef as an input to a web service, you may specify one or both the CurrencyCode and/or CurrencyUid. However, if you do specify both, they must both refer to the same Currency or the Currency reference will not be considered valid. When a PwsCurrencyRef is returned in the response to a web service, both the CurrencyCode and CurrencyUid will be populated, and guaranteed to refer to a single Currency.
Format
- PwsCurrencyRef
- CurrencyCode: String
- CurrencyId: Int32
- CurrencyUid: Int64
Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
CurrencyCode | String | The Currency Code | USD | ||
CurrencyId | Int32 | The Currency Id is a unique identifier for a Currency. For internal use only. | |||
CurrencyUid | Int64 | A unique and immutable Id for a Currency. | 1152921504606851838 |