Advertisement
Guest User

Untitled

a guest
Apr 4th, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 4.23 KB | None | 0 0
  1. //main class
  2. public static class ICMS {
  3.  
  4.                     @XmlElement(name = "ICMS00")
  5.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS00 icms00;
  6.                     @XmlElement(name = "ICMS10")
  7.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS10 icms10;
  8.                     @XmlElement(name = "ICMS20")
  9.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS20 icms20;
  10.                     @XmlElement(name = "ICMS30")
  11.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS30 icms30;
  12.                     @XmlElement(name = "ICMS40")
  13.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS40 icms40;
  14.                     @XmlElement(name = "ICMS51")
  15.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS51 icms51;
  16.                     @XmlElement(name = "ICMS60")
  17.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS60 icms60;
  18.                     @XmlElement(name = "ICMS70")
  19.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS70 icms70;
  20.                     @XmlElement(name = "ICMS90")
  21.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS90 icms90;
  22.                     @XmlElement(name = "ICMSPart")
  23.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSPart icmsPart;
  24.                     @XmlElement(name = "ICMSST")
  25.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSST icmsst;
  26.                     @XmlElement(name = "ICMSSN101")
  27.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN101 icmssn101;
  28.                     @XmlElement(name = "ICMSSN102")
  29.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN102 icmssn102;
  30.                     @XmlElement(name = "ICMSSN201")
  31.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN201 icmssn201;
  32.                     @XmlElement(name = "ICMSSN202")
  33.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN202 icmssn202;
  34.                     @XmlElement(name = "ICMSSN500")
  35.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN500 icmssn500;
  36.                     @XmlElement(name = "ICMSSN900")
  37.                     protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN900 icmssn900;
  38. }
  39.  
  40.  public static class ICMS00 {
  41.  
  42.                         @XmlElement(required = true)
  43.                         protected String orig;
  44.                         @XmlElement(name = "CST", required = true)
  45.                         protected String cst;
  46.                         @XmlElement(required = true)
  47.                         protected String modBC;
  48.                         @XmlElement(name = "vBC", required = true)
  49.                         protected String vbc;
  50.                         @XmlElement(name = "pICMS", required = true)
  51.                         protected String picms;
  52.                         @XmlElement(name = "vICMS", required = true)
  53.                         protected String vicms;
  54. }
  55.  
  56.  public static class ICMS10 {
  57.  
  58.                         @XmlElement(required = true)
  59.                         protected String orig;
  60.                         @XmlElement(name = "CST", required = true)
  61.                         protected String cst;
  62.                         @XmlElement(required = true)
  63.                         protected String modBC;
  64.                         @XmlElement(name = "vBC", required = true)
  65.                         protected String vbc;
  66.                         @XmlElement(name = "pICMS", required = true)
  67.                         protected String picms;
  68.                         @XmlElement(name = "vICMS", required = true)
  69.                         protected String vicms;
  70.                         @XmlElement(required = true)
  71.                         protected String modBCST;
  72.                         @XmlElement(name = "pMVAST")
  73.                         protected String pmvast;
  74.                         protected String pRedBCST;
  75.                         @XmlElement(name = "vBCST", required = true)
  76.                         protected String vbcst;
  77.                         @XmlElement(name = "pICMSST", required = true)
  78.                         protected String picmsst;
  79.                         @XmlElement(name = "vICMSST", required = true)
  80.                         protected String vicmsst;
  81. }
  82. //And it goes on for all other ICMS variations
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement