Skip to content

Commit

Permalink
updated PaymentMethodMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Iulian Masar committed Apr 30, 2024
1 parent d359369 commit 951150b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions MangoPay/PaymentMethodMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ class PaymentMethodMetadata extends Libraries\EntityBase
*/
public $TokenFormat;

/**
* The type of the card. Allowed / Returned / Default values: CREDIT, DEBIT, CHARGE CARD
* @var string
*/
public $CardType;

/**
* The country where the card was issued. Format: ISO-3166 alpha-2 two-letter country code
* @var string
Expand All @@ -49,12 +43,6 @@ class PaymentMethodMetadata extends Libraries\EntityBase
*/
public $IssuingBank;

/**
* Whether the card is held in a personal or commercial capacity.
* @var string
*/
public $CommercialIndicator;

/**
* Additional data about the card based on the BIN. In the case of co-branded card products, two objects are returned.
* @var array
Expand Down
2 changes: 1 addition & 1 deletion tests/Cases/PayInsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ public function test_CardDirect_getPaymentMethodMetadata()
$this->assertNotNull($result_metadata->IssuerCountryCode);
$this->assertNotNull($result_metadata->IssuingBank);
$this->assertNotNull($result_metadata->BinData);
$this->assertNotNull($result_metadata->CardType);
$this->assertNotNull($result_metadata->BinData[0]->CardType);
}

// /**
Expand Down

0 comments on commit 951150b

Please sign in to comment.