dw.extensions.payments
Class GiftCardPaymentDetails
dw.extensions.payments.GiftCardPaymentDetails
Details to a payment of type SalesforcePaymentDetails.TYPE_GIFT_CARD. Used for Salesforce Payments and
third-party gift card providers. Only the masked identifier (
last4) is stored here.Properties
last4
:
String
The last 4 digits of the gift card number, or
null if not known. This is not the full
card number (PAN).
Constructor Summary
GiftCardPaymentDetails()
Constructs an empty gift card payment details object.
Method Summary
Methods inherited from class
SalesforcePaymentDetails
Methods inherited from class
Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Constructor Detail
Method Detail
getLast4
getLast4()
:
String
Returns the last 4 digits of the gift card number, or
null if not known. This is not the full
card number (PAN).
Returns:
last 4 digits of the gift card number
setLast4
setLast4(last4
:
String)
:
void
Sets the last 4 digits of the gift card number. Do not set the full card number (PAN) or PIN.
Parameters:
last4
-
last 4 digits of the gift card number
© Copyright 2000-2026, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.