com.mozu.api.contracts.installedapplications.Capability Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mozu-api-core Show documentation
Show all versions of mozu-api-core Show documentation
Mozu Java is a SDK that enables you to create robust Java applications that integrate with the Mozu platform
/**
* 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.installedapplications;
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.core.thirdparty.ActiveShippingCountry;
import com.mozu.api.contracts.core.thirdparty.OperationUrl;
import com.mozu.api.contracts.core.thirdparty.InitializablePropertyValue;
import com.mozu.api.contracts.core.thirdparty.InitializableShippingCountryPropertyValue;
/**
* The enablement mode of the capability.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Capability implements Serializable
{
// Default Serial Version UID
private static final long serialVersionUID = 1L;
/**
* Array list of credit types active for the capability.
*/
protected List activeCreditTypes;
public List getActiveCreditTypes() {
return this.activeCreditTypes;
}
public void setActiveCreditTypes(List activeCreditTypes) {
this.activeCreditTypes = activeCreditTypes;
}
/**
* Array list of the countries (by country code) for which this capability can actively shop. All active shopping countries must be in the supported shopping country list. Validation rules determine the supported validity of the entered country against the list.
*/
protected List activeShoppingCountries;
public List getActiveShoppingCountries() {
return this.activeShoppingCountries;
}
public void setActiveShoppingCountries(List activeShoppingCountries) {
this.activeShoppingCountries = activeShoppingCountries;
}
/**
* The enablement mode of the capability, typically read only.
*/
protected String capabilityMode;
public String getCapabilityMode() {
return this.capabilityMode;
}
public void setCapabilityMode(String capabilityMode) {
this.capabilityMode = capabilityMode;
}
/**
* The capability type installed in the tenant.
*/
protected String capabilityType;
public String getCapabilityType() {
return this.capabilityType;
}
public void setCapabilityType(String capabilityType) {
this.capabilityType = capabilityType;
}
/**
* Indicates if a capability, function tied to an Arc.js action, application, or price list is enabled for the tenant/site. If true, the capability/application/function/price list is enabled for the tenant. System-supplied and read-only with the exception of functions tied to an Arc.js action and price lists.
*/
protected Boolean enabled;
public Boolean getEnabled() {
return this.enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
/**
* 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 String id;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
/**
* Indicates if an app is initialized and capable of being enabled in the tenant and site. Apps will need to be installed and configured to become initialized, such as validating credentials and/or API keys with a third-party service. If true, the app is initialized and can be enabled for usage.
*/
protected Boolean initialized;
public Boolean getInitialized() {
return this.initialized;
}
public void setInitialized(Boolean initialized) {
this.initialized = initialized;
}
/**
* The unique identifier of the scope. For example, if your scope type is site, then this value would be the site id.
*/
protected Integer scopeId;
public Integer getScopeId() {
return this.scopeId;
}
public void setScopeId(Integer scopeId) {
this.scopeId = scopeId;
}
/**
* The type of scope associated with the documentList. For example, if the documentList is pageTemplateContent, the scopeType is Site.Valid values are: "Tenant", "MasterCatalog", and "Site".
*/
protected String scopeType;
public String getScopeType() {
return this.scopeType;
}
public void setScopeType(String scopeType) {
this.scopeType = scopeType;
}
/**
* Array list of the countries (by country code) to which this capability can actively ship. The entered shipping country is validated against a list of supported shipping countries. Messages return if the country code is not supported or duplicated. Supported carriers are also checked per country code.
*/
protected List activeShippingCountries;
public List getActiveShippingCountries() {
return this.activeShippingCountries;
}
public void setActiveShippingCountries(List activeShippingCountries) {
this.activeShippingCountries = activeShippingCountries;
}
/**
* Array list of URL endpoints for the operations associated with this capability.
*/
protected List operationUrls;
public List getOperationUrls() {
return this.operationUrls;
}
public void setOperationUrls(List operationUrls) {
this.operationUrls = operationUrls;
}
/**
* List of credit types this capability supports.
*/
protected List supportedCreditTypes;
public List getSupportedCreditTypes() {
return this.supportedCreditTypes;
}
public void setSupportedCreditTypes(List supportedCreditTypes) {
this.supportedCreditTypes = supportedCreditTypes;
}
/**
* Array list of countries this capability supports for shipping.
*/
protected List supportedShippingCountries;
public List getSupportedShippingCountries() {
return this.supportedShippingCountries;
}
public void setSupportedShippingCountries(List supportedShippingCountries) {
this.supportedShippingCountries = supportedShippingCountries;
}
/**
* List of countries this capability supports for shopping.
*/
protected List supportedShoppingCountries;
public List getSupportedShoppingCountries() {
return this.supportedShoppingCountries;
}
public void setSupportedShoppingCountries(List supportedShoppingCountries) {
this.supportedShoppingCountries = supportedShoppingCountries;
}
}