Skip to content

Commit

Permalink
added support for ConfigChange().pricing([...])
Browse files Browse the repository at this point in the history
  • Loading branch information
bverbeken committed Apr 19, 2024
1 parent e824a8e commit 2c1d982
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions seatsio-ios/ConfigChange.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public class ConfigChange: Encodable {
var availableCategories: [String]?
var unavailableCategories: [String]?
var filteredCategories: [String]?
var pricing: [Pricing]?
var channels: [String]?

public func objectColor(_ objectColor: String) -> Self {
Expand Down Expand Up @@ -62,6 +63,11 @@ public class ConfigChange: Encodable {
return self
}

public func pricing(_ pricing: [Pricing]) -> Self {
self.pricing = pricing
return self
}

public func channels(_ channels: [String]) -> Self {
self.channels = channels
return self
Expand Down

0 comments on commit 2c1d982

Please sign in to comment.