Tabnine Logo
io.sphere.sdk.taxcategories
Code IndexAdd Tabnine to your IDE (free)

How to use io.sphere.sdk.taxcategories

Best Java code snippets using io.sphere.sdk.taxcategories (Showing top 20 results out of 315)

origin: io.sphere.sdk.jvm/sphere-models

public static TaxRateBuilder of(final TaxRate taxRate) {
  return of(taxRate.getName(), taxRate.getAmount(), taxRate.isIncludedInPrice(), taxRate.getCountry())
      .id(taxRate.getId())
      .state(taxRate.getState());
}
origin: com.commercetools.sdk.jvm.core/commercetools-models

public static TaxRateDraftBuilder of(final TaxRate taxRate) {
  return of(taxRate.getName(), taxRate.getAmount(), taxRate.isIncludedInPrice(), taxRate.getCountry())
      .state(taxRate.getState())
      .subRates(taxRate.getSubRates());
}
origin: com.commercetools.sdk.jvm.core/commercetools-models

 /**
  * Creates a new object initialized with the fields of the template parameter.
  *
  * @param template the template
  * @return a new object initialized from the template
  */
 public static TaxCategoryDraftBuilder of(final TaxCategoryDraft template) {
  return new TaxCategoryDraftBuilder(template.getDescription(), template.getKey(), template.getName(), template.getTaxRates());
 }
}
origin: io.sphere.sdk.jvm/products

public static TaxCategoryBuilder of(final TaxCategoryDraft taxCategoryDraft) {
  return of(taxCategoryDraft.getName(), taxCategoryDraft.getTaxRates()).description(taxCategoryDraft.getDescription());
}
origin: com.commercetools.sdk.jvm.core/commercetools-models

 /**
  * Creates a new object initialized with the fields of the template parameter.
  *
  * @param template the template
  * @return a new object initialized from the template
  */
 public static TaxCategoryDraftDsl of(final TaxCategoryDraft template) {
  return new TaxCategoryDraftDsl(template.getDescription(), template.getKey(), template.getName(), template.getTaxRates());
 }
}
origin: commercetools/commercetools-jvm-sdk

public static TaxRateDraftBuilder of(final TaxRateDraft taxRate) {
  return of(taxRate.getName(), taxRate.getAmount(), taxRate.isIncludedInPrice(), taxRate.getCountry())
      .state(taxRate.getState())
      .subRates(taxRate.getSubRates());
}
origin: io.sphere.sdk.jvm/taxes

public static TaxCategoryBuilder of(final NewTaxCategory newTaxCategory) {
  return of(newTaxCategory.getName(), newTaxCategory.getTaxRates()).description(newTaxCategory.getDescription());
}
origin: io.sphere.sdk.jvm/taxes

  @Override
  public TaxRate build() {
    return new TaxRateImpl(id, name, amount, includedInPrice, country, state);
  }
}
origin: com.commercetools.sdk.jvm.core/commercetools-models

public TaxCategoryDraftDsl withRates(final List<TaxRateDraft> taxRates) {
 return newBuilder().taxRates(taxRates).build();
}
origin: com.commercetools.sdk.jvm.core/commercetools-models

public TaxCategoryDraftDsl withName(final String name) {
 return newBuilder().name(name).build();
}
origin: io.sphere.sdk.jvm/taxes

  @Override
  public TaxCategory build() {
    return new TaxCategoryImpl(id, version, createdAt, lastModifiedAt, name, description, taxRates);
  }
}
origin: com.commercetools.sdk.jvm.core/commercetools-models

/**
 * Creates a new builder with the values of this object.
 *
 * @return new builder
 */
public TaxCategoryDraftBuilder newBuilder() {
 return new TaxCategoryDraftBuilder(description, key, name, taxRates);
}
origin: com.commercetools.sdk.jvm.core/commercetools-models

/**
 * Gets the tax rates. Alias for {@link #getRates()}.
 *
 * @return rates
 */
@IgnoreInQueryModel
default List<TaxRate> getTaxRates() {
  return getRates();
}
origin: commercetools/commercetools-jvm-sdk

public static TaxRateDraftBuilder of(final TaxRate taxRate) {
  return of(taxRate.getName(), taxRate.getAmount(), taxRate.isIncludedInPrice(), taxRate.getCountry())
      .state(taxRate.getState())
      .subRates(taxRate.getSubRates());
}
origin: io.sphere.sdk.jvm/models

public static TaxCategoryBuilder of(final TaxCategoryDraft taxCategoryDraft) {
  return of(taxCategoryDraft.getName(), taxCategoryDraft.getTaxRates()).description(taxCategoryDraft.getDescription());
}
origin: com.commercetools.sdk.jvm.core/commercetools-models

public static TaxRateDraftBuilder of(final TaxRateDraft taxRate) {
  return of(taxRate.getName(), taxRate.getAmount(), taxRate.isIncludedInPrice(), taxRate.getCountry())
      .state(taxRate.getState())
      .subRates(taxRate.getSubRates());
}
origin: io.sphere.sdk.jvm/sphere-models

  @Override
  public TaxRate build() {
    return new TaxRateImpl(id, name, amount, includedInPrice, country, state);
  }
}
origin: io.sphere.sdk.jvm/models

  @Override
  public TaxCategory build() {
    return new TaxCategoryImpl(id, version, createdAt, lastModifiedAt, name, description, taxRates);
  }
}
origin: io.sphere.sdk.jvm/models

  @Override
  public TaxRate build() {
    return new TaxRateImpl(id, name, amount, includedInPrice, country, state);
  }
}
origin: io.sphere.sdk.jvm/products

  @Override
  public TaxRate build() {
    return new TaxRateImpl(id, name, amount, includedInPrice, country, state);
  }
}
io.sphere.sdk.taxcategories

Most used classes

  • TaxCategory
    Tax Categories define how products are to be taxed in different countries. Operations: * Create a
  • TaxCategoryQuery
    summary tax categories
  • TaxCategoryQueryModel
  • TaxCategoryDraft
    Draft for a new TaxCategory.If you need to create a TaxCategory without tax rates, just provide an e
  • TaxRateBuilder
  • TaxCategoryBuilder,
  • TaxCategoryImpl,
  • TaxRate,
  • TaxCategoryDeleteCommand,
  • AddTaxRate,
  • ChangeName,
  • RemoveTaxRate,
  • ReplaceTaxRate,
  • SetDescription,
  • TaxCategoryByIdGet,
  • ExternalTaxRateDraftBuilder,
  • TaxCategoryDraftBuilder,
  • TaxRateDraft,
  • TaxRateDraftBuilder
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now