// Add the gift card code to the checkout and update the order summary when the request completes.
 private void AddGiftCardCode(string giftCardCode)
 {
     ShowLoadingDialog(Resource.String.syncing_data);
     SampleApplication.AddGiftCard(giftCardCode,
                                   delegate
     {
         DismissLoadingDialog();
         UpdateOrderSummary();
     },
                                   delegate
     {
         DismissLoadingDialog();
         Toast.MakeText(this, GetString(Resource.String.gift_card_error, giftCardCode), ToastLength.Long).Show();
     });
 }