update :mark_as_paid do
argument :invoice_event_ts, :utc_datetime_usec, allow_nil?: false
change set_attribute(:invoice_status, :paid)
change atomic_update(:last_invoice_event_ts, arg(:invoice_event_ts))
end
update :mark_as_paid do
argument :invoice_event_ts, :utc_datetime_usec, allow_nil?: false
change set_attribute(:invoice_status, :paid)
change atomic_update(:last_invoice_event_ts, arg(:invoice_event_ts))
end