Paypal.Order.Authorized (Paypal v0.1.0)

View Source

The authorized struct is the response performed by Paypal.Order.authorize/1 where we can see the status of the authorization and other information related to the request.

Summary

Types

t()

The information related to the request is returning the order id, the final status for the order and the information for the authorization in the path purchase_units/payments/authorizations.

Types

t()

@type t() :: %Paypal.Order.Authorized{
  id: String.t() | nil,
  links: [Paypal.Common.Link.t()],
  payer: map() | nil,
  payment_source: map() | nil,
  purchase_units: [Paypal.Order.Authorized.PurchaseUnit.t()],
  status: any() | nil
}

The information related to the request is returning the order id, the final status for the order and the information for the authorization in the path purchase_units/payments/authorizations.