UnionPayBean.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. package com.fuint.common.bean;
  2. import org.springframework.boot.context.properties.ConfigurationProperties;
  3. import org.springframework.context.annotation.PropertySource;
  4. import org.springframework.stereotype.Component;
  5. /**
  6. * 云闪付支付Bean
  7. *
  8. * Created by FSQ
  9. * CopyRight https://www.fuint.cn
  10. */
  11. @Component
  12. @PropertySource("file:${env.properties.path}/${env.profile}/application.properties")
  13. @ConfigurationProperties(prefix = "union")
  14. public class UnionPayBean {
  15. private String machId;
  16. private String key;
  17. private String serverUrl;
  18. private String domain;
  19. public String getMachId() {
  20. return machId;
  21. }
  22. public void setMachId(String machId) {
  23. this.machId = machId;
  24. }
  25. public String getKey() {
  26. return key;
  27. }
  28. public void setKey(String key) {
  29. this.key = key;
  30. }
  31. public String getServerUrl() {
  32. return serverUrl;
  33. }
  34. public void setServerUrl(String serverUrl) {
  35. this.serverUrl = serverUrl;
  36. }
  37. public String getDomain() {
  38. return domain;
  39. }
  40. public void setDomain(String domain) {
  41. this.domain = domain;
  42. }
  43. @Override
  44. public String toString() {
  45. return "UnionPayBean{" +
  46. "machId='" + machId + '\'' +
  47. ", key='" + key + '\'' +
  48. ", serverUrl='" + serverUrl + '\'' +
  49. ", domain='" + domain + '\'' +
  50. '}';
  51. }
  52. }