Paypal.Order.Info (Paypal v0.1.1)

View Source

Order information. The information retrieved from Paypal about the order.

Summary

Types

t()

The information for the order containing

Types

t()

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

The information for the order containing:

  • id is the ID for the order.
  • create_time is the date and time when the order was created.
  • intent could be capture or authorize.
  • links are the HATEOAS about the following valid actions.
  • purchase_units are the units inside of the order.
  • status for the order.
  • payment_source is a map that should contains the information about how the payment was made. If that was using PayPal credit, or card, or whatever else.