Skip to content

Commit

Permalink
Adds public to PaywallInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemor committed Oct 22, 2021
1 parent 4ed4eac commit bc58d4a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Sources/Paywall/Network/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@ internal struct PaywallsResponse: Decodable {
public class PaywallInfo: NSObject {

/// Superwall's internal identifier for this paywall.
var id: String
internal let id: String

/// The identifier set for this paywall in Superwall's web dashboard.
var identifier: String
public let identifier: String

/// The name set for this paywall in Superwall's web dashboard.
var name: String
var slug: String
public let name: String
public let slug: String

/// The URL where this paywall is hosted.
var url: URL? = nil
public let url: URL?

/// An array of product IDs that this paywall is displaying in `[Primary, Secondary, Tertiary]` order.
var productIds: [String]
public let productIds: [String]

init(id: String, identifier: String, name: String, slug: String, url: URL?, productIds: [String]) {
self.id = id
Expand Down

0 comments on commit bc58d4a

Please sign in to comment.