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

com.mozu.api.contracts.customer.B2BAccount Maven / Gradle / Ivy

Go to download

Mozu Java is a SDK that enables you to create robust Java applications that integrate with the Mozu platform

There is a newer version: 2.6.1-RC1
Show newest version
/**
 *     This code was auto-generated by a Codezu.     
 *
 *     Changes to this file may cause incorrect behavior and will be lost if
 *     the code is regenerated.
 */
package com.mozu.api.contracts.customer;

import java.util.List;
import java.util.HashMap;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.joda.time.DateTime;
import java.io.IOException;
import java.lang.ClassNotFoundException;
import com.mozu.api.contracts.customer.CustomerAttribute;
import com.mozu.api.contracts.core.AuditInfo;
import com.mozu.api.contracts.customer.CommerceSummary;
import com.mozu.api.contracts.customer.CustomerContact;
import com.mozu.api.contracts.customer.CustomerNote;
import com.mozu.api.contracts.customer.CustomerSegment;
import com.mozu.api.contracts.customer.B2BUser;

/**
 *	The shared B2B account, with associated users that can all log into the B2B account.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class B2BAccount implements Serializable
{
	// Default Serial Version UID
	private static final long serialVersionUID = 1L;

	/**
	 * The type of the B2B account.
	 */
	protected  String accountType;

	public String getAccountType() {
		return this.accountType;
	}

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

	/**
	 * The company or organization name entered for a customer account.
	 */
	protected  String companyOrOrganization;

	public String getCompanyOrOrganization() {
		return this.companyOrOrganization;
	}

	public void setCompanyOrOrganization(String companyOrOrganization) {
		this.companyOrOrganization = companyOrOrganization;
	}

	/**
	 * customerSet ApiType DOCUMENT_HERE 
	 */
	protected  String customerSet;

	public String getCustomerSet() {
		return this.customerSet;
	}

	public void setCustomerSet(String customerSet) {
		this.customerSet = customerSet;
	}

	/**
	 * This property tracks the B2B customer account creation date. 
	 */
	protected  DateTime customerSinceDate;

	public DateTime getCustomerSinceDate() {
		return this.customerSinceDate;
	}

	public void setCustomerSinceDate(DateTime customerSinceDate) {
		this.customerSinceDate = customerSinceDate;
	}

	/**
	 * Unique identifier used by an external program to identify a  order, customer account, or wish list.
	 */
	protected  String externalId;

	public String getExternalId() {
		return this.externalId;
	}

	public void setExternalId(String externalId) {
		this.externalId = externalId;
	}

	/**
	 * Unique identifier of the source property, such as a catalog, discount, order, or email template.For a product field it will be the name of the field.For a category ID, must be a positive integer not greater than 2000000. By default,  auto-generates a category ID when categories are created. If you want to specify an ID during creation (which preserves category link relationships when migrating tenant data from one sandbox to another), you must also include the  query string in the endpoint. For example, . Then, use the  property to specify the desired category ID.For a product attribute it will be the Attribute FQN.For a document, the ID must be specified as a 32 character, case-insensitive, alphanumeric string. You can specify the ID as 32 sequential characters or as groups separated by dashes in the format 8-4-4-4-12. For example, or.For email templates, the ID must be one of the following values:			
	 */
	protected  Integer id;

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * Indicates if the object or feature is active.
	 */
	protected  Boolean isActive;

	public Boolean getIsActive() {
		return this.isActive;
	}

	public void setIsActive(Boolean isActive) {
		this.isActive = isActive;
	}

	/**
	 * priceList ApiType DOCUMENT_HERE 
	 */
	protected  String priceList;

	public String getPriceList() {
		return this.priceList;
	}

	public void setPriceList(String priceList) {
		this.priceList = priceList;
	}

	/**
	 * If true, this account has tax exempt status.
	 */
	protected  Boolean taxExempt;

	public Boolean getTaxExempt() {
		return this.taxExempt;
	}

	public void setTaxExempt(Boolean taxExempt) {
		this.taxExempt = taxExempt;
	}

	/**
	 * The tax identification number associated with the account.
	 */
	protected  String taxId;

	public String getTaxId() {
		return this.taxId;
	}

	public void setTaxId(String taxId) {
		this.taxId = taxId;
	}

	/**
	 * Collection of attributes that may be paged list or a list, depending on the usage per object and API type.
	 */
	protected List attributes;
	public List getAttributes() {
		return this.attributes;
	}
	public void setAttributes(List attributes) {
		this.attributes = attributes;
	}

	/**
	 * Basic audit info about the object, including date, time, and user account. This data may be captured when creating, updating, and removing data.
	 */
	protected  AuditInfo auditInfo;

	public AuditInfo getAuditInfo() {
		return this.auditInfo;
	}

	public void setAuditInfo(AuditInfo auditInfo) {
		this.auditInfo = auditInfo;
	}

	/**
	 * commerceSummary ApiType DOCUMENT_HERE 
	 */
	protected  CommerceSummary commerceSummary;

	public CommerceSummary getCommerceSummary() {
		return this.commerceSummary;
	}

	public void setCommerceSummary(CommerceSummary commerceSummary) {
		this.commerceSummary = commerceSummary;
	}

	/**
	 * contacts ApiType DOCUMENT_HERE 
	 */
	protected List contacts;
	public List getContacts() {
		return this.contacts;
	}
	public void setContacts(List contacts) {
		this.contacts = contacts;
	}

	/**
	 * Paged list collection of note content for objects including customers, orders, and returns.
	 */
	protected List notes;
	public List getNotes() {
		return this.notes;
	}
	public void setNotes(List notes) {
		this.notes = notes;
	}

	/**
	 * segments ApiType DOCUMENT_HERE 
	 */
	protected List segments;
	public List getSegments() {
		return this.segments;
	}
	public void setSegments(List segments) {
		this.segments = segments;
	}

	/**
	 * A list of users associated to the B2B account. On initial B2B account creation, one user is required and will be set up as the admin customer.
	 */
	protected List users;
	public List getUsers() {
		return this.users;
	}
	public void setUsers(List users) {
		this.users = users;
	}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy