org.killbill.billing.entitlement.api.boilerplate.EntitlementApiImp Maven / Gradle / Ivy
/*
* Generated by https://github.com/killbill/api-pojos. Do not edit!
*
* Copyright 2022-2022 The Billing Project, LLC
*
* The Billing Project licenses this file to you 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 org.killbill.billing.entitlement.api.boilerplate;
import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.UUID;
import org.joda.time.LocalDate;
import org.killbill.billing.catalog.api.BillingActionPolicy;
import org.killbill.billing.entitlement.api.BaseEntitlementWithAddOnsSpecifier;
import org.killbill.billing.entitlement.api.BcdTransfer;
import org.killbill.billing.entitlement.api.Entitlement;
import org.killbill.billing.entitlement.api.EntitlementAOStatusDryRun;
import org.killbill.billing.entitlement.api.EntitlementApi;
import org.killbill.billing.entitlement.api.EntitlementApiException;
import org.killbill.billing.entitlement.api.EntitlementSpecifier;
import org.killbill.billing.payment.api.PluginProperty;
import org.killbill.billing.util.callcontext.CallContext;
import org.killbill.billing.util.callcontext.TenantContext;
@JsonDeserialize( builder = EntitlementApiImp.Builder.class )
public class EntitlementApiImp implements EntitlementApi {
public EntitlementApiImp(final EntitlementApiImp that) {
}
protected EntitlementApiImp(final EntitlementApiImp.Builder> builder) {
}
protected EntitlementApiImp() { }
@Override
public UUID transferEntitlements(final UUID sourceAccountId, final UUID destAccountId, final String bundleExternalKey, final LocalDate effectiveDate, final Map subExtKeys, final BcdTransfer bcdTransfer, final Iterable properties, final CallContext context) {
throw new UnsupportedOperationException("transferEntitlements(java.util.UUID, java.util.UUID, java.lang.String, org.joda.time.LocalDate, java.util.Map, org.killbill.billing.entitlement.api.BcdTransfer, java.lang.Iterable, org.killbill.billing.util.callcontext.CallContext) must be implemented.");
}
@Override
public List getAllEntitlementsForAccountId(final UUID accountId, final TenantContext context) {
throw new UnsupportedOperationException("getAllEntitlementsForAccountId(java.util.UUID, org.killbill.billing.util.callcontext.TenantContext) must be implemented.");
}
@Override
public List getAllEntitlementsForBundle(final UUID bundleId, final TenantContext context) {
throw new UnsupportedOperationException("getAllEntitlementsForBundle(java.util.UUID, org.killbill.billing.util.callcontext.TenantContext) must be implemented.");
}
@Override
public void resume(final UUID bundleId, final LocalDate effectiveDate, final Iterable properties, final CallContext context) {
throw new UnsupportedOperationException("resume(java.util.UUID, org.joda.time.LocalDate, java.lang.Iterable, org.killbill.billing.util.callcontext.CallContext) must be implemented.");
}
@Override
public List getDryRunStatusForChange(final UUID bundleId, final String targetProductName, final LocalDate effectiveDate, final TenantContext context) {
throw new UnsupportedOperationException("getDryRunStatusForChange(java.util.UUID, java.lang.String, org.joda.time.LocalDate, org.killbill.billing.util.callcontext.TenantContext) must be implemented.");
}
@Override
public void pause(final UUID bundleId, final LocalDate effectiveDate, final Iterable properties, final CallContext context) {
throw new UnsupportedOperationException("pause(java.util.UUID, org.joda.time.LocalDate, java.lang.Iterable, org.killbill.billing.util.callcontext.CallContext) must be implemented.");
}
@Override
public List getAllEntitlementsForAccountIdAndBundleExternalKey(final UUID accountId, final String bundleExternalKey, final TenantContext context) {
throw new UnsupportedOperationException("getAllEntitlementsForAccountIdAndBundleExternalKey(java.util.UUID, java.lang.String, org.killbill.billing.util.callcontext.TenantContext) must be implemented.");
}
@Override
public UUID createBaseEntitlement(final UUID accountId, final EntitlementSpecifier spec, final String bundleExternalKey, final LocalDate entitlementEffectiveDate, final LocalDate billingEffectiveDate, final boolean isMigrated, final boolean renameCancelledBundleIfExist, final Iterable properties, final CallContext context) {
throw new UnsupportedOperationException("createBaseEntitlement(java.util.UUID, org.killbill.billing.entitlement.api.EntitlementSpecifier, java.lang.String, org.joda.time.LocalDate, org.joda.time.LocalDate, boolean, boolean, java.lang.Iterable, org.killbill.billing.util.callcontext.CallContext) must be implemented.");
}
@Override
public UUID addEntitlement(final UUID bundleId, final EntitlementSpecifier spec, final LocalDate entitlementEffectiveDate, final LocalDate billingEffectiveDate, final boolean isMigrated, final Iterable properties, final CallContext context) {
throw new UnsupportedOperationException("addEntitlement(java.util.UUID, org.killbill.billing.entitlement.api.EntitlementSpecifier, org.joda.time.LocalDate, org.joda.time.LocalDate, boolean, java.lang.Iterable, org.killbill.billing.util.callcontext.CallContext) must be implemented.");
}
@Override
public Entitlement getEntitlementForId(final UUID id, final boolean includeDeletedEvents, final TenantContext context) {
throw new UnsupportedOperationException("getEntitlementForId(java.util.UUID, boolean, org.killbill.billing.util.callcontext.TenantContext) must be implemented.");
}
@Override
public List createBaseEntitlementsWithAddOns(final UUID accountId, final Iterable baseEntitlementWithAddOnsSpecifier, final boolean renameCancelledBundleIfExist, final Iterable properties, final CallContext context) {
throw new UnsupportedOperationException("createBaseEntitlementsWithAddOns(java.util.UUID, java.lang.Iterable, boolean, java.lang.Iterable, org.killbill.billing.util.callcontext.CallContext) must be implemented.");
}
@Override
public UUID transferEntitlementsOverrideBillingPolicy(final UUID sourceAccountId, final UUID destAccountId, final String bundleExternalKey, final LocalDate effectiveDate, final Map subExtKeys, final BillingActionPolicy billingPolicy, final BcdTransfer bcdTransfer, final Iterable properties, final CallContext context) {
throw new UnsupportedOperationException("transferEntitlementsOverrideBillingPolicy(java.util.UUID, java.util.UUID, java.lang.String, org.joda.time.LocalDate, java.util.Map, org.killbill.billing.catalog.api.BillingActionPolicy, org.killbill.billing.entitlement.api.BcdTransfer, java.lang.Iterable, org.killbill.billing.util.callcontext.CallContext) must be implemented.");
}
@Override
public boolean equals(final Object o) {
if ( this == o ) {
return true;
}
if ( ( o == null ) || ( this.getClass() != o.getClass() ) ) {
return false;
}
return true;
}
@Override
public int hashCode() {
int result = 1;
return result;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer(this.getClass().getSimpleName());
sb.append("{");
sb.append("}");
return sb.toString();
}
@SuppressWarnings("unchecked")
public static class Builder> {
public Builder() { }
public Builder(final Builder that) {
}
public T source(final EntitlementApi that) {
return (T) this;
}
protected Builder validate() {
return this;
}
public EntitlementApiImp build() {
return new EntitlementApiImp(this.validate());
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy