java.lang.Object | ||
↳ | PayPalRetailObject | |
↳ | com.paypal.paypalretailsdk.TransactionBeginOptions |
TransactionOptions provides the list of customizations for a given transaction
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TransactionBeginOptions()
Create transaction options object
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Boolean |
getAmountBasedTipping()
Set the flag if the amount based tipping type used, otherwise, percentage based used
| ||||||||||
Boolean |
getIsAuthCapture()
Setting this to true will only authorize the transaction and a payment will NOT be taken.
| ||||||||||
List<FormFactor> |
getPreferredFormFactors()
Use this property to set the preferred list of form factors for the
transaction.
| ||||||||||
Boolean |
getShowPromptInApp()
Show a payment prompt in-app to indicate that the customer/cahsier should
insert, swipe or tap a card
| ||||||||||
Boolean |
getShowPromptInCardReader()
Show a payment prompt on the card reader's screen (if available) to
indicate that the customer/cashier should insert, swipe or tap a card
| ||||||||||
Boolean |
getTippingOnReaderEnabled()
Set the flag if the tipping on the reader is enabled
| ||||||||||
void |
setAmountBasedTipping(Boolean value)
Set the flag if the amount based tipping type used, otherwise, percentage based used
| ||||||||||
void |
setIsAuthCapture(Boolean value)
Setting this to true will only authorize the transaction and a payment will NOT be taken.
| ||||||||||
void |
setPreferredFormFactors(List<FormFactor> value)
Use this property to set the preferred list of form factors for the
transaction.
| ||||||||||
void |
setShowPromptInApp(Boolean value)
Show a payment prompt in-app to indicate that the customer/cahsier should
insert, swipe or tap a card
| ||||||||||
void |
setShowPromptInCardReader(Boolean value)
Show a payment prompt on the card reader's screen (if available) to
indicate that the customer/cashier should insert, swipe or tap a card
| ||||||||||
void |
setTippingOnReaderEnabled(Boolean value)
Set the flag if the tipping on the reader is enabled
| ||||||||||
String |
toString()
Returns a string representing the serialized state of the TransactionBeginOptions object
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create transaction options object
Set the flag if the amount based tipping type used, otherwise, percentage based used
Setting this to true will only authorize the transaction and a payment will NOT be taken. The money will be moved only when a capture call is made on an authorized transaction.
Use this property to set the preferred list of form factors for the transaction. The actual list of form factors that will be used for a transaction will be an intersection of available form factors and preferred list
Show a payment prompt in-app to indicate that the customer/cahsier should insert, swipe or tap a card
Show a payment prompt on the card reader's screen (if available) to indicate that the customer/cashier should insert, swipe or tap a card
Set the flag if the tipping on the reader is enabled
Set the flag if the amount based tipping type used, otherwise, percentage based used
Setting this to true will only authorize the transaction and a payment will NOT be taken. The money will be moved only when a capture call is made on an authorized transaction.
Use this property to set the preferred list of form factors for the transaction. The actual list of form factors that will be used for a transaction will be an intersection of available form factors and preferred list
Show a payment prompt in-app to indicate that the customer/cahsier should insert, swipe or tap a card
Show a payment prompt on the card reader's screen (if available) to indicate that the customer/cashier should insert, swipe or tap a card
Set the flag if the tipping on the reader is enabled
Returns a string representing the serialized state of the TransactionBeginOptions object