com.unzer.payment.communication.json.JsonAmount Maven / Gradle / Ivy
package com.unzer.payment.communication.json;
/*-
* #%L
* Unzer Java SDK
* %%
* Copyright (C) 2020 Unzer E-Com GmbH
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import java.math.BigDecimal;
public class JsonAmount {
private BigDecimal total;
private BigDecimal charged;
private BigDecimal canceled;
private BigDecimal remaining;
public BigDecimal getTotal() {
return total;
}
public void setTotal(BigDecimal total) {
this.total = total;
}
public BigDecimal getCharged() {
return charged;
}
public void setCharged(BigDecimal charged) {
this.charged = charged;
}
public BigDecimal getCanceled() {
return canceled;
}
public void setCanceled(BigDecimal canceled) {
this.canceled = canceled;
}
public BigDecimal getRemaining() {
return remaining;
}
public void setRemaining(BigDecimal remaining) {
this.remaining = remaining;
}
}