CardAcquisitionRequest¶
-
public class
CardAcquisitionRequest
¶ Card acquisition interface
Methods¶
create¶
-
public static CardAcquisitionRequest
create
(boolean isTokenRequest, String message, ArrayList<PresentationMethod> presentationMethodNames, ArrayList<String> aidList, ArrayList<String> allowedPaymentBrand, ArrayList<String> allowedLoyaltyBrand, Boolean isBackground)¶ Creates an instance of CardAcquisitionRequest
- Parameters:
isTokenRequest – If true, requests to collect card token
message – The message to be displayed in terminal
presentationMethodNames – Array of
com.verifone.commerce.entities.CardInformation.PresentationMethod
aidList – Optional list of AID(Application ID) strings
allowedPaymentBrand – Optional list of allowed payment brand names
allowedLoyaltyBrand – Optional list of allowed loyalty brand names
isBackground – Optional. If true, card reading from the background without any display to enable a more seamless present-ahead experience, also enabling infinite timeout
createEarlyCardCapture¶
-
public static CardAcquisitionRequest
createEarlyCardCapture
(String message, ArrayList<PresentationMethod> presentationMethodNames, Decimal reservedAmount, EarlyCaptureOperationType earlyCaptureOperationType)¶ Creates an instance of CardAcquisitionRequest for single tap payment functionality
- Parameters:
message – The message to be displayed in terminal
presentationMethodNames – Array of
com.verifone.commerce.entities.CardInformation.PresentationMethod
reservedAmount – Optional. Used for getting card data with SCA payment application
earlyCaptureOperationType – Required for the operation type on which Early Card Capture needs to be performed
createTokenRequest¶
-
public static CardAcquisitionRequest
createTokenRequest
(String message, CardInformation cardInformation)¶ Creates an instance of CardAcquisitionRequest for Token request with card information details
- Parameters:
message – The message to be displayed in terminal
cardInformation – Required for calls subsequent to createEarlyCardCapture and constrains the presented card to values set in this parameter. Should be omitted otherwise.