CardType: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Card tpye enumeration =
{{PageTitle|title=Card type enumeration}}


This enum indicates the type of a bank card.
This enum indicates the type of a bank card.


== Included in ==  
= Included in =


Bank card types are used in the following structures:
Bank card types are used in the following structures:
* [[BankCard]]
* [[BankCard]]


== Enum list ==
= Enum list =


{{api_enum_table_header}}
{{api_enum_table_header}}
Line 23: Line 23:
|-
|-
| Maestro || 50 || 16 or 19 digit Maestro cards.
| Maestro || 50 || 16 or 19 digit Maestro cards.
|-
| DinersClub || 70 || Diners Club cards
|-
| Discover || 80 || Discover cards
|-
|-
|}
|}
'''NOTE:''' The enum value is returned as string.

Latest revision as of 05:56, 26 July 2021

Card type enumeration

This enum indicates the type of a bank card.

Included in

Bank card types are used in the following structures:

Enum list

Enum value Byte / int value Description
Unknown 0 The card type is unknown.
MasterCard 10 Standard MasterCard bank cards.
Visa 20 Standard Visa bank cards.
AmericanExpress 30 All kinds of American Express cards.
Electron 40 VISA Electron bank cards.
Maestro 50 16 or 19 digit Maestro cards.
DinersClub 70 Diners Club cards
Discover 80 Discover cards

NOTE: The enum value is returned as string.