Class FinPrepaidProvider
Provides the information about a prepaid mobile provider for the purpose of loading the prepaid mobile balance.
Inheritance
Inherited Members
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinPrepaidProvider
Properties
ArbitraryAmountAllowed
Indicates whether an arbitrary amount may be loaded.
Declaration
public bool ArbitraryAmountAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
If this is true
, then an arbitrary amount in the ranged from
MinLoadAmount through MaxLoadAmount may be
loaded. If this is false
, then only one of the
FixedLoadAmounts may be loaded.
FixedLoadAmounts
List of fixed load amounts in Euro.
Declaration
public int[] FixedLoadAmounts { get; set; }
Property Value
Type | Description |
---|---|
System.Int32[] |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | One of the integer values in the fixed load amounts array was a negative value, or a value greater than 999. |
MaxLoadAmount
The maximum load amount in Euro.
Declaration
public int MaxLoadAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | A negative value, or a value greater than 999 was set. |
MinLoadAmount
The minimum load amount in Euro.
Declaration
public int MinLoadAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | A negative value, or a value greater than 999 was set. |
ProductName
The name of the prepaid product.
Declaration
public string ProductName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | A name longer than 35 characters was set. |
ProviderName
The name of the prepaid provider.
Declaration
public string ProviderName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | A name longer than 35 characters was set. |
ProviderNum
Number of prepaid provider information.
Declaration
public int ProviderNum { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
This number must be passed when loading the prepaid amount for this provider.
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | The given number was outside the allowed range from zero through 99. |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |