core library

Shared core library

Classes

AccessToken
Access token.
AddressDetails
Address details.
AddressPortable
Address portable.
ApiError
Api error.
ApiErrorDetails
Error details.
AuthorizationError
Authorization error.
ExchangeRate
Exchange rate.
LinkDescription
HATEOAS Link
Money
Monetary value.
Name
A name.
Patch
Update resource request
PayPalEnvironment
Paypal environment. Sandbox or live.
PayPalHttpClient
PayPal http client. Takes care of authorization. Re-authorizes when token expires and retries request
Phone
A phone number.
PhoneWithType
A phone number with type information
Reason
A reason request body
RefreshToken
ShippingDetail
The shipping detail.

Enums

PatchOperation
A patch operation
PhoneType
The phone type.
Prefer
The preferred server response upon successful completion of the request
ShippingType
The method by which the payer wants to get their items from the payee e.g shipping, in-person pickup.

Constants

preferTypeEnumMap → const Map<Prefer, String>

Exceptions / Errors

ApiException