OffersRequest
public enum OffersRequest : URLRequestConvertible
Enumeration of network requests for Offers.
-
Get offers with optional
Parameters
.Declaration
Swift
case getOffers(parameters: Parameters?)
-
Get favorited offers with optional
Parameters
.Declaration
Swift
case getFavedOffers(parameters: Parameters?)
-
Get offer information by id.
Declaration
Swift
case getOffer(id: Int, parameters: Parameters?)
-
Mark an offer as favorite.
Declaration
Swift
case favoriteOffer(id: Int)
-
Unmark an offer as favorite.
Declaration
Swift
case unfavoriteOffer(id: Int)
-
Clip an offer.
Declaration
Swift
case clipOffer(id: Int)
-
Unclip an offer.
Declaration
Swift
case unclipOffer(id: Int)
-
Respond to an offer.
Declaration
Swift
case respondToOffer(id: Int)
-
Get offer responses with optional
Parameters
.Declaration
Swift
case getOfferResponses(parameters: Parameters?)
-
Get offer response by id and an option to include clipping status.
Declaration
Swift
case getOfferResponse(id: Int, parameters: Parameters?)
-
Clip an offer response.
Declaration
Swift
case clipOfferResponse(id: Int)
-
Unclip an offer response.
Declaration
Swift
case unclipOfferResponse(id: Int)
-
Get offer categories.
Declaration
Swift
case getOffersCategories
-
Declaration
Swift
public var path: String { get }
-
Declaration
Swift
public var method: HTTPMethod { get }
-
Declaration
Swift
public var parameters: Parameters? { get }