Paypal.Order.PurchaseUnit.Capture (Paypal v0.1.1)

View Source

Represents a Capture object from the PayPal v2 PurchaseUnit API.

Fields

  • id - The unique ID for the capture.
  • status - The status of the capture (e.g. "COMPLETED").
  • status_details - The details of the capture status.
  • invoice_id - The API caller-provided external invoice number for this order.
  • custom_id - The API caller-provided external ID.
  • final_capture - A boolean indicating if this is the final capture.
  • create_time - The date and time when the capture was created (ISO 8601 string).
  • update_time - The date and time when the capture was last updated (ISO 8601 string).
  • amount - An embedded schema representing the monetary amount of the capture.
  • disbursement_mode - An embedded schema containing details about the disbursement mode.
  • processor_response - An embedded schema containing details about the processor response.
  • seller_protection - An embedded schema containing details about seller protection.
  • seller_receivable_breakdown - An embedded schema that details the receivables.
  • network_transaction_reference - Reference values used by the card network to identify a transaction.
  • links - A list of embedded link objects for further API actions.

Summary

Types

t()

@type t() :: %Paypal.Order.PurchaseUnit.Capture{
  amount: Paypal.Common.CurrencyValue.t() | nil,
  create_time: String.t() | nil,
  custom_id: String.t() | nil,
  disbursement_mode: map() | nil,
  final_capture: boolean() | nil,
  id: String.t() | nil,
  invoice_id: String.t() | nil,
  links: [Paypal.Common.Link.t()],
  network_transaction_reference: map() | nil,
  processor_response: map() | nil,
  seller_protection: map() | nil,
  seller_receivable_breakdown: map() | nil,
  status: String.t() | nil,
  status_details: String.t() | nil,
  update_time: String.t() | nil
}