-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add AU DD Source Type and Change Mandate Shape to Support Online Offline * code review fix: BecsDebit to AuBecsDebit and parameter ordering changes
- Loading branch information
1 parent
063b17e
commit 272239e
Showing
7 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class SourceAuBecsDebit : StripeEntity | ||
{ | ||
[JsonProperty("account_number")] | ||
public string AccountNumber { get; set; } | ||
|
||
[JsonProperty("bsb_number")] | ||
public string BsbNumber { get; set; } | ||
|
||
[JsonProperty("fingerprint")] | ||
public string Fingerprint { get; set; } | ||
|
||
[JsonProperty("last3")] | ||
public string Last3 { get; set; } | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
src/Stripe.net/Services/Sources/SourceAuBecsDebitCreateOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class SourceAuBecsDebitCreateOptions : INestedOptions | ||
{ | ||
[JsonProperty("account_number")] | ||
public string AccountNumber { get; set; } | ||
|
||
[JsonProperty("bsb_number")] | ||
public string BsbNumber { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/Stripe.net/Services/Sources/SourceMandateAcceptanceOfflineOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace Stripe | ||
{ | ||
using System; | ||
using Newtonsoft.Json; | ||
using Stripe.Infrastructure; | ||
|
||
public class SourceMandateAcceptanceOfflineOptions : INestedOptions | ||
{ | ||
[JsonProperty("contact_email")] | ||
public string ContactEmail { get; set; } | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/Stripe.net/Services/Sources/SourceMandateAcceptanceOnlineOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace Stripe | ||
{ | ||
using System; | ||
using Newtonsoft.Json; | ||
using Stripe.Infrastructure; | ||
|
||
public class SourceMandateAcceptanceOnlineOptions : INestedOptions | ||
{ | ||
[JsonProperty("date")] | ||
public DateTime? Date { get; set; } | ||
|
||
[JsonProperty("ip")] | ||
public string Ip { get; set; } | ||
|
||
[JsonProperty("user_agent")] | ||
public string UserAgent { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters