TransactionType Property
Specifies the type of Gift Card transaction to process.
Syntax
public int getTransactionType(); public void setTransactionType(int transactionType);
Enumerated values: public final static int ttGiftCardPurchase = 15; public final static int ttGiftCardRefund = 16; public final static int ttGiftCardAddValue = 17; public final static int ttGiftCardDecreaseValue = 18; public final static int ttGiftCardCloseCard = 19; public final static int ttGiftCardBalanceInquiry = 20; public final static int ttPrepaidCardActivation = 21; public final static int ttPrepaidCardLoad = 22; public final static int ttPrepaidCardPurchase = 23; public final static int ttPrepaidCardBalanceInquiry = 24;
Remarks
This property indicates the type of Gift Card transaction to send. The following table explains the transaction types in detail:
ttGiftCardPurchase (15) | This transaction redeems funds on the cards towards the purchase of goods or services. |
ttGiftCardRefund (16) | This transaction refunds a previous ttGiftCardPurchase transaction. |
ttGiftCardAddValue (17) | This transaction adds funds to the gift card. |
ttGiftCardDecreaseValue (18) | This transaction removes funds from the gift card (do not use this for purchases. Use ttGiftCardPurchase instead). |
ttGiftCardCloseCard (19) | This transaction closes a gift card and removes it from circulation. Any remaining balance on the card will be returned in the AuthorizedAmount property. |
ttGiftCardBalanceInquiry (20) | This transaction retrieves the current available balance for the gift card. The balance is returned in the Balance property. |
ttPrepaidCardActivation (21) | This transaction activates a card and loads it with funds. The TransactionAmount must match the value indicated on the face of the card. |
ttPrepaidCardLoad (22) | This transaction loads a prepaid card with funds. Total funds on the card (current balance of the card plus the TransactionAmount) cannot exceed the value printed on the face of the card. |
ttPrepaidCardPurchase (23) | This transaction is identical to a regular credit card authorization. |
ttPrepaidCardBalanceInquiry (24) | This transaction retrieves the current available balance for the prepaid card. The balance is returned in the Balance property. |
Default Value
15