# `MishkaPay.Ash.Object.Change`
[🔗](https://github.com/mishka-group/mishka_pay/blob/v0.0.1/lib/mishka_pay/ash/__object/change.ex#L6)

The change of every action of a site-managed object kind (`MishkaPay.Ash.Object.Spec`):
before the transaction it reads the object again (`:sync`), or makes or changes it at the
provider (`:add`, `:edit`, `:archive`, an invoice's steps), and writes what the provider
answered; after it, fires `mishka_pay:<kind>:changed` with `%{<kind> => struct, record:
record}`. An object the provider deleted (a coupon, a draft bill) is kept with `deleted_at`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
