util

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 19 Imported by: 0

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