Skip to content
Browse files

Made productTypes, variations, offerId, and cpc nullable.

  • Loading branch information...
1 parent 0128f8f commit e220e798ea9706f51f9cfbbd8b46d76c277a5e8f tgolding committed Mar 22, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 comparisonshoppingengine/src/main/avro/ComparisonShoppingEngine.avdl
View
10 comparisonshoppingengine/src/main/avro/ComparisonShoppingEngine.avdl
@@ -205,7 +205,7 @@ protocol ComparisonShoppingEngine {
}
@extends("com.x.ocl.Offer")
- @version("1.0.0")
+ @version("2.0.0")
record CseOffer {
string title;
string description;
@@ -215,7 +215,7 @@ protocol ComparisonShoppingEngine {
string brand;
string category;
union{null, string} xProductTypeId = null; // Product type id as defined by the taxonomy manager.
- array<string> productTypes;
+ union{null, array<string>} productTypes;
array<ProductImage> images;
string link;
com.x.ocl.CurrencyAmount originalPrice;
@@ -224,9 +224,9 @@ protocol ComparisonShoppingEngine {
union{null, Shipping} shipping;
union{null, double} shippingWeight;
array<ProductAttribute> attributes;
- array<Variation> variations;
- string offerId;
- com.x.ocl.CurrencyAmount cpc;
+ union{null, array<Variation>} variations;
+ union{null, string} offerId;
+ union{null, com.x.ocl.CurrencyAmount} cpc;
}
@topic("/cse/offer/create")

0 comments on commit e220e79

Please sign in to comment.
Something went wrong with that request. Please try again.