Paypal.Common.Link (Paypal v0.1.1)
View SourceThe link is accumulating all of the required information for handling the HATEOAS links.
Summary
Types
@type t() :: %Paypal.Common.Link{ enc_type: String.t() | nil, href: String.t() | nil, method: any() | nil, rel: String.t() | nil }
The possible values for the links are:
enc_typeis the kind of encoding the request is providing or requiring. It's not compulsory for most of the links.hrefis the URL for the link.relis the name for the link. The name is based on the RFC-8288.methodis the HTTP method that is needed for the request.