266 lines
14 KiB
Java
266 lines
14 KiB
Java
package com.sforce.soap.metadata;
|
|
|
|
/**
|
|
* This is a generated class for the SObject Enterprise API.
|
|
* Do not edit this file, as your changes will be lost.
|
|
*/
|
|
public class SubscriptionManagementSettings extends com.sforce.soap.metadata.Metadata {
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public SubscriptionManagementSettings() {}
|
|
|
|
/* Cache the typeInfo instead of declaring static fields throughout*/
|
|
private transient java.util.Map<String, com.sforce.ws.bind.TypeInfo> typeInfoCache = new java.util.HashMap<String, com.sforce.ws.bind.TypeInfo>();
|
|
private com.sforce.ws.bind.TypeInfo _lookupTypeInfo(String fieldName, String namespace, String name, String typeNS, String type, int minOcc, int maxOcc, boolean elementForm) {
|
|
com.sforce.ws.bind.TypeInfo typeInfo = typeInfoCache.get(fieldName);
|
|
if (typeInfo == null) {
|
|
typeInfo = new com.sforce.ws.bind.TypeInfo(namespace, name, typeNS, type, minOcc, maxOcc, elementForm);
|
|
typeInfoCache.put(fieldName, typeInfo);
|
|
}
|
|
return typeInfo;
|
|
}
|
|
|
|
/**
|
|
* element : enableConvertNegativeInvoiceLinesToCreditMemoAndApply of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableConvertNegativeInvoiceLinesToCreditMemoAndApply__is_set = false;
|
|
|
|
private boolean enableConvertNegativeInvoiceLinesToCreditMemoAndApply;
|
|
|
|
public boolean getEnableConvertNegativeInvoiceLinesToCreditMemoAndApply() {
|
|
return enableConvertNegativeInvoiceLinesToCreditMemoAndApply;
|
|
}
|
|
|
|
public boolean isEnableConvertNegativeInvoiceLinesToCreditMemoAndApply() {
|
|
return enableConvertNegativeInvoiceLinesToCreditMemoAndApply;
|
|
}
|
|
|
|
public void setEnableConvertNegativeInvoiceLinesToCreditMemoAndApply(boolean enableConvertNegativeInvoiceLinesToCreditMemoAndApply) {
|
|
this.enableConvertNegativeInvoiceLinesToCreditMemoAndApply = enableConvertNegativeInvoiceLinesToCreditMemoAndApply;
|
|
enableConvertNegativeInvoiceLinesToCreditMemoAndApply__is_set = true;
|
|
}
|
|
|
|
protected void setEnableConvertNegativeInvoiceLinesToCreditMemoAndApply(com.sforce.ws.parser.XmlInputStream __in,
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
|
__in.peekTag();
|
|
if (__typeMapper.isElement(__in, _lookupTypeInfo("enableConvertNegativeInvoiceLinesToCreditMemoAndApply", "http://soap.sforce.com/2006/04/metadata","enableConvertNegativeInvoiceLinesToCreditMemoAndApply","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableConvertNegativeInvoiceLinesToCreditMemoAndApply(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableConvertNegativeInvoiceLinesToCreditMemoAndApply", "http://soap.sforce.com/2006/04/metadata","enableConvertNegativeInvoiceLinesToCreditMemoAndApply","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableConvertNegativeInvoiceLinesToCreditMemoAndApply(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableConvertNegativeInvoiceLinesToCreditMemoAndApply", "http://soap.sforce.com/2006/04/metadata","enableConvertNegativeInvoiceLinesToCreditMemoAndApply","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableConvertNegativeInvoiceLinesToCreditMemoAndApply, enableConvertNegativeInvoiceLinesToCreditMemoAndApply__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enablePaymentScheduleAutomation of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enablePaymentScheduleAutomation__is_set = false;
|
|
|
|
private boolean enablePaymentScheduleAutomation;
|
|
|
|
public boolean getEnablePaymentScheduleAutomation() {
|
|
return enablePaymentScheduleAutomation;
|
|
}
|
|
|
|
public boolean isEnablePaymentScheduleAutomation() {
|
|
return enablePaymentScheduleAutomation;
|
|
}
|
|
|
|
public void setEnablePaymentScheduleAutomation(boolean enablePaymentScheduleAutomation) {
|
|
this.enablePaymentScheduleAutomation = enablePaymentScheduleAutomation;
|
|
enablePaymentScheduleAutomation__is_set = true;
|
|
}
|
|
|
|
protected void setEnablePaymentScheduleAutomation(com.sforce.ws.parser.XmlInputStream __in,
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
|
__in.peekTag();
|
|
if (__typeMapper.isElement(__in, _lookupTypeInfo("enablePaymentScheduleAutomation", "http://soap.sforce.com/2006/04/metadata","enablePaymentScheduleAutomation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnablePaymentScheduleAutomation(__typeMapper.readBoolean(__in, _lookupTypeInfo("enablePaymentScheduleAutomation", "http://soap.sforce.com/2006/04/metadata","enablePaymentScheduleAutomation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnablePaymentScheduleAutomation(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enablePaymentScheduleAutomation", "http://soap.sforce.com/2006/04/metadata","enablePaymentScheduleAutomation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enablePaymentScheduleAutomation, enablePaymentScheduleAutomation__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enableRefundAutomation of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableRefundAutomation__is_set = false;
|
|
|
|
private boolean enableRefundAutomation;
|
|
|
|
public boolean getEnableRefundAutomation() {
|
|
return enableRefundAutomation;
|
|
}
|
|
|
|
public boolean isEnableRefundAutomation() {
|
|
return enableRefundAutomation;
|
|
}
|
|
|
|
public void setEnableRefundAutomation(boolean enableRefundAutomation) {
|
|
this.enableRefundAutomation = enableRefundAutomation;
|
|
enableRefundAutomation__is_set = true;
|
|
}
|
|
|
|
protected void setEnableRefundAutomation(com.sforce.ws.parser.XmlInputStream __in,
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
|
__in.peekTag();
|
|
if (__typeMapper.isElement(__in, _lookupTypeInfo("enableRefundAutomation", "http://soap.sforce.com/2006/04/metadata","enableRefundAutomation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableRefundAutomation(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableRefundAutomation", "http://soap.sforce.com/2006/04/metadata","enableRefundAutomation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableRefundAutomation(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableRefundAutomation", "http://soap.sforce.com/2006/04/metadata","enableRefundAutomation","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableRefundAutomation, enableRefundAutomation__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enableRevSubMgmtBlngOptOut of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableRevSubMgmtBlngOptOut__is_set = false;
|
|
|
|
private boolean enableRevSubMgmtBlngOptOut;
|
|
|
|
public boolean getEnableRevSubMgmtBlngOptOut() {
|
|
return enableRevSubMgmtBlngOptOut;
|
|
}
|
|
|
|
public boolean isEnableRevSubMgmtBlngOptOut() {
|
|
return enableRevSubMgmtBlngOptOut;
|
|
}
|
|
|
|
public void setEnableRevSubMgmtBlngOptOut(boolean enableRevSubMgmtBlngOptOut) {
|
|
this.enableRevSubMgmtBlngOptOut = enableRevSubMgmtBlngOptOut;
|
|
enableRevSubMgmtBlngOptOut__is_set = true;
|
|
}
|
|
|
|
protected void setEnableRevSubMgmtBlngOptOut(com.sforce.ws.parser.XmlInputStream __in,
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
|
__in.peekTag();
|
|
if (__typeMapper.isElement(__in, _lookupTypeInfo("enableRevSubMgmtBlngOptOut", "http://soap.sforce.com/2006/04/metadata","enableRevSubMgmtBlngOptOut","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableRevSubMgmtBlngOptOut(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableRevSubMgmtBlngOptOut", "http://soap.sforce.com/2006/04/metadata","enableRevSubMgmtBlngOptOut","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableRevSubMgmtBlngOptOut(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableRevSubMgmtBlngOptOut", "http://soap.sforce.com/2006/04/metadata","enableRevSubMgmtBlngOptOut","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableRevSubMgmtBlngOptOut, enableRevSubMgmtBlngOptOut__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : enableSubscriptionManagement of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean enableSubscriptionManagement__is_set = false;
|
|
|
|
private boolean enableSubscriptionManagement;
|
|
|
|
public boolean getEnableSubscriptionManagement() {
|
|
return enableSubscriptionManagement;
|
|
}
|
|
|
|
public boolean isEnableSubscriptionManagement() {
|
|
return enableSubscriptionManagement;
|
|
}
|
|
|
|
public void setEnableSubscriptionManagement(boolean enableSubscriptionManagement) {
|
|
this.enableSubscriptionManagement = enableSubscriptionManagement;
|
|
enableSubscriptionManagement__is_set = true;
|
|
}
|
|
|
|
protected void setEnableSubscriptionManagement(com.sforce.ws.parser.XmlInputStream __in,
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
|
__in.peekTag();
|
|
if (__typeMapper.isElement(__in, _lookupTypeInfo("enableSubscriptionManagement", "http://soap.sforce.com/2006/04/metadata","enableSubscriptionManagement","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setEnableSubscriptionManagement(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableSubscriptionManagement", "http://soap.sforce.com/2006/04/metadata","enableSubscriptionManagement","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldEnableSubscriptionManagement(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("enableSubscriptionManagement", "http://soap.sforce.com/2006/04/metadata","enableSubscriptionManagement","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableSubscriptionManagement, enableSubscriptionManagement__is_set);
|
|
}
|
|
|
|
/**
|
|
*/
|
|
@Override
|
|
public void write(javax.xml.namespace.QName __element,
|
|
com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)
|
|
throws java.io.IOException {
|
|
__out.writeStartTag(__element.getNamespaceURI(), __element.getLocalPart());
|
|
__typeMapper.writeXsiType(__out, "http://soap.sforce.com/2006/04/metadata", "SubscriptionManagementSettings");
|
|
writeFields(__out, __typeMapper);
|
|
__out.writeEndTag(__element.getNamespaceURI(), __element.getLocalPart());
|
|
}
|
|
|
|
protected void writeFields(com.sforce.ws.parser.XmlOutputStream __out,
|
|
com.sforce.ws.bind.TypeMapper __typeMapper)
|
|
throws java.io.IOException {
|
|
super.writeFields(__out, __typeMapper);
|
|
writeFields1(__out, __typeMapper);
|
|
}
|
|
|
|
@Override
|
|
public void load(com.sforce.ws.parser.XmlInputStream __in,
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
|
__typeMapper.consumeStartTag(__in);
|
|
loadFields(__in, __typeMapper);
|
|
__typeMapper.consumeEndTag(__in);
|
|
}
|
|
|
|
protected void loadFields(com.sforce.ws.parser.XmlInputStream __in,
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
|
super.loadFields(__in, __typeMapper);
|
|
loadFields1(__in, __typeMapper);
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
java.lang.StringBuilder sb = new java.lang.StringBuilder();
|
|
sb.append("[SubscriptionManagementSettings ");
|
|
sb.append(super.toString());
|
|
toString1(sb);
|
|
|
|
sb.append("]\n");
|
|
return sb.toString();
|
|
}
|
|
|
|
private void toStringHelper(StringBuilder sb, String name, Object value) {
|
|
sb.append(' ').append(name).append("='").append(com.sforce.ws.util.Verbose.toString(value)).append("'\n");
|
|
}
|
|
|
|
private void writeFields1(com.sforce.ws.parser.XmlOutputStream __out,
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
writeFieldEnableConvertNegativeInvoiceLinesToCreditMemoAndApply(__out, __typeMapper);
|
|
writeFieldEnablePaymentScheduleAutomation(__out, __typeMapper);
|
|
writeFieldEnableRefundAutomation(__out, __typeMapper);
|
|
writeFieldEnableRevSubMgmtBlngOptOut(__out, __typeMapper);
|
|
writeFieldEnableSubscriptionManagement(__out, __typeMapper);
|
|
}
|
|
|
|
private void loadFields1(com.sforce.ws.parser.XmlInputStream __in,
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
|
setEnableConvertNegativeInvoiceLinesToCreditMemoAndApply(__in, __typeMapper);
|
|
setEnablePaymentScheduleAutomation(__in, __typeMapper);
|
|
setEnableRefundAutomation(__in, __typeMapper);
|
|
setEnableRevSubMgmtBlngOptOut(__in, __typeMapper);
|
|
setEnableSubscriptionManagement(__in, __typeMapper);
|
|
}
|
|
|
|
private void toString1(StringBuilder sb) {
|
|
toStringHelper(sb, "enableConvertNegativeInvoiceLinesToCreditMemoAndApply", enableConvertNegativeInvoiceLinesToCreditMemoAndApply);
|
|
toStringHelper(sb, "enablePaymentScheduleAutomation", enablePaymentScheduleAutomation);
|
|
toStringHelper(sb, "enableRefundAutomation", enableRefundAutomation);
|
|
toStringHelper(sb, "enableRevSubMgmtBlngOptOut", enableRevSubMgmtBlngOptOut);
|
|
toStringHelper(sb, "enableSubscriptionManagement", enableSubscriptionManagement);
|
|
}
|
|
|
|
|
|
}
|