Skip to content

Commit

Permalink
Added enum raw value (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewangeta authored Jul 19, 2023
1 parent ad4f739 commit a8dac41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/StripeKit/Checkout/Sessions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ public struct SessionCustomTextSubmit: Codable {

public enum SessionCustomerCreation: String, Codable {
/// The Checkout Session will only create a Customer if it is required for Session confirmation. Currently, only `subscription` mode Sessions require a Customer.
case ifRequired
case ifRequired = "if_required"
/// The Checkout Session will always create a Customer when a Session confirmation is attempted.
case always
}
Expand Down

0 comments on commit a8dac41

Please sign in to comment.