public class PreAuthRequestIntentBuilder extends BaseIntentBuilder
Modifier and Type | Class and Description |
---|---|
static class |
PreAuthRequestIntentBuilder.CardOptions
Card options that allow the Integrator to control the use of cards.
|
static class |
PreAuthRequestIntentBuilder.TokenizeOptions |
PAPI_SDK_NAME
Constructor and Description |
---|
PreAuthRequestIntentBuilder(String externalPaymentId,
long amount)
Creates an instance of the PreAuthRequestIntentBuilder class
|
Modifier and Type | Method and Description |
---|---|
Intent |
build(Context context)
Builder method to create an Intent to be used by Integrator POS to initiate a pre-authorization
|
PreAuthRequestIntentBuilder |
cardOptions(PreAuthRequestIntentBuilder.CardOptions cardOptions)
Sets CardOptions on the PreAuthRequestIntentBuilder object
|
PreAuthRequestIntentBuilder |
externalReferenceId(String externalReferenceId)
Sets the field 'externalReferenceId'
|
PreAuthRequestIntentBuilder |
tokenizeOptions(PreAuthRequestIntentBuilder.TokenizeOptions tokenizeOptions) |
public PreAuthRequestIntentBuilder(String externalPaymentId, long amount)
externalPaymentId
- amount
- public PreAuthRequestIntentBuilder cardOptions(PreAuthRequestIntentBuilder.CardOptions cardOptions)
cardOptions
- public PreAuthRequestIntentBuilder tokenizeOptions(PreAuthRequestIntentBuilder.TokenizeOptions tokenizeOptions)
public PreAuthRequestIntentBuilder externalReferenceId(String externalReferenceId)
externalReferenceId
- public Intent build(Context context)
build
in class BaseIntentBuilder
context
- IllegalArgumentException