Class Money
Object that sets monetary amount for the payment. If the transactionType is npa this isn't allowed to be set.
Inheritance
System.Object
Money
Namespace: ActiveLogin.Authentication.BankId.Api.Models
Assembly: ActiveLogin.Authentication.BankId.Api.dll
Syntax
public class Money : object
Constructors
| Improve this Doc View SourceMoney(String, String)
Declaration
public Money(string amount, string currency)
Parameters
Type | Name | Description |
---|---|---|
System.String | amount | The monetary amount of the payment. The string can contain one decimal separator which must be ",". The rest of the input must be numbers. Examples: "1000,00", "100,000", "100", "0" |
System.String | currency | The currency of the payment. This must be an ISO 4217 alphabetic currency code. |
Properties
| Improve this Doc View SourceAmount
The monetary amount of the payment. The string can contain one decimal separator which must be ",". The rest of the input must be numbers. Examples: "1000,00", "100,000", "100", "0"
Declaration
public string Amount { get; }
Property Value
Type | Description |
---|---|
System.String |
Currency
The currency of the payment. This must be an ISO 4217 alphabetic currency code.
Declaration
public string Currency { get; }
Property Value
Type | Description |
---|---|
System.String |