com.ingenico.direct.domain.AmountOfMoney Maven / Gradle / Ivy
/*
* This class was auto-generated from the API references found at
* https://support.direct.ingenico.com/documentation/api/reference
*/
package com.ingenico.direct.domain;
/**
* Object containing amount and ISO currency code attributes
*/
public class AmountOfMoney {
private Long amount = null;
private String currencyCode = null;
/**
* Amount in cents and always having 2 decimals
*/
public Long getAmount() {
return amount;
}
/**
* Amount in cents and always having 2 decimals
*/
public void setAmount(Long value) {
this.amount = value;
}
/**
* Three-letter ISO currency code representing the currency for the amount
*/
public String getCurrencyCode() {
return currencyCode;
}
/**
* Three-letter ISO currency code representing the currency for the amount
*/
public void setCurrencyCode(String value) {
this.currencyCode = value;
}
}