Class InvoiceLineItemService

java.lang.Object
com.stripe.net.ApiService
com.stripe.service.InvoiceLineItemService

public final class InvoiceLineItemService extends ApiService
  • Constructor Details

  • Method Details

    • list

      When retrieving an invoice, you’ll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
      Throws:
      StripeException
    • list

      public StripeCollection<InvoiceLineItem> list(String invoice, RequestOptions options) throws StripeException
      When retrieving an invoice, you’ll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
      Throws:
      StripeException
    • list

      public StripeCollection<InvoiceLineItem> list(String invoice) throws StripeException
      When retrieving an invoice, you’ll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
      Throws:
      StripeException
    • list

      When retrieving an invoice, you’ll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
      Throws:
      StripeException
    • update

      public InvoiceLineItem update(String invoice, String lineItemId, InvoiceLineItemUpdateParams params) throws StripeException
      Updates an invoice’s line item. Some fields, such as tax_amounts, only live on the invoice line item, so they can only be updated through this endpoint. Other fields, such as amount, live on both the invoice item and the invoice line item, so updates on this endpoint will propagate to the invoice item as well. Updating an invoice’s line item is only possible before the invoice is finalized.
      Throws:
      StripeException
    • update

      public InvoiceLineItem update(String invoice, String lineItemId, RequestOptions options) throws StripeException
      Updates an invoice’s line item. Some fields, such as tax_amounts, only live on the invoice line item, so they can only be updated through this endpoint. Other fields, such as amount, live on both the invoice item and the invoice line item, so updates on this endpoint will propagate to the invoice item as well. Updating an invoice’s line item is only possible before the invoice is finalized.
      Throws:
      StripeException
    • update

      public InvoiceLineItem update(String invoice, String lineItemId) throws StripeException
      Updates an invoice’s line item. Some fields, such as tax_amounts, only live on the invoice line item, so they can only be updated through this endpoint. Other fields, such as amount, live on both the invoice item and the invoice line item, so updates on this endpoint will propagate to the invoice item as well. Updating an invoice’s line item is only possible before the invoice is finalized.
      Throws:
      StripeException
    • update

      public InvoiceLineItem update(String invoice, String lineItemId, InvoiceLineItemUpdateParams params, RequestOptions options) throws StripeException
      Updates an invoice’s line item. Some fields, such as tax_amounts, only live on the invoice line item, so they can only be updated through this endpoint. Other fields, such as amount, live on both the invoice item and the invoice line item, so updates on this endpoint will propagate to the invoice item as well. Updating an invoice’s line item is only possible before the invoice is finalized.
      Throws:
      StripeException