util

package
v1.46.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 19 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleDeposit

func HandleDeposit(ord *order.Order)

func SaveRedemptions

func SaveRedemptions(ctx context.Context, ord *order.Order)

func UpdateCart

func UpdateCart(ctx context.Context, ord *order.Order)

func UpdateMailchimp

func UpdateMailchimp(ctx context.Context, org *organization.Organization, ord *order.Order, usr *user.User)

func UpdateOrder

func UpdateOrder(ctx context.Context, ord *order.Order, payments []*payment.Payment)

func UpdateOrderPayments

func UpdateOrderPayments(ctx context.Context, ord *order.Order, payments []*payment.Payment) error

func UpdateReferral

func UpdateReferral(org *organization.Organization, ord *order.Order)

func UpdateStats

func UpdateStats(ctx context.Context, org *organization.Organization, ord *order.Order, payments []*payment.Payment)

func UpdateWoopraIntegration

func UpdateWoopraIntegration(ctx context.Context, org *organization.Organization, ord *order.Order)

Types

type Referrent

type Referrent struct {
	// contains filtered or unexported fields
}

func (*Referrent) Id

func (r *Referrent) Id() string

func (*Referrent) Kind

func (r *Referrent) Kind() string

func (*Referrent) Total

func (r *Referrent) Total() currency.Cents

Jump to

Keyboard shortcuts

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