Skip to content

Commit

Permalink
Adds missing fields found with autogen
Browse files Browse the repository at this point in the history
  • Loading branch information
cjavilla-stripe committed Jul 6, 2020
1 parent 409adbf commit 29ba24b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity<PaymentIntentP
[JsonProperty("installments")]
public PaymentIntentPaymentMethodOptionsCardInstallments Installments { get; set; }

/// <summary>
/// Selected network to process this PaymentIntent on. Depends on the available networks of the card
/// attached to the PaymentIntent. Can be only set confirm-time.
/// </summary>
[JsonProperty("network")]
public string Network { get; set; }

/// <summary>
/// We strongly recommend that you rely on our SCA engine to automatically prompt your
/// customers for authentication based on risk level and other requirements. However, if
Expand Down
14 changes: 14 additions & 0 deletions src/Stripe.net/Entities/Sources/SourceReceiver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,19 @@ public class SourceReceiver : StripeEntity<SourceReceiver>
/// </summary>
[JsonProperty("amount_returned")]
public long AmountReturned { get; set; }

/// <summary>
/// Type of refund attribute method, one of <c>email</c>, <c>manual</c>,
/// or <c>none</c>.
/// </summary>
[JsonProperty("refund_attributes_method")]
public string RefundAttributesMethod { get; set; }

/// <summary>
/// Type of refund attribute status, one of <c>missing</c>, <c>requested</c>, or
/// <c>available</c>.
/// </summary>
[JsonProperty("refund_attributes_status")]
public string RefundAttributesStatus { get; set; }
}
}

0 comments on commit 29ba24b

Please sign in to comment.