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