Commit 40fdd6a7 authored by Attila Bódis's avatar Attila Bódis 👻
Browse files

Upload New File

parent 4834a79c
package eu.greyson.JavaTestRefactor;
import lombok.AllArgsConstructor;
import lombok.Data;
import java.math.BigDecimal;
public class Payment {
private String currency;
private BigDecimal amount;
public Payment(String currency, String amount) {
this.currency = currency;
this.amount = new BigDecimal(amount);
public String toString() {
return currency + " " + amount;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment