refundreason

package
v1.799.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2026 License: Apache-2.0, MIT Imports: 5 Imported by: 0

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

func Query

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 (*RefundReason) Load

func (r *RefundReason) Load(ps []datastore.Property) (err error)

func (*RefundReason) Save

func (r *RefundReason) Save() ([]datastore.Property, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL