|
| 1 | +using System; |
| 2 | +using System.Collections.Generic; |
| 3 | +using System.Net.Http; |
| 4 | +using System.Text; |
| 5 | +using Newtonsoft.Json; |
| 6 | +using RestSharp; |
| 7 | + |
| 8 | +namespace Gs1Br |
| 9 | +{ |
| 10 | + public class RetornoConsultaGtinGs1Br |
| 11 | + { |
| 12 | + public Product product { get; set; } |
| 13 | + public string status { get; set; } |
| 14 | + public string message { get; set; } |
| 15 | + } |
| 16 | + |
| 17 | + public class Product |
| 18 | + { |
| 19 | + public Gs1tradeitemidentificationkey gs1TradeItemIdentificationKey { get; set; } |
| 20 | + public Tradeitemdescriptioninformationlang[] tradeItemDescriptionInformationLang { get; set; } |
| 21 | + public object[] childTradeItems { get; set; } |
| 22 | + public Referencedfileinformation[] referencedFileInformations { get; set; } |
| 23 | + public string gtinStatusCode { get; set; } |
| 24 | + public Brandnameinformationlang[] brandNameInformationLang { get; set; } |
| 25 | + public object languageCode { get; set; } |
| 26 | + public Tradeitemweight tradeItemWeight { get; set; } |
| 27 | + public Tradeitemmeasurements tradeItemMeasurements { get; set; } |
| 28 | + public Tradeitemclassification tradeItemClassification { get; set; } |
| 29 | + } |
| 30 | + |
| 31 | + public class Gs1tradeitemidentificationkey |
| 32 | + { |
| 33 | + public string gs1TradeItemIdentificationKeyCode { get; set; } |
| 34 | + public string gtin { get; set; } |
| 35 | + public string fixedLengthGtin { get; set; } |
| 36 | + } |
| 37 | + |
| 38 | + public class Tradeitemweight |
| 39 | + { |
| 40 | + public Grossweight grossWeight { get; set; } |
| 41 | + public Netweight netWeight { get; set; } |
| 42 | + } |
| 43 | + |
| 44 | + public class Grossweight |
| 45 | + { |
| 46 | + public string measurementUnitCode { get; set; } |
| 47 | + public float value { get; set; } |
| 48 | + public float originalValue { get; set; } |
| 49 | + } |
| 50 | + |
| 51 | + public class Netweight |
| 52 | + { |
| 53 | + public object measurementUnitCode { get; set; } |
| 54 | + public object value { get; set; } |
| 55 | + } |
| 56 | + |
| 57 | + public class Tradeitemmeasurements |
| 58 | + { |
| 59 | + public Netcontent netContent { get; set; } |
| 60 | + public Height height { get; set; } |
| 61 | + public Width width { get; set; } |
| 62 | + public Depth depth { get; set; } |
| 63 | + } |
| 64 | + |
| 65 | + public class Netcontent |
| 66 | + { |
| 67 | + public string measurementUnitCode { get; set; } |
| 68 | + public int? value { get; set; } |
| 69 | + public int? originalValue { get; set; } |
| 70 | + } |
| 71 | + |
| 72 | + public class Height |
| 73 | + { |
| 74 | + public object measurementUnitCode { get; set; } |
| 75 | + public object value { get; set; } |
| 76 | + public object originalValue { get; set; } |
| 77 | + } |
| 78 | + |
| 79 | + public class Width |
| 80 | + { |
| 81 | + public object measurementUnitCode { get; set; } |
| 82 | + public object value { get; set; } |
| 83 | + public object originalValue { get; set; } |
| 84 | + } |
| 85 | + |
| 86 | + public class Depth |
| 87 | + { |
| 88 | + public object measurementUnitCode { get; set; } |
| 89 | + public object value { get; set; } |
| 90 | + public object originalValue { get; set; } |
| 91 | + } |
| 92 | + |
| 93 | + public class Tradeitemclassification |
| 94 | + { |
| 95 | + public string gpcCategoryCode { get; set; } |
| 96 | + public Additionaltradeitemclassification[] additionalTradeItemClassifications { get; set; } |
| 97 | + public string gpcCategoryName { get; set; } |
| 98 | + } |
| 99 | + |
| 100 | + public class Additionaltradeitemclassification |
| 101 | + { |
| 102 | + public string additionalTradeItemClassificationSystemCode { get; set; } |
| 103 | + public string additionalTradeItemClassificationCodeValue { get; set; } |
| 104 | + } |
| 105 | + |
| 106 | + public class Tradeitemdescriptioninformationlang |
| 107 | + { |
| 108 | + public string languageCode { get; set; } |
| 109 | + public string tradeItemDescription { get; set; } |
| 110 | + public bool _default { get; set; } |
| 111 | + } |
| 112 | + |
| 113 | + public class Referencedfileinformation |
| 114 | + { |
| 115 | + public string languageCode { get; set; } |
| 116 | + public string contentDescription { get; set; } |
| 117 | + public string uniformResourceIdentifier { get; set; } |
| 118 | + public bool featuredFile { get; set; } |
| 119 | + public bool _default { get; set; } |
| 120 | + public string referencedFileTypeCode { get; set; } |
| 121 | + } |
| 122 | + |
| 123 | + public class Brandnameinformationlang |
| 124 | + { |
| 125 | + public string languageCode { get; set; } |
| 126 | + public string brandName { get; set; } |
| 127 | + public bool _default { get; set; } |
| 128 | + } |
| 129 | + |
| 130 | +} |
0 commit comments