Builder

class Builder

Fluent builder for PreTransactionRequest - equivalent to calling the constructor directly.

Functions

Link copied to clipboard

Adds action to PreTransactionRequest.actions. Can be called multiple times for several actions.

Link copied to clipboard
Link copied to clipboard

Adds PreTransactionAction.COLLECT_LOYALTY_DATA to PreTransactionRequest.actions - same as action(PreTransactionAction.COLLECT_LOYALTY_DATA).

Link copied to clipboard

Sets PreTransactionRequest.transactionId. Optional - defaults to a random UUID if never called.