Class FinPrepaidLoadBuilder
Builder for prepaid load orders (HKPPD).
public class FinPrepaidLoadBuilder : FinOrderBuilder
- Inheritance
-
FinPrepaidLoadBuilder
- Inherited Members
Constructors
FinPrepaidLoadBuilder(FinContact)
public FinPrepaidLoadBuilder(FinContact aContact)
Parameters
aContact
FinContact
Properties
PrepaidProviders
public FinPrepaidProvider[] PrepaidProviders { get; }
Property Value
Methods
Build(FinAcct, int, string, SwiftAmt)
public FinOrder Build(FinAcct aOrderAcct, int nProviderNum, string sPhoneNumber, SwiftAmt tLoadAmount)
Parameters
aOrderAcct
FinAcctnProviderNum
intThe provider number obtained from FinPrepaidProvider.
sPhoneNumber
stringThe phone number of the prepaid contract to be loaded. Must contain only digits and must include the leading zero.
tLoadAmount
SwiftAmtThe amount to load in Euro. Must not be a decimal fraction. The currency must be EUR.
Returns
Exceptions
- ArgumentNullException
The parameter sPhoneNumber was
null
.- ArgumentException
The parameter sPhoneNumber was an empty string, or did contain non-digit characters, or it was longer than 35 characters.
- ArgumentOutOfRangeException
The parameter nLoadAmount was less or equal to zero, or greater than 999.