Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 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.  
  11. public ExchangeValue() {
  12. super();
  13. }
  14.  
  15. public ExchangeValue(Long id, String from, String to, BigDecimal conversionMultiple) {
  16. super();
  17. this.id = id;
  18. this.from = from;
  19. this.to = to;
  20. this.conversionMultiple = conversionMultiple;
  21. }
  22.  
  23. public Long getId() {
  24. return id;
  25. }
  26.  
  27. public String getFrom() {
  28. return from;
  29. }
  30.  
  31. public String getTo() {
  32. return to;
  33. }
  34.  
  35. public BigDecimal getConversionMultiple() {
  36. return conversionMultiple;
  37. }
  38.  
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement