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

com.softlayer.api.service.container.billing.invoice.Email Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.container.billing.invoice;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.util.ArrayList;
import java.util.List;

/**
 * This container is used to provide all the options for [[SoftLayer_Billing_Invoice/emailInvoices|emailInvoices]] in order to have the nessary invoices sent to the user's email. 
 *
 * @see SoftLayer_Container_Billing_Invoice_Email
 */
@ApiType("SoftLayer_Container_Billing_Invoice_Email")
public class Email extends Entity {

    /**
     * Excel Invoices to email
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected List excelInvoiceIds;

    public List getExcelInvoiceIds() {
        if (excelInvoiceIds == null) {
            excelInvoiceIds = new ArrayList();
        }
        return excelInvoiceIds;
    }

    protected boolean excelInvoiceIdsSpecified;

    public boolean isExcelInvoiceIdsSpecified() {
        return excelInvoiceIdsSpecified;
    }

    public void unsetExcelInvoiceIds() {
        excelInvoiceIds = null;
        excelInvoiceIdsSpecified = false;
    }

    /**
     * PDF Invoice Detail Summarys to email
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected List pdfDetailedInvoiceIds;

    public List getPdfDetailedInvoiceIds() {
        if (pdfDetailedInvoiceIds == null) {
            pdfDetailedInvoiceIds = new ArrayList();
        }
        return pdfDetailedInvoiceIds;
    }

    protected boolean pdfDetailedInvoiceIdsSpecified;

    public boolean isPdfDetailedInvoiceIdsSpecified() {
        return pdfDetailedInvoiceIdsSpecified;
    }

    public void unsetPdfDetailedInvoiceIds() {
        pdfDetailedInvoiceIds = null;
        pdfDetailedInvoiceIdsSpecified = false;
    }

    /**
     * PDF Invoices to email
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected List pdfInvoiceIds;

    public List getPdfInvoiceIds() {
        if (pdfInvoiceIds == null) {
            pdfInvoiceIds = new ArrayList();
        }
        return pdfInvoiceIds;
    }

    protected boolean pdfInvoiceIdsSpecified;

    public boolean isPdfInvoiceIdsSpecified() {
        return pdfInvoiceIdsSpecified;
    }

    public void unsetPdfInvoiceIds() {
        pdfInvoiceIds = null;
        pdfInvoiceIdsSpecified = false;
    }

    /**
     * The type of Invoices to be emailed [current|next]. If next is selected, the account id will be used.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        typeSpecified = true;
        this.type = type;
    }

    protected boolean typeSpecified;

    public boolean isTypeSpecified() {
        return typeSpecified;
    }

    public void unsetType() {
        type = null;
        typeSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public Mask excelInvoiceIds() {
            withLocalProperty("excelInvoiceIds");
            return this;
        }

        public Mask pdfDetailedInvoiceIds() {
            withLocalProperty("pdfDetailedInvoiceIds");
            return this;
        }

        public Mask pdfInvoiceIds() {
            withLocalProperty("pdfInvoiceIds");
            return this;
        }

        public Mask type() {
            withLocalProperty("type");
            return this;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy