Skip to content

Commit

Permalink
Merge pull request #1742 from stripe/remi-bank-account-metadata
Browse files Browse the repository at this point in the history
Add support for metadata on BankAccount creation
  • Loading branch information
remi-stripe authored Aug 14, 2019
2 parents 4d81c33 + 9d2defd commit 5f656c9
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
using Stripe.Infrastructure;

public class BankAccountCreateOptions : BaseOptions
public class BankAccountCreateOptions : BaseOptions, IHasMetadata
{
/// <summary>
/// A set of key/value pairs that you can attach to an object. It can be useful for storing
/// additional information about the object in a structured format.
/// </summary>
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }

/// <summary>
/// REQUIRED. Either a token, like the ones returned by
/// <a href="https://stripe.com/docs/stripe.js">Stripe.js</a>, or a
Expand Down

0 comments on commit 5f656c9

Please sign in to comment.