Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Attila Bódis
JavaTest
Commits
40fdd6a7
Commit
40fdd6a7
authored
Jul 23, 2019
by
Attila Bódis
👻
Browse files
Upload New File
parent
4834a79c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/eu/greyson/JavaTestRefactor/Payment.java
0 → 100644
View file @
40fdd6a7
package
eu.greyson.JavaTestRefactor
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
java.math.BigDecimal
;
@Data
@AllArgsConstructor
public
class
Payment
{
private
String
currency
;
private
BigDecimal
amount
;
public
Payment
(
String
currency
,
String
amount
)
{
this
.
currency
=
currency
;
this
.
amount
=
new
BigDecimal
(
amount
);
}
@Override
public
String
toString
()
{
return
currency
+
" "
+
amount
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment