Skip to content

Commit

Permalink
Add internal setter overides
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeSilvis committed Oct 15, 2020
1 parent e6398e3 commit 0ca4227
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions Sources/SCCAPIRequest.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,38 @@
NSString *__nonnull const SCCAPIRequestOptionsTenderTypeStringCardOnFile = @"CARD_ON_FILE";
NSString *__nonnull const SCCAPIRequestLocationIDKey = @"location_id";

@interface SCCAPIRequest ()

@property (nonatomic, copy, readwrite, nonnull) NSString *applicationID;

@property (nonatomic, copy, readwrite, nonnull) NSURL *callbackURL;

@property (nonatomic, copy, readwrite, nonnull) SCCMoney *amount;

@property (nonatomic, copy, readwrite, nullable) NSString *userInfoString;

@property (nonatomic, copy, readwrite, nullable) NSString *locationID;

@property (nonatomic, copy, readwrite, nullable) NSString *customerID;

@property (nonatomic, copy, readwrite, nullable) NSString *notes;

@property (nonatomic, copy, readwrite, nonnull) NSString *apiVersion;

@property (nonatomic, copy, readwrite, nonnull) NSString *sdkVersion;

@property (nonatomic, assign, readwrite) SCCAPIRequestTenderTypes supportedTenderTypes;

@property (nonatomic, assign, readwrite) BOOL clearsDefaultFees;

@property (nonatomic, assign, readwrite) BOOL returnsAutomaticallyAfterPayment;

@property (nonatomic, assign, readwrite) BOOL disablesKeyedInCardEntry;

@property (nonatomic, assign, readwrite) BOOL skipsReceipt;

@end

@implementation SCCAPIRequest

#pragma mark - Class Methods
Expand Down

0 comments on commit 0ca4227

Please sign in to comment.