Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Last4 in AU BECS Source and Deprecating Last3 #1789

Merged
merged 2 commits into from
Sep 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Stripe.net/Entities/Sources/SourceAuBecsDebit.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
namespace Stripe
{
using System;
using Newtonsoft.Json;

public class SourceAuBecsDebit : StripeEntity
{
[Obsolete("This property is deprecated, Account Number will not be returned from Stripe API.")]
[JsonProperty("account_number")]
public string AccountNumber { get; set; }

Expand All @@ -13,7 +15,11 @@ public class SourceAuBecsDebit : StripeEntity
[JsonProperty("fingerprint")]
public string Fingerprint { get; set; }

[Obsolete("This property is deprecated, please use Last4 going forward.")]
shengwei-stripe marked this conversation as resolved.
Show resolved Hide resolved
[JsonProperty("last3")]
public string Last3 { get; set; }

[JsonProperty("last4")]
public string Last4 { get; set; }
}
}