Skip to content

Commit

Permalink
Remove more Id/FileId suffixes (#1803)
Browse files Browse the repository at this point in the history
  • Loading branch information
ob-stripe committed Oct 8, 2019
1 parent b1f26dd commit 9e3eb1f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ public class AccountCompanyVerificationDocumentOptions : INestedOptions
/// <c>additional_verification</c>.
/// </summary>
[JsonProperty("back")]
public string BackFileId { get; set; }
public string Back { get; set; }

/// <summary>
/// The front of a document returned by a file upload with a <c>purpose</c> value of
/// <c>additional_verification</c>.
/// </summary>
[JsonProperty("front")]
public string FrontFileId { get; set; }
public string Front { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class SubscriptionSchedulePhaseOptions : INestedOptions
/// ID of the default payment method for the subscription schedule.
/// </summary>
[JsonProperty("default_payment_method")]
public string DefaultPaymentMethodId { get; set; }
public string DefaultPaymentMethod { get; set; }

/// <summary>
/// Ids of the tax rates to apply to this phase on the subscription schedule.
Expand Down
4 changes: 2 additions & 2 deletions src/StripeTests/Services/Accounts/AccountServiceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ public AccountServiceTest(
{
Document = new AccountCompanyVerificationDocumentOptions
{
BackFileId = "file_back",
FrontFileId = "file_front",
Back = "file_back",
Front = "file_front",
},
},
},
Expand Down

0 comments on commit 9e3eb1f

Please sign in to comment.