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

com.unzer.payment.communication.json.ApiShipment Maven / Gradle / Ivy

package com.unzer.payment.communication.json;

import java.math.BigDecimal;
import java.util.Currency;
import java.util.Date;

public class ApiShipment extends ApiIdObject implements ApiObject {
    private String isSuccess;
    private String isPending;
    private String isError;
    private JsonMessage message;
    private Date date;

    private BigDecimal amount;
    private Currency currency;

    private JsonResources resources;
    private JsonProcessing processing = new JsonProcessing();

    public ApiShipment() {
        super();
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public ApiShipment setAmount(BigDecimal amount) {
        this.amount = amount;
        return this;
    }

    public Currency getCurrency() {
        return currency;
    }

    public ApiShipment setCurrency(Currency currency) {
        this.currency = currency;
        return this;
    }

    public JsonProcessing getProcessing() {
        return processing;
    }

    public ApiShipment setProcessing(JsonProcessing processing) {
        this.processing = processing;
        return this;
    }


    public JsonResources getResources() {
        return resources;
    }

    public void setResources(JsonResources resources) {
        this.resources = resources;
    }

    public String getIsSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(String isSuccess) {
        this.isSuccess = isSuccess;
    }

    public String getIsPending() {
        return isPending;
    }

    public void setIsPending(String isPending) {
        this.isPending = isPending;
    }

    public String getIsError() {
        return isError;
    }

    public void setIsError(String isError) {
        this.isError = isError;
    }

    public JsonMessage getMessage() {
        return message;
    }

    public void setMessage(JsonMessage message) {
        this.message = message;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy