BRAccountLinkingConfiguration
Configures account linking behavior for the BlinkEReceipt SDK. Inherits from NSObject.
SDK Version: 3.2.0
Declaration
@interface BRAccountLinkingConfiguration : NSObject
class BRAccountLinkingConfiguration : NSObject
Quick Reference
Properties
| Property | Description |
|---|---|
dayCutoff | Days back to search for orders |
dateCutoff | Specific date boundary — overrides dayCutoff when set |
returnLatestOrdersOnly | Whether subsequent scrapes only fetch orders newer than the last scrape |
countryCode | Country code for accessing the regional version of a retailer's site |
Properties
dayCutoff
@property (nonatomic) NSInteger dayCutoff;
var dayCutoff: Int { get set }
Set this property to control how far back in the user's history to search for orders.
Default: 15
dateCutoff
@property (nonatomic, strong, nullable) NSDate *dateCutoff;
var dateCutoff: Date? { get set }
This property is an alternative to dayCutoff which allows you to set a specific date/time that serves as the boundary of how far back to search. If set, it will override dayCutoff.
Default: nil
returnLatestOrdersOnly
@property (nonatomic) BOOL returnLatestOrdersOnly;
var returnLatestOrdersOnly: Bool { get set }
Controls how far back in the user's history to search for orders, once a previously returned order has been found.
When YES (default): the first scrape retrieves orders back to dayCutoff or dateCutoff. All subsequent scrapes only go back to the last scrape date, regardless of whether the first scrape completed.
When NO: subsequent scrapes continue fetching historical orders until dayCutoff or dateCutoff is reached, then revert to latest-only behavior.
Default: YES
countryCode
@property (nonatomic, copy, nonnull) NSString *countryCode;
var countryCode: String { get set }
Set this to a different country to access the correct version of the retailer's site, if it exists for that country (currently only supports Amazon UK).
Default: "US"