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

br.com.moip.resource.Multiorder Maven / Gradle / Ivy

There is a newer version: 4.7.6
Show newest version
package br.com.moip.resource;

import br.com.moip.resource.links.OrderLinks;

import java.util.ArrayList;
import java.util.List;

public class Multiorder {

    private String id;
    private String ownId;
    private final List orders = new ArrayList<>();
    private OrderStatus status;
    private ApiDate createdAt;
    private ApiDate updatedAt;
    private Amount amount;
    private OrderLinks _links;

    public String getId() {
        return id;
    }

    public String getOwnId() {
        return ownId;
    }

    public List getOrders() {
        return orders;
    }

    public OrderStatus getStatus() {
        return status;
    }

    public Amount getAmount() {
        return amount;
    }

    public ApiDate getCreatedAt() {
        return createdAt;
    }

    public ApiDate getUpdatedAt() {
        return updatedAt;
    }

    public OrderLinks getLinks() {
        return _links;
    }

    @Override
    public String toString() {
        return new StringBuilder("Multiorder{")
            .append("ownId='").append(ownId).append('\'')
            .append(", orders=").append(orders)
            .append(", status=").append(status)
            .append(", createdAt=").append(createdAt)
            .append(", updatedAt=").append(updatedAt)
            .append(", amount=").append(amount)
            .append(", links=").append(_links)
            .append("}").toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy