Skip to content

Commit

Permalink
added receipt_email to StripeChargeCreateOptions, bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymedavis committed Oct 26, 2014
1 parent 35787aa commit 1ec21ea
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Stripe.net.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>Stripe.net</id>
<version>2.3.0</version>
<version>2.3.1</version>
<authors>Jayme Davis</authors>
<owners>Jayme Davis</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand Down
2 changes: 1 addition & 1 deletion rakefile.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'albacore'

VERSION = "2.3.0"
VERSION = "2.3.1"

task :default => [:build, :output]

Expand Down
2 changes: 1 addition & 1 deletion src/SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
[assembly: AssemblyCompany("Jayme Davis")]
[assembly: AssemblyProduct("Stripe.net")]
[assembly: AssemblyCopyright("Copyright (C) Jayme Davis 2014")]
[assembly: AssemblyVersion("2.3.0")]
[assembly: AssemblyVersion("2.3.1")]
43 changes: 23 additions & 20 deletions src/Stripe/Services/Charges/StripeChargeCreateOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,33 @@ namespace Stripe
public class StripeChargeCreateOptions : CreditCardOptions
{
[JsonProperty("amount")]
public int? Amount { get; set; }

[JsonProperty("application_fee")]
public int? ApplicationFee { get; set; }

[JsonProperty("currency")]
public string Currency { get; set; }

[JsonProperty("description")]
public string Description { get; set; }

[JsonProperty("customer")]
public string CustomerId { get; set; }

[JsonProperty("capture")]
public bool? Capture { get; set; }

[JsonProperty("card")]
public int? Amount { get; set; }

[JsonProperty("currency")]
public string Currency { get; set; }

[JsonProperty("customer")]
public string CustomerId { get; set; }

[JsonProperty("card")]
public string Card { get; set; }

[JsonProperty("description")]
public string Description { get; set; }

[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }

[JsonProperty("capture")]
public bool? Capture { get; set; }

[JsonProperty("statement_description")]
public string StatementDescription { get; set; }

[JsonProperty("receipt_email")]
public string ReceiptEmail { get; set; }

[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }
[JsonProperty("application_fee")]
public int? ApplicationFee { get; set; }
}
}

0 comments on commit 1ec21ea

Please sign in to comment.