Requests.Payments.Payment.AmountAllocation (CheckoutSDK v0.1.0)

Link to this section Summary

Link to this section Types

Link to this type

commission()

@type commission() :: %{amount: integer(), percentage: integer()}
@type t() :: %Requests.Payments.Payment.AmountAllocation{
  amount: integer(),
  commission: commission(),
  id: String.t(),
  reference: String
}

Link to this section Functions

Link to this function

build(amount_allocations, return \\ [])