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

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

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

public class PaymentLinks {
    private Href self;
    private Href order;
    private RedirectHref payOnlineBankDebitItau;
    private PayBoleto payBoleto;

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

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

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

    public Href getLink() {
        return self;
    }

    public Href getOrder() {
        return order;
    }

    public RedirectHref getPayOnlineBankDebitItau() {
        return payOnlineBankDebitItau;
    }

    public PayBoleto getPayBoleto() {
        return payBoleto;
    }

    public String payOnlineBankDebitLink() {
        return payOnlineBankDebitItau.getRedirectHref();
    }

    public String payBoletoLink() {
        return payBoleto.getRedirectHref();
    }

    public String payBoletoPrintLink() {
        return payBoleto.getPrintHref();
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy