Documentation
¶
Overview ¶
Package refundreason is the refund-reason lookup (Medusa v2 parity: refund-reason) — the categorized reason a payment was refunded.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RefundReason ¶
type RefundReason struct {
mixin.Model[RefundReason]
Label string `json:"label"`
Description string `json:"description" datastore:",noindex"`
Metadata Map `json:"metadata,omitempty" datastore:"-"`
Metadata_ string `json:"-" datastore:",noindex"`
}
RefundReason categorizes why a payment was refunded.
func New ¶
func New(db *datastore.Datastore) *RefundReason
Click to show internal directories.
Click to hide internal directories.