Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.03 KB | None | 0 0
  1. package test.test;
  2.  
  3. public class TestTest {
  4.  
  5. private String transferType;
  6. private String payerName;
  7. private String recipientName;
  8. private String recipientInn;
  9. private String recipientAccount;
  10. private String recipientBankName;
  11. private String recipientBankId;
  12. private String recipientBankCorrespondentAccount;
  13. private String payerType101;
  14. private String kpp103;
  15. private String kbk104;
  16. private String okato105;
  17. private String paymentReason106;
  18. private String taxPeriod107;
  19. private String taxDocNum108;
  20. private String taxDocDate109;
  21. private String paymentType110;
  22. private String kod22;
  23. private String empSystemId;
  24.  
  25.  
  26. public TestTest (final String newTransferType,
  27. final String newPayerName,
  28. final String newRecipientName,
  29. final String newRecipientInn,
  30. final String newRecipientAccount,
  31. final String newRecipientBankName,
  32. final String newRecipientBankId,
  33. final String newRecipientBankCorrespondentAccount,
  34. final String newPayerType101,
  35. final String newKpp103,
  36. final String newKbk104,
  37. final String newOkato105,
  38. final String newPaymentReason106,
  39. final String newTaxPeriod107,
  40. final String newTaxDocNum108,
  41. final String newTaxDocDate109,
  42. final String newPaymentType110,
  43. final String newKod22,
  44. final String newEmpSystemId) {
  45.  
  46. this.transferType = newTransferType;
  47. this.payerName = newPayerName;
  48. this.recipientName = newRecipientName;
  49. this.recipientInn = newRecipientInn;
  50. this.recipientAccount = newRecipientAccount;
  51. this.recipientBankName = newRecipientBankName;
  52. this.recipientBankId = newRecipientBankId;
  53. this.recipientBankCorrespondentAccount = newRecipientBankCorrespondentAccount;
  54. this.payerType101 = newPayerType101;
  55. this.kpp103 = newKpp103;
  56. this.kbk104 = newKbk104;
  57. this.okato105 = newOkato105;
  58. this.paymentReason106 = newPaymentReason106;
  59. this.taxPeriod107 = newTaxPeriod107;
  60. this.taxDocNum108 = newTaxDocNum108;
  61. this.taxDocDate109 = newTaxDocDate109;
  62. this.paymentType110 = newPaymentType110;
  63. this.kod22 = newKod22;
  64. this.empSystemId = newEmpSystemId;
  65.  
  66. }
  67.  
  68. private TestTest() {
  69. // TODO Auto-generated constructor stub
  70. }
  71.  
  72. public String getTransferType() {
  73. return transferType;
  74. }
  75.  
  76. public String getPayerName() {
  77. return payerName;
  78. }
  79.  
  80. public String getRecipientName() {
  81. return recipientName;
  82. }
  83.  
  84. public String getRecipientInn() {
  85. return recipientInn;
  86. }
  87.  
  88. public String getRecipientAccount() {
  89. return recipientAccount;
  90. }
  91.  
  92. public String getRecipientBankName() {
  93. return recipientBankName;
  94. }
  95.  
  96. public String getRecipientBankId() {
  97. return recipientBankId;
  98. }
  99.  
  100. public String getRecipientBankCorrespondentAccount() {
  101. return recipientBankCorrespondentAccount;
  102. }
  103.  
  104. public String getPayerType101() {
  105. return payerType101;
  106. }
  107.  
  108. public String getKpp103() {
  109. return kpp103;
  110. }
  111.  
  112. public String getKbk104() {
  113. return kbk104;
  114. }
  115.  
  116. public String getOkato105() {
  117. return okato105;
  118. }
  119.  
  120. public String getPaymentReason106() {
  121. return paymentReason106;
  122. }
  123.  
  124. public String getTaxPeriod107() {
  125. return taxPeriod107;
  126. }
  127.  
  128. public String getTaxDocNum108() {
  129. return taxDocNum108;
  130. }
  131.  
  132. public String getTaxDocDate109() {
  133. return taxDocDate109;
  134. }
  135.  
  136. public String getPaymentType110() {
  137. return paymentType110;
  138. }
  139.  
  140. public String getKod22() {
  141. return kod22;
  142. }
  143.  
  144. public String getEmpSystemId() {
  145. return empSystemId;
  146. }
  147.  
  148. public static Builder newBuilder() {
  149. return new TestTest().new Builder();
  150. }
  151.  
  152. public static BankGov newBankGov() {
  153. return new TestTest().new BankGov();
  154. }
  155.  
  156. public class BankGov {
  157.  
  158. final static String transferType = "bank_gov";
  159.  
  160. private BankGov() {
  161.  
  162. }
  163.  
  164. public BankGov setTransferType() {
  165. TestTest.this.transferType = transferType;
  166.  
  167. return this;
  168. }
  169.  
  170. public BankGov setPayerType101(String payerType101) {
  171. TestTest.this.payerType101 = payerType101;
  172.  
  173. return this;
  174. }
  175.  
  176. public BankGov setKpp103(String kpp103) {
  177. TestTest.this.kpp103 = kpp103;
  178.  
  179. return this;
  180. }
  181.  
  182. public BankGov setKbk104(String kbk104) {
  183. TestTest.this.kbk104 = kbk104;
  184.  
  185. return this;
  186. }
  187.  
  188. public BankGov setOkato105(String okato105) {
  189. TestTest.this.okato105 = okato105;
  190.  
  191. return this;
  192. }
  193.  
  194. public BankGov setPaymentReason106(String paymentReason106) {
  195. TestTest.this.paymentReason106 = paymentReason106;
  196.  
  197. return this;
  198. }
  199.  
  200. public BankGov setTaxPeriod107(String taxPeriod107) {
  201. TestTest.this.taxPeriod107 = taxPeriod107;
  202.  
  203. return this;
  204. }
  205.  
  206. public BankGov setTaxDocNum108(String taxDocNum108) {
  207. TestTest.this.taxDocNum108 = taxDocNum108;
  208.  
  209. return this;
  210. }
  211.  
  212. public BankGov setTaxDocDate109(String taxDocDate109) {
  213. TestTest.this.taxDocDate109 = taxDocDate109;
  214.  
  215. return this;
  216. }
  217.  
  218. public BankGov setPaymentType110(String paymentType110) {
  219. TestTest.this.paymentType110 = paymentType110;
  220.  
  221. return this;
  222. }
  223.  
  224. public BankGov setKod22(String kod22) {
  225. TestTest.this.kod22 = kod22;
  226.  
  227. return this;
  228. }
  229.  
  230. public BankGov setEmpSystemId(String empSystemId) {
  231. TestTest.this.empSystemId = empSystemId;
  232.  
  233. return this;
  234. }
  235.  
  236. public TestTest build() {
  237. return TestTest.this;
  238. }
  239. }
  240.  
  241. public class Builder {
  242.  
  243. private Builder() {
  244.  
  245. }
  246.  
  247. public Builder setTransferType(String transferType) {
  248. TestTest.this.transferType = transferType;
  249.  
  250. return this;
  251. }
  252.  
  253. public Builder setPayerName(String payerName) {
  254. TestTest.this.payerName = payerName;
  255.  
  256. return this;
  257. }
  258.  
  259. public Builder setRecipientName(String recipientName) {
  260. TestTest.this.recipientName = recipientName;
  261.  
  262. return this;
  263. }
  264.  
  265. public Builder setRecipientInn(String recipientInn) {
  266. TestTest.this.recipientInn = recipientInn;
  267.  
  268. return this;
  269. }
  270.  
  271. public Builder setRecipientAccount(String recipientAccount) {
  272. TestTest.this.recipientAccount = recipientAccount;
  273.  
  274. return this;
  275. }
  276.  
  277. public Builder setRecipientBankName(String recipientBankName) {
  278. TestTest.this.recipientBankName = recipientBankName;
  279.  
  280. return this;
  281. }
  282.  
  283. public Builder setRecipientBankId(String recipientBankId) {
  284. TestTest.this.recipientBankId = recipientBankId;
  285.  
  286. return this;
  287. }
  288.  
  289. public Builder setRecipientBankCorrespondentAccount(String recipientBankCorrespondentAccount) {
  290. TestTest.this.recipientBankCorrespondentAccount = recipientBankCorrespondentAccount;
  291.  
  292. return this;
  293. }
  294.  
  295. public Builder setPayerType101(String payerType101) {
  296. TestTest.this.payerType101 = payerType101;
  297.  
  298. return this;
  299. }
  300.  
  301. public Builder setKpp103(String kpp103) {
  302. TestTest.this.kpp103 = kpp103;
  303.  
  304. return this;
  305. }
  306.  
  307. public Builder setKbk104(String kbk104) {
  308. TestTest.this.kbk104 = kbk104;
  309.  
  310. return this;
  311. }
  312.  
  313. public Builder setOkato105(String okato105) {
  314. TestTest.this.okato105 = okato105;
  315.  
  316. return this;
  317. }
  318.  
  319. public Builder setPaymentReason106(String paymentReason106) {
  320. TestTest.this.paymentReason106 = paymentReason106;
  321.  
  322. return this;
  323. }
  324.  
  325. public Builder setTaxPeriod107(String taxPeriod107) {
  326. TestTest.this.taxPeriod107 = taxPeriod107;
  327.  
  328. return this;
  329. }
  330.  
  331. public Builder setTaxDocNum108(String taxDocNum108) {
  332. TestTest.this.taxDocNum108 = taxDocNum108;
  333.  
  334. return this;
  335. }
  336.  
  337. public Builder setTaxDocDate109(String taxDocDate109) {
  338. TestTest.this.taxDocDate109 = taxDocDate109;
  339.  
  340. return this;
  341. }
  342.  
  343. public Builder setPaymentType110(String paymentType110) {
  344. TestTest.this.paymentType110 = paymentType110;
  345.  
  346. return this;
  347. }
  348.  
  349. public Builder setKod22(String kod22) {
  350. TestTest.this.kod22 = kod22;
  351.  
  352. return this;
  353. }
  354.  
  355. public Builder setEmpSystemId(String empSystemId) {
  356. TestTest.this.empSystemId = empSystemId;
  357.  
  358. return this;
  359. }
  360.  
  361. public TestTest build() {
  362. return TestTest.this;
  363. }
  364. }
  365.  
  366. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement