Formats a credit card number to match the format expected by iMIS C/S.
Namespace:
Asi.iBO
Assembly:
Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function FormatCCNumber ( _
ccType As String, _
ccNumber As String _
) As String |
Parameters
- ccType
- Type: System..::.String
The type of credit card, e.g., AMEX, VISA, MC, DISC.
- ccNumber
- Type: System..::.String
The original number, which may or may not contain spaces or dashes.
Return Value
The formatted credit card number if successful, or the original input if an error occurs.
See Also