public class CreditRequestIntentBuilder extends BaseIntentBuilder
Modifier and Type | Class and Description |
---|---|
static class |
CreditRequestIntentBuilder.CardOptions
Card options that allow the Integrator to control the use of cards.
|
static class |
CreditRequestIntentBuilder.ReceiptOptions
Receipt options that allow the Integrator to control the receipt selection on a per-transaction level.
|
PAPI_SDK_NAME
Constructor and Description |
---|
CreditRequestIntentBuilder(String externalPaymentId,
long amount)
Creates instance of the CreditRequestIntentBuilder class
|
Modifier and Type | Method and Description |
---|---|
Intent |
build(Context context) |
CreditRequestIntentBuilder |
cardOptions(CreditRequestIntentBuilder.CardOptions cardOptions)
Sets CardOptions on the CreditRequestIntentBuilder object
|
CreditRequestIntentBuilder |
receiptOptions(CreditRequestIntentBuilder.ReceiptOptions receiptOptions)
Sets ReceiptOptions on the CreditRequestIntentBuilder object
|
public CreditRequestIntentBuilder(String externalPaymentId, long amount)
externalPaymentId
- amount
- public CreditRequestIntentBuilder cardOptions(CreditRequestIntentBuilder.CardOptions cardOptions)
cardOptions
- public CreditRequestIntentBuilder receiptOptions(CreditRequestIntentBuilder.ReceiptOptions receiptOptions)
receiptOptions
- public Intent build(Context context)
build
in class BaseIntentBuilder