Requests.Payments.CapturePayment (CheckoutSDK v0.1.0)

Link to this section Summary

Link to this section Types

Link to this type

billing_descriptor()

@type billing_descriptor() :: %{
  name: String.t(),
  city: String.t(),
  reference: String.t()
}
@type customer() :: %{
  id: String.t(),
  email: String.t(),
  name: String.t(),
  tax_number: String.t(),
  phone: Customers.Phone.t()
}
@type shipping() :: %{
  address: Customers.BillingAddress.t(),
  phone: Customers.Phone.t(),
  from_address_zip: String.t()
}
@type t() :: %Requests.Payments.CapturePayment{
  amount: integer(),
  amount_allocations: String.t(),
  billing_descriptor: billing_descriptor(),
  capture_type: String.t(),
  customer: customer(),
  description: String.t(),
  id: String.t(),
  items: String.t(),
  marketplace: String.t(),
  metadata: map(),
  processing: String.t(),
  reference: String.t(),
  shipping: String.t()
}

Link to this section Functions