Example #1
0
 public bool Deserialize(JSON_ProductSaleParam json)
 {
     if (json == null)
     {
         return(false);
     }
     this.ProductId          = json.fields.product_id;
     this.Platform           = json.fields.platform;
     this.Name               = json.fields.name;
     this.Description        = json.fields.description;
     this.AdditionalFreeCoin = json.fields.additional_free_coin;
     this.Condition.type     = (ProductSaleParam.Constrict.Type)json.fields.condition_type;
     this.Condition.value    = json.fields.condition_value;
     return(true);
 }
Example #2
0
 public void Deserialize(string language, JSON_ProductSaleParam json)
 {
     this.Deserialize(json);
     this.localizeFields(language);
 }