github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/payment/OrderLineDetails.go (about) 1 // This class was auto-generated from the API references found at 2 // https://epayments-api.developer-ingenico.com/ 3 4 package payment 5 6 // OrderLineDetails represents class OrderLineDetails 7 type OrderLineDetails struct { 8 DiscountAmount *int64 `json:"discountAmount,omitempty"` 9 GoogleProductCategoryID *int64 `json:"googleProductCategoryId,omitempty"` 10 LineAmountTotal *int64 `json:"lineAmountTotal,omitempty"` 11 ProductCategory *string `json:"productCategory,omitempty"` 12 ProductCode *string `json:"productCode,omitempty"` 13 ProductName *string `json:"productName,omitempty"` 14 ProductPrice *int64 `json:"productPrice,omitempty"` 15 ProductSku *string `json:"productSku,omitempty"` 16 ProductType *string `json:"productType,omitempty"` 17 Quantity *int64 `json:"quantity,omitempty"` 18 TaxAmount *int64 `json:"taxAmount,omitempty"` 19 Unit *string `json:"unit,omitempty"` 20 } 21 22 // NewOrderLineDetails constructs a new OrderLineDetails 23 func NewOrderLineDetails() *OrderLineDetails { 24 return &OrderLineDetails{} 25 }