-
Notifications
You must be signed in to change notification settings - Fork 571
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f201fb1
commit bff5c41
Showing
75 changed files
with
1,707 additions
and
18 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
7 changes: 7 additions & 0 deletions
7
src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCustomerBalance.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,7 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
public class ChargePaymentMethodDetailsCustomerBalance : StripeEntity<ChargePaymentMethodDetailsCustomerBalance> | ||
{ | ||
} | ||
} |
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
11 changes: 11 additions & 0 deletions
11
src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetails.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,11 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class PaymentIntentAmountDetails : StripeEntity<PaymentIntentAmountDetails> | ||
{ | ||
[JsonProperty("tip")] | ||
public PaymentIntentAmountDetailsTip Tip { get; set; } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsTip.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,14 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class PaymentIntentAmountDetailsTip : StripeEntity<PaymentIntentAmountDetailsTip> | ||
{ | ||
/// <summary> | ||
/// Portion of the amount that corresponds to a tip. | ||
/// </summary> | ||
[JsonProperty("amount")] | ||
public long? Amount { 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
42 changes: 42 additions & 0 deletions
42
...ipe.net/Entities/PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructions.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,42 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
public class PaymentIntentNextActionDisplayBankTransferInstructions : StripeEntity<PaymentIntentNextActionDisplayBankTransferInstructions> | ||
{ | ||
/// <summary> | ||
/// The remaining amount that needs to be transferred to complete the payment. | ||
/// </summary> | ||
[JsonProperty("amount_remaining")] | ||
public long? AmountRemaining { get; set; } | ||
|
||
/// <summary> | ||
/// Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency | ||
/// code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported | ||
/// currency</a>. | ||
/// </summary> | ||
[JsonProperty("currency")] | ||
public string Currency { get; set; } | ||
|
||
/// <summary> | ||
/// A list of financial addresses that can be used to fund the customer balance. | ||
/// </summary> | ||
[JsonProperty("financial_addresses")] | ||
public List<PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress> FinancialAddresses { get; set; } | ||
|
||
/// <summary> | ||
/// A string identifying this payment. Instruct your customer to include this code in the | ||
/// reference or memo field of their bank transfer. | ||
/// </summary> | ||
[JsonProperty("reference")] | ||
public string Reference { get; set; } | ||
|
||
/// <summary> | ||
/// Type of bank transfer. | ||
/// </summary> | ||
[JsonProperty("type")] | ||
public string Type { get; set; } | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
.../PaymentIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress.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,28 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
public class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress : StripeEntity<PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress> | ||
{ | ||
/// <summary> | ||
/// The payment networks supported by this FinancialAddress. | ||
/// </summary> | ||
[JsonProperty("supported_networks")] | ||
public List<string> SupportedNetworks { get; set; } | ||
|
||
/// <summary> | ||
/// The type of financial address. | ||
/// One of: <c>iban</c>, or <c>zengin</c>. | ||
/// </summary> | ||
[JsonProperty("type")] | ||
public string Type { get; set; } | ||
|
||
/// <summary> | ||
/// Zengin Records contain Japan bank account details per the Zengin format. | ||
/// </summary> | ||
[JsonProperty("zengin")] | ||
public PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin Zengin { get; set; } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...ntIntents/PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin.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,7 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
public class PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin : StripeEntity<PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin> | ||
{ | ||
} | ||
} |
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
37 changes: 37 additions & 0 deletions
37
src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCustomerBalance.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,37 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class PaymentIntentPaymentMethodOptionsCustomerBalance : StripeEntity<PaymentIntentPaymentMethodOptionsCustomerBalance> | ||
{ | ||
[JsonProperty("bank_transfer")] | ||
public PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer BankTransfer { get; set; } | ||
|
||
/// <summary> | ||
/// The funding method type to be used when there are not enough funds in the customer | ||
/// balance. Permitted values include: <c>bank_transfer</c>. | ||
/// </summary> | ||
[JsonProperty("funding_type")] | ||
public string FundingType { get; set; } | ||
|
||
/// <summary> | ||
/// Indicates that you intend to make future payments with this PaymentIntent's payment | ||
/// method. | ||
/// | ||
/// Providing this parameter will <a | ||
/// href="https://stripe.com/docs/payments/save-during-payment">attach the payment | ||
/// method</a> to the PaymentIntent's Customer, if present, after the PaymentIntent is | ||
/// confirmed and any required actions from the user are complete. If no Customer was | ||
/// provided, the payment method can still be <a | ||
/// href="https://stripe.com/docs/api/payment_methods/attach">attached</a> to a Customer | ||
/// after the transaction completes. | ||
/// | ||
/// When processing card payments, Stripe also uses <c>setup_future_usage</c> to dynamically | ||
/// optimize your payment flow and comply with regional legislation and network rules, such | ||
/// as <a href="https://stripe.com/docs/strong-customer-authentication">SCA</a>. | ||
/// </summary> | ||
[JsonProperty("setup_future_usage")] | ||
public string SetupFutureUsage { get; set; } | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...t/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer.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,32 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
public class PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer : StripeEntity<PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer> | ||
{ | ||
/// <summary> | ||
/// List of address types that should be returned in the financial_addresses response. If | ||
/// not specified, all valid types will be returned. | ||
/// | ||
/// Permitted values include: <c>zengin</c>. | ||
/// </summary> | ||
[JsonProperty("requested_address_types")] | ||
public List<string> RequestedAddressTypes { get; set; } | ||
|
||
/// <summary> | ||
/// The bank transfer type that this PaymentIntent is allowed to use for funding. Permitted | ||
/// values include: <c>us_bank_account</c>, <c>eu_bank_account</c>, <c>id_bank_account</c>, | ||
/// <c>gb_bank_account</c>, <c>jp_bank_account</c>, <c>mx_bank_account</c>, | ||
/// <c>eu_bank_transfer</c>, <c>gb_bank_transfer</c>, <c>id_bank_transfer</c>, | ||
/// <c>jp_bank_transfer</c>, <c>mx_bank_transfer</c>, or <c>us_bank_transfer</c>. | ||
/// One of: <c>eu_bank_account</c>, <c>eu_bank_transfer</c>, <c>gb_bank_account</c>, | ||
/// <c>gb_bank_transfer</c>, <c>id_bank_account</c>, <c>id_bank_transfer</c>, | ||
/// <c>jp_bank_account</c>, <c>jp_bank_transfer</c>, <c>mx_bank_account</c>, | ||
/// <c>mx_bank_transfer</c>, <c>us_bank_account</c>, or <c>us_bank_transfer</c>. | ||
/// </summary> | ||
[JsonProperty("type")] | ||
public string Type { 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
7 changes: 7 additions & 0 deletions
7
src/Stripe.net/Entities/PaymentMethods/PaymentMethodCustomerBalance.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,7 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
public class PaymentMethodCustomerBalance : StripeEntity<PaymentMethodCustomerBalance> | ||
{ | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
src/Stripe.net/Entities/Terminal/Configurations/Configuration.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,52 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Terminal | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
/// <summary> | ||
/// A Configurations object represents how features should be configured for terminal | ||
/// readers. | ||
/// </summary> | ||
public class Configuration : StripeEntity<Configuration>, IHasId, IHasObject | ||
{ | ||
/// <summary> | ||
/// Unique identifier for the object. | ||
/// </summary> | ||
[JsonProperty("id")] | ||
public string Id { get; set; } | ||
|
||
/// <summary> | ||
/// String representing the object's type. Objects of the same type share the same value. | ||
/// </summary> | ||
[JsonProperty("object")] | ||
public string Object { get; set; } | ||
|
||
[JsonProperty("bbpos_wisepos_e")] | ||
public ConfigurationBbposWiseposE BbposWiseposE { get; set; } | ||
|
||
/// <summary> | ||
/// Whether this object is deleted or not. | ||
/// </summary> | ||
[JsonProperty("deleted", NullValueHandling = NullValueHandling.Ignore)] | ||
public bool? Deleted { get; set; } | ||
|
||
/// <summary> | ||
/// Whether this Configuration is the default for your account. | ||
/// </summary> | ||
[JsonProperty("is_account_default")] | ||
public bool? IsAccountDefault { get; set; } | ||
|
||
/// <summary> | ||
/// Has the value <c>true</c> if the object exists in live mode or the value <c>false</c> if | ||
/// the object exists in test mode. | ||
/// </summary> | ||
[JsonProperty("livemode")] | ||
public bool Livemode { get; set; } | ||
|
||
[JsonProperty("tipping")] | ||
public ConfigurationTipping Tipping { get; set; } | ||
|
||
[JsonProperty("verifone_p400")] | ||
public ConfigurationVerifoneP400 VerifoneP400 { get; set; } | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
src/Stripe.net/Entities/Terminal/Configurations/ConfigurationBbposWiseposE.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,40 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Terminal | ||
{ | ||
using Newtonsoft.Json; | ||
using Stripe.Infrastructure; | ||
|
||
public class ConfigurationBbposWiseposE : StripeEntity<ConfigurationBbposWiseposE> | ||
{ | ||
#region Expandable Splashscreen | ||
|
||
/// <summary> | ||
/// (ID of the File) | ||
/// A File ID representing an image you would like displayed on the reader. | ||
/// </summary> | ||
[JsonIgnore] | ||
public string SplashscreenId | ||
{ | ||
get => this.InternalSplashscreen?.Id; | ||
set => this.InternalSplashscreen = SetExpandableFieldId(value, this.InternalSplashscreen); | ||
} | ||
|
||
/// <summary> | ||
/// (Expanded) | ||
/// A File ID representing an image you would like displayed on the reader. | ||
/// | ||
/// For more information, see the <a href="https://stripe.com/docs/expand">expand documentation</a>. | ||
/// </summary> | ||
[JsonIgnore] | ||
public File Splashscreen | ||
{ | ||
get => this.InternalSplashscreen?.ExpandedObject; | ||
set => this.InternalSplashscreen = SetExpandableFieldObject(value, this.InternalSplashscreen); | ||
} | ||
|
||
[JsonProperty("splashscreen")] | ||
[JsonConverter(typeof(ExpandableFieldConverter<File>))] | ||
internal ExpandableField<File> InternalSplashscreen { get; set; } | ||
#endregion | ||
} | ||
} |
Oops, something went wrong.