All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.splittypay.model.MoneyAmount Maven / Gradle / Ivy

package com.splittypay.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.experimental.SuperBuilder;

@Getter
@SuperBuilder(toBuilder = true)
public abstract class MoneyAmount {

    @JsonProperty("amount")
    private long amount;

    @JsonProperty("currency")
    private Currency currency;

    protected MoneyAmount() {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy