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

br.com.moip.resource.links.EscrowLinks Maven / Gradle / Ivy

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

public class EscrowLinks {

    private Href self;
    private Href order;
    private Href payment;

    public String self() {
        return self.getHref();
    }

    public String orderLink() {
        return order.getHref();
    }

    public String orderTitle() {
        return order.getTitle();
    }

    public String paymentLink() {
        return payment.getHref();
    }

    public String paymentTitle() {
        return payment.getTitle();
    }

    public Href getLink() {
        return self;
    }

    public Href getOrder() {
        return order;
    }

    public Href getPayment() {
        return payment;
    }

    @Override
    public String toString() {
        return new StringBuilder("EscrowLinks{")
            .append("self='").append(self)
            .append(", order='").append(order)
            .append(", payment='").append(payment)
            .append('}').toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy