GiftCard Data Members
Web Session Object
Transaction Object
Token Object
Season Set Object
Refund Object
RatePlan Object
Product Object
Payment Provider Object
Payment Method Object
NameValuePair Object
GiftCard Object
Entitlement Object
Chargeback Object
Campaign Object
BillingPlan Object
AutoBill Object
Address Object
Activity Object
Account Object
GiftCard Data Members
The following table lists and describes the data members of the GiftCard object.
Data Members |
Data Type |
Description |
hashType |
HashType |
(This data member is not in use.) |
lastDigits |
string |
Read-only. Last four digits of a gift card’s PIN. Do not populate this attribute; Vindicia Subscribe may populate this attribute when it returns a GiftCard object to you. For security, use this field for display to avoid displaying the entire PIN. |
paymentProvider |
string |
Gift card processor company that Vindicia Subscribe should contact to check the status of a gift card and redeem the gift card. If left blank, this field defaults to InComm.Vindicia Subscribe supports only gift cards redeemable by InComm, Inc. |
pin |
string |
Unique number associated with each gift card. A customer redeeming a gift card must give you this number. Populate this attribute in the GiftCard object when you check the status of the card for the first time. Vindicia Subscribe then creates a new record for this card in its system and assigns it a VID. For your subsequent calls that need to refer to this gift card, you need not populate the pin. Specifying only the VID will suffice. |
pinHash |
string |
(This data member is not in use.) |
pinLength |
integer |
Read-only. Number of characters or digits in the PIN of the gift card. Do not populate this attribute; Vindicia Subscribe may populate this attribute when it returns a GiftCard object to you. |
product |
Product |
Read-only. Credit to add to the AutoBill or Account for which the card was redeemed, as specified by the Product object’s creditsGranted attribute. Vindicia Subscribe populates this attribute in the GiftCard object it returns to you in response to a successful redeemGiftCard() call. The merchantProductId of this object matches the SKU/UPC returned by the gift card processor. |
sku |
string |
Read-only. Unique ID (UPC) the gift card processor returns when Vindicia Subscribe redeems a specific type of gift card. Do not populate this attribute; Vindicia Subscribe may populate this attribute when it returns a GiftCard object to you when you call redeemGiftCard(). You must have previously created a Product object in Vindicia Subscribe with a merchantProductId matching each SKU you expect the processor to return, before redeeming gift cards. |
status |
GiftCardStatus |
Read-only. Status of this gift card. Vindicia Subscribe populates this attribute in the GiftCard object returned to you when GiftCard is queried or changed as a result of calling statusInquiry, redeemGiftCard, or reverse. See the GiftCardStatus Subobject. |
VID |
string |
Vindicia's Globally Unique Identifier (GUID) for this object. When creating a new GiftCard object, leave this field blank; it will be automatically populated by Vindicia Subscribe. |
For Users
Learn More