Versions in this module Expand all Collapse all v0 v0.1.0 Aug 15, 2026 Changes in this version + type Address struct + City string + Country string + LineOne string + LineTwo *string + Name string + PostalCode string + State string + type Adjustment struct + Amount *int + Currency *string + Description *string + Id string + LineItems *[]LineItemReference + OccurredAt time.Time + Reason *string + Status string + Type string + type Error struct + Code string + Message string + Param *string + Type ErrorType + type ErrorType string + const InvalidRequest + const ProcessingError + const ServiceUnavailable + func (e ErrorType) Valid() bool + type EstimatedDelivery struct + Earliest time.Time + Latest time.Time + type EventDataOrder struct + Adjustments *[]Adjustment + CheckoutSessionId string + Confirmation *OrderConfirmation + EstimatedDelivery *EstimatedDelivery + Fulfillments *[]Fulfillment + Id string + LineItems *[]OrderLineItem + OrderNumber *string + PermalinkUrl string + Status string + Support *SupportInfo + Totals *[]Total + Type EventDataOrderType + type EventDataOrderType string + const EventDataOrderTypeOrder + func (e EventDataOrderType) Valid() bool + type Fulfillment struct + Carrier *string + Description *string + Destination *Address + DigitalDelivery ... + EstimatedDelivery *EstimatedDelivery + Events *[]FulfillmentEvent + Id string + LineItems *[]LineItemReference + Status *string + TrackingNumber *string + TrackingUrl *string + Type FulfillmentType + type FulfillmentEvent struct + Description *string + Id string + Location *string + OccurredAt time.Time + Type string + type FulfillmentType string + const Digital + const Pickup + const Shipping + func (e FulfillmentType) Valid() bool + type LineItemReference struct + Id string + Quantity int + type Option func(*Sender) + func WithHTTPClient(client *http.Client) Option + type Order struct + Adjustments *[]Adjustment + CheckoutSessionId string + Confirmation *OrderConfirmation + EstimatedDelivery *EstimatedDelivery + Fulfillments *[]Fulfillment + Id string + LineItems *[]OrderLineItem + OrderNumber *string + PermalinkUrl string + Status *string + Support *SupportInfo + Totals *[]Total + Type *OrderType + type OrderConfirmation struct + ConfirmationEmailSent *bool + ConfirmationNumber *string + InvoiceNumber *string + ReceiptUrl *string + type OrderLineItem struct + Description *string + Id string + ImageUrl *string + ProductId *string + Quantity OrderLineItemQuantity + Status *string + Subtotal *int + Title string + Totals *[]Total + UnitPrice *int + Url *string + type OrderLineItemQuantity struct + Current int + Fulfilled *int + Ordered int + type OrderType string + const OrderTypeOrder + func (e OrderType) Valid() bool + type PostOrderEventsJSONRequestBody = WebhookEvent + type PostOrderEventsParams struct + ContentType string + MerchantSignature string + RequestId *string + Timestamp *time.Time + type Sender struct + func NewSender(endpoint string, secret []byte, opts ...Option) (*Sender, error) + func (s *Sender) Send(ctx context.Context, event WebhookEvent) error + type SupportInfo struct + Email *openapi_types.Email + HelpCenterUrl *string + Hours *string + Phone *string + type TaxBreakdownItem struct + Amount int + Jurisdiction string + Rate float32 + type Total struct + Amount int + Breakdown *[]TaxBreakdownItem + Description *string + DisplayText string + PresentmentAmount *int + Type TotalType + type TotalType string + const TotalTypeAmountRefunded + const TotalTypeDiscount + const TotalTypeFee + const TotalTypeFulfillment + const TotalTypeGiftWrap + const TotalTypeItemsBaseAmount + const TotalTypeItemsDiscount + const TotalTypeStoreCredit + const TotalTypeSubtotal + const TotalTypeTax + const TotalTypeTip + const TotalTypeTotal + func (e TotalType) Valid() bool + type WebhookEvent struct + Data EventDataOrder + Type string