Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. package com.pig.microservices.currencyexchangeservice;
  2.  
  3. import java.math.BigDecimal;
  4.  
  5. public class ExchangeValue {
  6. private Long id;
  7. private String from;
  8. private String to;
  9. private BigDecimal conversionMultiple;
  10. private int port;
  11.  
  12. public ExchangeValue() {
  13. super();
  14. }
  15.  
  16. public ExchangeValue(Long id, String from, String to, BigDecimal conversionMultiple) {
  17. super();
  18. this.id = id;
  19. this.from = from;
  20. this.to = to;
  21. this.conversionMultiple = conversionMultiple;
  22. }
  23.  
  24. public Long getId() {
  25. return id;
  26. }
  27.  
  28. public String getFrom() {
  29. return from;
  30. }
  31.  
  32. public String getTo() {
  33. return to;
  34. }
  35.  
  36. public BigDecimal getConversionMultiple() {
  37. return conversionMultiple;
  38. }
  39.  
  40. public int getPort() {
  41. return port;
  42. }
  43.  
  44. public void setPort(int port) {
  45. this.port = port;
  46. }
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement