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

com.braintreegateway.UsBankAccountVerificationConfirmRequest Maven / Gradle / Ivy

package com.braintreegateway;

import java.util.List;

public class UsBankAccountVerificationConfirmRequest extends Request {
    private List depositAmounts;

    public UsBankAccountVerificationConfirmRequest() {
    }

    public UsBankAccountVerificationConfirmRequest depositAmounts(List depositAmounts) {
        this.depositAmounts = depositAmounts;
        return this;
    }

    @Override
    public String toXML() {
        RequestBuilder builder = new RequestBuilder("usBankAccountVerification");

        if (!depositAmounts.isEmpty()) {
            builder.addElement("depositAmounts", this.depositAmounts);
        }

        return builder.toXML();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy