diff --git a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/FlyBuy b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/FlyBuy index 896fa40..59acc5d 100644 Binary files a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/FlyBuy and b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/FlyBuy differ diff --git a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Headers/FlyBuy-Swift.h b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Headers/FlyBuy-Swift.h index f79f966..fd9305f 100644 --- a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Headers/FlyBuy-Swift.h +++ b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Headers/FlyBuy-Swift.h @@ -746,6 +746,13 @@ SWIFT_CLASS_NAMED("OrderEvent") @end +SWIFT_CLASS_NAMED("OrderOptions") +@interface FlyBuyOrderOptions : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + /// Manager for order operations /// Allows fetching the list of orders, creating a new order, or creating /// order events. @@ -795,304 +802,112 @@ SWIFT_CLASS_NAMED("OrdersManager") /// - (void)fetchWithRedemptionCode:(NSString * _Nonnull)redemptionCode callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; /// Claim an order for the current customer. -/// redemptionCode and customerInfo are required to claim the order. -/// Optionally, a pickupType may be provided. This is only necessary for apps that do not set the pickup type via backend integrations when the order is created. Supported pickup types currently include “curbside”, “pickup”, and “delivery”. Passing nil will leave the pickupType unchanged. -/// Example: -/// \code -/// // Create the customer info struct for person picking up (name is required) -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.claim(withRedemptionCode: code, customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param redemptionCode the redemption code for the order -/// -/// \param customerInfo the customer details for the order -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param callback will get called on completion with the Order and any errors encountered. Optional. -/// -- (void)claimWithRedemptionCode:(NSString * _Nonnull)redemptionCode customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given sitePartnerIdentifier. -/// Example: -/// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param sitePartnerIdentifier site partner identifier -/// -/// \param orderPartnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param state initial order state. Optional. -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given sitePartnerIdentifier. +/// redemptionCode and orderOptions are required to claim the order. +/// Optionally, a "pickupType" may be provided in the [orderOptions]. This is only necessary for apps that do not set the pickup type via backend integrations when the order is created. Supported pickup types currently include "curbside", "pickup", and "delivery". /// Example: /// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param sitePartnerIdentifier site partner identifier -/// -/// \param orderPartnerIdentifier partner identifier for the order +/// // Create the order options instance for person pickup the order (name is required) +/// let orderOptions = OrderOptions.Builder(customerName: "Marty McFly") +/// .setCustomerPhone("555-555-5555") +/// .setCustomerCarColor("Silver") +/// .setCustomerCarType("Delorean") +/// .setCustomerCarPlate("OUTATIME") /// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param state initial order state. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given sitePartnerIdentifier. -/// Example: -/// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) /// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { +/// FlyBuy.Core.orders.claim(withRedemptionCode: code, orderOptions: orderOptions.build()) { (order, error) -> (Void) in +/// if let error = error { /// // Handle error -/// } else { +/// } else { /// // Handle success -/// } +/// } /// } /// -/// \endcode\param sitePartnerIdentifier site partner identifier -/// -/// \param orderPartnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information +/// \endcode\param redemptionCode the redemption code for the order /// -/// \param pickupWindow pickup window for the order. Optional. +/// \param orderOptions options used for claiming the order /// -/// \param callback called once either an Order is created or an error is encountered. Optional. +/// \param callback will get called on completion with the Order and any errors encountered. Optional. /// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given sitePartnerIdentifier. +- (void)claimWithRedemptionCode:(NSString * _Nonnull)redemptionCode orderOptions:(FlyBuyOrderOptions * _Nonnull)orderOptions callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +- (void)claimWithRedemptionCode:(NSString * _Nonnull)redemptionCode customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for claiming an order has been deprecated. Use claim(withRedemptionCode, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +/// Create an Order for the current customer for the site with the given siteID. +/// [orderOptions] is required. +/// By default, orders are created with a state of created. If you wish to provide a different initial state, use the optional state parameter of the [orderOptions]. +/// Most orders will have a pickup time of “ASAP”. If you have a different pickup window, you can set a pickupWindow parameter of the [orderOptions]. If you want the default of “ASAP”, omit the parameter. +/// Optionally, a pickupType may be provided in the [orderOptions]. /// Example: /// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in +/// let orderOptions = OrderOptions.Builder(customerName: "Marty McFly") +/// .setCustomerPhone("555-555-5555") +/// .setCustomerCarColor("Silver") +/// .setCustomerCarType("DeLorean") +/// .setCustomerCarPlate("OUTATIME") +/// .setPartnerIdentifier("1234") +/// .setPickupWindow(pickupWindow) +/// .setState(orderState) +/// .setPickupType(pickupType) +/// +/// FlyBuy.Core.orders.create(siteID: 101, orderOptions: orderOptions.build()) { (order, error) -> (Void) in /// if let error = error { -/// // Handle error +/// // Handle error /// } else { -/// // Handle success -/// } +/// // Handle success +/// } /// } /// -/// \endcode\param sitePartnerIdentifier site partner identifier -/// -/// \param orderPartnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. +/// \endcode\param siteID site identifier /// -/// \param pickupType the pickup type string value for the order. Optional. +/// \param orderOptions options used for creating the order /// /// \param callback called once either an Order is created or an error is encountered. Optional. /// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +- (void)createWithSiteID:(NSInteger)siteID orderOptions:(FlyBuyOrderOptions * _Nonnull)orderOptions callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; /// Create an Order for the current customer for the site with the given sitePartnerIdentifier. +/// [orderOptions] is required. +/// By default, orders are created with a state of created. If you wish to provide a different initial state, use the optional state parameter of the [orderOptions]. +/// Most orders will have a pickup time of “ASAP”. If you have a different pickup window, you can set a pickupWindow parameter of the [orderOptions]. If you want the default of “ASAP”, omit the parameter. +/// /// Example: /// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { +/// let orderOptions = OrderOptions.Builder(customerName: "Marty McFly") +/// .setCustomerPhone("555-555-5555") +/// .setCustomerCarColor("Silver") +/// .setCustomerCarType("DeLorean") +/// .setCustomerCarPlate("OUTATIME") +/// .setPartnerIdentifier("1234") +/// .setPickupWindow(pickupWindow) +/// .setState(orderState) +/// .setPickupType(pickupType) +/// +/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderOptions: orderOptions.build()) { (order, error) -> (Void) in +/// if let error = error { /// // Handle error -/// } else { +/// } else { /// // Handle success -/// } +/// } /// } /// /// \endcode\param sitePartnerIdentifier site partner identifier /// -/// \param orderPartnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param state initial order state. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// partnerIdentifier (e.g. order number) and customerInfo are required. -/// Most orders will have a pickup time of “ASAP”. If you have a different pickup window, you can pass a pickupWindow parameter. If you want the default of “ASAP”, omit the parameter. -/// \param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param state initial order state -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// \param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param state initial order state -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// Example: -/// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(siteID: 101, partnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// Example: -/// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(siteID: 101, partnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// \param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param state initial order state. Optional. -/// -/// \param pickupType the pickup type string value for the order. Optional. +/// \param orderOptions customer information for the order /// /// \param callback called once either an Order is created or an error is encountered. Optional. /// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderOptions:(FlyBuyOrderOptions * _Nonnull)orderOptions callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; /// Update the customerState for an order with the given orderId. /// Example: /// \code diff --git a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Info.plist b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Info.plist index 55489ab..6cf3d97 100644 Binary files a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Info.plist and b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Info.plist differ diff --git a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftdoc b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftdoc index edbad31..df40901 100644 Binary files a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftdoc and b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftinterface b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftinterface index 51d155a..296dff5 100644 --- a/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftinterface +++ b/FlyBuy.xcframework/ios-arm64/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios.swiftinterface @@ -483,6 +483,22 @@ extension Swift.Error { get } } +@_hasMissingDesignatedInitializers @objc(FlyBuyOrderOptions) public class OrderOptions : ObjectiveC.NSObject { + public class Builder { + public init(customerName: Swift.String) + public func setCustomerPhone(_ customerPhone: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setCustomerCarColor(_ customerCarColor: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setCustomerCarType(_ customerCarType: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setCustomerCarPlate(_ customerCarPlate: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setPartnerIdentifier(_ partnerIdentifier: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setPickupWindow(_ pickupWindow: FlyBuy.PickupWindow?) -> FlyBuy.OrderOptions.Builder + public func setState(_ state: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setPickupType(_ pickupType: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func build() -> FlyBuy.OrderOptions + @objc deinit + } + @objc deinit +} @usableFromInline internal protocol _AnyDecodable { var value: Any { get } @@ -747,17 +763,31 @@ public struct PickupStates : Swift.Codable { @objc override dynamic public init() @objc public func fetch(callback: (([FlyBuy.Order]?, Swift.Error?) -> (Swift.Void))? = nil) @objc public func fetch(withRedemptionCode redemptionCode: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func claim(withRedemptionCode redemptionCode: Swift.String, orderOptions: FlyBuy.OrderOptions, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @available(*, deprecated, message: "This method for claiming an order has been deprecated. Use claim(withRedemptionCode, orderOptions) instead.") @objc public func claim(withRedemptionCode redemptionCode: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, state: Swift.String? = nil, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, state: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, state: Swift.String?, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, state: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, state: Swift.String, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, state: Swift.String?, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @objc public func create(siteID: Swift.Int, orderOptions: FlyBuy.OrderOptions, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @objc public func create(sitePartnerIdentifier: Swift.String, orderOptions: FlyBuy.OrderOptions, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) public func event(info: FlyBuy.OrderEvent, callback: ((FlyBuy.Order?, Swift.Error?) -> ())? = nil) @objc public func updateCustomerState(orderID: Swift.Int, customerState: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) @objc public func updateCustomerState(orderID: Swift.Int, customerState: Swift.String, spotIdentifier: Swift.String?, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) diff --git a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/FlyBuy b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/FlyBuy index 5155584..93c83bd 100644 Binary files a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/FlyBuy and b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/FlyBuy differ diff --git a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Headers/FlyBuy-Swift.h b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Headers/FlyBuy-Swift.h index 10594e4..4591004 100644 --- a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Headers/FlyBuy-Swift.h +++ b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Headers/FlyBuy-Swift.h @@ -748,6 +748,13 @@ SWIFT_CLASS_NAMED("OrderEvent") @end +SWIFT_CLASS_NAMED("OrderOptions") +@interface FlyBuyOrderOptions : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + /// Manager for order operations /// Allows fetching the list of orders, creating a new order, or creating /// order events. @@ -797,304 +804,112 @@ SWIFT_CLASS_NAMED("OrdersManager") /// - (void)fetchWithRedemptionCode:(NSString * _Nonnull)redemptionCode callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; /// Claim an order for the current customer. -/// redemptionCode and customerInfo are required to claim the order. -/// Optionally, a pickupType may be provided. This is only necessary for apps that do not set the pickup type via backend integrations when the order is created. Supported pickup types currently include “curbside”, “pickup”, and “delivery”. Passing nil will leave the pickupType unchanged. -/// Example: -/// \code -/// // Create the customer info struct for person picking up (name is required) -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.claim(withRedemptionCode: code, customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param redemptionCode the redemption code for the order -/// -/// \param customerInfo the customer details for the order -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param callback will get called on completion with the Order and any errors encountered. Optional. -/// -- (void)claimWithRedemptionCode:(NSString * _Nonnull)redemptionCode customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given sitePartnerIdentifier. -/// Example: -/// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param sitePartnerIdentifier site partner identifier -/// -/// \param orderPartnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param state initial order state. Optional. -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given sitePartnerIdentifier. +/// redemptionCode and orderOptions are required to claim the order. +/// Optionally, a "pickupType" may be provided in the [orderOptions]. This is only necessary for apps that do not set the pickup type via backend integrations when the order is created. Supported pickup types currently include "curbside", "pickup", and "delivery". /// Example: /// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param sitePartnerIdentifier site partner identifier -/// -/// \param orderPartnerIdentifier partner identifier for the order +/// // Create the order options instance for person pickup the order (name is required) +/// let orderOptions = OrderOptions.Builder(customerName: "Marty McFly") +/// .setCustomerPhone("555-555-5555") +/// .setCustomerCarColor("Silver") +/// .setCustomerCarType("Delorean") +/// .setCustomerCarPlate("OUTATIME") /// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param state initial order state. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given sitePartnerIdentifier. -/// Example: -/// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) /// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { +/// FlyBuy.Core.orders.claim(withRedemptionCode: code, orderOptions: orderOptions.build()) { (order, error) -> (Void) in +/// if let error = error { /// // Handle error -/// } else { +/// } else { /// // Handle success -/// } +/// } /// } /// -/// \endcode\param sitePartnerIdentifier site partner identifier -/// -/// \param orderPartnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information +/// \endcode\param redemptionCode the redemption code for the order /// -/// \param pickupWindow pickup window for the order. Optional. +/// \param orderOptions options used for claiming the order /// -/// \param callback called once either an Order is created or an error is encountered. Optional. +/// \param callback will get called on completion with the Order and any errors encountered. Optional. /// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given sitePartnerIdentifier. +- (void)claimWithRedemptionCode:(NSString * _Nonnull)redemptionCode orderOptions:(FlyBuyOrderOptions * _Nonnull)orderOptions callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +- (void)claimWithRedemptionCode:(NSString * _Nonnull)redemptionCode customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for claiming an order has been deprecated. Use claim(withRedemptionCode, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +/// Create an Order for the current customer for the site with the given siteID. +/// [orderOptions] is required. +/// By default, orders are created with a state of created. If you wish to provide a different initial state, use the optional state parameter of the [orderOptions]. +/// Most orders will have a pickup time of “ASAP”. If you have a different pickup window, you can set a pickupWindow parameter of the [orderOptions]. If you want the default of “ASAP”, omit the parameter. +/// Optionally, a pickupType may be provided in the [orderOptions]. /// Example: /// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in +/// let orderOptions = OrderOptions.Builder(customerName: "Marty McFly") +/// .setCustomerPhone("555-555-5555") +/// .setCustomerCarColor("Silver") +/// .setCustomerCarType("DeLorean") +/// .setCustomerCarPlate("OUTATIME") +/// .setPartnerIdentifier("1234") +/// .setPickupWindow(pickupWindow) +/// .setState(orderState) +/// .setPickupType(pickupType) +/// +/// FlyBuy.Core.orders.create(siteID: 101, orderOptions: orderOptions.build()) { (order, error) -> (Void) in /// if let error = error { -/// // Handle error +/// // Handle error /// } else { -/// // Handle success -/// } +/// // Handle success +/// } /// } /// -/// \endcode\param sitePartnerIdentifier site partner identifier -/// -/// \param orderPartnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. +/// \endcode\param siteID site identifier /// -/// \param pickupType the pickup type string value for the order. Optional. +/// \param orderOptions options used for creating the order /// /// \param callback called once either an Order is created or an error is encountered. Optional. /// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +- (void)createWithSiteID:(NSInteger)siteID orderOptions:(FlyBuyOrderOptions * _Nonnull)orderOptions callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; /// Create an Order for the current customer for the site with the given sitePartnerIdentifier. +/// [orderOptions] is required. +/// By default, orders are created with a state of created. If you wish to provide a different initial state, use the optional state parameter of the [orderOptions]. +/// Most orders will have a pickup time of “ASAP”. If you have a different pickup window, you can set a pickupWindow parameter of the [orderOptions]. If you want the default of “ASAP”, omit the parameter. +/// /// Example: /// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { +/// let orderOptions = OrderOptions.Builder(customerName: "Marty McFly") +/// .setCustomerPhone("555-555-5555") +/// .setCustomerCarColor("Silver") +/// .setCustomerCarType("DeLorean") +/// .setCustomerCarPlate("OUTATIME") +/// .setPartnerIdentifier("1234") +/// .setPickupWindow(pickupWindow) +/// .setState(orderState) +/// .setPickupType(pickupType) +/// +/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderOptions: orderOptions.build()) { (order, error) -> (Void) in +/// if let error = error { /// // Handle error -/// } else { +/// } else { /// // Handle success -/// } +/// } /// } /// /// \endcode\param sitePartnerIdentifier site partner identifier /// -/// \param orderPartnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param state initial order state. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// partnerIdentifier (e.g. order number) and customerInfo are required. -/// Most orders will have a pickup time of “ASAP”. If you have a different pickup window, you can pass a pickupWindow parameter. If you want the default of “ASAP”, omit the parameter. -/// \param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param state initial order state -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// \param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param state initial order state -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// Example: -/// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(siteID: 101, partnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// Example: -/// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(siteID: 101, partnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// \param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param state initial order state. Optional. -/// -/// \param pickupType the pickup type string value for the order. Optional. +/// \param orderOptions customer information for the order /// /// \param callback called once either an Order is created or an error is encountered. Optional. /// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderOptions:(FlyBuyOrderOptions * _Nonnull)orderOptions callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; /// Update the customerState for an order with the given orderId. /// Example: /// \code @@ -2198,6 +2013,13 @@ SWIFT_CLASS_NAMED("OrderEvent") @end +SWIFT_CLASS_NAMED("OrderOptions") +@interface FlyBuyOrderOptions : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + /// Manager for order operations /// Allows fetching the list of orders, creating a new order, or creating /// order events. @@ -2247,304 +2069,112 @@ SWIFT_CLASS_NAMED("OrdersManager") /// - (void)fetchWithRedemptionCode:(NSString * _Nonnull)redemptionCode callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; /// Claim an order for the current customer. -/// redemptionCode and customerInfo are required to claim the order. -/// Optionally, a pickupType may be provided. This is only necessary for apps that do not set the pickup type via backend integrations when the order is created. Supported pickup types currently include “curbside”, “pickup”, and “delivery”. Passing nil will leave the pickupType unchanged. -/// Example: -/// \code -/// // Create the customer info struct for person picking up (name is required) -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.claim(withRedemptionCode: code, customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param redemptionCode the redemption code for the order -/// -/// \param customerInfo the customer details for the order -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param callback will get called on completion with the Order and any errors encountered. Optional. -/// -- (void)claimWithRedemptionCode:(NSString * _Nonnull)redemptionCode customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given sitePartnerIdentifier. -/// Example: -/// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param sitePartnerIdentifier site partner identifier -/// -/// \param orderPartnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param state initial order state. Optional. -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given sitePartnerIdentifier. +/// redemptionCode and orderOptions are required to claim the order. +/// Optionally, a "pickupType" may be provided in the [orderOptions]. This is only necessary for apps that do not set the pickup type via backend integrations when the order is created. Supported pickup types currently include "curbside", "pickup", and "delivery". /// Example: /// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param sitePartnerIdentifier site partner identifier -/// -/// \param orderPartnerIdentifier partner identifier for the order +/// // Create the order options instance for person pickup the order (name is required) +/// let orderOptions = OrderOptions.Builder(customerName: "Marty McFly") +/// .setCustomerPhone("555-555-5555") +/// .setCustomerCarColor("Silver") +/// .setCustomerCarType("Delorean") +/// .setCustomerCarPlate("OUTATIME") /// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param state initial order state. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given sitePartnerIdentifier. -/// Example: -/// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) /// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { +/// FlyBuy.Core.orders.claim(withRedemptionCode: code, orderOptions: orderOptions.build()) { (order, error) -> (Void) in +/// if let error = error { /// // Handle error -/// } else { +/// } else { /// // Handle success -/// } +/// } /// } /// -/// \endcode\param sitePartnerIdentifier site partner identifier -/// -/// \param orderPartnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information +/// \endcode\param redemptionCode the redemption code for the order /// -/// \param pickupWindow pickup window for the order. Optional. +/// \param orderOptions options used for claiming the order /// -/// \param callback called once either an Order is created or an error is encountered. Optional. +/// \param callback will get called on completion with the Order and any errors encountered. Optional. /// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given sitePartnerIdentifier. +- (void)claimWithRedemptionCode:(NSString * _Nonnull)redemptionCode orderOptions:(FlyBuyOrderOptions * _Nonnull)orderOptions callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +- (void)claimWithRedemptionCode:(NSString * _Nonnull)redemptionCode customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for claiming an order has been deprecated. Use claim(withRedemptionCode, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback SWIFT_DEPRECATED_MSG("This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead."); +/// Create an Order for the current customer for the site with the given siteID. +/// [orderOptions] is required. +/// By default, orders are created with a state of created. If you wish to provide a different initial state, use the optional state parameter of the [orderOptions]. +/// Most orders will have a pickup time of “ASAP”. If you have a different pickup window, you can set a pickupWindow parameter of the [orderOptions]. If you want the default of “ASAP”, omit the parameter. +/// Optionally, a pickupType may be provided in the [orderOptions]. /// Example: /// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in +/// let orderOptions = OrderOptions.Builder(customerName: "Marty McFly") +/// .setCustomerPhone("555-555-5555") +/// .setCustomerCarColor("Silver") +/// .setCustomerCarType("DeLorean") +/// .setCustomerCarPlate("OUTATIME") +/// .setPartnerIdentifier("1234") +/// .setPickupWindow(pickupWindow) +/// .setState(orderState) +/// .setPickupType(pickupType) +/// +/// FlyBuy.Core.orders.create(siteID: 101, orderOptions: orderOptions.build()) { (order, error) -> (Void) in /// if let error = error { -/// // Handle error +/// // Handle error /// } else { -/// // Handle success -/// } +/// // Handle success +/// } /// } /// -/// \endcode\param sitePartnerIdentifier site partner identifier -/// -/// \param orderPartnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. +/// \endcode\param siteID site identifier /// -/// \param pickupType the pickup type string value for the order. Optional. +/// \param orderOptions options used for creating the order /// /// \param callback called once either an Order is created or an error is encountered. Optional. /// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +- (void)createWithSiteID:(NSInteger)siteID orderOptions:(FlyBuyOrderOptions * _Nonnull)orderOptions callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; /// Create an Order for the current customer for the site with the given sitePartnerIdentifier. +/// [orderOptions] is required. +/// By default, orders are created with a state of created. If you wish to provide a different initial state, use the optional state parameter of the [orderOptions]. +/// Most orders will have a pickup time of “ASAP”. If you have a different pickup window, you can set a pickupWindow parameter of the [orderOptions]. If you want the default of “ASAP”, omit the parameter. +/// /// Example: /// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderPartnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { +/// let orderOptions = OrderOptions.Builder(customerName: "Marty McFly") +/// .setCustomerPhone("555-555-5555") +/// .setCustomerCarColor("Silver") +/// .setCustomerCarType("DeLorean") +/// .setCustomerCarPlate("OUTATIME") +/// .setPartnerIdentifier("1234") +/// .setPickupWindow(pickupWindow) +/// .setState(orderState) +/// .setPickupType(pickupType) +/// +/// FlyBuy.Core.orders.create(sitePartnerIdentifier: "123", orderOptions: orderOptions.build()) { (order, error) -> (Void) in +/// if let error = error { /// // Handle error -/// } else { +/// } else { /// // Handle success -/// } +/// } /// } /// /// \endcode\param sitePartnerIdentifier site partner identifier /// -/// \param orderPartnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param state initial order state. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderPartnerIdentifier:(NSString * _Nonnull)orderPartnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// partnerIdentifier (e.g. order number) and customerInfo are required. -/// Most orders will have a pickup time of “ASAP”. If you have a different pickup window, you can pass a pickupWindow parameter. If you want the default of “ASAP”, omit the parameter. -/// \param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param state initial order state -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// \param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param state initial order state -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow state:(NSString * _Nonnull)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// Example: -/// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(siteID: 101, partnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// Example: -/// \code -/// let customerInfo = CustomerInfo( -/// name: "Marty McFly", -/// carType: "DeLorean", -/// carColor: "Silver", -/// licensePlate: "OUTATIME", -/// phone: "555-555-5555" -/// ) -/// -/// FlyBuy.Core.orders.create(siteID: 101, partnerIdentifier: "1234123", customerInfo: customerInfo) { (order, error) -> (Void) in -/// if let error = error { -/// // Handle error -/// } else { -/// // Handle success -/// } -/// } -/// -/// \endcode\param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param pickupWindow pickup window for the order. Optional. -/// -/// \param pickupType the pickup type string value for the order. Optional. -/// -/// \param callback called once either an Order is created or an error is encountered. Optional. -/// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo pickupWindow:(FlyBuyPickupWindow * _Nullable)pickupWindow pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; -/// Create an Order for the current customer for the site with the given siteID. -/// \param siteID site identifier -/// -/// \param partnerIdentifier partner identifier for the order -/// -/// \param customerInfo customer information -/// -/// \param state initial order state. Optional. -/// -/// \param pickupType the pickup type string value for the order. Optional. +/// \param orderOptions customer information for the order /// /// \param callback called once either an Order is created or an error is encountered. Optional. /// -- (void)createWithSiteID:(NSInteger)siteID partnerIdentifier:(NSString * _Nonnull)partnerIdentifier customerInfo:(FlyBuyCustomerInfo * _Nonnull)customerInfo state:(NSString * _Nullable)state pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; +- (void)createWithSitePartnerIdentifier:(NSString * _Nonnull)sitePartnerIdentifier orderOptions:(FlyBuyOrderOptions * _Nonnull)orderOptions callback:(void (^ _Nullable)(FlyBuyOrder * _Nullable, NSError * _Nullable))callback; /// Update the customerState for an order with the given orderId. /// Example: /// \code diff --git a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Info.plist b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Info.plist index e324a7f..5c2269e 100644 Binary files a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Info.plist and b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Info.plist differ diff --git a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftdoc index 1ee62e8..a2fda53 100644 Binary files a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftinterface index 11f5626..579b4d9 100644 --- a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -483,6 +483,22 @@ extension Swift.Error { get } } +@_hasMissingDesignatedInitializers @objc(FlyBuyOrderOptions) public class OrderOptions : ObjectiveC.NSObject { + public class Builder { + public init(customerName: Swift.String) + public func setCustomerPhone(_ customerPhone: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setCustomerCarColor(_ customerCarColor: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setCustomerCarType(_ customerCarType: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setCustomerCarPlate(_ customerCarPlate: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setPartnerIdentifier(_ partnerIdentifier: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setPickupWindow(_ pickupWindow: FlyBuy.PickupWindow?) -> FlyBuy.OrderOptions.Builder + public func setState(_ state: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setPickupType(_ pickupType: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func build() -> FlyBuy.OrderOptions + @objc deinit + } + @objc deinit +} @usableFromInline internal protocol _AnyDecodable { var value: Any { get } @@ -747,17 +763,31 @@ public struct PickupStates : Swift.Codable { @objc override dynamic public init() @objc public func fetch(callback: (([FlyBuy.Order]?, Swift.Error?) -> (Swift.Void))? = nil) @objc public func fetch(withRedemptionCode redemptionCode: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func claim(withRedemptionCode redemptionCode: Swift.String, orderOptions: FlyBuy.OrderOptions, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @available(*, deprecated, message: "This method for claiming an order has been deprecated. Use claim(withRedemptionCode, orderOptions) instead.") @objc public func claim(withRedemptionCode redemptionCode: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, state: Swift.String? = nil, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, state: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, state: Swift.String?, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, state: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, state: Swift.String, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, state: Swift.String?, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @objc public func create(siteID: Swift.Int, orderOptions: FlyBuy.OrderOptions, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @objc public func create(sitePartnerIdentifier: Swift.String, orderOptions: FlyBuy.OrderOptions, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) public func event(info: FlyBuy.OrderEvent, callback: ((FlyBuy.Order?, Swift.Error?) -> ())? = nil) @objc public func updateCustomerState(orderID: Swift.Int, customerState: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) @objc public func updateCustomerState(orderID: Swift.Int, customerState: Swift.String, spotIdentifier: Swift.String?, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) diff --git a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index 2e6d958..65446a4 100644 Binary files a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 8e632ef..6059b8b 100644 --- a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -483,6 +483,22 @@ extension Swift.Error { get } } +@_hasMissingDesignatedInitializers @objc(FlyBuyOrderOptions) public class OrderOptions : ObjectiveC.NSObject { + public class Builder { + public init(customerName: Swift.String) + public func setCustomerPhone(_ customerPhone: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setCustomerCarColor(_ customerCarColor: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setCustomerCarType(_ customerCarType: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setCustomerCarPlate(_ customerCarPlate: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setPartnerIdentifier(_ partnerIdentifier: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setPickupWindow(_ pickupWindow: FlyBuy.PickupWindow?) -> FlyBuy.OrderOptions.Builder + public func setState(_ state: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func setPickupType(_ pickupType: Swift.String?) -> FlyBuy.OrderOptions.Builder + public func build() -> FlyBuy.OrderOptions + @objc deinit + } + @objc deinit +} @usableFromInline internal protocol _AnyDecodable { var value: Any { get } @@ -747,17 +763,31 @@ public struct PickupStates : Swift.Codable { @objc override dynamic public init() @objc public func fetch(callback: (([FlyBuy.Order]?, Swift.Error?) -> (Swift.Void))? = nil) @objc public func fetch(withRedemptionCode redemptionCode: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @objc public func claim(withRedemptionCode redemptionCode: Swift.String, orderOptions: FlyBuy.OrderOptions, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @available(*, deprecated, message: "This method for claiming an order has been deprecated. Use claim(withRedemptionCode, orderOptions) instead.") @objc public func claim(withRedemptionCode redemptionCode: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, state: Swift.String? = nil, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, state: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(sitePartnerIdentifier: Swift.String, orderPartnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, state: Swift.String?, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, state: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, state: Swift.String, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, pickupWindow: FlyBuy.PickupWindow? = nil, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @available(*, deprecated, message: "This method for creating an order has been deprecated. Use create(siteID, orderOptions) instead.") @objc public func create(siteID: Swift.Int, partnerIdentifier: Swift.String, customerInfo: FlyBuy.CustomerInfo, state: Swift.String?, pickupType: Swift.String? = nil, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @objc public func create(siteID: Swift.Int, orderOptions: FlyBuy.OrderOptions, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) + @objc public func create(sitePartnerIdentifier: Swift.String, orderOptions: FlyBuy.OrderOptions, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))?) public func event(info: FlyBuy.OrderEvent, callback: ((FlyBuy.Order?, Swift.Error?) -> ())? = nil) @objc public func updateCustomerState(orderID: Swift.Int, customerState: Swift.String, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) @objc public func updateCustomerState(orderID: Swift.Int, customerState: Swift.String, spotIdentifier: Swift.String?, callback: ((FlyBuy.Order?, Swift.Error?) -> (Swift.Void))? = nil) diff --git a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/_CodeSignature/CodeResources b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/_CodeSignature/CodeResources index 9f1ec7c..7e15d91 100644 --- a/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/_CodeSignature/CodeResources +++ b/FlyBuy.xcframework/ios-arm64_x86_64-simulator/FlyBuy.framework/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Headers/FlyBuy-Swift.h - 1oNrEkzdpHbmKDm+WuC4Yv9nFUA= + oB3nMtvsInrTJGujicxlqTgBnBg= Headers/FlyBuy.h @@ -14,31 +14,31 @@ Info.plist - orZ6s/soJ6gKfKm6Z/Qf3bS/odo= + 5yqa749YFkL9A+8wwM3SU/8Stec= Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftdoc - ETNbamHeE75psJKRpgpENTR11tI= + 9ng/VjlN1/hejnb6+SqJwjvzSLY= Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftinterface - N1IuOYaRQ+zL8gd1Aq2eUQSzsrI= + Ch4V4PMAoY51TwZimrGAIQPFHHU= Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftmodule - mxJvdMkygDgVctn5OyCTH5YgGG8= + U57EpTVUEORiUun1vDxRd53DQB4= Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - oY8XRED7SJsV6bd3wl+YAZyQS4A= + 6O1NU1+S1Vi3CTJYg9Tu6hP+bAM= Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - bckADMv4Ez9qjRxyoBsfybnVypg= + Hw+tZnHKODfMt3v7JyILO7wexqg= Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - 5/g6G+X2QmalJXSyc06OPObklUk= + 9ShdFS/fkOCYxKsXihlmfn7kY2U= Modules/module.modulemap @@ -51,7 +51,7 @@ hash2 - dMRNf6V9XmwMeivTAuaFzOUD+u5+WbTJ2pP1ZlER82M= + sjrb2Q9dimopYMEK7cB6M2Ihy+GjdHm8+pUKXIlj9/I= Headers/FlyBuy.h @@ -65,42 +65,42 @@ hash2 - ssHNtIgdlfABCkhlkycplRmhA2WcN2HpV1UOpZvmXxg= + Jm0s/wTQnyM1o/FfRhWZsxX65yUb21XcqCXRzmGyuco= Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash2 - DPeOkbmNyY0ri1TIWeUzhrbIAa1zY7EYEHZ7n63+4JY= + LyfPCBpBpdO+fqO1w+u1N8sjkqNEmOGDH/Y68v1X0T8= Modules/FlyBuy.swiftmodule/arm64-apple-ios-simulator.swiftmodule hash2 - NhyWRWIpzSguKj8hhEyQmfUQ7kwA1q0J8isV3loPWrY= + LpjjGNMH3fGndjsxFo0ElM4Gc5GOS3duUkaOiJsI1hQ= Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - UOLHettKCGTeswd0mYWrFgR5MyhLKhqYf4rgodc69vc= + Xx4HlsBbzBD/ERg0sqWJJwiC8wltDPri838AqwHlEvA= Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - VP7IAjnP/7VF+siw1G7F2zIZ0qaM1ej/IZhsqm9eWCc= + GTJglBrZiQm9yUD4YmwLngrVsJiOewFTgvwgiCmrlac= Modules/FlyBuy.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - s9bYaW4lvgn2Rynldw4Nzb+LPOGtOpkGEFGrYyCyc2k= + fycChG/cWiJCt31Sn5YMvi7tcaTX+nHf2Ud2mKYmUas= Modules/module.modulemap diff --git a/FlyBuyNotify.xcframework/Info.plist b/FlyBuyNotify.xcframework/Info.plist index 6aa1ad1..303291d 100644 --- a/FlyBuyNotify.xcframework/Info.plist +++ b/FlyBuyNotify.xcframework/Info.plist @@ -6,30 +6,30 @@ LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath FlyBuyNotify.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath FlyBuyNotify.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator CFBundlePackageType diff --git a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/FlyBuyNotify b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/FlyBuyNotify index 0f6eac7..c6e9f69 100644 Binary files a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/FlyBuyNotify and b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/FlyBuyNotify differ diff --git a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h index 31e88af..9b65872 100644 --- a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h +++ b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h @@ -216,6 +216,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #endif + @class NSString; @class CLCircularRegion; @class NotificationInfo; diff --git a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Info.plist b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Info.plist index da559db..614c7fc 100644 Binary files a/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Info.plist and b/FlyBuyNotify.xcframework/ios-arm64/FlyBuyNotify.framework/Info.plist differ diff --git a/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/FlyBuyNotify b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/FlyBuyNotify index 9c726f7..160c1d5 100644 Binary files a/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/FlyBuyNotify and b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/FlyBuyNotify differ diff --git a/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h index 4181a96..e14756e 100644 --- a/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h +++ b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Headers/FlyBuyNotify-Swift.h @@ -218,6 +218,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #endif + @class NSString; @class CLCircularRegion; @class NotificationInfo; @@ -559,6 +560,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #endif + @class NSString; @class CLCircularRegion; @class NotificationInfo; diff --git a/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Info.plist b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Info.plist index 907f388..2e0e1bb 100644 Binary files a/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Info.plist and b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/Info.plist differ diff --git a/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/_CodeSignature/CodeResources b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/_CodeSignature/CodeResources index 5e72dd0..93eae46 100644 --- a/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/_CodeSignature/CodeResources +++ b/FlyBuyNotify.xcframework/ios-arm64_x86_64-simulator/FlyBuyNotify.framework/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Headers/FlyBuyNotify-Swift.h - I3GI0EW9r1lFnazfYHRRH6OBewk= + uMRPswuBOGs2lIH61Sp4WhGcBzc= Headers/FlyBuyNotify.h @@ -14,7 +14,7 @@ Info.plist - y6oYNf5p82fJT9eV8chW/k+3JWQ= + Als5GjGPBPbApniuF4W2zLAEQdc= Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios-simulator.swiftdoc @@ -26,7 +26,7 @@ Modules/FlyBuyNotify.swiftmodule/arm64-apple-ios-simulator.swiftmodule - hVsCPpUZ+4LFuxYAVlKGxiO5svU= + O9aqV5UOmrBwXWdzaK4DRgfOtBc= Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftdoc @@ -38,7 +38,7 @@ Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - jtqFjROTftOPeO/zHLqSBc7M3Ag= + Uo6ZME2XFE2JmXVAMhm2xcKhwYo= Modules/module.modulemap @@ -51,7 +51,7 @@ hash2 - qJGz5SFiO8o+UcLo7UGuhhTp+JHj2RvVJ8kUrMg792A= + mxAK5VT04iNvG01HBUZJ7oOgV3qPBx8wvb+OllkZNWA= Headers/FlyBuyNotify.h @@ -79,7 +79,7 @@ hash2 - L5f3Gpc8TlVaY10B4IpDG8wA3oQ+3nQ6K0SmcJaKUxU= + u+8C3ritDIrwJX1T5cIgPhwuLIHSBgBCwcc/ta+GfeA= Modules/FlyBuyNotify.swiftmodule/x86_64-apple-ios-simulator.swiftdoc @@ -100,7 +100,7 @@ hash2 - 3TWRtA6umyMO7G18/Du32fvtQCQdkON6gAxWLyiyAfY= + 92RX5+//2aECOKvm0TP+qndBZoKNihr+UxtKBnAUoso= Modules/module.modulemap diff --git a/FlyBuyPickup.xcframework/Info.plist b/FlyBuyPickup.xcframework/Info.plist index 52bfa9b..44992ad 100644 --- a/FlyBuyPickup.xcframework/Info.plist +++ b/FlyBuyPickup.xcframework/Info.plist @@ -6,30 +6,30 @@ LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath FlyBuyPickup.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath FlyBuyPickup.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator CFBundlePackageType diff --git a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/FlyBuyPickup b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/FlyBuyPickup index 7e0440e..f3762ed 100644 Binary files a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/FlyBuyPickup and b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/FlyBuyPickup differ diff --git a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Info.plist b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Info.plist index 34289e5..9277ee3 100644 Binary files a/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Info.plist and b/FlyBuyPickup.xcframework/ios-arm64/FlyBuyPickup.framework/Info.plist differ diff --git a/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/FlyBuyPickup b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/FlyBuyPickup index f11387a..6c8b1fe 100644 Binary files a/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/FlyBuyPickup and b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/FlyBuyPickup differ diff --git a/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Info.plist b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Info.plist index 9d5f46e..d73d6fa 100644 Binary files a/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Info.plist and b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/Info.plist differ diff --git a/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/_CodeSignature/CodeResources b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/_CodeSignature/CodeResources index 4d09747..27efc26 100644 --- a/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/_CodeSignature/CodeResources +++ b/FlyBuyPickup.xcframework/ios-arm64_x86_64-simulator/FlyBuyPickup.framework/_CodeSignature/CodeResources @@ -14,7 +14,7 @@ Info.plist - G7vs+sAuZ/XKDkTQ7CA5Eh4idPM= + 37wPcGGFcjqB368MBXYgdGrdMuk= Modules/FlyBuyPickup.swiftmodule/arm64-apple-ios-simulator.swiftdoc diff --git a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/FlyBuyPresence b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/FlyBuyPresence index d861e6e..ec7e1b4 100644 Binary files a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/FlyBuyPresence and b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/FlyBuyPresence differ diff --git a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Info.plist b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Info.plist index feaef4d..c6b38da 100644 Binary files a/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Info.plist and b/FlyBuyPresence.xcframework/ios-arm64/FlyBuyPresence.framework/Info.plist differ diff --git a/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/FlyBuyPresence b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/FlyBuyPresence index da07bc0..c0a68c7 100644 Binary files a/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/FlyBuyPresence and b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/FlyBuyPresence differ diff --git a/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Info.plist b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Info.plist index 5e5e109..9c21321 100644 Binary files a/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Info.plist and b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/Info.plist differ diff --git a/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/_CodeSignature/CodeResources b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/_CodeSignature/CodeResources index 01d37f1..af6dc30 100644 --- a/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/_CodeSignature/CodeResources +++ b/FlyBuyPresence.xcframework/ios-arm64_x86_64-simulator/FlyBuyPresence.framework/_CodeSignature/CodeResources @@ -14,7 +14,7 @@ Info.plist - EFj63gxDuEoM7abnRfksc8olsk8= + 5Ka9BgdLE8N4KbiHWDEFG9SA2xo= Modules/FlyBuyPresence.swiftmodule/arm64-apple-ios-simulator.swiftdoc diff --git a/FlyBuyTableside.xcframework/ios-arm64/FlyBuyTableside.framework/FlyBuyTableside b/FlyBuyTableside.xcframework/ios-arm64/FlyBuyTableside.framework/FlyBuyTableside index 926663f..02f4f58 100644 Binary files a/FlyBuyTableside.xcframework/ios-arm64/FlyBuyTableside.framework/FlyBuyTableside and b/FlyBuyTableside.xcframework/ios-arm64/FlyBuyTableside.framework/FlyBuyTableside differ diff --git a/FlyBuyTableside.xcframework/ios-arm64/FlyBuyTableside.framework/Info.plist b/FlyBuyTableside.xcframework/ios-arm64/FlyBuyTableside.framework/Info.plist index 66caabd..d6490b0 100644 Binary files a/FlyBuyTableside.xcframework/ios-arm64/FlyBuyTableside.framework/Info.plist and b/FlyBuyTableside.xcframework/ios-arm64/FlyBuyTableside.framework/Info.plist differ diff --git a/FlyBuyTableside.xcframework/ios-arm64_x86_64-simulator/FlyBuyTableside.framework/FlyBuyTableside b/FlyBuyTableside.xcframework/ios-arm64_x86_64-simulator/FlyBuyTableside.framework/FlyBuyTableside index d37b7e6..b96c8ae 100644 Binary files a/FlyBuyTableside.xcframework/ios-arm64_x86_64-simulator/FlyBuyTableside.framework/FlyBuyTableside and b/FlyBuyTableside.xcframework/ios-arm64_x86_64-simulator/FlyBuyTableside.framework/FlyBuyTableside differ diff --git a/FlyBuyTableside.xcframework/ios-arm64_x86_64-simulator/FlyBuyTableside.framework/Info.plist b/FlyBuyTableside.xcframework/ios-arm64_x86_64-simulator/FlyBuyTableside.framework/Info.plist index 06ddba3..6093262 100644 Binary files a/FlyBuyTableside.xcframework/ios-arm64_x86_64-simulator/FlyBuyTableside.framework/Info.plist and b/FlyBuyTableside.xcframework/ios-arm64_x86_64-simulator/FlyBuyTableside.framework/Info.plist differ diff --git a/FlyBuyTableside.xcframework/ios-arm64_x86_64-simulator/FlyBuyTableside.framework/_CodeSignature/CodeResources b/FlyBuyTableside.xcframework/ios-arm64_x86_64-simulator/FlyBuyTableside.framework/_CodeSignature/CodeResources index 8facc50..6773b58 100644 --- a/FlyBuyTableside.xcframework/ios-arm64_x86_64-simulator/FlyBuyTableside.framework/_CodeSignature/CodeResources +++ b/FlyBuyTableside.xcframework/ios-arm64_x86_64-simulator/FlyBuyTableside.framework/_CodeSignature/CodeResources @@ -14,7 +14,7 @@ Info.plist - lfEyBqG0EKoJffytIoXmon6MS44= + +fUFWvfgOub8K94aHPQgIRTevhE= Modules/FlyBuyTableside.swiftmodule/arm64-apple-ios-simulator.swiftdoc