Skip to content

Commit

Permalink
Merge pull request #2186 from humanbeinc/master
Browse files Browse the repository at this point in the history
Add support for `SepaCreditTransfer` in `SourceTransaction`
  • Loading branch information
remi-stripe authored Aug 27, 2020
2 parents e77f544 + 53812a2 commit 572f074
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@ public class SourceTransaction : StripeEntity<SourceTransaction>, IHasId, IHasOb

[JsonProperty("ach_credit_transfer")]
public SourceTransactionAchCreditTransfer AchCreditTransfer { get; set; }

[JsonProperty("sepa_credit_transfer")]
public SourceTransactionSepaCreditTransfer SepaCreditTransfer { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
namespace Stripe
{
using Newtonsoft.Json;

public class SourceTransactionSepaCreditTransfer : StripeEntity<SourceTransactionSepaCreditTransfer>
{
[JsonProperty("reference")]
public string Reference { get; set; }

[JsonProperty("sender_iban")]
public string SenderIban { get; set; }

[JsonProperty("sender_name")]
public string SenderName { get; set; }
}
}

0 comments on commit 572f074

Please sign in to comment.