Polarex.Refund (Polarex v0.1.0)

View Source

Provides struct and type for a Refund

Summary

Types

t()

@type t() :: %Polarex.Refund{
  amount: integer(),
  created_at: DateTime.t(),
  currency: String.t(),
  customer_id: String.t(),
  id: String.t(),
  metadata: Polarex.Metadata.t(),
  modified_at: DateTime.t() | nil,
  order_id: String.t(),
  organization_id: String.t(),
  reason: String.t(),
  revoke_benefits: boolean(),
  status: String.t(),
  subscription_id: String.t() | nil,
  tax_amount: integer()
}