Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //main class
- public static class ICMS {
- @XmlElement(name = "ICMS00")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS00 icms00;
- @XmlElement(name = "ICMS10")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS10 icms10;
- @XmlElement(name = "ICMS20")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS20 icms20;
- @XmlElement(name = "ICMS30")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS30 icms30;
- @XmlElement(name = "ICMS40")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS40 icms40;
- @XmlElement(name = "ICMS51")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS51 icms51;
- @XmlElement(name = "ICMS60")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS60 icms60;
- @XmlElement(name = "ICMS70")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS70 icms70;
- @XmlElement(name = "ICMS90")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS90 icms90;
- @XmlElement(name = "ICMSPart")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSPart icmsPart;
- @XmlElement(name = "ICMSST")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSST icmsst;
- @XmlElement(name = "ICMSSN101")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN101 icmssn101;
- @XmlElement(name = "ICMSSN102")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN102 icmssn102;
- @XmlElement(name = "ICMSSN201")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN201 icmssn201;
- @XmlElement(name = "ICMSSN202")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN202 icmssn202;
- @XmlElement(name = "ICMSSN500")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN500 icmssn500;
- @XmlElement(name = "ICMSSN900")
- protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN900 icmssn900;
- }
- public static class ICMS00 {
- @XmlElement(required = true)
- protected String orig;
- @XmlElement(name = "CST", required = true)
- protected String cst;
- @XmlElement(required = true)
- protected String modBC;
- @XmlElement(name = "vBC", required = true)
- protected String vbc;
- @XmlElement(name = "pICMS", required = true)
- protected String picms;
- @XmlElement(name = "vICMS", required = true)
- protected String vicms;
- }
- public static class ICMS10 {
- @XmlElement(required = true)
- protected String orig;
- @XmlElement(name = "CST", required = true)
- protected String cst;
- @XmlElement(required = true)
- protected String modBC;
- @XmlElement(name = "vBC", required = true)
- protected String vbc;
- @XmlElement(name = "pICMS", required = true)
- protected String picms;
- @XmlElement(name = "vICMS", required = true)
- protected String vicms;
- @XmlElement(required = true)
- protected String modBCST;
- @XmlElement(name = "pMVAST")
- protected String pmvast;
- protected String pRedBCST;
- @XmlElement(name = "vBCST", required = true)
- protected String vbcst;
- @XmlElement(name = "pICMSST", required = true)
- protected String picmsst;
- @XmlElement(name = "vICMSST", required = true)
- protected String vicmsst;
- }
- //And it goes on for all other ICMS variations
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement