-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #621 from Mangopay/feature/implement_cardinfo
feature / Added CardInfo parameter to 4 endpoints
- Loading branch information
Showing
7 changed files
with
117 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php | ||
|
||
namespace MangoPay; | ||
|
||
class CardInfo extends Libraries\Dto | ||
{ | ||
/** | ||
* The 6-digit bank identification number (BIN) of the card issuer. | ||
* @var string | ||
*/ | ||
public $BIN; | ||
|
||
/** | ||
* The name of the card issuer. | ||
* @var string | ||
*/ | ||
public $IssuingBank; | ||
|
||
/** | ||
* The country where the card was issued. | ||
* @var string | ||
*/ | ||
public $IssuerCountryCode; | ||
|
||
/** | ||
* The type of card product: DEBIT, CREDIT, CHARGE CARD. | ||
* @var string | ||
*/ | ||
public $Type; | ||
|
||
/** | ||
* The card brand. Examples include: AMERICAN EXPRESS, DISCOVER, JCB, MASTERCARD, VISA, etc. | ||
* @var string | ||
*/ | ||
public $Brand; | ||
|
||
/** | ||
* The subtype of the card product. Examples include: CLASSIC, GOLD, PLATINUM, PREPAID, etc. | ||
* @var string | ||
*/ | ||
public $SubType; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters