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

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

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

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

/**
 * @see SoftLayer_Container_Referral_Partner_Payment_Option
 */
@ApiType("SoftLayer_Container_Referral_Partner_Payment_Option")
public class Option extends Entity {

    @ApiProperty(canBeNullOrNotSet = true)
    protected String accountNumber;

    public String getAccountNumber() {
        return accountNumber;
    }

    public void setAccountNumber(String accountNumber) {
        accountNumberSpecified = true;
        this.accountNumber = accountNumber;
    }

    protected boolean accountNumberSpecified;

    public boolean isAccountNumberSpecified() {
        return accountNumberSpecified;
    }

    public void unsetAccountNumber() {
        accountNumber = null;
        accountNumberSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String accountType;

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        accountTypeSpecified = true;
        this.accountType = accountType;
    }

    protected boolean accountTypeSpecified;

    public boolean isAccountTypeSpecified() {
        return accountTypeSpecified;
    }

    public void unsetAccountType() {
        accountType = null;
        accountTypeSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String address1;

    public String getAddress1() {
        return address1;
    }

    public void setAddress1(String address1) {
        address1Specified = true;
        this.address1 = address1;
    }

    protected boolean address1Specified;

    public boolean isAddress1Specified() {
        return address1Specified;
    }

    public void unsetAddress1() {
        address1 = null;
        address1Specified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String address2;

    public String getAddress2() {
        return address2;
    }

    public void setAddress2(String address2) {
        address2Specified = true;
        this.address2 = address2;
    }

    protected boolean address2Specified;

    public boolean isAddress2Specified() {
        return address2Specified;
    }

    public void unsetAddress2() {
        address2 = null;
        address2Specified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String bankTransitNumber;

    public String getBankTransitNumber() {
        return bankTransitNumber;
    }

    public void setBankTransitNumber(String bankTransitNumber) {
        bankTransitNumberSpecified = true;
        this.bankTransitNumber = bankTransitNumber;
    }

    protected boolean bankTransitNumberSpecified;

    public boolean isBankTransitNumberSpecified() {
        return bankTransitNumberSpecified;
    }

    public void unsetBankTransitNumber() {
        bankTransitNumber = null;
        bankTransitNumberSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String city;

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        citySpecified = true;
        this.city = city;
    }

    protected boolean citySpecified;

    public boolean isCitySpecified() {
        return citySpecified;
    }

    public void unsetCity() {
        city = null;
        citySpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String companyName;

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        companyNameSpecified = true;
        this.companyName = companyName;
    }

    protected boolean companyNameSpecified;

    public boolean isCompanyNameSpecified() {
        return companyNameSpecified;
    }

    public void unsetCompanyName() {
        companyName = null;
        companyNameSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String country;

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        countrySpecified = true;
        this.country = country;
    }

    protected boolean countrySpecified;

    public boolean isCountrySpecified() {
        return countrySpecified;
    }

    public void unsetCountry() {
        country = null;
        countrySpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String federalTaxId;

    public String getFederalTaxId() {
        return federalTaxId;
    }

    public void setFederalTaxId(String federalTaxId) {
        federalTaxIdSpecified = true;
        this.federalTaxId = federalTaxId;
    }

    protected boolean federalTaxIdSpecified;

    public boolean isFederalTaxIdSpecified() {
        return federalTaxIdSpecified;
    }

    public void unsetFederalTaxId() {
        federalTaxId = null;
        federalTaxIdSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String firstName;

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        firstNameSpecified = true;
        this.firstName = firstName;
    }

    protected boolean firstNameSpecified;

    public boolean isFirstNameSpecified() {
        return firstNameSpecified;
    }

    public void unsetFirstName() {
        firstName = null;
        firstNameSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String lastName;

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        lastNameSpecified = true;
        this.lastName = lastName;
    }

    protected boolean lastNameSpecified;

    public boolean isLastNameSpecified() {
        return lastNameSpecified;
    }

    public void unsetLastName() {
        lastName = null;
        lastNameSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String paymentType;

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        paymentTypeSpecified = true;
        this.paymentType = paymentType;
    }

    protected boolean paymentTypeSpecified;

    public boolean isPaymentTypeSpecified() {
        return paymentTypeSpecified;
    }

    public void unsetPaymentType() {
        paymentType = null;
        paymentTypeSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String paypalEmail;

    public String getPaypalEmail() {
        return paypalEmail;
    }

    public void setPaypalEmail(String paypalEmail) {
        paypalEmailSpecified = true;
        this.paypalEmail = paypalEmail;
    }

    protected boolean paypalEmailSpecified;

    public boolean isPaypalEmailSpecified() {
        return paypalEmailSpecified;
    }

    public void unsetPaypalEmail() {
        paypalEmail = null;
        paypalEmailSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String phoneNumber;

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        phoneNumberSpecified = true;
        this.phoneNumber = phoneNumber;
    }

    protected boolean phoneNumberSpecified;

    public boolean isPhoneNumberSpecified() {
        return phoneNumberSpecified;
    }

    public void unsetPhoneNumber() {
        phoneNumber = null;
        phoneNumberSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String postalCode;

    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        postalCodeSpecified = true;
        this.postalCode = postalCode;
    }

    protected boolean postalCodeSpecified;

    public boolean isPostalCodeSpecified() {
        return postalCodeSpecified;
    }

    public void unsetPostalCode() {
        postalCode = null;
        postalCodeSpecified = false;
    }

    @ApiProperty(canBeNullOrNotSet = true)
    protected String state;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        stateSpecified = true;
        this.state = state;
    }

    protected boolean stateSpecified;

    public boolean isStateSpecified() {
        return stateSpecified;
    }

    public void unsetState() {
        state = null;
        stateSpecified = false;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy