GiftCardsResource class
giftCards: 6 methods.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getGiftCard(
String id, {String? currency, Future< void> ? abortTrigger}) → Future<GiftCard> -
Get a gift card:
GET /api/v1/b2b/giftcards/cards/{id}. -
listCatalog(
{String? countryCode, String? category, String? valueType, bool? isRedeemableGlobally, String? currency, String? cursor, int? limit, Future< void> ? abortTrigger}) → Future<GiftCardCatalogPage> -
Gift card catalog:
GET /api/v1/b2b/giftcards/catalog. -
listCategories(
{Future< void> ? abortTrigger}) → Future<GiftCardCategoryList> -
List gift card categories:
GET /api/v1/b2b/giftcards/categories. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
order(
GiftCardOrderRequest body, {String? idempotencyKey, Future< void> ? abortTrigger}) → Future<GiftCardOrder> -
Order gift cards:
POST /api/v1/b2b/giftcards/order. -
quote(
GiftCardOrderRequest body, {Future< void> ? abortTrigger}) → Future<GiftCardQuote> -
Quote gift cards:
POST /api/v1/b2b/giftcards/quote. -
search(
{String? countryCode, String? category, String? valueType, String? q, bool? isRedeemableGlobally, String? currency, int? page, int? limit, Future< void> ? abortTrigger}) → Future<GiftCardSearchResult> -
Search gift cards:
GET /api/v1/b2b/giftcards/search. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited