stripe / stripe-dotnet

Stripe.net is a sync/async .NET 4.6.1+ client, and a portable class library for stripe.com.
Apache License 2.0
1.37k stars 570 forks source link

StripeSourceCreateOptions does not have a statement_descriptor property #1088

Closed AFallad closed 6 years ago

AFallad commented 6 years ago

Hello,

I'm trying to create a source and add data to the top level statement_descriptor property (https://stripe.com/docs/api#create_source-statement_descriptor) however the class StripeSourceCreateOptions.cs does not contains a property that maps to it, I can see that bancontact[statement_descriptor], ideal[statement_descriptor] and sofort[statement_descriptor] are mapped, but not the top level statement_descriptor.

Thanks in advance for your help!

remi-stripe commented 6 years ago

@AFallad Thanks a lot for the report! I'll work on a PR and hopefully push a fix in the next few days!