Skip to content

Commit

Permalink
Merge branch 'master' of github.com:RadiusNetworks/flybuy-ios
Browse files Browse the repository at this point in the history
* 'master' of github.com:RadiusNetworks/flybuy-ios:
  Release sdk-v1.2
  • Loading branch information
csexton committed Mar 27, 2020
2 parents 167163e + 707a2da commit 1e82af6
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 3 deletions.
Binary file modified FlyBuy.framework/FlyBuy
Binary file not shown.
14 changes: 13 additions & 1 deletion FlyBuy.framework/Headers/FlyBuy-Swift.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
SWIFT_CLASS("_TtC6FlyBuy14ClaimOrderInfo")
@interface ClaimOrderInfo : NSObject
- (nonnull instancetype)initWithCustomerCarColor:(NSString * _Nullable)customerCarColor customerCarType:(NSString * _Nullable)customerCarType customerLicensePlate:(NSString * _Nullable)customerLicensePlate customerName:(NSString * _Nullable)customerName customerPhone:(NSString * _Nullable)customerPhone pushToken:(NSString * _Nonnull)pushToken OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithCustomerInfo:(CustomerInfo * _Nonnull)customerInfo pushToken:(NSString * _Nonnull)pushToken OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithCustomerInfo:(CustomerInfo * _Nonnull)customerInfo pushToken:(NSString * _Nonnull)pushToken pickupType:(NSString * _Nullable)pickupType OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand Down Expand Up @@ -424,8 +424,10 @@ SWIFT_CLASS("_TtC6FlyBuy5Order")
@property (nonatomic) enum CustomerState customerState;
@property (nonatomic, readonly, copy) NSString * _Nullable partnerIdentifier;
@property (nonatomic, readonly, copy) NSString * _Nullable redemptionCode;
@property (nonatomic, readonly, copy) NSDate * _Nullable redeemedAt;
@property (nonatomic, readonly, copy) NSString * _Nullable displayName;
@property (nonatomic, readonly, strong) PickupWindow * _Nullable pickupWindow;
@property (nonatomic, copy) NSString * _Nullable pickupType;
@property (nonatomic, copy) NSDate * _Nullable etaAt;
@property (nonatomic, copy) NSDate * _Nullable completedAt;
@property (nonatomic, copy) NSDate * _Nullable createdAt;
Expand Down Expand Up @@ -507,6 +509,12 @@ SWIFT_CLASS("_TtC6FlyBuy13OrdersManager")
/// order and any errors encountered. Optional.
///
- (void)fetchWithRedemptionCode:(NSString * _Nonnull)redemptionCode callback:(void (^ _Nullable)(Order * _Nullable, NSError * _Nullable))callback;
/// Claims an order using a redemption code and pickup type
/// \param redemptionCode the redemption code for the order
///
/// \param callback will get called on completion with the order and any errors encountered. Optional.
///
- (void)claimWithRedemptionCode:(NSString * _Nonnull)redemptionCode customerInfo:(CustomerInfo * _Nonnull)customerInfo pickupType:(NSString * _Nullable)pickupType callback:(void (^ _Nullable)(Order * _Nullable, NSError * _Nullable))callback;
/// Claims an order using a redemption code
/// \param redemptionCode the redemption code for the order
///
Expand Down Expand Up @@ -592,6 +600,8 @@ SWIFT_CLASS("_TtC6FlyBuy13OrdersManager")

SWIFT_CLASS("_TtC6FlyBuy10Pagination")
@interface Pagination : NSObject
@property (nonatomic, readonly) NSInteger currentPage;
@property (nonatomic, readonly) NSInteger totalPages;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand All @@ -601,6 +611,8 @@ SWIFT_CLASS("_TtC6FlyBuy12PickupWindow")
@interface PickupWindow : NSObject
@property (nonatomic, readonly, copy) NSDate * _Nonnull start;
@property (nonatomic, readonly, copy) NSDate * _Nonnull end;
- (nonnull instancetype)initWithStart:(NSDate * _Nonnull)start end:(NSDate * _Nonnull)end OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init:(NSDate * _Nonnull)date;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand Down
4 changes: 2 additions & 2 deletions FlyBuy.framework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.1</string>
<string>1.2</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>
<key>CFBundleVersion</key>
<string>876</string>
<string>878</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftdoc
Binary file not shown.
Binary file modified FlyBuy.framework/Modules/FlyBuy.swiftmodule/arm64.swiftmodule
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64.swiftdoc
Binary file not shown.
Binary file modified FlyBuy.framework/Modules/FlyBuy.swiftmodule/x86_64.swiftmodule
Binary file not shown.

0 comments on commit 1e82af6

Please sign in to comment.