public Task TestIntegrationAsync() { var callback = new RetrofitCallbackAsync <Java.Lang.Void>(); TestIntegration(callback); return(callback.Task); }
public Task <Checkout> UpdateCheckoutAsync(Checkout checkout) { var callback = new RetrofitCallbackAsync <Checkout>(); UpdateCheckout(checkout, callback); return(callback.Task); }
public Task <Checkout> RemoveProductReservationsFromCheckoutAsync(Checkout checkout) { var callback = new RetrofitCallbackAsync <Checkout>(); RemoveProductReservationsFromCheckout(checkout, callback); return(callback.Task); }
public Task <Checkout> StoreCreditCardAsync(CreditCard card, Checkout checkout) { var callback = new RetrofitCallbackAsync <Checkout>(); StoreCreditCard(card, checkout, callback); return(callback.Task); }
public Task <Shop> GetShopAsync() { var callback = new RetrofitCallbackAsync <Shop>(); GetShop(callback); return(callback.Task); }
public Task <Checkout> RemoveGiftCardAsync(GiftCard giftCard, Checkout checkout) { var callback = new RetrofitCallbackAsync <Checkout>(); RemoveGiftCard(giftCard, checkout, callback); return(callback.Task); }
public Task <IEnumerable <Product> > GetProductsAsync(int page, string collectionId, Collection.SortOrder sortOrder) { var callback = new RetrofitCallbackAsync <JavaList <Product>, IEnumerable <Product> >(data => data); GetProducts(page, collectionId, sortOrder, callback); return(callback.Task); }
public Task <IEnumerable <ShippingRate> > GetShippingRatesAsync(string checkoutToken) { var callback = new RetrofitCallbackAsync <JavaList <ShippingRate>, IEnumerable <ShippingRate> >(data => data); GetShippingRates(checkoutToken, callback); return(callback.Task); }
public Task <IEnumerable <Product> > GetProductPageAsync(int page) { var callback = new RetrofitCallbackAsync <JavaList <Product>, IEnumerable <Product> >(data => data); GetProductPage(page, callback); return(callback.Task); }
public Task <IEnumerable <Product> > GetProductsAsync(IList <string> productIds) { var callback = new RetrofitCallbackAsync <JavaList <Product>, IEnumerable <Product> >(data => data); GetProducts(productIds, callback); return(callback.Task); }
public Task <Product> GetProductAsync(string productId) { var callback = new RetrofitCallbackAsync <Product>(); GetProduct(productId, callback); return(callback.Task); }
public Task <IEnumerable <Collection> > GetCollectionsAsync() { var callback = new RetrofitCallbackAsync <JavaList <Collection>, IEnumerable <Collection> >(data => data); GetCollections(callback); return(callback.Task); }
public Task <bool> GetCheckoutCompletionStatusAsync(Checkout checkout) { var callback = new RetrofitCallbackAsync <Java.Lang.Boolean, bool>(data => data.BooleanValue()); GetCheckoutCompletionStatus(checkout, callback); return(callback.Task); }
public Task <Checkout> GetCheckoutAsync(string checkoutToken) { var callback = new RetrofitCallbackAsync <Checkout>(); GetCheckout(checkoutToken, callback); return(callback.Task); }
// async methods public Task <Checkout> ApplyGiftCardAsync(string giftCardCode, Checkout checkout) { var callback = new RetrofitCallbackAsync <Checkout>(); ApplyGiftCard(giftCardCode, checkout, callback); return(callback.Task); }