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

cl.transbank.transaccioncompleta.model.MallFullTransactionInstallmentsResponse Maven / Gradle / Ivy

There is a newer version: 5.0.0
Show newest version
package cl.transbank.transaccioncompleta.model;

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


public class MallFullTransactionInstallmentsResponse {
    private List responseList = new ArrayList<>();

    private MallFullTransactionInstallmentsResponse() {}

    public static MallFullTransactionInstallmentsResponse build() {
        return new MallFullTransactionInstallmentsResponse();
    }

    public static MallFullTransactionInstallmentsResponse build(MallFullTransactionInstallmentResponse response) {
        return MallFullTransactionInstallmentsResponse.build().add(response);
    }

    public MallFullTransactionInstallmentsResponse add(MallFullTransactionInstallmentResponse response) {
        responseList.add(response);
        return this;
    }

    public boolean remove(MallFullTransactionInstallmentResponse response) {
        return getResponseList().remove(response);
    }

    public List getResponseList() {
        return Collections.unmodifiableList(responseList);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy