Versions in this module Expand all Collapse all v4 v4.0.2 Dec 13, 2022 v4.0.1 Sep 1, 2022 v4.0.0 Sep 1, 2022 Changes in this version + type BillingAddress struct + Email string + Phone string + type Category struct + ID int + Name string + type Coupon struct + Amount string + Code string + ID int + type FeeLine struct + Amount string + ID int + MetaData []MetaData + Name string + TaxClass string + TaxStatus string + Total string + TotalTax string + type Image struct + Source string + type LineItem struct + Categories []ProductCategory + ID int + MetaData []MetaData + Name string + Price float32 + ProductID int + Quantity int + SKU string + SubTotal string + SubTotalTax string + TaxClass string + Taxes []Tax + Total string + TotalTax string + VariationID *int + type MetaData struct + DisplayKey string + DisplayValue string + Key string + Value interface{} + type Order struct + Billing BillingAddress + CartTax string + CustomerNote string + DateCreatedGMT string + DiscountTax string + DiscountTotal string + FeeLines []FeeLine + ID int + LineItems []LineItem + MetaData []MetaData + Number string + PricesIncludeTax bool + Refunds []OrderRefund + Shipping ShippingAddress + ShippingLines []ShippingLine + ShippingTax string + ShippingTotal string + TaxLines []TaxLine + Total string + TotalTax string + func (o *Order) GetDateCreated() (time.Time, error) + func (o *Order) GetDeliveryDate() string + func (o *Order) GetDeliveryTime() string + func (o *Order) GetInvoiceNumber() string + func (o *Order) GetShippingMethod() string + func (o *Order) GetStoreKey() string + func (o *Order) GetTip() string + type OrderRefund struct + ID int + Reason string + Total string + type Product struct + Attributes []ProductAttribute + Categories []Category + ID int + Images []Image + Name string + Price string + RegularPrice string + SKU string + SalePrice string + Status string + TaxClass string + Type string + Variations []int + type ProductAttribute struct + ID int + Name string + Options []string + Position int + Variation bool + Visible bool + type ProductCategory struct + Description string + Name string + Taxonomy string + TermID int + TermTaxonomyID int + type ProductVariation struct + Attributes []ProductVariationAttribute + ID int + Price string + RegularPrice string + SalePrice string + type ProductVariationAttribute struct + ID int + Name string + Option string + type Refund struct + Amount string + DateCreated string + DateCreatedGMT string + FeeLines []FeeLine + ID int + LineItems []LineItem + MetaData []MetaData + Reason string + TaxLines []TaxLine + func (re *Refund) GetDateCreated() (time.Time, error) + type ShippingAddress struct + Address1 string + Address2 string + City string + Country string + FirstName string + LastName string + Postcode string + State string + type ShippingLine struct + ID int + MetaData []MetaData + MethodID string + MethodTitle string + Taxes []Tax + Total string + TotalTax string + type Tax struct + ID int + SubTotal string + Total string + type TaxLine struct + Compound bool + ID int + Label string + MetaData []MetaData + RateCode string + RateID int + RatePercent int + ShippingTaxTotal string + TaxTotal string + type Woo struct + Key string + Secret string + URL string + func NewWoo(ctx context.Context) (*Woo, error) + func (w *Woo) NewURL(ctx context.Context, url string) string + func (w *Woo) NewURLAsiaLoop(ctx context.Context, url string) string Other modules containing this package github.com/asia-loop-gmbh/lambda-utils-go/v3