google_api_content v0.4.0 GoogleApi.Content.V2.Model.OrderLineItem View Source

Attributes

  • annotations ([OrderMerchantProvidedAnnotation]): Annotations that are attached to the line item. Defaults to: null.
  • cancellations ([OrderCancellation]): Cancellations of the line item. Defaults to: null.
  • id (String.t): The id of the line item. Defaults to: null.
  • price (Price): Total price for the line item. For example, if two items for $10 are purchased, the total price will be $20. Defaults to: null.
  • product (OrderLineItemProduct): Product data as seen by customer from the time of the order placement. Note that certain attributes values (e.g. title or gtin) might be reformatted and no longer match values submitted via product feed. Defaults to: null.
  • quantityCanceled (integer()): Number of items canceled. Defaults to: null.
  • quantityDelivered (integer()): Number of items delivered. Defaults to: null.
  • quantityOrdered (integer()): Number of items ordered. Defaults to: null.
  • quantityPending (integer()): Number of items pending. Defaults to: null.
  • quantityReturned (integer()): Number of items returned. Defaults to: null.
  • quantityShipped (integer()): Number of items shipped. Defaults to: null.
  • returnInfo (OrderLineItemReturnInfo): Details of the return policy for the line item. Defaults to: null.
  • returns ([OrderReturn]): Returns of the line item. Defaults to: null.
  • shippingDetails (OrderLineItemShippingDetails): Details of the requested shipping for the line item. Defaults to: null.
  • tax (Price): Total tax amount for the line item. For example, if two items are purchased, and each have a cost tax of $2, the total tax amount will be $4. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Content.V2.Model.OrderLineItem{
  annotations: [GoogleApi.Content.V2.Model.OrderMerchantProvidedAnnotation.t()],
  cancellations: [GoogleApi.Content.V2.Model.OrderCancellation.t()],
  id: any(),
  price: GoogleApi.Content.V2.Model.Price.t(),
  product: GoogleApi.Content.V2.Model.OrderLineItemProduct.t(),
  quantityCanceled: any(),
  quantityDelivered: any(),
  quantityOrdered: any(),
  quantityPending: any(),
  quantityReturned: any(),
  quantityShipped: any(),
  returnInfo: GoogleApi.Content.V2.Model.OrderLineItemReturnInfo.t(),
  returns: [GoogleApi.Content.V2.Model.OrderReturn.t()],
  shippingDetails: GoogleApi.Content.V2.Model.OrderLineItemShippingDetails.t(),
  tax: GoogleApi.Content.V2.Model.Price.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.