高章伟
2022-02-18 8b5f4c6c281cfa548f92de52c8021e37aa81901e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
//Generated by wsdl2apex
 
public class Nfm007Sync {
    public class Detail_element {
        public String DetailLine;
        public String ItemCode;
        public Double ItemQuantity;
        //------xinhonglu--------------20180914--------------AddStart--------------------------------
        public Decimal ListPrice;
        public Decimal Discount;
        public Decimal SalesPrice;
        public String Other6 ;
        public String Other7 ; 
        public String Other8 ; 
        public String Other9 ; 
        public String Other10 ;            
        private String[] ListPrice_type_info = new String[]{'ListPrice','http://www.w3.org/2001/XMLSchema','decimal','1','1','false'};
        private String[] Discount_type_info = new String[]{'Discount','http://www.w3.org/2001/XMLSchema','decimal','1','1','false'};
        private String[] SalesPrice_type_info = new String[]{'SalesPrice','http://www.w3.org/2001/XMLSchema','decimal','1','1','false'};
        private String[] Other6_type_info = new String[]{'Other6','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] Other7_type_info = new String[]{'Other7','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] Other8_type_info = new String[]{'Other8','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] Other9_type_info = new String[]{'Other9','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] Other10_type_info = new String[]{'Other10','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        //------xinhonglu--------------20180914--------------AddEnd--------------------------------
 
        private String[] DetailLine_type_info = new String[]{'DetailLine','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] ItemCode_type_info = new String[]{'ItemCode','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] ItemQuantity_type_info = new String[]{'ItemQuantity','http://www.w3.org/2001/XMLSchema','double','1','1','false'};
        
        private String[] apex_schema_type_info = new String[]{'http://olympus.co.jp/gpi/NFM007','false','false'};
        //------xinhonglu--------------20180914--------------UpdateStart--------------------------------
        private String[] field_order_type_info = new String[]{'DetailLine','ItemCode','ItemQuantity','ListPrice','Discount','SalesPrice','Other6','Other7','Other8','Other9','Other10'};
        //------xinhonglu--------------20180914--------------UpdateEnd--------------------------------
    }
    public class HTTPS_Port {
        public String endpoint_x = 'https://sfdc-ocm-test.olympus.co.jp/XISOAPAdapter/MessageServlet?senderParty=&senderService=OCM_SFDC_D&receiverParty=&receiverService=&interface=NFM007_Sync_BC2GPI&interfaceNamespace=http%3A%2F%2Folympus.co.jp%2Fgpi%2FNFM007';
        public Map<String,String> inputHttpHeaders_x;
        public Map<String,String> outputHttpHeaders_x;
        public String clientCertName_x;
        public String clientCert_x;
        public String clientCertPasswd_x;
        public Integer timeout_x;
        private String[] ns_map_type_info = new String[]{'http://olympus.co.jp/common/message', 'OlympusCoJpCommonMessage', 'http://olympus.co.jp/gpi/NFM007', 'Nfm007Sync'};
        public OlympusCoJpCommonMessage.LOG_element[] NFM007_Sync_BC2GPI(Nfm007Sync.Quotations_element[] Quotations) {
            Nfm007Sync.NFM007 request_x = new Nfm007Sync.NFM007();
            OlympusCoJpCommonMessage.Response response_x;
            request_x.Quotations = Quotations;
            Map<String, OlympusCoJpCommonMessage.Response> response_map_x = new Map<String, OlympusCoJpCommonMessage.Response>();
            response_map_x.put('response_x', response_x);
            WebServiceCallout.invoke(
              this,
              request_x,
              response_map_x,
              new String[]{endpoint_x,
              'http://sap.com/xi/WebService/soap1.1',
              'http://olympus.co.jp/gpi/NFM007',
              'NFM007',
              'http://olympus.co.jp/common/message',
              'Response',
              'OlympusCoJpCommonMessage.Response'}
            );
            response_x = response_map_x.get('response_x');
            return response_x.LOG;
        }
    }
    public class PresalesPerson_element {
        public String PresalesLine;
        public String PresalesPersonCode;
        public String PresalesPersonName;
        private String[] PresalesLine_type_info = new String[]{'PresalesLine','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] PresalesPersonCode_type_info = new String[]{'PresalesPersonCode','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] PresalesPersonName_type_info = new String[]{'PresalesPersonName','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] apex_schema_type_info = new String[]{'http://olympus.co.jp/gpi/NFM007','false','false'};
        private String[] field_order_type_info = new String[]{'PresalesLine','PresalesPersonCode','PresalesPersonName'};
    }
    public class Quotations_element {
        public OlympusCoJpCommonMessage.Monitoring Monitoring;
        public Nfm007Sync.Quotation_element[] Quotation;
        private String[] Monitoring_type_info = new String[]{'Monitoring','http://olympus.co.jp/common/message','Monitoring','1','1','false'};
        private String[] Quotation_type_info = new String[]{'Quotation','http://olympus.co.jp/gpi/NFM007','Quotation_element','0','-1','false'};
        private String[] apex_schema_type_info = new String[]{'http://olympus.co.jp/gpi/NFM007','false','false'};
        private String[] field_order_type_info = new String[]{'Monitoring','Quotation'};
    }
    public class NFM007 {
        public Nfm007Sync.Quotations_element[] Quotations;
        private String[] Quotations_type_info = new String[]{'Quotations','http://olympus.co.jp/gpi/NFM007','Quotations_element','1','-1','false'};
        private String[] apex_schema_type_info = new String[]{'http://olympus.co.jp/gpi/NFM007','false','false'};
        private String[] field_order_type_info = new String[]{'Quotations'};
    }
    public class Quotation_element {
        public String QuotationCode;
        public String SalesPoint;
        public String SalesPersonCode;
        public String SalesPersonName;
        public String Currency_x;
        public String EnduserCode;
        public String DepartmentCode;
        public String SalesChannel;
        public String CLBICCategory;
        public Decimal SalesPriceForAgent1;
        public Decimal SalesPriceForEnduser;
        public String Agent1Code;
        public String Agent2Code;
        public Decimal SalesPriceForAgent2;
        public String ProspectCategory;
        public String ContractType;
        public String FundSource;
        public String AuthorizationNo;
        public String ContractApplicationNo;
        public String DealerContractNo;
        public String InspectionCertificate;
        public String InspectionCertificateComment;
        public String PurposeOfAdvice;
        public Nfm007Sync.Detail_element[] Detail;
        public Nfm007Sync.PresalesPerson_element[] PresalesPerson;
        //----------updateStart---xinhonglu-----20180926-------------------------
        public String Other1 ;
        public String Other2 ;
        public String Other3 ;
        public String Other4 ;
        public String Other5 ;
        private String[] Other1_type_info = new String[]{'Other1','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] Other2_type_info = new String[]{'Other2','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] Other3_type_info = new String[]{'Other3','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] Other4_type_info = new String[]{'Other4','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] Other5_type_info = new String[]{'Other5','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        //----------updateEnd---xinhonglu-----20180926-------------------------
        private String[] QuotationCode_type_info = new String[]{'QuotationCode','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] SalesPoint_type_info = new String[]{'SalesPoint','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] SalesPersonCode_type_info = new String[]{'SalesPersonCode','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] SalesPersonName_type_info = new String[]{'SalesPersonName','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] Currency_x_type_info = new String[]{'Currency','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] EnduserCode_type_info = new String[]{'EnduserCode','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] DepartmentCode_type_info = new String[]{'DepartmentCode','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] SalesChannel_type_info = new String[]{'SalesChannel','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] CLBICCategory_type_info = new String[]{'CLBICCategory','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] SalesPriceForAgent1_type_info = new String[]{'SalesPriceForAgent1','http://www.w3.org/2001/XMLSchema','decimal','1','1','false'};
        private String[] SalesPriceForEnduser_type_info = new String[]{'SalesPriceForEnduser','http://www.w3.org/2001/XMLSchema','decimal','1','1','false'};
        private String[] Agent1Code_type_info = new String[]{'Agent1Code','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] Agent2Code_type_info = new String[]{'Agent2Code','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] SalesPriceForAgent2_type_info = new String[]{'SalesPriceForAgent2','http://www.w3.org/2001/XMLSchema','decimal','1','1','false'};
        private String[] ProspectCategory_type_info = new String[]{'ProspectCategory','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] ContractType_type_info = new String[]{'ContractType','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] FundSource_type_info = new String[]{'FundSource','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] AuthorizationNo_type_info = new String[]{'AuthorizationNo','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] ContractApplicationNo_type_info = new String[]{'ContractApplicationNo','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] DealerContractNo_type_info = new String[]{'DealerContractNo','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] InspectionCertificate_type_info = new String[]{'InspectionCertificate','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] InspectionCertificateComment_type_info = new String[]{'InspectionCertificateComment','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] PurposeOfAdvice_type_info = new String[]{'PurposeOfAdvice','http://www.w3.org/2001/XMLSchema','string','1','1','false'};
        private String[] Detail_type_info = new String[]{'Detail','http://olympus.co.jp/gpi/NFM007','Detail_element','0','-1','false'};
        private String[] PresalesPerson_type_info = new String[]{'PresalesPerson','http://olympus.co.jp/gpi/NFM007','PresalesPerson_element','0','-1','false'};
        private String[] apex_schema_type_info = new String[]{'http://olympus.co.jp/gpi/NFM007','false','false'};
        //----------updateStart---xinhonglu-----20180926-------------------------
        private String[] field_order_type_info = new String[]{'QuotationCode','SalesPoint','SalesPersonCode','SalesPersonName','Currency_x','EnduserCode','DepartmentCode','SalesChannel','CLBICCategory','SalesPriceForAgent1','SalesPriceForEnduser','Agent1Code','Agent2Code','SalesPriceForAgent2','ProspectCategory','ContractType','FundSource','AuthorizationNo','ContractApplicationNo','DealerContractNo','InspectionCertificate','InspectionCertificateComment','PurposeOfAdvice','Detail','PresalesPerson','Other1','Other2','Other3','Other4','Other5'};
        //----------updateEnd---xinhonglu-----20180926-------------------------
    }
}