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
Payee
The Payee of an order.
PaymentInstruction
A payment instruction.
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
PlatformFee
The platform fee.
ProcessorResponse
Processor response.
Reason
A reason request body
RefreshToken
RefundStatusDetails
The refund status details.
ShippingDetail
The shipping detail.

Enums

CaptureStatusReason
The reason why the captured payment status is PENDING or DENIED.
DisbursementMode
The funds that are held on behalf of the merchant.
PatchOperation
A patch operation
PhoneType
The phone type.
Prefer
The preferred server response upon successful completion of the request
RefundStatusReason
The reason why the refund has the PENDING or FAILED status.
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