boolean this_present_uploadLimit = true && this.isSetUploadLimit(); boolean that_present_uploadLimit = true && that.isSetUploadLimit(); if (this_present_uploadLimit || that_present_uploadLimit) { if (!(this_present_uploadLimit && that_present_uploadLimit)) boolean this_present_uploadLimitEnd = true && this.isSetUploadLimitEnd(); boolean that_present_uploadLimitEnd = true && that.isSetUploadLimitEnd(); if (this_present_uploadLimitEnd || that_present_uploadLimitEnd) { if (!(this_present_uploadLimitEnd && that_present_uploadLimitEnd)) boolean this_present_uploadLimitNextMonth = true && this.isSetUploadLimitNextMonth(); boolean that_present_uploadLimitNextMonth = true && that.isSetUploadLimitNextMonth(); if (this_present_uploadLimitNextMonth || that_present_uploadLimitNextMonth) { if (!(this_present_uploadLimitNextMonth && that_present_uploadLimitNextMonth)) boolean this_present_premiumServiceStatus = true && this.isSetPremiumServiceStatus(); boolean that_present_premiumServiceStatus = true && that.isSetPremiumServiceStatus(); if (this_present_premiumServiceStatus || that_present_premiumServiceStatus) { if (!(this_present_premiumServiceStatus && that_present_premiumServiceStatus)) boolean this_present_premiumOrderNumber = true && this.isSetPremiumOrderNumber(); boolean that_present_premiumOrderNumber = true && that.isSetPremiumOrderNumber(); if (this_present_premiumOrderNumber || that_present_premiumOrderNumber) { if (!(this_present_premiumOrderNumber && that_present_premiumOrderNumber)) boolean this_present_premiumCommerceService = true && this.isSetPremiumCommerceService(); boolean that_present_premiumCommerceService = true && that.isSetPremiumCommerceService(); if (this_present_premiumCommerceService || that_present_premiumCommerceService) { if (!(this_present_premiumCommerceService && that_present_premiumCommerceService))
public Accounting deepCopy() { return new Accounting(this); }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof Accounting) return this.equals((Accounting)that); return false; }
this.uploadLimitEnd = other.uploadLimitEnd; this.uploadLimitNextMonth = other.uploadLimitNextMonth; if (other.isSetPremiumServiceStatus()) { this.premiumServiceStatus = other.premiumServiceStatus; if (other.isSetPremiumOrderNumber()) { this.premiumOrderNumber = other.premiumOrderNumber; if (other.isSetPremiumCommerceService()) { this.premiumCommerceService = other.premiumCommerceService; if (other.isSetPremiumServiceSKU()) { this.premiumServiceSKU = other.premiumServiceSKU; if (other.isSetLastFailedChargeReason()) { this.lastFailedChargeReason = other.lastFailedChargeReason; this.premiumLockUntil = other.premiumLockUntil; this.updated = other.updated; if (other.isSetPremiumSubscriptionNumber()) { this.premiumSubscriptionNumber = other.premiumSubscriptionNumber; if (other.isSetCurrency()) { this.currency = other.currency; if (other.isSetBusinessName()) { this.businessName = other.businessName; if (other.isSetBusinessRole()) {
case 16: // ACCOUNTING if (field.type == TType.STRUCT) { this.accounting = new Accounting(); this.accounting.read(iprot); } else { TProtocolUtil.skip(iprot, field.type);
public boolean isBusinessUser() throws TException, EDAMUserException, EDAMSystemException { return getUser().getAccounting().isSetBusinessId(); }
this.uploadLimitEnd = other.uploadLimitEnd; this.uploadLimitNextMonth = other.uploadLimitNextMonth; if (other.isSetPremiumServiceStatus()) { this.premiumServiceStatus = other.premiumServiceStatus; if (other.isSetPremiumOrderNumber()) { this.premiumOrderNumber = other.premiumOrderNumber; if (other.isSetPremiumCommerceService()) { this.premiumCommerceService = other.premiumCommerceService; if (other.isSetPremiumServiceSKU()) { this.premiumServiceSKU = other.premiumServiceSKU; if (other.isSetLastFailedChargeReason()) { this.lastFailedChargeReason = other.lastFailedChargeReason; this.premiumLockUntil = other.premiumLockUntil; this.updated = other.updated; if (other.isSetPremiumSubscriptionNumber()) { this.premiumSubscriptionNumber = other.premiumSubscriptionNumber; if (other.isSetCurrency()) { this.currency = other.currency; if (other.isSetBusinessName()) { this.businessName = other.businessName; if (other.isSetBusinessRole()) {
case 16: // ACCOUNTING if (field.type == TType.STRUCT) { this.accounting = new Accounting(); this.accounting.read(iprot); } else { TProtocolUtil.skip(iprot, field.type);
boolean this_present_uploadLimit = true && this.isSetUploadLimit(); boolean that_present_uploadLimit = true && that.isSetUploadLimit(); if (this_present_uploadLimit || that_present_uploadLimit) { if (!(this_present_uploadLimit && that_present_uploadLimit)) boolean this_present_uploadLimitEnd = true && this.isSetUploadLimitEnd(); boolean that_present_uploadLimitEnd = true && that.isSetUploadLimitEnd(); if (this_present_uploadLimitEnd || that_present_uploadLimitEnd) { if (!(this_present_uploadLimitEnd && that_present_uploadLimitEnd)) boolean this_present_uploadLimitNextMonth = true && this.isSetUploadLimitNextMonth(); boolean that_present_uploadLimitNextMonth = true && that.isSetUploadLimitNextMonth(); if (this_present_uploadLimitNextMonth || that_present_uploadLimitNextMonth) { if (!(this_present_uploadLimitNextMonth && that_present_uploadLimitNextMonth)) boolean this_present_premiumServiceStatus = true && this.isSetPremiumServiceStatus(); boolean that_present_premiumServiceStatus = true && that.isSetPremiumServiceStatus(); if (this_present_premiumServiceStatus || that_present_premiumServiceStatus) { if (!(this_present_premiumServiceStatus && that_present_premiumServiceStatus)) boolean this_present_premiumOrderNumber = true && this.isSetPremiumOrderNumber(); boolean that_present_premiumOrderNumber = true && that.isSetPremiumOrderNumber(); if (this_present_premiumOrderNumber || that_present_premiumOrderNumber) { if (!(this_present_premiumOrderNumber && that_present_premiumOrderNumber)) boolean this_present_premiumCommerceService = true && this.isSetPremiumCommerceService(); boolean that_present_premiumCommerceService = true && that.isSetPremiumCommerceService(); if (this_present_premiumCommerceService || that_present_premiumCommerceService) { if (!(this_present_premiumCommerceService && that_present_premiumCommerceService))
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof Accounting) return this.equals((Accounting)that); return false; }
public Accounting deepCopy() { return new Accounting(this); }
lastComparison = Boolean.valueOf(isSetUploadLimit()).compareTo(typedOther.isSetUploadLimit()); if (lastComparison != 0) { return lastComparison; if (isSetUploadLimit()) { lastComparison = TBaseHelper.compareTo(this.uploadLimit, typedOther.uploadLimit); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetUploadLimitEnd()).compareTo(typedOther.isSetUploadLimitEnd()); if (lastComparison != 0) { return lastComparison; if (isSetUploadLimitEnd()) { lastComparison = TBaseHelper.compareTo(this.uploadLimitEnd, typedOther.uploadLimitEnd); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetUploadLimitNextMonth()).compareTo(typedOther.isSetUploadLimitNextMonth()); if (lastComparison != 0) { return lastComparison; if (isSetUploadLimitNextMonth()) { lastComparison = TBaseHelper.compareTo(this.uploadLimitNextMonth, typedOther.uploadLimitNextMonth); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetPremiumServiceStatus()).compareTo(typedOther.isSetPremiumServiceStatus()); if (lastComparison != 0) { return lastComparison; if (isSetPremiumServiceStatus()) { lastComparison = TBaseHelper.compareTo(this.premiumServiceStatus, typedOther.premiumServiceStatus);
if (!(this_present_accounting && that_present_accounting)) return false; if (!this.accounting.equals(that.accounting)) return false;
this.accounting = new Accounting(other.accounting);
lastComparison = Boolean.valueOf(isSetUploadLimit()).compareTo(typedOther.isSetUploadLimit()); if (lastComparison != 0) { return lastComparison; if (isSetUploadLimit()) { lastComparison = TBaseHelper.compareTo(this.uploadLimit, typedOther.uploadLimit); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetUploadLimitEnd()).compareTo(typedOther.isSetUploadLimitEnd()); if (lastComparison != 0) { return lastComparison; if (isSetUploadLimitEnd()) { lastComparison = TBaseHelper.compareTo(this.uploadLimitEnd, typedOther.uploadLimitEnd); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetUploadLimitNextMonth()).compareTo(typedOther.isSetUploadLimitNextMonth()); if (lastComparison != 0) { return lastComparison; if (isSetUploadLimitNextMonth()) { lastComparison = TBaseHelper.compareTo(this.uploadLimitNextMonth, typedOther.uploadLimitNextMonth); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetPremiumServiceStatus()).compareTo(typedOther.isSetPremiumServiceStatus()); if (lastComparison != 0) { return lastComparison; if (isSetPremiumServiceStatus()) { lastComparison = TBaseHelper.compareTo(this.premiumServiceStatus, typedOther.premiumServiceStatus);
if (!(this_present_accounting && that_present_accounting)) return false; if (!this.accounting.equals(that.accounting)) return false;
this.accounting = new Accounting(other.accounting);
if (isSetUploadLimit()) { sb.append("uploadLimit:"); sb.append(this.uploadLimit); first = false; if (isSetUploadLimitEnd()) { if (!first) sb.append(", "); sb.append("uploadLimitEnd:"); if (isSetUploadLimitNextMonth()) { if (!first) sb.append(", "); sb.append("uploadLimitNextMonth:"); if (isSetPremiumServiceStatus()) { if (!first) sb.append(", "); sb.append("premiumServiceStatus:"); if (isSetPremiumOrderNumber()) { if (!first) sb.append(", "); sb.append("premiumOrderNumber:"); if (isSetPremiumCommerceService()) { if (!first) sb.append(", "); sb.append("premiumCommerceService:"); if (isSetPremiumServiceStart()) { if (!first) sb.append(", "); sb.append("premiumServiceStart:");
if (isSetUploadLimit()) { sb.append("uploadLimit:"); sb.append(this.uploadLimit); first = false; if (isSetUploadLimitEnd()) { if (!first) sb.append(", "); sb.append("uploadLimitEnd:"); if (isSetUploadLimitNextMonth()) { if (!first) sb.append(", "); sb.append("uploadLimitNextMonth:"); if (isSetPremiumServiceStatus()) { if (!first) sb.append(", "); sb.append("premiumServiceStatus:"); if (isSetPremiumOrderNumber()) { if (!first) sb.append(", "); sb.append("premiumOrderNumber:"); if (isSetPremiumCommerceService()) { if (!first) sb.append(", "); sb.append("premiumCommerceService:"); if (isSetPremiumServiceStart()) { if (!first) sb.append(", "); sb.append("premiumServiceStart:");
public void write(TProtocol oprot) throws TException { validate(); if (isSetUploadLimit()) { oprot.writeFieldBegin(UPLOAD_LIMIT_FIELD_DESC); oprot.writeI64(this.uploadLimit); oprot.writeFieldEnd(); if (isSetUploadLimitEnd()) { oprot.writeFieldBegin(UPLOAD_LIMIT_END_FIELD_DESC); oprot.writeI64(this.uploadLimitEnd); oprot.writeFieldEnd(); if (isSetUploadLimitNextMonth()) { oprot.writeFieldBegin(UPLOAD_LIMIT_NEXT_MONTH_FIELD_DESC); oprot.writeI64(this.uploadLimitNextMonth); if (isSetPremiumServiceStatus()) { oprot.writeFieldBegin(PREMIUM_SERVICE_STATUS_FIELD_DESC); oprot.writeI32(this.premiumServiceStatus.getValue()); if (isSetPremiumOrderNumber()) { oprot.writeFieldBegin(PREMIUM_ORDER_NUMBER_FIELD_DESC); oprot.writeString(this.premiumOrderNumber); if (isSetPremiumCommerceService()) { oprot.writeFieldBegin(PREMIUM_COMMERCE_SERVICE_FIELD_DESC); oprot.writeString(this.premiumCommerceService); if (isSetPremiumServiceStart()) {