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

com.reveldigital.api.Account Maven / Gradle / Ivy

/*
 * Copyright (c) 2015. Catalyst LLC. All right reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.reveldigital.api;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Mike on 6/4/2014.
 */
public class Account implements Serializable {

    private String name;
    @SerializedName("business_name")
    private String businessName;
    @SerializedName("address_1")
    private String address1;
    @SerializedName("address_2")
    private String address2;
    private String city;
    private String state;
    @SerializedName("postal_code")
    private String postalCode;
    private String country;
    private String phone;
    private String fax;
    @SerializedName("primary_contact_id")
    private String primaryContactId;
    @SerializedName("secondary_contact_id")
    private String secondaryContactId;
    @SerializedName("created_on")
    private Date createdOn;
    private String timezone;
    private String tags;

    public String getName() {
        return name;
    }

    public String getBusinessName() {
        return businessName;
    }

    public String getAddress1() {
        return address1;
    }

    public String getAddress2() {
        return address2;
    }

    public String getCity() {
        return city;
    }

    public String getState() {
        return state;
    }

    public String getPostalCode() {
        return postalCode;
    }

    public String getCountry() {
        return country;
    }

    public String getPhone() {
        return phone;
    }

    public String getFax() {
        return fax;
    }

    public String getPrimaryContactId() {
        return primaryContactId;
    }

    public String getSecondaryContactId() {
        return secondaryContactId;
    }

    public Date getCreatedOn() {
        return createdOn;
    }

    public String getTimezone() {
        return timezone;
    }

    public String getTags() { return tags; }

    public Account setName(String name) {
        this.name = name;
        return this;
    }

    public Account setBusinessName(String businessName) {
        this.businessName = businessName;
        return this;
    }

    public Account setAddress1(String address1) {
        this.address1 = address1;
        return this;
    }

    public Account setAddress2(String address2) {
        this.address2 = address2;
        return this;
    }

    public Account setCity(String city) {
        this.city = city;
        return this;
    }

    public Account setState(String state) {
        this.state = state;
        return this;
    }

    public Account setPostalCode(String postalCode) {
        this.postalCode = postalCode;
        return this;
    }

    public Account setCountry(String country) {
        this.country = country;
        return this;
    }

    public Account setPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public Account setFax(String fax) {
        this.fax = fax;
        return this;
    }

    public Account setPrimaryContactId(String primaryContactId) {
        this.primaryContactId = primaryContactId;
        return this;
    }

    public Account setSecondaryContactId(String secondaryContactId) {
        this.secondaryContactId = secondaryContactId;
        return this;
    }

    public Account setTimezone(String timezone) {
        this.timezone = timezone;
        return this;
    }

    public Account setTags(String tags) {
        this.tags = tags;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy