Interface EinvoiceDeliveryPreference.Builder

  • Method Details

    • einvoiceDeliveryDocumentTypesWithStrings

      EinvoiceDeliveryPreference.Builder einvoiceDeliveryDocumentTypesWithStrings(Collection<String> einvoiceDeliveryDocumentTypes)

      The types of e-invoice documents to be delivered.

      Parameters:
      einvoiceDeliveryDocumentTypes - The types of e-invoice documents to be delivered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • einvoiceDeliveryDocumentTypesWithStrings

      EinvoiceDeliveryPreference.Builder einvoiceDeliveryDocumentTypesWithStrings(String... einvoiceDeliveryDocumentTypes)

      The types of e-invoice documents to be delivered.

      Parameters:
      einvoiceDeliveryDocumentTypes - The types of e-invoice documents to be delivered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • einvoiceDeliveryDocumentTypes

      EinvoiceDeliveryPreference.Builder einvoiceDeliveryDocumentTypes(Collection<EinvoiceDeliveryDocumentType> einvoiceDeliveryDocumentTypes)

      The types of e-invoice documents to be delivered.

      Parameters:
      einvoiceDeliveryDocumentTypes - The types of e-invoice documents to be delivered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • einvoiceDeliveryDocumentTypes

      EinvoiceDeliveryPreference.Builder einvoiceDeliveryDocumentTypes(EinvoiceDeliveryDocumentType... einvoiceDeliveryDocumentTypes)

      The types of e-invoice documents to be delivered.

      Parameters:
      einvoiceDeliveryDocumentTypes - The types of e-invoice documents to be delivered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • einvoiceDeliveryAttachmentTypesWithStrings

      EinvoiceDeliveryPreference.Builder einvoiceDeliveryAttachmentTypesWithStrings(Collection<String> einvoiceDeliveryAttachmentTypes)

      The types of attachments to include with the e-invoice delivery.

      Parameters:
      einvoiceDeliveryAttachmentTypes - The types of attachments to include with the e-invoice delivery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • einvoiceDeliveryAttachmentTypesWithStrings

      EinvoiceDeliveryPreference.Builder einvoiceDeliveryAttachmentTypesWithStrings(String... einvoiceDeliveryAttachmentTypes)

      The types of attachments to include with the e-invoice delivery.

      Parameters:
      einvoiceDeliveryAttachmentTypes - The types of attachments to include with the e-invoice delivery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • einvoiceDeliveryAttachmentTypes

      EinvoiceDeliveryPreference.Builder einvoiceDeliveryAttachmentTypes(Collection<EinvoiceDeliveryAttachmentType> einvoiceDeliveryAttachmentTypes)

      The types of attachments to include with the e-invoice delivery.

      Parameters:
      einvoiceDeliveryAttachmentTypes - The types of attachments to include with the e-invoice delivery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • einvoiceDeliveryAttachmentTypes

      EinvoiceDeliveryPreference.Builder einvoiceDeliveryAttachmentTypes(EinvoiceDeliveryAttachmentType... einvoiceDeliveryAttachmentTypes)

      The types of attachments to include with the e-invoice delivery.

      Parameters:
      einvoiceDeliveryAttachmentTypes - The types of attachments to include with the e-invoice delivery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protocol

      The communication protocol to use for e-invoice delivery.

      Parameters:
      protocol - The communication protocol to use for e-invoice delivery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • protocol

      The communication protocol to use for e-invoice delivery.

      Parameters:
      protocol - The communication protocol to use for e-invoice delivery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • purchaseOrderDataSources

      EinvoiceDeliveryPreference.Builder purchaseOrderDataSources(Collection<PurchaseOrderDataSource> purchaseOrderDataSources)

      The sources of purchase order data to use for e-invoice generation and delivery.

      Parameters:
      purchaseOrderDataSources - The sources of purchase order data to use for e-invoice generation and delivery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • purchaseOrderDataSources

      EinvoiceDeliveryPreference.Builder purchaseOrderDataSources(PurchaseOrderDataSource... purchaseOrderDataSources)

      The sources of purchase order data to use for e-invoice generation and delivery.

      Parameters:
      purchaseOrderDataSources - The sources of purchase order data to use for e-invoice generation and delivery.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • purchaseOrderDataSources

      EinvoiceDeliveryPreference.Builder purchaseOrderDataSources(Consumer<PurchaseOrderDataSource.Builder>... purchaseOrderDataSources)

      The sources of purchase order data to use for e-invoice generation and delivery.

      This is a convenience method that creates an instance of the PurchaseOrderDataSource.Builder avoiding the need to create one manually via PurchaseOrderDataSource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to purchaseOrderDataSources(List<PurchaseOrderDataSource>).

      Parameters:
      purchaseOrderDataSources - a consumer that will call methods on PurchaseOrderDataSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • connectionTestingMethod

      EinvoiceDeliveryPreference.Builder connectionTestingMethod(String connectionTestingMethod)

      The method to use for testing the connection to the procurement portal.

      Parameters:
      connectionTestingMethod - The method to use for testing the connection to the procurement portal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • connectionTestingMethod

      EinvoiceDeliveryPreference.Builder connectionTestingMethod(ConnectionTestingMethod connectionTestingMethod)

      The method to use for testing the connection to the procurement portal.

      Parameters:
      connectionTestingMethod - The method to use for testing the connection to the procurement portal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • einvoiceDeliveryActivationDate

      EinvoiceDeliveryPreference.Builder einvoiceDeliveryActivationDate(Instant einvoiceDeliveryActivationDate)

      The date when e-invoice delivery should be activated for this preference.

      Parameters:
      einvoiceDeliveryActivationDate - The date when e-invoice delivery should be activated for this preference.
      Returns:
      Returns a reference to this object so that method calls can be chained together.