mirror of
https://github.com/foomo/sesamy-go.git
synced 2025-10-16 12:35:43 +00:00
14 lines
443 B
Go
14 lines
443 B
Go
package params
|
|
|
|
import (
|
|
"github.com/foomo/gostandards/iso4217"
|
|
)
|
|
|
|
// BeginCheckout https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events#begin_checkout
|
|
type BeginCheckout[Item any] struct {
|
|
Currency iso4217.Currency `json:"currency,omitempty"`
|
|
Value float64 `json:"value,omitempty"`
|
|
Coupon string `json:"coupon,omitempty"`
|
|
Items []Item `json:"items,omitempty"`
|
|
}
|