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

com.softlayer.api.service.container.account.proofofconcept.request.CostRecovery Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.container.account.proofofconcept.request;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;

/**
 * Funding codes for the department paying for the proof of concept account. 
 *
 * @see SoftLayer_Container_Account_ProofOfConcept_Request_CostRecovery
 */
@ApiType("SoftLayer_Container_Account_ProofOfConcept_Request_CostRecovery")
public class CostRecovery extends Entity {

    /**
     * Internal billing system country code
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String countryCode;

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        countryCodeSpecified = true;
        this.countryCode = countryCode;
    }

    protected boolean countryCodeSpecified;

    public boolean isCountryCodeSpecified() {
        return countryCodeSpecified;
    }

    public void unsetCountryCode() {
        countryCode = null;
        countryCodeSpecified = false;
    }

    /**
     * Customer's Internal billing system department code
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String departmentCode;

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        departmentCodeSpecified = true;
        this.departmentCode = departmentCode;
    }

    protected boolean departmentCodeSpecified;

    public boolean isDepartmentCodeSpecified() {
        return departmentCodeSpecified;
    }

    public void unsetDepartmentCode() {
        departmentCode = null;
        departmentCodeSpecified = false;
    }

    /**
     * Internal billing system division code
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String divisionCode;

    public String getDivisionCode() {
        return divisionCode;
    }

    public void setDivisionCode(String divisionCode) {
        divisionCodeSpecified = true;
        this.divisionCode = divisionCode;
    }

    protected boolean divisionCodeSpecified;

    public boolean isDivisionCodeSpecified() {
        return divisionCodeSpecified;
    }

    public void unsetDivisionCode() {
        divisionCode = null;
        divisionCodeSpecified = false;
    }

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy