Package com.stripe.service
Class InvoiceLineItemService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.InvoiceLineItemService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionWhen retrieving an invoice, you’ll get a lines property containing the total count of line items and the first handful of those items.list
(String invoice, RequestOptions options) When retrieving an invoice, you’ll get a lines property containing the total count of line items and the first handful of those items.list
(String invoice, InvoiceLineItemListParams params) When retrieving an invoice, you’ll get a lines property containing the total count of line items and the first handful of those items.list
(String invoice, InvoiceLineItemListParams params, RequestOptions options) When retrieving an invoice, you’ll get a lines property containing the total count of line items and the first handful of those items.Updates an invoice’s line item.update
(String invoice, String lineItemId, RequestOptions options) Updates an invoice’s line item.update
(String invoice, String lineItemId, InvoiceLineItemUpdateParams params) Updates an invoice’s line item.update
(String invoice, String lineItemId, InvoiceLineItemUpdateParams params, RequestOptions options) Updates an invoice’s line item.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
InvoiceLineItemService
-
-
Method Details
-
list
public StripeCollection<InvoiceLineItem> list(String invoice, InvoiceLineItemListParams params) 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, 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
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, InvoiceLineItemListParams params, 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
-
update
public InvoiceLineItem update(String invoice, String lineItemId, InvoiceLineItemUpdateParams params) throws StripeException Updates an invoice’s line item. Some fields, such astax_amounts
, only live on the invoice line item, so they can only be updated through this endpoint. Other fields, such asamount
, 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 astax_amounts
, only live on the invoice line item, so they can only be updated through this endpoint. Other fields, such asamount
, 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
Updates an invoice’s line item. Some fields, such astax_amounts
, only live on the invoice line item, so they can only be updated through this endpoint. Other fields, such asamount
, 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 astax_amounts
, only live on the invoice line item, so they can only be updated through this endpoint. Other fields, such asamount
, 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
-