Class ListInvoicesRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • ospHomeRegion

        public ListInvoicesRequest.Builder ospHomeRegion​(String ospHomeRegion)
        The home region’s public name of the logged in user.
        Parameters:
        ospHomeRegion - the value to set
        Returns:
        this builder instance
      • compartmentId

        public ListInvoicesRequest.Builder compartmentId​(String compartmentId)
        The OCID of the compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public ListInvoicesRequest.Builder opcRequestId​(String opcRequestId)
        The unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • invoiceId

        public ListInvoicesRequest.Builder invoiceId​(String invoiceId)
        The invoice query param (not unique).
        Parameters:
        invoiceId - the value to set
        Returns:
        this builder instance
      • type

        public ListInvoicesRequest.Builder type​(ListInvoicesRequest.Type singularValue)
        Singular setter.

        A filter to only return resources that match the given type exactly.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • searchText

        public ListInvoicesRequest.Builder searchText​(String searchText)
        A filter to only return resources that match the given value.

        Looking for partial matches in the following fileds: Invoice No., Reference No. (plan number), Payment Ref, Total Amount(plan number), Balance Due(plan number) and Party/Customer Name

        Parameters:
        searchText - the value to set
        Returns:
        this builder instance
      • timeInvoiceStart

        public ListInvoicesRequest.Builder timeInvoiceStart​(Date timeInvoiceStart)
        description: Start time (UTC) of the target invoice date range for which to fetch invoice data (inclusive).
        Parameters:
        timeInvoiceStart - the value to set
        Returns:
        this builder instance
      • timeInvoiceEnd

        public ListInvoicesRequest.Builder timeInvoiceEnd​(Date timeInvoiceEnd)
        description: End time (UTC) of the target invoice date range for which to fetch invoice data (exclusive).
        Parameters:
        timeInvoiceEnd - the value to set
        Returns:
        this builder instance
      • timePaymentStart

        public ListInvoicesRequest.Builder timePaymentStart​(Date timePaymentStart)
        description: Start time (UTC) of the target payment date range for which to fetch invoice data (inclusive).
        Parameters:
        timePaymentStart - the value to set
        Returns:
        this builder instance
      • timePaymentEnd

        public ListInvoicesRequest.Builder timePaymentEnd​(Date timePaymentEnd)
        description: End time (UTC) of the target payment date range for which to fetch invoice data (exclusive).
        Parameters:
        timePaymentEnd - the value to set
        Returns:
        this builder instance
      • status

        public ListInvoicesRequest.Builder status​(ListInvoicesRequest.Status singularValue)
        Singular setter.

        A filter to only return resources that match one of the status elements.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • page

        public ListInvoicesRequest.Builder page​(String page)
        For list pagination.

        The value of the opc-next-page response header from the previous “List” call.

        Parameters:
        page - the value to set
        Returns:
        this builder instance
      • limit

        public ListInvoicesRequest.Builder limit​(Integer limit)
        For list pagination.

        The maximum number of results per page, or items to return in a paginated “List” call.

        Parameters:
        limit - the value to set
        Returns:
        this builder instance
      • invocationCallback

        public ListInvoicesRequest.Builder invocationCallback​(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
        Set the invocation callback for the request to be built.
        Parameters:
        invocationCallback - the invocation callback to be set for the request
        Returns:
        this builder instance
      • retryConfiguration

        public ListInvoicesRequest.Builder retryConfiguration​(RetryConfiguration retryConfiguration)
        Set the retry configuration for the request to be built.
        Parameters:
        retryConfiguration - the retry configuration to be used for the request
        Returns:
        this builder instance