Skip to content

Instantly share code, notes, and snippets.

@Jalson1982
Created January 16, 2019 21:46
Show Gist options
  • Save Jalson1982/d5e0d0a032a8d98c70affa6cfc938629 to your computer and use it in GitHub Desktop.
Save Jalson1982/d5e0d0a032a8d98c70affa6cfc938629 to your computer and use it in GitHub Desktop.
input AlternativeItem {
weighing: Boolean
weight: String
itemId: String
EAN: String
name: String
price: Float
quantity: Float
group: String
}
input Reason {
niPostreznogArtikla: Boolean
niZeljeniOkus: Boolean
niZeljeniVolumn: Boolean
niZeljenibrand: Boolean
}
input PreparedOrderItem {
weighing: Boolean
weight: String
itemId: String
EAN: String
name: String
price: Float
discountedPrice: Float
lowQuantity: Boolean
quantity: Float
promotionType: Int
promotionProcentage: String
promotionDisplayProcentage: Boolean
promotionDisplayPrice: Boolean
alternativeSelection: Boolean
group: String
alternativesCollected:Boolean
reason: Reason,
alternativeItems:[AlternativeItem]
}
type Mutation {
savePreparedOrder(orderId:String,items:[PreparedOrderItem],total:Float):Boolean
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment