Example #1
0
 /// <summary>
 /// Replaces an existing gift card with a new one,
 /// transferring the balance from the old card to
 // the new card in the process.
 /// </summary>
 /// <param name="newCard">The replacement gift card</param>
 /// <returns>AuthorizationBuilder</returns>
 public AuthorizationBuilder ReplaceWith(GiftCard newCard)
 {
     return(new AuthorizationBuilder(TransactionType.Replace, this).WithReplacementCard(newCard));
 }