public class

TransactionBeginOptions

extends PayPalRetailObject
java.lang.Object
   ↳ PayPalRetailObject
     ↳ com.paypal.paypalretailsdk.TransactionBeginOptions

Class Overview

TransactionOptions provides the list of customizations for a given transaction

Summary

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
From class java.lang.Object

Public Constructors

public TransactionBeginOptions ()

Create transaction options object

Public Methods

public Boolean getAmountBasedTipping ()

Set the flag if the amount based tipping type used, otherwise, percentage based used

public Boolean getIsAuthCapture ()

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.

public List<FormFactor> getPreferredFormFactors ()

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

public Boolean getShowPromptInApp ()

Show a payment prompt in-app to indicate that the customer/cahsier should insert, swipe or tap a card

public 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

public Boolean getTippingOnReaderEnabled ()

Set the flag if the tipping on the reader is enabled

public void setAmountBasedTipping (Boolean value)

Set the flag if the amount based tipping type used, otherwise, percentage based used

public void setIsAuthCapture (Boolean value)

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.

public void setPreferredFormFactors (List<FormFactor> value)

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

public void setShowPromptInApp (Boolean value)

Show a payment prompt in-app to indicate that the customer/cahsier should insert, swipe or tap a card

public 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

public void setTippingOnReaderEnabled (Boolean value)

Set the flag if the tipping on the reader is enabled

public String toString ()

Returns a string representing the serialized state of the TransactionBeginOptions object