Skip to content

Commit

Permalink
Merge pull request #232 from RudyLeetchi/fix/cardinfotype_nullable
Browse files Browse the repository at this point in the history
CardInfoType can be nullable in some case when using WithNext payment provider
  • Loading branch information
iulian03 authored Jan 27, 2025
2 parents 367b46a + 861e999 commit dcd7e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MangoPay.SDK/Entities/CardInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class CardInfo
public CountryIso IssuerCountryCode;

/// <summary>The type of card product: DEBIT, CREDIT, CHARGE CARD.</summary>
public CardInfoType Type;
public CardInfoType? Type;

/// <summary>The card brand. Examples include: AMERICAN EXPRESS, DISCOVER, JCB, MASTERCARD, VISA, etc.</summary>
public string Brand;
Expand Down

0 comments on commit dcd7e4d

Please sign in to comment.