PaylikeClient class Null safety
Handles high level requests towards the paylike ecosystem
Constructors
- PaylikeClient()
- PaylikeClient.withSpecificClientId(String clientId)
- For testing purposes
Properties
- clientId ↔ String
-
SDK Client ID used while making requests [...]
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- hosts ↔ PaylikeHosts
-
Host APIs
read / write
- log ↔ Function
-
Logger function
read / write
- requester ↔ PaylikeRequester
-
Underlying implementation to do requests
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- timeout ↔ Duration
-
Timeout to use while making requests
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
paymentCreate(
{required Map< String, dynamic> payment, List<String> hints = const []}) → PaylikeRequestBuilder<PaylikeClientResponse> - Payment create calls the capture API with retry mechanism used
-
setHosts(
PaylikeHosts hosts) → PaylikeClient - Overrides hosts.
-
setLog(
void log(dynamic d)) → PaylikeClient - Overrides the used logger.
-
setRequester(
PaylikeRequester requester) → PaylikeClient - Overrides the used requester.
-
setTimeout(
Duration timeout) → PaylikeClient - Overrides the timeout settings.
-
tokenize(
TokenizeTypes type, String value) → PaylikeRequestBuilder< TokenizedResponse> - Tokenize is used to acquire tokens from the vault with retry mechanism used.
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited