Package com.stripe.model
Class PaymentIntentAmountDetailsLineItem
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.PaymentIntentAmountDetailsLineItem
- All Implemented Interfaces:
HasId,StripeActiveObject,StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about PaymentMethodOptions, please refer to the API Reference.static classFor more details about Tax, please refer to the API Reference.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod -
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe amount an item was discounted for.getId()Unique identifier for the object.String representing the object's type.Payment method-specific information for line items.Unique identifier of the product.Name of the product.Number of items of the product.getTax()Contains information about the tax on the item.Cost of the product.A unit of measure for the line item, such as gallons, feet, meters, etc.inthashCode()list(String intent, PaymentIntentAmountDetailsLineItemListParams params) Lists all LineItems of a given PaymentIntent.list(String intent, PaymentIntentAmountDetailsLineItemListParams params, RequestOptions options) Lists all LineItems of a given PaymentIntent.Lists all LineItems of a given PaymentIntent.Lists all LineItems of a given PaymentIntent.voidsetDiscountAmount(Long discountAmount) The amount an item was discounted for.voidUnique identifier for the object.voidString representing the object's type.voidsetPaymentMethodOptions(PaymentIntentAmountDetailsLineItem.PaymentMethodOptions paymentMethodOptions) Payment method-specific information for line items.voidsetProductCode(String productCode) Unique identifier of the product.voidsetProductName(String productName) Name of the product.voidsetQuantity(Long quantity) Number of items of the product.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidContains information about the tax on the item.voidsetUnitCost(Long unitCost) Cost of the product.voidsetUnitOfMeasure(String unitOfMeasure) A unit of measure for the line item, such as gallons, feet, meters, etc.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
PaymentIntentAmountDetailsLineItem
public PaymentIntentAmountDetailsLineItem()
-
-
Method Details
-
list
public static PaymentIntentAmountDetailsLineItemCollection list(String intent, Map<String, Object> params) throws StripeExceptionLists all LineItems of a given PaymentIntent.- Throws:
StripeException
-
list
public static PaymentIntentAmountDetailsLineItemCollection list(String intent, Map<String, Object> params, RequestOptions options) throws StripeExceptionLists all LineItems of a given PaymentIntent.- Throws:
StripeException
-
list
public static PaymentIntentAmountDetailsLineItemCollection list(String intent, PaymentIntentAmountDetailsLineItemListParams params) throws StripeException Lists all LineItems of a given PaymentIntent.- Throws:
StripeException
-
list
public static PaymentIntentAmountDetailsLineItemCollection list(String intent, PaymentIntentAmountDetailsLineItemListParams params, RequestOptions options) throws StripeException Lists all LineItems of a given PaymentIntent.- Throws:
StripeException
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getDiscountAmount
The amount an item was discounted for. Positive integer. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
payment_intent_amount_details_line_item. -
getPaymentMethodOptions
Payment method-specific information for line items. -
getProductCode
Unique identifier of the product. At most 12 characters long. -
getProductName
Name of the product. At most 100 characters long. -
getQuantity
Number of items of the product. Positive integer. -
getTax
Contains information about the tax on the item. -
getUnitCost
Cost of the product. Non-negative integer. -
getUnitOfMeasure
A unit of measure for the line item, such as gallons, feet, meters, etc. -
setDiscountAmount
The amount an item was discounted for. Positive integer. -
setId
Unique identifier for the object. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
payment_intent_amount_details_line_item. -
setPaymentMethodOptions
public void setPaymentMethodOptions(PaymentIntentAmountDetailsLineItem.PaymentMethodOptions paymentMethodOptions) Payment method-specific information for line items. -
setProductCode
Unique identifier of the product. At most 12 characters long. -
setProductName
Name of the product. At most 100 characters long. -
setQuantity
Number of items of the product. Positive integer. -
setTax
Contains information about the tax on the item. -
setUnitCost
Cost of the product. Non-negative integer. -
setUnitOfMeasure
A unit of measure for the line item, such as gallons, feet, meters, etc. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-