diff --git a/Sources/StripeKit/Shared Models/StripeExpandable.swift b/Sources/StripeKit/Shared Models/StripeExpandable.swift index 3d9083a9..06e908f6 100644 --- a/Sources/StripeKit/Shared Models/StripeExpandable.swift +++ b/Sources/StripeKit/Shared Models/StripeExpandable.swift @@ -108,7 +108,7 @@ public class DynamicExpandable: StripeModel { public var projectedValue: DynamicExpandable { self } - func callAsFunction(as type: T.Type) -> T? { + public func callAsFunction(as type: T.Type) -> T? { switch _state { case .unexpanded(_), .empty: return nil