GiftCardsRequest
public enum GiftCardsRequest : URLRequestConvertible
Enumeration of network requests for Groups.
-
Get gift cards with optional
Parameters
.Declaration
Swift
case getGiftCards(parameters: Parameters?)
-
Get payment client token.
Declaration
Swift
case getPaymentClientToken
-
Get Gift Card Transactions with optional
Parameters
.Declaration
Swift
case getTransactions(cardNumber: String, parameters: Parameters?)
-
Add card number with pin.
Declaration
Swift
case add(cardNumber: String, pin: String)
-
Purchase gift card given a nonce and an amount.
Declaration
Swift
case purchaseGiftCard(nonce: String, amount: Double, giftCardClass: String)
-
Top up a given gift card given a nonce and an amount.
Declaration
Swift
case topUp(cardNumber: String, nonce: String, amount: Double)
-
Update a user’s giftcard.
Declaration
Swift
case update(giftCard: GiftCard)
-
Declaration
Swift
public var method: HTTPMethod { get }
-
Declaration
Swift
public var path: String { get }
-
Declaration
Swift
public var parameters: Parameters? { get }