package types

const (
	DeferCloseOrder        = "defer:order:close"
	ForthwithActivateOrder = "forthwith:order:activate"
)

type (
	DeferCloseOrderPayload struct {
		OrderNo string `json:"order_no"`
	}
	ForthwithActivateOrderPayload struct {
		OrderNo     string `json:"order_no"`
		IAPExpireAt int64  `json:"iap_expire_at,omitempty"` // Apple IAP 计算的到期时间（秒级 Unix），非零时队列直接使用，不再叠加天数
	}
)
