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

com.softlayer.api.service.container.referral.partner.Commission Maven / Gradle / Ivy

The newest version!
package com.softlayer.api.service.container.referral.partner;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.math.BigDecimal;
import java.util.GregorianCalendar;

/**
 * @see SoftLayer_Container_Referral_Partner_Commission
 */
@ApiType("SoftLayer_Container_Referral_Partner_Commission")
public class Commission extends Entity {

    @ApiProperty(canBeNullOrNotSet = true)
    protected BigDecimal commissionAmount;

    public BigDecimal getCommissionAmount() {
        return commissionAmount;
    }

    public void setCommissionAmount(BigDecimal commissionAmount) {
        commissionAmountSpecified = true;
        this.commissionAmount = commissionAmount;
    }

    protected boolean commissionAmountSpecified;

    public boolean isCommissionAmountSpecified() {
        return commissionAmountSpecified;
    }

    public void unsetCommissionAmount() {
        commissionAmount = null;
        commissionAmountSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected BigDecimal commissionRate;

    public BigDecimal getCommissionRate() {
        return commissionRate;
    }

    public void setCommissionRate(BigDecimal commissionRate) {
        commissionRateSpecified = true;
        this.commissionRate = commissionRate;
    }

    protected boolean commissionRateSpecified;

    public boolean isCommissionRateSpecified() {
        return commissionRateSpecified;
    }

    public void unsetCommissionRate() {
        commissionRate = null;
        commissionRateSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected GregorianCalendar createDate;

    public GregorianCalendar getCreateDate() {
        return createDate;
    }

    public void setCreateDate(GregorianCalendar createDate) {
        createDateSpecified = true;
        this.createDate = createDate;
    }

    protected boolean createDateSpecified;

    public boolean isCreateDateSpecified() {
        return createDateSpecified;
    }

    public void unsetCreateDate() {
        createDate = null;
        createDateSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long referralAccountId;

    public Long getReferralAccountId() {
        return referralAccountId;
    }

    public void setReferralAccountId(Long referralAccountId) {
        referralAccountIdSpecified = true;
        this.referralAccountId = referralAccountId;
    }

    protected boolean referralAccountIdSpecified;

    public boolean isReferralAccountIdSpecified() {
        return referralAccountIdSpecified;
    }

    public void unsetReferralAccountId() {
        referralAccountId = null;
        referralAccountIdSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String referralCompanyName;

    public String getReferralCompanyName() {
        return referralCompanyName;
    }

    public void setReferralCompanyName(String referralCompanyName) {
        referralCompanyNameSpecified = true;
        this.referralCompanyName = referralCompanyName;
    }

    protected boolean referralCompanyNameSpecified;

    public boolean isReferralCompanyNameSpecified() {
        return referralCompanyNameSpecified;
    }

    public void unsetReferralCompanyName() {
        referralCompanyName = null;
        referralCompanyNameSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected Long referralPartnerAccountId;

    public Long getReferralPartnerAccountId() {
        return referralPartnerAccountId;
    }

    public void setReferralPartnerAccountId(Long referralPartnerAccountId) {
        referralPartnerAccountIdSpecified = true;
        this.referralPartnerAccountId = referralPartnerAccountId;
    }

    protected boolean referralPartnerAccountIdSpecified;

    public boolean isReferralPartnerAccountIdSpecified() {
        return referralPartnerAccountIdSpecified;
    }

    public void unsetReferralPartnerAccountId() {
        referralPartnerAccountId = null;
        referralPartnerAccountIdSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected BigDecimal referralRevenue;

    public BigDecimal getReferralRevenue() {
        return referralRevenue;
    }

    public void setReferralRevenue(BigDecimal referralRevenue) {
        referralRevenueSpecified = true;
        this.referralRevenue = referralRevenue;
    }

    protected boolean referralRevenueSpecified;

    public boolean isReferralRevenueSpecified() {
        return referralRevenueSpecified;
    }

    public void unsetReferralRevenue() {
        referralRevenue = null;
        referralRevenueSpecified = false;
    }

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

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

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

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy