GetCurrencyValueRequest Constructor
Initializes a new instance of the GetCurrencyValueRequest class.
Namespace: Microsoft.Dynamics.Commerce.Runtime.Services.Messages
Assembly: Microsoft.Dynamics.Commerce.Runtime.Services.Messages (in Microsoft.Dynamics.Commerce.Runtime.Services.Messages.dll)
Syntax
'Declaration
Public Sub New ( _
context As RequestContext, _
fromCurrencyCode As String, _
toCurrencyCode As String, _
amountToConvert As Decimal _
)
'Usage
Dim context As RequestContext
Dim fromCurrencyCode As String
Dim toCurrencyCode As String
Dim amountToConvert As Decimal
Dim instance As New GetCurrencyValueRequest(context, _
fromCurrencyCode, toCurrencyCode, _
amountToConvert)
public GetCurrencyValueRequest(
RequestContext context,
string fromCurrencyCode,
string toCurrencyCode,
decimal amountToConvert
)
public:
GetCurrencyValueRequest(
RequestContext^ context,
String^ fromCurrencyCode,
String^ toCurrencyCode,
Decimal amountToConvert
)
Parameters
- context
Type: Microsoft.Dynamics.Commerce.Runtime.RequestContext
- fromCurrencyCode
Type: System.String
- toCurrencyCode
Type: System.String
- amountToConvert
Type: System.Decimal
See Also
Reference
Microsoft.Dynamics.Commerce.Runtime.Services.Messages Namespace