Class EbillAddressDirective

java.lang.Object
ch.tocco.nice2.optional.finance.api.report.AbstractBillAddressDirective
ch.tocco.nice2.optional.ordereinvoicing.impl.directive.EbillAddressDirective
All Implemented Interfaces:
Nice2TemplateDirective, freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel

public class EbillAddressDirective extends AbstractBillAddressDirective
Used by yellowbill output template for the SenderParty and RecipientParty to output the address. Params: - address (mandatory): The address to be used. This needs to be set or this will throw an error. - user (optional): The user to be used as additional name - useBillingAddress (optional): Boolean that denotes whether the billing address should be used or not (default: false) - alternativeName (optional): an additional name can be passed
  • Constructor Details

    • EbillAddressDirective

      public EbillAddressDirective()
  • Method Details

    • execute

      public void execute(freemarker.core.Environment env, Map params, freemarker.template.TemplateModel[] templateModels, freemarker.template.TemplateDirectiveBody templateDirectiveBody) throws freemarker.template.TemplateException, IOException
      Throws:
      freemarker.template.TemplateException
      IOException