Skip to content

Commit

Permalink
update to use raw cardinal render types
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxdesmarais committed Nov 14, 2023
1 parent 1b9fa41 commit 388024f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Sources/BraintreeThreeDSecure/BTThreeDSecureRenderType.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Foundation
import CardinalMobile

/// Render types that the device supports for displaying specific challenge user interfaces within the 3D Secure challenge.
@objcMembers public class BTThreeDSecureRenderType: NSObject, OptionSet {
Expand Down Expand Up @@ -27,15 +28,15 @@ import Foundation
var stringValue: String {
switch self {
case .otp:
return "CardinalSessionRenderTypeOTP"
return CardinalSessionRenderTypeOTP
case .html:
return "CardinalSessionRenderTypeHTML"
return CardinalSessionRenderTypeHTML
case .singleSelect:
return "CardinalSessionRenderTypeSingleSelect"
return CardinalSessionRenderTypeSingleSelect
case .multiSelect:
return "CardinalSessionRenderTypeMultiSelect"
return CardinalSessionRenderTypeMultiSelect
case .oob:
return "CardinalSessionRenderTypeOOB"
return CardinalSessionRenderTypeOOB
default:
return ""
}
Expand Down

0 comments on commit 388024f

Please sign in to comment.