Class FinPrepaidLoadBuilder
Builder for prepaid load orders (HKPPD).
public class FinPrepaidLoadBuilder : FinOrderBuilder
- Inheritance
-
FinPrepaidLoadBuilder
- Inherited Members
Constructors
FinPrepaidLoadBuilder(FinContact)
public FinPrepaidLoadBuilder(FinContact aContact)
Parameters
aContactFinContact
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
aOrderAcctFinAcctnProviderNumintThe provider number obtained from FinPrepaidProvider.
sPhoneNumberstringThe phone number of the prepaid contract to be loaded. Must contain only digits and must include the leading zero.
tLoadAmountSwiftAmtThe 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.