Class FinPrepaidLoadBuilder
Builder for prepaid load orders (HKPPD).
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinPrepaidLoadBuilder : FinOrderBuilder
Constructors
FinPrepaidLoadBuilder(FinContact)
Declaration
public FinPrepaidLoadBuilder(FinContact aContact)
Parameters
Type | Name | Description |
---|---|---|
FinContact | aContact |
Properties
PrepaidProviders
Declaration
public FinPrepaidProvider[] PrepaidProviders { get; }
Property Value
Type | Description |
---|---|
FinPrepaidProvider[] |
Methods
Build(FinAcct, Int32, String, SwiftAmt)
Declaration
public FinOrder Build(FinAcct aOrderAcct, int nProviderNum, string sPhoneNumber, SwiftAmt tLoadAmount)
Parameters
Type | Name | Description |
---|---|---|
FinAcct | aOrderAcct | |
System.Int32 | nProviderNum | The provider number obtained from FinPrepaidProvider. |
System.String | sPhoneNumber | The phone number of the prepaid contract to be loaded. Must contain only digits and must include the leading zero. |
SwiftAmt | tLoadAmount | The amount to load in Euro. Must not be a decimal fraction. The currency must be EUR. |
Returns
Type | Description |
---|---|
FinOrder |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter sPhoneNumber was |
System.ArgumentException | The parameter sPhoneNumber was an empty string, or did contain non-digit characters, or it was longer than 35 characters. |
System.ArgumentOutOfRangeException | The parameter nLoadAmount was less or equal to zero, or greater than 999. |